diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementApiToProduct.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementApiToProduct.cs index bdad99e70da2..2d3335dad986 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementApiToProduct.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementApiToProduct.cs @@ -1 +1 @@ -// // Copyright (c) Microsoft. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands { using System; using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; [Cmdlet(VerbsCommon.Add, "AzureRMApiManagementApiToProduct")] [OutputType(typeof(bool))] public class AddAzureApiManagementApiToProduct : AzureApiManagementCmdletBase { [Parameter( ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] [ValidateNotNullOrEmpty] public PsApiManagementContext Context { get; set; } [Parameter( ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Identifier of existing Product to add API to. This parameter is required.")] [ValidateNotNullOrEmpty] public String ProductId { get; set; } [Parameter( ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Identifier of existing APIs to be added to the product. This parameter is required.")] [ValidateNotNullOrEmpty] public String ApiId { get; set; } [Parameter( ValueFromPipelineByPropertyName = true, Mandatory = false, HelpMessage = "If specified will write true in case operation succeeds. This parameter is optional. Default value is false.")] public SwitchParameter PassThru { get; set; } public override void ExecuteApiManagementCmdlet() { Client.ApiAddToProduct(Context, ProductId, ApiId); if (PassThru) { WriteObject(true); } } } } \ No newline at end of file +// // Copyright (c) Microsoft. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands { using System; using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; [Cmdlet(VerbsCommon.Add, "AzureRmApiManagementApiToProduct")] [OutputType(typeof(bool))] public class AddAzureApiManagementApiToProduct : AzureApiManagementCmdletBase { [Parameter( ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Instance of PsApiManagementContext. This parameter is required.")] [ValidateNotNullOrEmpty] public PsApiManagementContext Context { get; set; } [Parameter( ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Identifier of existing Product to add API to. This parameter is required.")] [ValidateNotNullOrEmpty] public String ProductId { get; set; } [Parameter( ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Identifier of existing APIs to be added to the product. This parameter is required.")] [ValidateNotNullOrEmpty] public String ApiId { get; set; } [Parameter( ValueFromPipelineByPropertyName = true, Mandatory = false, HelpMessage = "If specified will write true in case operation succeeds. This parameter is optional. Default value is false.")] public SwitchParameter PassThru { get; set; } public override void ExecuteApiManagementCmdlet() { Client.ApiAddToProduct(Context, ProductId, ApiId); if (PassThru) { WriteObject(true); } } } } \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementProductToGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementProductToGroup.cs index 2a45edeabb0f..ab3daca3319e 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementProductToGroup.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementProductToGroup.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - [Cmdlet(VerbsCommon.Add, "AzureRMApiManagementProductToGroup")] + [Cmdlet(VerbsCommon.Add, "AzureRmApiManagementProductToGroup")] [OutputType(typeof(bool))] public class AddAzureApiManagementProductToGroup : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementUserToGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementUserToGroup.cs index f4cc021fd688..b5593fd9c6a6 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementUserToGroup.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementUserToGroup.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - [Cmdlet(VerbsCommon.Add, "AzureRMApiManagementUserToGroup")] + [Cmdlet(VerbsCommon.Add, "AzureRmApiManagementUserToGroup")] [OutputType(typeof(bool))] public class AddAzureApiManagementUserToGroup : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/ExportAzureApiManagementApi.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/ExportAzureApiManagementApi.cs index c0202bbedd9b..2308dcfaf433 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/ExportAzureApiManagementApi.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/ExportAzureApiManagementApi.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties; - [Cmdlet(VerbsData.Export, "AzureRMApiManagementApi", DefaultParameterSetName = ExportContentToPipeline)] + [Cmdlet(VerbsData.Export, "AzureRmApiManagementApi", DefaultParameterSetName = ExportContentToPipeline)] [OutputType(typeof(string))] public class ExportAzureApiManagementApi : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementApi.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementApi.cs index 1eaacf365c29..ac670fbe0765 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementApi.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementApi.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - [Cmdlet(VerbsCommon.Get, "AzureRMApiManagementApi", DefaultParameterSetName = AllApis)] + [Cmdlet(VerbsCommon.Get, "AzureRmApiManagementApi", DefaultParameterSetName = AllApis)] [OutputType(typeof(IList))] public class GetAzureApiManagementApi : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementAuthorizationServer.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementAuthorizationServer.cs index 612037af97fa..b4018fc9840e 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementAuthorizationServer.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementAuthorizationServer.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - [Cmdlet(VerbsCommon.Get, "AzureRMApiManagementAuthorizationServer")] + [Cmdlet(VerbsCommon.Get, "AzureRmApiManagementAuthorizationServer")] [OutputType(typeof(IList))] public class GetAzureApiManagementAuthorizationServer : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementCertificate.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementCertificate.cs index 59deca31d848..1d2e89ee3645 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementCertificate.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementCertificate.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using System.Runtime.InteropServices; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - [Cmdlet(VerbsCommon.Get, "AzureRMApiManagementCertificate", DefaultParameterSetName = GetAll)] + [Cmdlet(VerbsCommon.Get, "AzureRmApiManagementCertificate", DefaultParameterSetName = GetAll)] [OutputType(typeof(IList))] public class GetAzureApiManagementCertificate : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementGroup.cs index 90cdb5529c5f..a67024405235 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementGroup.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementGroup.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - [Cmdlet(VerbsCommon.Get, "AzureRMApiManagementGroup", DefaultParameterSetName = GetAll)] + [Cmdlet(VerbsCommon.Get, "AzureRmApiManagementGroup", DefaultParameterSetName = GetAll)] [OutputType(typeof(PsApiManagementGroup))] public class GetAzureApiManagementGroup : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementOperation.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementOperation.cs index 9ee752e3b0cb..85c3294a546c 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementOperation.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementOperation.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - [Cmdlet(VerbsCommon.Get, "AzureRMApiManagementOperation", DefaultParameterSetName = AllApiOperations)] + [Cmdlet(VerbsCommon.Get, "AzureRmApiManagementOperation", DefaultParameterSetName = AllApiOperations)] [OutputType(typeof(IList))] public class GetAzureApiManagementOperation : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementPolicy.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementPolicy.cs index 880366aa86c8..7bb367563b7e 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementPolicy.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementPolicy.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties; - [Cmdlet(VerbsCommon.Get, "AzureRMApiManagementPolicy", DefaultParameterSetName = TenantLevel)] + [Cmdlet(VerbsCommon.Get, "AzureRmApiManagementPolicy", DefaultParameterSetName = TenantLevel)] [OutputType(typeof(string))] public class GetAzureApiManagementPolicy : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementProduct.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementProduct.cs index 335d89ddb1c4..5e50d7299454 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementProduct.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementProduct.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - [Cmdlet(VerbsCommon.Get, "AzureRMApiManagementProduct", DefaultParameterSetName = GetAllProducts)] + [Cmdlet(VerbsCommon.Get, "AzureRmApiManagementProduct", DefaultParameterSetName = GetAllProducts)] [OutputType(typeof(IList))] public class GetAzureApiManagementProduct : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementSubscription.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementSubscription.cs index 5a4e7d3e31f1..006ef7d21baa 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementSubscription.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementSubscription.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - [Cmdlet(VerbsCommon.Get, "AzureRMApiManagementSubscription", DefaultParameterSetName = GetAll)] + [Cmdlet(VerbsCommon.Get, "AzureRmApiManagementSubscription", DefaultParameterSetName = GetAll)] [OutputType(typeof(IList))] public class GetAzureApiManagementSubscription : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementUser.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementUser.cs index 67b69c1d8db0..1cc9592358e7 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementUser.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementUser.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - [Cmdlet(VerbsCommon.Get, "AzureRMApiManagementUser", DefaultParameterSetName = GetAll)] + [Cmdlet(VerbsCommon.Get, "AzureRmApiManagementUser", DefaultParameterSetName = GetAll)] [OutputType(typeof(IList))] public class GetAzureApiManagementUser : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementUserSsoUrl.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementUserSsoUrl.cs index 38bb968ad3f6..ebf4f6c76570 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementUserSsoUrl.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/GetAzureApiManagementUserSsoUrl.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - [Cmdlet(VerbsCommon.Get, "AzureRMApiManagementUserSsoUrl")] + [Cmdlet(VerbsCommon.Get, "AzureRmApiManagementUserSsoUrl")] [OutputType(typeof(string))] public class GetAzureApiManagementUserSsoUrl : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/ImportAzureApiManagementApi.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/ImportAzureApiManagementApi.cs index 390beef5c713..da8196788fa7 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/ImportAzureApiManagementApi.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/ImportAzureApiManagementApi.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - [Cmdlet(VerbsData.Import, "AzureRMApiManagementApi", DefaultParameterSetName = FromLocalFile)] + [Cmdlet(VerbsData.Import, "AzureRmApiManagementApi", DefaultParameterSetName = FromLocalFile)] [OutputType(typeof(PsApiManagementApi))] public class ImportAzureApiManagementApi : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementApi.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementApi.cs index dc0b4b2cf8ab..dc83d65af483 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementApi.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementApi.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - [Cmdlet(VerbsCommon.New, "AzureRMApiManagementApi")] + [Cmdlet(VerbsCommon.New, "AzureRmApiManagementApi")] [OutputType(typeof(PsApiManagementApi))] public class NewAzureApiManagementApi : AzureApiManagementCmdletBase { @@ -118,7 +118,7 @@ public override void ExecuteApiManagementCmdlet() if (ProductIds != null && ProductIds.Any()) { - WriteProgress(new ProgressRecord(0, "New-AzureRMApiManagementApi", "New API created. Adding to products...")); + WriteProgress(new ProgressRecord(0, "New-AzureRmApiManagementApi", "New API created. Adding to products...")); foreach (var productId in ProductIds) { @@ -128,7 +128,7 @@ public override void ExecuteApiManagementCmdlet() WriteProgress( new ProgressRecord( 0, - "New-AzureRMApiManagementApi", + "New-AzureRmApiManagementApi", string.Format("... Added to product {0}", productId)) ); } @@ -137,7 +137,7 @@ public override void ExecuteApiManagementCmdlet() WriteProgress( new ProgressRecord( 0, - "New-AzureRMApiManagementApi", + "New-AzureRmApiManagementApi", string.Format("... Failed to add to product {0} due to: {1}", productId, ex)) ); } diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementAuthorizationServer.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementAuthorizationServer.cs index 186d60e8c27e..57f05ae42772 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementAuthorizationServer.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementAuthorizationServer.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - [Cmdlet(VerbsCommon.New, "AzureRMApiManagementAuthorizationServer")] + [Cmdlet(VerbsCommon.New, "AzureRmApiManagementAuthorizationServer")] [OutputType(typeof(PsApiManagementOAuth2AuthrozationServer))] public class NewAzureApiManagementAuthorizationServer : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementCertificate.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementCertificate.cs index f1ac6c5811a4..d94fcc153836 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementCertificate.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementCertificate.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using System.Security.Cryptography.X509Certificates; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - [Cmdlet(VerbsCommon.New, "AzureRMApiManagementCertificate", DefaultParameterSetName = FromFile)] + [Cmdlet(VerbsCommon.New, "AzureRmApiManagementCertificate", DefaultParameterSetName = FromFile)] [OutputType(typeof(PsApiManagementCertificate))] public class NewAzureApiManagementCertificate : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementContext.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementContext.cs index e3b4219622ef..891f7fbb36e7 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementContext.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementContext.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; using Microsoft.WindowsAzure.Commands.Utilities.Common; - [Cmdlet(VerbsCommon.New, "AzureRMApiManagementContext"), OutputType(typeof (PsApiManagementContext))] + [Cmdlet(VerbsCommon.New, "AzureRmApiManagementContext"), OutputType(typeof (PsApiManagementContext))] public class NewAzureApiManagementContext : AzureApiManagementCmdletBase { [Parameter( diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementGroup.cs index f48ac577e442..81e19fa496f6 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementGroup.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementGroup.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - [Cmdlet(VerbsCommon.New, "AzureRMApiManagementGroup")] + [Cmdlet(VerbsCommon.New, "AzureRmApiManagementGroup")] [OutputType(typeof(PsApiManagementGroup))] public class NewAzureApiManagementGroup : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementOperation.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementOperation.cs index 0d08de1cd17a..76b49fc2ade9 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementOperation.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementOperation.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - [Cmdlet(VerbsCommon.New, "AzureRMApiManagementOperation")] + [Cmdlet(VerbsCommon.New, "AzureRmApiManagementOperation")] [OutputType(typeof(PsApiManagementOperation))] public class NewAzureApiManagementOperation : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementProduct.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementProduct.cs index 972dc1f104be..0032d81e8590 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementProduct.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementProduct.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using System.Text.RegularExpressions; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - [Cmdlet(VerbsCommon.New, "AzureRMApiManagementProduct")] + [Cmdlet(VerbsCommon.New, "AzureRmApiManagementProduct")] [OutputType(typeof(PsApiManagementProduct))] public class NewAzureApiManagementProduct : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementSubscription.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementSubscription.cs index 51e8b2479246..95571625d69c 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementSubscription.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementSubscription.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using System.Runtime.InteropServices; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - [Cmdlet(VerbsCommon.New, "AzureRMApiManagementSubscription")] + [Cmdlet(VerbsCommon.New, "AzureRmApiManagementSubscription")] [OutputType(typeof(PsApiManagementSubscription))] public class NewAzureApiManagementSubscription : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementUser.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementUser.cs index 5c20af753d41..fcf44ed5d3ae 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementUser.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/NewAzureApiManagementUser.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - [Cmdlet(VerbsCommon.New, "AzureRMApiManagementUser")] + [Cmdlet(VerbsCommon.New, "AzureRmApiManagementUser")] [OutputType(typeof(PsApiManagementUser))] public class NewAzureApiManagementUser : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementApi.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementApi.cs index 4de8a10c028f..9d10f3bdc1cf 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementApi.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementApi.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties; - [Cmdlet(VerbsCommon.Remove, "AzureRMApiManagementApi")] + [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementApi")] [OutputType(typeof(bool))] public class RemoveAzureApiManagementApi : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementApiFromProduct.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementApiFromProduct.cs index 8893abefd865..26804fa283b6 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementApiFromProduct.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementApiFromProduct.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - [Cmdlet(VerbsCommon.Remove, "AzureRMApiManagementApiFromProduct")] + [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementApiFromProduct")] [OutputType(typeof(bool))] public class RemoveAzureApiManagementApiFromProduct : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementAuthorizationServer.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementAuthorizationServer.cs index 69c45125b7f4..a0c5c71fd111 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementAuthorizationServer.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementAuthorizationServer.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties; - [Cmdlet(VerbsCommon.Remove, "AzureRMApiManagementAuthorizationServer")] + [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementAuthorizationServer")] [OutputType(typeof(bool))] public class RemoveAzureApiManagementAuthorizationServer : AzureApiManagementRemoveCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementCertificate.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementCertificate.cs index dd717aa3c934..a8ecc54a6964 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementCertificate.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementCertificate.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties; - [Cmdlet(VerbsCommon.Remove, "AzureRMApiManagementCertificate")] + [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementCertificate")] [OutputType(typeof(bool))] public class RemoveAzureApiManagementCertificate : AzureApiManagementRemoveCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementGroup.cs index c1b8cbb3a174..a22d737480ed 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementGroup.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementGroup.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties; - [Cmdlet(VerbsCommon.Remove, "AzureRMApiManagementGroup")] + [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementGroup")] [OutputType(typeof(bool))] public class RemoveAzureApiManagementGroup : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementOperation.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementOperation.cs index aa9700851d59..48fe0927898d 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementOperation.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementOperation.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties; - [Cmdlet(VerbsCommon.Remove, "AzureRMApiManagementOperation")] + [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementOperation")] [OutputType(typeof(bool))] public class RemoveAzureApiManagementOperation : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementPolicy.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementPolicy.cs index cbe346efac47..06fdaa3c2838 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementPolicy.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementPolicy.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties; - [Cmdlet(VerbsCommon.Remove, "AzureRMApiManagementPolicy", DefaultParameterSetName = TenantLevel)] + [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementPolicy", DefaultParameterSetName = TenantLevel)] [OutputType(typeof(bool))] public class RemoveAzureApiManagementPolicy : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProduct.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProduct.cs index 7680f6dd83b9..87fbbe3d5162 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProduct.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProduct.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties; - [Cmdlet(VerbsCommon.Remove, "AzureRMApiManagementProduct")] + [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementProduct")] [OutputType(typeof(bool))] public class RemoveAzureApiManagementProduct : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProductFromGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProductFromGroup.cs index ceb3fb73d3e0..1ed8fa0d2c78 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProductFromGroup.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementProductFromGroup.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - [Cmdlet(VerbsCommon.Remove, "AzureRMApiManagementProductFromGroup")] + [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementProductFromGroup")] [OutputType(typeof(bool))] public class RemoveAzureApiManagementProductFromGroup : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementSubscription.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementSubscription.cs index 8d273cd6e669..22b75323392d 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementSubscription.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementSubscription.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties; - [Cmdlet(VerbsCommon.Remove, "AzureRMApiManagementSubscription")] + [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementSubscription")] [OutputType(typeof(bool))] public class RemoveAzureApiManagementSubscription : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementUser.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementUser.cs index 1daf4d995c47..7e11e218fdf8 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementUser.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementUser.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Properties; - [Cmdlet(VerbsCommon.Remove, "AzureRMApiManagementUser")] + [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementUser")] [OutputType(typeof(bool))] public class RemoveAzureApiManagementUser : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementUserFromGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementUserFromGroup.cs index 21c2f7bd50c6..8656b35407cd 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementUserFromGroup.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/RemoveAzureApiManagementUserFromGroup.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - [Cmdlet(VerbsCommon.Remove, "AzureRMApiManagementUserFromGroup")] + [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementUserFromGroup")] [OutputType(typeof(bool))] public class RemoveAzureApiManagementUserFromGroup : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementApi.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementApi.cs index 5426bf99d08b..5a1e2c91a922 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementApi.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementApi.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - [Cmdlet(VerbsCommon.Set, "AzureRMApiManagementApi")] + [Cmdlet(VerbsCommon.Set, "AzureRmApiManagementApi")] [OutputType(typeof(PsApiManagementApi))] public class SetAzureApiManagementApi : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementAuthorizationServer.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementAuthorizationServer.cs index e6522ebac0c8..eb0f258807d4 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementAuthorizationServer.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementAuthorizationServer.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - [Cmdlet(VerbsCommon.Set, "AzureRMApiManagementAuthorizationServer")] + [Cmdlet(VerbsCommon.Set, "AzureRmApiManagementAuthorizationServer")] [OutputType(typeof (PsApiManagementOAuth2AuthrozationServer))] public class SetAzureApiManagementAuthorizationServer : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementCertificate.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementCertificate.cs index 3e3cead5b69a..9441b6d4ad05 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementCertificate.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementCertificate.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using System.Security.Cryptography.X509Certificates; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - [Cmdlet(VerbsCommon.Set, "AzureRMApiManagementCertificate", DefaultParameterSetName = FromFile)] + [Cmdlet(VerbsCommon.Set, "AzureRmApiManagementCertificate", DefaultParameterSetName = FromFile)] [OutputType(typeof(PsApiManagementCertificate))] public class SetAzureApiManagementCertificate : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementGroup.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementGroup.cs index 2f77ff216555..7afcbcfd5a7d 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementGroup.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementGroup.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - [Cmdlet(VerbsCommon.Set, "AzureRMApiManagementGroup")] + [Cmdlet(VerbsCommon.Set, "AzureRmApiManagementGroup")] [OutputType(typeof(PsApiManagementGroup))] public class SetAzureApiManagementGroup : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementOperation.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementOperation.cs index 8daea6a48a1e..25f5c8b116f5 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementOperation.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementOperation.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - [Cmdlet(VerbsCommon.Set, "AzureRMApiManagementOperation")] + [Cmdlet(VerbsCommon.Set, "AzureRmApiManagementOperation")] [OutputType(typeof(PsApiManagementOperation))] public class SetAzureApiManagementOperation : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementPolicy.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementPolicy.cs index 3cba353fb35d..fbe170ca3792 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementPolicy.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementPolicy.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using System.Text; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - [Cmdlet(VerbsCommon.Set, "AzureRMApiManagementPolicy", DefaultParameterSetName = TenantLevel)] + [Cmdlet(VerbsCommon.Set, "AzureRmApiManagementPolicy", DefaultParameterSetName = TenantLevel)] [OutputType(typeof(bool))] public class SetAzureApiManagementPolicy : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementProduct.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementProduct.cs index 353396e6121c..bd1ab1d0548b 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementProduct.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementProduct.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - [Cmdlet(VerbsCommon.Set, "AzureRMApiManagementProduct")] + [Cmdlet(VerbsCommon.Set, "AzureRmApiManagementProduct")] [OutputType(typeof(PsApiManagementProduct))] public class SetAzureApiManagementProduct : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementSubscription.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementSubscription.cs index c99cb78c7df4..46d3b575d7a1 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementSubscription.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementSubscription.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - [Cmdlet(VerbsCommon.Set, "AzureRMApiManagementSubscription")] + [Cmdlet(VerbsCommon.Set, "AzureRmApiManagementSubscription")] [OutputType(typeof(PsApiManagementSubscription))] public class SetAzureApiManagementSubscription : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementUser.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementUser.cs index baea3c98b20b..283f8f1dc468 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementUser.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/SetAzureApiManagementUser.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models; - [Cmdlet(VerbsCommon.Set, "AzureRMApiManagementUser")] + [Cmdlet(VerbsCommon.Set, "AzureRmApiManagementUser")] [OutputType(typeof(PsApiManagementUser))] public class SetAzureApiManagementUser : AzureApiManagementCmdletBase { diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.xml b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.xml index f1bec2255f7f..3688fb6e4c1a 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.xml +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.xml @@ -2,7 +2,7 @@ - Add-AzureRMApiManagementApiToProduct + Add-AzureRmApiManagementApiToProduct Adds existing API to existing Product. @@ -18,7 +18,7 @@ - Add-AzureRMApiManagementApiToProduct + Add-AzureRmApiManagementApiToProduct Context @@ -158,7 +158,7 @@ PS C:\> - Add-AzureRMApiManagementApiToProduct –Context $apimContext –ProductId 0123456789 –ApiId 0001 + Add-AzureRmApiManagementApiToProduct –Context $apimContext –ProductId 0123456789 –ApiId 0001 Add existing API to an existing Product. @@ -180,7 +180,7 @@ - Add-AzureRMApiManagementProductToGroup + Add-AzureRmApiManagementProductToGroup Adds existing product to existing group. In other words assigns a group to a product. @@ -196,7 +196,7 @@ - Add-AzureRMApiManagementProductToGroup + Add-AzureRmApiManagementProductToGroup Context @@ -336,7 +336,7 @@ PS C:\> - Add-AzureRMApiManagementProductToGroup –Context $apimContext –GroupId 0001 –ProductId 0123456789 + Add-AzureRmApiManagementProductToGroup –Context $apimContext –GroupId 0001 –ProductId 0123456789 Add existing product to an existing group. @@ -358,7 +358,7 @@ - Add-AzureRMApiManagementUserToGroup + Add-AzureRmApiManagementUserToGroup Adds existing user to existing group. @@ -374,7 +374,7 @@ - Add-AzureRMApiManagementUserToGroup + Add-AzureRmApiManagementUserToGroup Context @@ -514,7 +514,7 @@ PS C:\> - Add-AzureRMApiManagementUserToGroup –Context $apimContext –GroupId 0001 –UserId 0123456789 + Add-AzureRmApiManagementUserToGroup –Context $apimContext –GroupId 0001 –UserId 0123456789 Add existing user to an existing group. @@ -536,7 +536,7 @@ - Export-AzureRMApiManagementApi + Export-AzureRmApiManagementApi Export API to file in one of the supported formats. @@ -552,7 +552,7 @@ - Export-AzureRMApiManagementApi + Export-AzureRmApiManagementApi Context @@ -583,7 +583,7 @@ - Export-AzureRMApiManagementApi + Export-AzureRmApiManagementApi Context @@ -772,7 +772,7 @@ true/false PS C:\> - Export-AzureRMApiManagementApi –Context $apimContext –ApiId 0123456789 –SpecificationFormat 'Wadl' –SaveAs 'C:\contoso\specifications\0123456789.wadl' + Export-AzureRmApiManagementApi –Context $apimContext –ApiId 0123456789 –SpecificationFormat 'Wadl' –SaveAs 'C:\contoso\specifications\0123456789.wadl' Export API to file as WADL. @@ -794,7 +794,7 @@ true/false - Get-AzureRMApiManagementApi + Get-AzureRmApiManagementApi Gets a list or a particular API description. @@ -810,7 +810,7 @@ true/false - Get-AzureRMApiManagementApi + Get-AzureRmApiManagementApi Context @@ -827,7 +827,7 @@ true/false - Get-AzureRMApiManagementApi + Get-AzureRmApiManagementApi Context @@ -851,7 +851,7 @@ true/false - Get-AzureRMApiManagementApi + Get-AzureRmApiManagementApi Context @@ -875,7 +875,7 @@ true/false - Get-AzureRMApiManagementApi + Get-AzureRmApiManagementApi Context @@ -1011,7 +1011,7 @@ true/false PS C:\> - Get-AzureRMApiManagementApi –Context $apimContext + Get-AzureRmApiManagementApi –Context $apimContext Get list of all APIs. @@ -1031,7 +1031,7 @@ true/false PS C:\> - Get-AzureRMApiManagementApi –Context $apimContext –ApiId $apiId + Get-AzureRmApiManagementApi –Context $apimContext –ApiId $apiId Get API by Id. @@ -1051,7 +1051,7 @@ true/false PS C:\> - Get-AzureRMApiManagementApi –Context $apimContext –Name "EchoApi" + Get-AzureRmApiManagementApi –Context $apimContext –Name "EchoApi" Get API by Name @@ -1073,7 +1073,7 @@ true/false - Get-AzureRMApiManagementAuthorizationServer + Get-AzureRmApiManagementAuthorizationServer Gets all or specific authorization servers. @@ -1089,7 +1089,7 @@ true/false - Get-AzureRMApiManagementAuthorizationServer + Get-AzureRmApiManagementAuthorizationServer Context @@ -1201,7 +1201,7 @@ true/false PS C:\> - Get-AzureRMApiManagementAuthrizarionServer –Context $apimContext + Get-AzureRmApiManagementAuthrizarionServer –Context $apimContext Get all authorization servers. @@ -1221,7 +1221,7 @@ true/false PS C:\> - Get-AzureRMApiManagementCertificate –Context $apimContext –ServerId 0123456789 + Get-AzureRmApiManagementCertificate –Context $apimContext –ServerId 0123456789 Get specific authorization server. @@ -1243,7 +1243,7 @@ true/false - Get-AzureRMApiManagementCertificate + Get-AzureRmApiManagementCertificate Gets all or specific certificates. @@ -1259,7 +1259,7 @@ true/false - Get-AzureRMApiManagementCertificate + Get-AzureRmApiManagementCertificate Context @@ -1276,7 +1276,7 @@ true/false - Get-AzureRMApiManagementCertificate + Get-AzureRmApiManagementCertificate Context @@ -1378,7 +1378,7 @@ true/false PS C:\> - Get-AzureRMApiManagementCertificate –Context $apimContext + Get-AzureRmApiManagementCertificate –Context $apimContext Get all certificates. @@ -1398,7 +1398,7 @@ true/false PS C:\> - Get-AzureRMApiManagementCertificate –Context $apimContext –CertificateId 0123456789 + Get-AzureRmApiManagementCertificate –Context $apimContext –CertificateId 0123456789 Get specific certificate. @@ -1420,7 +1420,7 @@ true/false - Get-AzureRMApiManagementGroup + Get-AzureRmApiManagementGroup Gets all or specific groups. @@ -1436,7 +1436,7 @@ true/false - Get-AzureRMApiManagementGroup + Get-AzureRmApiManagementGroup Context @@ -1460,7 +1460,7 @@ true/false - Get-AzureRMApiManagementGroup + Get-AzureRmApiManagementGroup Context @@ -1491,7 +1491,7 @@ true/false - Get-AzureRMApiManagementGroup + Get-AzureRmApiManagementGroup Context @@ -1522,7 +1522,7 @@ true/false - Get-AzureRMApiManagementGroup + Get-AzureRmApiManagementGroup Context @@ -1677,7 +1677,7 @@ true/false PS C:\> - Get-AzureRMApiManagementGroup –Context $apimContext + Get-AzureRmApiManagementGroup –Context $apimContext Get all groups. @@ -1697,7 +1697,7 @@ true/false PS C:\> - Get-AzureRMApiManagementGroup –Context $apimContext –GroupId 0123456789 + Get-AzureRmApiManagementGroup –Context $apimContext –GroupId 0123456789 Get group by identifier. @@ -1717,7 +1717,7 @@ true/false PS C:\> - Get-AzureRMApiManagementGroup –Context $apimContext –Name 'Custom group' + Get-AzureRmApiManagementGroup –Context $apimContext –Name 'Custom group' Get group by name. @@ -1737,7 +1737,7 @@ true/false PS C:\> - Get-AzureRMApiManagementGroup –Context $apimContext –UserId 0123456789 + Get-AzureRmApiManagementGroup –Context $apimContext –UserId 0123456789 Get all user groups. @@ -1759,7 +1759,7 @@ true/false - Get-AzureRMApiManagementOperation + Get-AzureRmApiManagementOperation Gets a list or a particular API Operation. @@ -1775,7 +1775,7 @@ true/false - Get-AzureRMApiManagementOperation + Get-AzureRmApiManagementOperation Context @@ -1799,7 +1799,7 @@ true/false - Get-AzureRMApiManagementOperation + Get-AzureRmApiManagementOperation Context @@ -1931,7 +1931,7 @@ true/false PS C:\> - Get-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId + Get-AzureRmApiManagementOperation –Context $apimContext –ApiId $apiId Get all API Operations. @@ -1951,7 +1951,7 @@ true/false PS C:\> - Get-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId 0123456789 + Get-AzureRmApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId 0123456789 Get Operation by id. @@ -1973,7 +1973,7 @@ true/false - Get-AzureRMApiManagementPolicy + Get-AzureRmApiManagementPolicy Gets specified scope policy. @@ -1989,7 +1989,7 @@ true/false - Get-AzureRMApiManagementPolicy + Get-AzureRmApiManagementPolicy Context @@ -2027,7 +2027,7 @@ true/false - Get-AzureRMApiManagementPolicy + Get-AzureRmApiManagementPolicy Context @@ -2072,7 +2072,7 @@ true/false - Get-AzureRMApiManagementPolicy + Get-AzureRmApiManagementPolicy Context @@ -2124,7 +2124,7 @@ true/false - Get-AzureRMApiManagementPolicy + Get-AzureRmApiManagementPolicy Context @@ -2317,7 +2317,7 @@ true/false PS C:\> - Get-AzureRMApiManagementPolicy –Context $apimContext –SaveAs 'C:\contoso\policies\tenantpolicy.xml' + Get-AzureRmApiManagementPolicy –Context $apimContext –SaveAs 'C:\contoso\policies\tenantpolicy.xml' Get tenant level policy and save to file named tenantpolicy.xml. @@ -2337,7 +2337,7 @@ true/false PS C:\> - $policyString = Get-AzureRMApiManagementPolicy –Context $apimContext –ProductId 0123456789 + $policyString = Get-AzureRmApiManagementPolicy –Context $apimContext –ProductId 0123456789 Get product-scope policy @@ -2357,7 +2357,7 @@ true/false PS C:\> - $policyString = Get-AzureRMApiManagementPolicy –Context $apimContext –ApiId 9876543210 + $policyString = Get-AzureRmApiManagementPolicy –Context $apimContext –ApiId 9876543210 Get API-scope policy. @@ -2377,7 +2377,7 @@ true/false PS C:\> - Get-AzureRMApiManagementPolicy –Context $apimContext –ApiId 9876543210 –OperationId 777 + Get-AzureRmApiManagementPolicy –Context $apimContext –ApiId 9876543210 –OperationId 777 Get operation-scope policy. @@ -2399,7 +2399,7 @@ true/false - Get-AzureRMApiManagementProduct + Get-AzureRmApiManagementProduct Gets a list or a particular Product. @@ -2415,7 +2415,7 @@ true/false - Get-AzureRMApiManagementProduct + Get-AzureRmApiManagementProduct Context @@ -2432,7 +2432,7 @@ true/false - Get-AzureRMApiManagementProduct + Get-AzureRmApiManagementProduct Context @@ -2456,7 +2456,7 @@ true/false - Get-AzureRMApiManagementProduct + Get-AzureRmApiManagementProduct Context @@ -2581,7 +2581,7 @@ true/false PS C:\> - Get-AzureRMApiManagementProduct –Context $apimContext + Get-AzureRmApiManagementProduct –Context $apimContext Get all Products. @@ -2601,7 +2601,7 @@ true/false PS C:\> - Get-AzureRMApiManagementProduct –Context $apimContext –ProductId 0123456789 + Get-AzureRmApiManagementProduct –Context $apimContext –ProductId 0123456789 Get Product by id. @@ -2623,7 +2623,7 @@ true/false - Get-AzureRMApiManagementSubscription + Get-AzureRmApiManagementSubscription Gets all or specific subscriptions. @@ -2639,7 +2639,7 @@ true/false - Get-AzureRMApiManagementSubscription + Get-AzureRmApiManagementSubscription Context @@ -2656,7 +2656,7 @@ true/false - Get-AzureRMApiManagementSubscription + Get-AzureRmApiManagementSubscription Context @@ -2680,7 +2680,7 @@ true/false - Get-AzureRMApiManagementSubscription + Get-AzureRmApiManagementSubscription Context @@ -2704,7 +2704,7 @@ true/false - Get-AzureRMApiManagementSubscription + Get-AzureRmApiManagementSubscription Context @@ -2840,7 +2840,7 @@ true/false PS C:\> - Get-AzureRMApiManagementSubscription –Context $apimContext + Get-AzureRmApiManagementSubscription –Context $apimContext Get all subscriptions. @@ -2860,7 +2860,7 @@ true/false PS C:\> - Get-AzureRMApiManagementSubscription –Context $apimContext –SubscriptionId 0123456789 + Get-AzureRmApiManagementSubscription –Context $apimContext –SubscriptionId 0123456789 Get subscription by Id. @@ -2880,7 +2880,7 @@ true/false PS C:\> - Get-AzureRMApiManagementSubscription –Context $apimContext –UserId 777 + Get-AzureRmApiManagementSubscription –Context $apimContext –UserId 777 Get all users subscriptions. @@ -2900,7 +2900,7 @@ true/false PS C:\> - Get-AzureRMApiManagementSubscription –Context $apimContext –ProductId 999 + Get-AzureRmApiManagementSubscription –Context $apimContext –ProductId 999 Get all subscriptions for the product. @@ -2922,7 +2922,7 @@ true/false - Get-AzureRMApiManagementUser + Get-AzureRmApiManagementUser Gets all or specific user. @@ -2938,7 +2938,7 @@ true/false - Get-AzureRMApiManagementUser + Get-AzureRmApiManagementUser Context @@ -2955,7 +2955,7 @@ true/false - Get-AzureRMApiManagementUser + Get-AzureRmApiManagementUser Context @@ -2979,7 +2979,7 @@ true/false - Get-AzureRMApiManagementUser + Get-AzureRmApiManagementUser Context @@ -3179,7 +3179,7 @@ true/false PS C:\> - Get-AzureRMApiManagementUser –Context $apimContext + Get-AzureRmApiManagementUser –Context $apimContext Get all users. @@ -3199,7 +3199,7 @@ true/false PS C:\> - Get-AzureRMApiManagementUser –Context $apimContext –UserId 0123456789 + Get-AzureRmApiManagementUser –Context $apimContext –UserId 0123456789 Get user by Id. @@ -3219,7 +3219,7 @@ true/false PS C:\> - Get-AzureRMApiManagementUser –Context $apimContext –LastName 'Ivanov' + Get-AzureRmApiManagementUser –Context $apimContext –LastName 'Ivanov' Get users by last name. @@ -3239,7 +3239,7 @@ true/false PS C:\> - Get-AzureRMApiManagementUser –Context $apimContext –Email 'user@contoso.com' + Get-AzureRmApiManagementUser –Context $apimContext –Email 'user@contoso.com' Get user by email. @@ -3259,7 +3259,7 @@ true/false PS C:\> - Get-AzureRMApiManagementUser –Context $apimContext –GroupId 0001 + Get-AzureRmApiManagementUser –Context $apimContext –GroupId 0001 Get all users within the group. @@ -3281,7 +3281,7 @@ true/false - Get-AzureRMApiManagementUserSsoUrl + Get-AzureRmApiManagementUserSsoUrl Generates SSO URL for the user. @@ -3297,7 +3297,7 @@ true/false - Get-AzureRMApiManagementUserSsoUrl + Get-AzureRmApiManagementUserSsoUrl Context @@ -3399,7 +3399,7 @@ true/false PS C:\> - Get-AzureRMApiManagementUserSsoUrl –Context $apimContext –UserId 0123456789 + Get-AzureRmApiManagementUserSsoUrl –Context $apimContext –UserId 0123456789 Get user SSO URL. @@ -3421,7 +3421,7 @@ true/false - Import-AzureRMApiManagementApi + Import-AzureRmApiManagementApi Imports API from file or URL in one of the supported formats. @@ -3437,7 +3437,7 @@ true/false - Import-AzureRMApiManagementApi + Import-AzureRmApiManagementApi Context @@ -3482,7 +3482,7 @@ true/false - Import-AzureRMApiManagementApi + Import-AzureRmApiManagementApi Context @@ -3653,7 +3653,7 @@ Imported API PS C:\> - Import-AzureRMApiManagementApi –Context $apimContext –SpecificationFormat 'Wadl' –SpecificationPath 'C:\contoso\specifications\echoapi.wadl' –Path 'apis' + Import-AzureRmApiManagementApi –Context $apimContext –SpecificationFormat 'Wadl' –SpecificationPath 'C:\contoso\specifications\echoapi.wadl' –Path 'apis' Import API from WADL file. @@ -3673,7 +3673,7 @@ Imported API PS C:\> - Import-AzureRMApiManagementApi –Context $apimContext –SpecificationFormat 'Swagger' –SpecificationPath 'C:\contoso\specifications\echoapi.swagger' –Path 'apis' + Import-AzureRmApiManagementApi –Context $apimContext –SpecificationFormat 'Swagger' –SpecificationPath 'C:\contoso\specifications\echoapi.swagger' –Path 'apis' Import API from Swagger file. @@ -3693,7 +3693,7 @@ Imported API PS C:\> - Import-AzureRMApiManagementApi –Context $apimContext –SpecificationFormat 'Wadl' –SpecificationUrl 'http://contoso.com/specifications/wadl/echoapi' –Path 'apis' + Import-AzureRmApiManagementApi –Context $apimContext –SpecificationFormat 'Wadl' –SpecificationUrl 'http://contoso.com/specifications/wadl/echoapi' –Path 'apis' Import API from WADL link. @@ -3715,7 +3715,7 @@ Imported API - New-AzureRMApiManagementApi + New-AzureRmApiManagementApi Creates new API. @@ -3731,7 +3731,7 @@ Imported API - New-AzureRMApiManagementApi + New-AzureRmApiManagementApi Context @@ -4023,7 +4023,7 @@ Imported API PS C:\> - New-AzureRMApiManagementApi –Context $apimContext –Name EchoApi –ServiceUrl 'https://contoso.com/apis/echo' -Protocols @('http', 'https') + New-AzureRmApiManagementApi –Context $apimContext –Name EchoApi –ServiceUrl 'https://contoso.com/apis/echo' -Protocols @('http', 'https') Create new API. @@ -4045,7 +4045,7 @@ Imported API - New-AzureRMApiManagementAuthorizationServer + New-AzureRmApiManagementAuthorizationServer Creates new authorization server. @@ -4061,7 +4061,7 @@ Imported API - New-AzureRMApiManagementAuthorizationServer + New-AzureRmApiManagementAuthorizationServer Context @@ -4467,7 +4467,7 @@ Imported API PS C:\> - New-AzureRMApiManagementAuthrizarionServer –Context $apimContext –Name 'Contoso OAuth2 server' –ClientRegistrationPageUrl 'https://contoso/signup' -AthorizationEndpointUrl 'https://contoso/auth' -TokenEndpointUrl 'https://contoso/token' -ClientId clientid -ClientSecret e041ed1b660b4eadbad5a29d066e6e88 –AuthorizationRequestMethods @('Get', 'Post') –GrantTypes @( 'AuthorizationCode', 'Implicit', 'ResourceOwnerPassword', 'ClientCredentials') –ClientAuthenticationMethods @('Basic') –TokenBodyParameters @{'par1'='val1'; 'par2'='val2'} –AccessTokenSendingMethods @('AuthorizationHeader', 'Query') –ResourceOwnerUsername 'ivan' –ResourveOwnerPassword 'qwerty' + New-AzureRmApiManagementAuthrizarionServer –Context $apimContext –Name 'Contoso OAuth2 server' –ClientRegistrationPageUrl 'https://contoso/signup' -AthorizationEndpointUrl 'https://contoso/auth' -TokenEndpointUrl 'https://contoso/token' -ClientId clientid -ClientSecret e041ed1b660b4eadbad5a29d066e6e88 –AuthorizationRequestMethods @('Get', 'Post') –GrantTypes @( 'AuthorizationCode', 'Implicit', 'ResourceOwnerPassword', 'ClientCredentials') –ClientAuthenticationMethods @('Basic') –TokenBodyParameters @{'par1'='val1'; 'par2'='val2'} –AccessTokenSendingMethods @('AuthorizationHeader', 'Query') –ResourceOwnerUsername 'ivan' –ResourveOwnerPassword 'qwerty' Create new authorization server. @@ -4489,7 +4489,7 @@ Imported API - New-AzureRMApiManagementCertificate + New-AzureRmApiManagementCertificate Creates new certificate. @@ -4505,7 +4505,7 @@ Imported API - New-AzureRMApiManagementCertificate + New-AzureRmApiManagementCertificate Context @@ -4543,7 +4543,7 @@ Imported API - New-AzureRMApiManagementCertificate + New-AzureRmApiManagementCertificate Context @@ -4695,7 +4695,7 @@ Imported API PS C:\> - New-AzureRMApiManagementCertificate –Context $apimContext –PfxFilePath 'C:\contoso\certificates\apimanagement.pfx' –PfxPassword 1111 + New-AzureRmApiManagementCertificate –Context $apimContext –PfxFilePath 'C:\contoso\certificates\apimanagement.pfx' –PfxPassword 1111 Create/upload new certificate. @@ -4717,7 +4717,7 @@ Imported API - New-AzureRMApiManagementContext + New-AzureRmApiManagementContext Create PsAzureApiManagementContext. @@ -4733,7 +4733,7 @@ Imported API - New-AzureRMApiManagementContext + New-AzureRmApiManagementContext ResourceGroupName @@ -4835,7 +4835,7 @@ Imported API PS C:\> - $apimContext = New-AzureRMApiManagementContext –ResourceGroupName contosoresources –ServiceName contoso + $apimContext = New-AzureRmApiManagementContext –ResourceGroupName contosoresources –ServiceName contoso Create an instance of PsApiManagementContext @@ -4857,7 +4857,7 @@ Imported API - New-AzureRMApiManagementGroup + New-AzureRmApiManagementGroup Creates new group. @@ -4873,7 +4873,7 @@ Imported API - New-AzureRMApiManagementGroup + New-AzureRmApiManagementGroup Context @@ -5013,7 +5013,7 @@ Imported API PS C:\> - New-AzureRMApiManagementGroup –Context $apimContext –Name 'Best devs' + New-AzureRmApiManagementGroup –Context $apimContext –Name 'Best devs' Create new group. @@ -5035,7 +5035,7 @@ Imported API - New-AzureRMApiManagementOperation + New-AzureRmApiManagementOperation Create new API Operation. @@ -5051,7 +5051,7 @@ Imported API - New-AzureRMApiManagementOperation + New-AzureRmApiManagementOperation Context @@ -5305,7 +5305,7 @@ Imported API PS C:\> - New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId 01234567890 –Name 'Get resource' –Method 'GET' –UrlTemplate '/resource' –Description 'Use this operation to get resource' + New-AzureRmApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId 01234567890 –Name 'Get resource' –Method 'GET' –UrlTemplate '/resource' –Description 'Use this operation to get resource' Create new operation. @@ -5356,7 +5356,7 @@ $request.Representations = @($requestRepresentation) #create response $response = New-Object –TypeName Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementResponse $response.StatusCode = 204 -New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId 01234567890 –Name 'Create/update resource' –Method 'PUT' –UrlTemplate '/resource/{rid}?q={query}' –Description 'Use this operation to create new or update existing resource' –TemplateParameters @($rid, $query) –Request $request –Responses @($response) +New-AzureRmApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId 01234567890 –Name 'Create/update resource' –Method 'PUT' –UrlTemplate '/resource/{rid}?q={query}' –Description 'Use this operation to create new or update existing resource' –TemplateParameters @($rid, $query) –Request $request –Responses @($response) Script to create new operation with request and response details. @@ -5378,7 +5378,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - New-AzureRMApiManagementProduct + New-AzureRmApiManagementProduct Creates new product. @@ -5394,7 +5394,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - New-AzureRMApiManagementProduct + New-AzureRmApiManagementProduct Context @@ -5667,7 +5667,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope PS C:\> - New-AzureRMApiManagementProduct –Context $apimContext –ProductId 0123456789 –Title 'Starter' –Description 'Starter Product' –LegalTerms 'Free for all' –SubscriptionRequired $false –State 'Published' + New-AzureRmApiManagementProduct –Context $apimContext –ProductId 0123456789 –Title 'Starter' –Description 'Starter Product' –LegalTerms 'Free for all' –SubscriptionRequired $false –State 'Published' Crete new product. No subscription required. @@ -5687,7 +5687,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope PS C:\> - New-AzureRMApiManagementProduct –Context $apimContext –ProductId 9876543210 –Title Unlimited –Description 'Subscribers have completely unlimited access to the API. Administrator approval is required.' –LegalTerms 'Free for all' –ApprovalRequired $true –State Published –NotificationPeriod 'D10' –SubscriptionPeriod 'Y1' + New-AzureRmApiManagementProduct –Context $apimContext –ProductId 9876543210 –Title Unlimited –Description 'Subscribers have completely unlimited access to the API. Administrator approval is required.' –LegalTerms 'Free for all' –ApprovalRequired $true –State Published –NotificationPeriod 'D10' –SubscriptionPeriod 'Y1' Crete new product. Subscription and approval required. Notification period – 10 days. Subscription period – 1 year. @@ -5709,7 +5709,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - New-AzureRMApiManagementSubscription + New-AzureRmApiManagementSubscription Creates new subscription. @@ -5725,7 +5725,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - New-AzureRMApiManagementSubscription + New-AzureRmApiManagementSubscription Context @@ -5941,7 +5941,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope PS C:\> - New-AzureRMApiManagementSubscription –Context $apimContext –UserId 777 –ProductId 999 + New-AzureRmApiManagementSubscription –Context $apimContext –UserId 777 –ProductId 999 Subscribe existing user to existing product. @@ -5963,7 +5963,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - New-AzureRMApiManagementUser + New-AzureRmApiManagementUser Register new user. @@ -5979,7 +5979,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - New-AzureRMApiManagementUser + New-AzureRmApiManagementUser Context @@ -6195,7 +6195,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope PS C:\> - New-AzureRMApiManagementUser –Context $apimContext –FirstName 'Ivan' –LastName 'Ivanov' –Email 'ivan.ivanov@contoso.com' –Password 'qwerty' + New-AzureRmApiManagementUser –Context $apimContext –FirstName 'Ivan' –LastName 'Ivanov' –Email 'ivan.ivanov@contoso.com' –Password 'qwerty' Register new user. @@ -6217,7 +6217,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Remove-AzureRMApiManagementApi + Remove-AzureRmApiManagementApi Remove existing API. @@ -6233,7 +6233,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Remove-AzureRMApiManagementApi + Remove-AzureRmApiManagementApi Context @@ -6373,7 +6373,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope PS C:\> - Remove-AzureRMApiManagementApi –Context $apimContext –ApiId 0123456789 + Remove-AzureRmApiManagementApi –Context $apimContext –ApiId 0123456789 Remove existing API. @@ -6395,7 +6395,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Remove-AzureRMApiManagementApiFromProduct + Remove-AzureRmApiManagementApiFromProduct Removes existing API from existing Product. @@ -6411,7 +6411,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Remove-AzureRMApiManagementApiFromProduct + Remove-AzureRmApiManagementApiFromProduct Context @@ -6551,7 +6551,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope PS C:\> - Remove-AzureRMApiManagementApiFromProduct –Context $apimContext –ProductId 0123456789 –ApiId 0001 –PassThru + Remove-AzureRmApiManagementApiFromProduct –Context $apimContext –ProductId 0123456789 –ApiId 0001 –PassThru Remove existing API from an existing Product. @@ -6573,7 +6573,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Remove-AzureRMApiManagementAuthorizationServer + Remove-AzureRmApiManagementAuthorizationServer Deletes existing authorization server. @@ -6589,7 +6589,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Remove-AzureRMApiManagementAuthorizationServer + Remove-AzureRmApiManagementAuthorizationServer Context @@ -6751,7 +6751,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Remove-AzureRMApiManagementCertificate + Remove-AzureRmApiManagementCertificate Deletes existing certificate. @@ -6767,7 +6767,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Remove-AzureRMApiManagementCertificate + Remove-AzureRmApiManagementCertificate Context @@ -6907,7 +6907,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope PS C:\> - Remove-AzureRMApiManagementCertificate –Context $apimContext –CertificateId 0123456789 –Force + Remove-AzureRmApiManagementCertificate –Context $apimContext –CertificateId 0123456789 –Force Delete existing certificate. @@ -6929,7 +6929,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Remove-AzureRMApiManagementGroup + Remove-AzureRmApiManagementGroup Deletes existing group. @@ -6945,7 +6945,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Remove-AzureRMApiManagementGroup + Remove-AzureRmApiManagementGroup Context @@ -7085,7 +7085,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope PS C:\> - Remove-AzureRMApiManagementGroup –Context $apimContext –GroupId 0123456789 –Force + Remove-AzureRmApiManagementGroup –Context $apimContext –GroupId 0123456789 –Force Delete existing group. @@ -7107,7 +7107,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Remove-AzureRMApiManagementOperation + Remove-AzureRmApiManagementOperation Remove existing operation. @@ -7123,7 +7123,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Remove-AzureRMApiManagementOperation + Remove-AzureRmApiManagementOperation Context @@ -7282,7 +7282,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope PS C:\> - Remove-AzureRMApiManagementOperation –Context $apimContext –ApiId 0123456789 –OperationId 9876543210 –Force + Remove-AzureRmApiManagementOperation –Context $apimContext –ApiId 0123456789 –OperationId 9876543210 –Force Remove existing API Operation. @@ -7304,7 +7304,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Remove-AzureRMApiManagementPolicy + Remove-AzureRmApiManagementPolicy Removes policy from specified scope. @@ -7320,7 +7320,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Remove-AzureRMApiManagementPolicy + Remove-AzureRmApiManagementPolicy Context @@ -7351,7 +7351,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Remove-AzureRMApiManagementPolicy + Remove-AzureRmApiManagementPolicy Context @@ -7389,7 +7389,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Remove-AzureRMApiManagementPolicy + Remove-AzureRmApiManagementPolicy Context @@ -7427,7 +7427,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Remove-AzureRMApiManagementPolicy + Remove-AzureRmApiManagementPolicy Context @@ -7598,7 +7598,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope PS C:\> - Remove-AzureRMApiManagementPolicy –Context $apimContext + Remove-AzureRmApiManagementPolicy –Context $apimContext Remove tenant level policy. @@ -7618,7 +7618,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope PS C:\> - Remove-AzureRMApiManagementPolicy –Context $apimContext –ProductId 0123456789 + Remove-AzureRmApiManagementPolicy –Context $apimContext –ProductId 0123456789 Remove product-scope policy. @@ -7638,7 +7638,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope PS C:\> - Remove-AzureRMApiManagementPolicy –Context $apimContext –ApiId 9876543210 + Remove-AzureRmApiManagementPolicy –Context $apimContext –ApiId 9876543210 Remove API-scope policy. @@ -7658,7 +7658,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope PS C:\> - Remove-AzureRMApiManagementPolicy –Context $apimContext –ApiId 9876543210 –OperationId 777 + Remove-AzureRmApiManagementPolicy –Context $apimContext –ApiId 9876543210 –OperationId 777 Remove operation-scope policy. @@ -7680,7 +7680,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Remove-AzureRMApiManagementProduct + Remove-AzureRmApiManagementProduct Remove existing product. @@ -7696,7 +7696,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Remove-AzureRMApiManagementProduct + Remove-AzureRmApiManagementProduct Context @@ -7855,7 +7855,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope PS C:\> - Remove-AzureRMApiManagementProduct –Context $apimContext –Id 0123456789 -DeleteSubscriptions –Force + Remove-AzureRmApiManagementProduct –Context $apimContext –Id 0123456789 -DeleteSubscriptions –Force Remove existing Product with all subscriptions. @@ -7877,7 +7877,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Remove-AzureRMApiManagementProductFromGroup + Remove-AzureRmApiManagementProductFromGroup Removes existing product from existing group. @@ -7893,7 +7893,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Remove-AzureRMApiManagementProductFromGroup + Remove-AzureRmApiManagementProductFromGroup Context @@ -8033,7 +8033,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope PS C:\> - Remove-AzureRMApiManagementProductFromGroup –Context $apimContext –GroupId 0001 –ProductId 0123456789 + Remove-AzureRmApiManagementProductFromGroup –Context $apimContext –GroupId 0001 –ProductId 0123456789 Remove existing product from an existing group. @@ -8055,7 +8055,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Remove-AzureRMApiManagementSubscription + Remove-AzureRmApiManagementSubscription Deletes existing subscription. @@ -8071,7 +8071,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Remove-AzureRMApiManagementSubscription + Remove-AzureRmApiManagementSubscription Context @@ -8211,7 +8211,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope PS C:\> - Remove-AzureRMApiManagementSubscription –Context $apimContext –SubscriptionId 0123456789 -Force + Remove-AzureRmApiManagementSubscription –Context $apimContext –SubscriptionId 0123456789 -Force Delete existing subscription. @@ -8233,7 +8233,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Remove-AzureRMApiManagementUser + Remove-AzureRmApiManagementUser Deletes existing user. @@ -8249,7 +8249,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Remove-AzureRMApiManagementUser + Remove-AzureRmApiManagementUser Context @@ -8408,7 +8408,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope PS C:\> - Remove-AzureRMApiManagementUser –Context $apimContext –UserId 0123456789 –Force + Remove-AzureRmApiManagementUser –Context $apimContext –UserId 0123456789 –Force Delete existing user. @@ -8430,7 +8430,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Remove-AzureRMApiManagementUserFromGroup + Remove-AzureRmApiManagementUserFromGroup Removes existing user from existing group. @@ -8446,7 +8446,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Remove-AzureRMApiManagementUserFromGroup + Remove-AzureRmApiManagementUserFromGroup Context @@ -8586,7 +8586,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope PS C:\> - Remove-AzureRMApiManagementUserFromGroup –Context $apimContext –GroupId 0001 –UserId 0123456789 + Remove-AzureRmApiManagementUserFromGroup –Context $apimContext –GroupId 0001 –UserId 0123456789 Remove existing user from an existing group. @@ -8608,7 +8608,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Set-AzureRMApiManagementApi + Set-AzureRmApiManagementApi Set API details. @@ -8624,7 +8624,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Set-AzureRMApiManagementApi + Set-AzureRmApiManagementApi Context @@ -8916,7 +8916,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope PS C:\> - Set-AzureRMApiManagementApi –Context $apimContext –Name EchoApi –ServiceUrl 'https://contoso.com/apis/echo' -Protocols @('https') –Description 'Responds with what was sent' –Path 'echo' + Set-AzureRmApiManagementApi –Context $apimContext –Name EchoApi –ServiceUrl 'https://contoso.com/apis/echo' -Protocols @('https') –Description 'Responds with what was sent' –Path 'echo' @@ -8938,7 +8938,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Set-AzureRMApiManagementAuthorizationServer + Set-AzureRmApiManagementAuthorizationServer Sets authorization server details. @@ -8954,7 +8954,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Set-AzureRMApiManagementAuthorizationServer + Set-AzureRmApiManagementAuthorizationServer Context @@ -9379,7 +9379,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope PS C:\> - Set-AzureRMApiManagementAuthrizarionServer –Context $apimContext –ServerId 0123456789 –Name 'Contoso OAuth2 server' –ClientRegistrationPageUrl 'https://contoso/signupv2' -AthorizationEndpointUrl 'https://contoso/authv2' -TokenEndpointUrl 'https://contoso/tokenv2' -ClientId clientid -ClientSecret e041ed1b660b4eadbad5a29d066e6e88 –AuthorizationRequestMethods @('Get') –GrantTypes @( 'AuthorizationCode', 'Implicit', 'ClientCredentials') –ClientAuthenticationMethods @('Basic') –TokenBodyParameters @{'par1'='val1'} –AccessTokenSendingMethods @('AuthorizationHeader') + Set-AzureRmApiManagementAuthrizarionServer –Context $apimContext –ServerId 0123456789 –Name 'Contoso OAuth2 server' –ClientRegistrationPageUrl 'https://contoso/signupv2' -AthorizationEndpointUrl 'https://contoso/authv2' -TokenEndpointUrl 'https://contoso/tokenv2' -ClientId clientid -ClientSecret e041ed1b660b4eadbad5a29d066e6e88 –AuthorizationRequestMethods @('Get') –GrantTypes @( 'AuthorizationCode', 'Implicit', 'ClientCredentials') –ClientAuthenticationMethods @('Basic') –TokenBodyParameters @{'par1'='val1'} –AccessTokenSendingMethods @('AuthorizationHeader') Set authorization server details. @@ -9401,7 +9401,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Set-AzureRMApiManagementCertificate + Set-AzureRmApiManagementCertificate Sets certificate data. @@ -9417,7 +9417,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Set-AzureRMApiManagementCertificate + Set-AzureRmApiManagementCertificate Context @@ -9462,7 +9462,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Set-AzureRMApiManagementCertificate + Set-AzureRmApiManagementCertificate Context @@ -9633,7 +9633,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope PS C:\> - Set-AzureRMApiManagementCertificate –Context $apimContext –CertificateId 0123456789 –PfxFilePath 'C:\contoso\certificates\apimanagementnew.pfx' –PfxPassword 2222 + Set-AzureRmApiManagementCertificate –Context $apimContext –CertificateId 0123456789 –PfxFilePath 'C:\contoso\certificates\apimanagementnew.pfx' –PfxPassword 2222 Set certificate. @@ -9655,7 +9655,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Set-AzureRMApiManagementGroup + Set-AzureRmApiManagementGroup Sets existing group details. @@ -9671,7 +9671,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Set-AzureRMApiManagementGroup + Set-AzureRmApiManagementGroup Context @@ -9830,7 +9830,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope PS C:\> - New-AzureRMApiManagementGroup –Context $apimContext –Name 'Best devs' + New-AzureRmApiManagementGroup –Context $apimContext –Name 'Best devs' Create new group. @@ -9852,7 +9852,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Set-AzureRMApiManagementOperation + Set-AzureRmApiManagementOperation Set API Operation details. @@ -9868,7 +9868,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Set-AzureRMApiManagementOperation + Set-AzureRmApiManagementOperation Context @@ -10141,7 +10141,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope PS C:\> - New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId $operationId –Name 'Get resource' –Method GET –UrlTemplate '/newresource' –Description 'Use this operation to get newresource' + New-AzureRmApiManagementOperation –Context $apimContext –ApiId $apiId –OperationId $operationId –Name 'Get resource' –Method GET –UrlTemplate '/newresource' –Description 'Use this operation to get newresource' Set operation details. @@ -10163,7 +10163,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Set-AzureRMApiManagementPolicy + Set-AzureRmApiManagementPolicy Set specified scope policy. @@ -10179,7 +10179,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Set-AzureRMApiManagementPolicy + Set-AzureRmApiManagementPolicy Context @@ -10224,7 +10224,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Set-AzureRMApiManagementPolicy + Set-AzureRmApiManagementPolicy Context @@ -10276,7 +10276,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Set-AzureRMApiManagementPolicy + Set-AzureRmApiManagementPolicy Context @@ -10328,7 +10328,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Set-AzureRMApiManagementPolicy + Set-AzureRmApiManagementPolicy Context @@ -10537,7 +10537,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope PS C:\> - Set-AzureRMApiManagementPolicy –Context $apimContext –PolicyFilePath 'C:\contoso\policies\tenantpolicy.xml' + Set-AzureRmApiManagementPolicy –Context $apimContext –PolicyFilePath 'C:\contoso\policies\tenantpolicy.xml' Set tenant level policy from file named tenantpolicy.xml. @@ -10557,7 +10557,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope PS C:\> - Set-AzureRMApiManagementPolicy –Context $apimContext –ProductId 0123456789 –Policy $policystring + Set-AzureRmApiManagementPolicy –Context $apimContext –ProductId 0123456789 –Policy $policystring Set product-scope policy. @@ -10577,7 +10577,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope PS C:\> - Get-AzureRMApiManagementPolicy –Context $apimContext –ApiId 9876543210 –Policy $policystring + Get-AzureRmApiManagementPolicy –Context $apimContext –ApiId 9876543210 –Policy $policystring Set API-scope policy. @@ -10597,7 +10597,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope PS C:\> - Set-AzureRMApiManagementPolicy –Context $apimContext –ApiId 9876543210 –OperationId 777 –Policy $policystring + Set-AzureRmApiManagementPolicy –Context $apimContext –ApiId 9876543210 –OperationId 777 –Policy $policystring Set operation-scope policy. @@ -10619,7 +10619,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Set-AzureRMApiManagementProduct + Set-AzureRmApiManagementProduct Sets Product details. @@ -10635,7 +10635,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Set-AzureRMApiManagementProduct + Set-AzureRmApiManagementProduct Context @@ -10927,7 +10927,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope PS C:\> - Set-AzureRMApiManagementProduct –Context $apimContext –ProductId 0123456789 –Title 'Starter' –Description 'Starter Product' –LegalTerms 'Free for all' –SubscriptionRequired $true –State 'NotPublished' + Set-AzureRmApiManagementProduct –Context $apimContext –ProductId 0123456789 –Title 'Starter' –Description 'Starter Product' –LegalTerms 'Free for all' –SubscriptionRequired $true –State 'NotPublished' Update product details: require subscription, unpublish. @@ -10949,7 +10949,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Set-AzureRMApiManagementSubscription + Set-AzureRmApiManagementSubscription Sets existing subscription details. @@ -10965,7 +10965,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Set-AzureRMApiManagementSubscription + Set-AzureRmApiManagementSubscription Context @@ -11200,7 +11200,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope PS C:\> - Set-AzureRMApiManagementSubscription –Context $apimContext –SubscriptionId 0123456789 –PrimaryKey '80450f7d0b6d481382113073f67822c1' –SencondaryKey '97d6112c3a8f48d5bf0266b7a09a761c' –State 'Active' + Set-AzureRmApiManagementSubscription –Context $apimContext –SubscriptionId 0123456789 –PrimaryKey '80450f7d0b6d481382113073f67822c1' –SencondaryKey '97d6112c3a8f48d5bf0266b7a09a761c' –State 'Active' Set subscription primary, secondary key and activate. @@ -11222,7 +11222,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Set-AzureRMApiManagementUser + Set-AzureRmApiManagementUser Sets user details. @@ -11238,7 +11238,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope - Set-AzureRMApiManagementUser + Set-AzureRmApiManagementUser Context @@ -11473,7 +11473,7 @@ New-AzureRMApiManagementOperation –Context $apimContext –ApiId $apiId –Ope PS C:\> - Set-AzureRMApiManagementUser –Context $apimContext -UserId 0123456789 –Email 'ivanov.ivan@contoso.com' –Password 'asdfgh' –State 'Blocked' + Set-AzureRmApiManagementUser –Context $apimContext -UserId 0123456789 –Email 'ivanov.ivan@contoso.com' –Password 'asdfgh' –State 'Blocked' Set new user password and email and block the user. diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/ScenarioTests/ApiManagementTests.ps1 b/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/ScenarioTests/ApiManagementTests.ps1 index cba2839023ef..5a1848a0d541 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/ScenarioTests/ApiManagementTests.ps1 +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/ScenarioTests/ApiManagementTests.ps1 @@ -9,14 +9,14 @@ function Test-CrudApiManagement # Create resource group $resourceGroupName = Get-ResourceGroupName - New-AzureRMResourceGroup -Name $resourceGroupName -Location $location -Force + New-AzureRmResourceGroup -Name $resourceGroupName -Location $location -Force $apiManagementName = Get-ApiManagementServiceName $organization = "apimpowershellorg" $adminEmail = "apim@powershell.org" # Create API Management service - $result = New-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Location $location -Name $apiManagementName -Organization $organization -AdminEmail $adminEmail + $result = New-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Location $location -Name $apiManagementName -Organization $organization -AdminEmail $adminEmail Assert-AreEqual $resourceGroupName $result.ResourceGroupName Assert-AreEqual $apiManagementName $result.Name @@ -25,11 +25,11 @@ function Test-CrudApiManagement Assert-AreEqual 1 $result.Capacity # Get SSO token - $token = Get-AzureRMApiManagementSsoToken -ResourceGroupName $resourceGroupName -Name $apiManagementName + $token = Get-AzureRmApiManagementSsoToken -ResourceGroupName $resourceGroupName -Name $apiManagementName Assert-NotNull $token # List services within the resource group - $apimServicesInGroup = Get-AzureRMApiManagement -ResourceGroupName $resourceGroupName + $apimServicesInGroup = Get-AzureRmApiManagement -ResourceGroupName $resourceGroupName Assert-True {$apimServicesInGroup.Count -ge 1} $found = 0 @@ -50,7 +50,7 @@ function Test-CrudApiManagement # Create on more group $secondResourceGroup = Get-ResourceGroupName - New-AzureRMResourceGroup -Name $secondResourceGroup -Location $location -Force + New-AzureRmResourceGroup -Name $secondResourceGroup -Location $location -Force # Create one more service $secondApiManagementName = Get-ApiManagementServiceName @@ -59,7 +59,7 @@ function Test-CrudApiManagement $secondSku = "Standard" $secondSkuCapacity = 2 - $secondResult = New-AzureRMApiManagement -ResourceGroupName $secondResourceGroup -Location $location -Name $secondApiManagementName -Organization $secondOrganization -AdminEmail $secondAdminEmail -Sku $secondSku -Capacity $secondSkuCapacity + $secondResult = New-AzureRmApiManagement -ResourceGroupName $secondResourceGroup -Location $location -Name $secondApiManagementName -Organization $secondOrganization -AdminEmail $secondAdminEmail -Sku $secondSku -Capacity $secondSkuCapacity Assert-AreEqual $secondResourceGroup $secondResult.ResourceGroupName Assert-AreEqual $secondApiManagementName $secondResult.Name Assert-AreEqual $location $secondResult.Location @@ -67,11 +67,11 @@ function Test-CrudApiManagement Assert-AreEqual $secondSkuCapacity $secondResult.Capacity # Get SSO token - $secondToken = Get-AzureRMApiManagementSsoToken -ResourceGroupName $secondResourceGroup -Name $secondApiManagementName + $secondToken = Get-AzureRmApiManagementSsoToken -ResourceGroupName $secondResourceGroup -Name $secondApiManagementName Assert-NotNull $secondToken # List all services - $allServices = Get-AzureRMApiManagement + $allServices = Get-AzureRmApiManagement Assert-True {$allServices.Count -ge 2} $found = 0 @@ -100,13 +100,13 @@ function Test-CrudApiManagement Assert-True {$found -eq 2} "Api Management services created earlier is not found." # Delete listed services - Get-AzureRMApiManagement | Remove-AzureRMApiManagement -Force + Get-AzureRmApiManagement | Remove-AzureRmApiManagement -Force - $allServices = Get-AzureRMApiManagement + $allServices = Get-AzureRmApiManagement Assert-AreEqual 0 $allServices.Count # Remove resource group - Remove-AzureRMResourceGroup -Name $resourceGroupName -Force + Remove-AzureRmResourceGroup -Name $resourceGroupName -Force } <# @@ -120,16 +120,16 @@ function Test-BackupRestoreApiManagement # Create resource group $resourceGroupName = Get-ResourceGroupName - New-AzureRMResourceGroup -Name $resourceGroupName -Location $location -Force + New-AzureRmResourceGroup -Name $resourceGroupName -Location $location -Force # Create storage account $storageLocation = Get-ProviderLocation "Microsoft.ClassicStorage/storageAccounts" $storageAccountName = Get-ApiManagementServiceName - New-AzureRMStorageAccount -StorageAccountName $storageAccountName -Location $storageLocation -ResourceGroupName $resourceGroupName -Type Standard_LRS + New-AzureRmStorageAccount -StorageAccountName $storageAccountName -Location $storageLocation -ResourceGroupName $resourceGroupName -Type Standard_LRS - $storageKey = (Get-AzureRMStorageAccountKey -ResourceGroupName $resourceGroupName -StorageAccountName $storageAccountName).Key1 - $storageContext = New-AzureRMStorageContext -StorageAccountName $storageAccountName -StorageAccountKey $storageKey + $storageKey = (Get-AzureRmStorageAccountKey -ResourceGroupName $resourceGroupName -StorageAccountName $storageAccountName).Key1 + $storageContext = New-AzureRmStorageContext -StorageAccountName $storageAccountName -StorageAccountKey $storageKey $apiManagementName = Get-ApiManagementServiceName $organization = "apimpowershellorg" @@ -139,16 +139,16 @@ function Test-BackupRestoreApiManagement $backupName = $apiManagementName + ".apimbackup" # Create API Management service - $apiManagementService = New-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Location $location -Name $apiManagementName -Organization $organization -AdminEmail $adminEmail + $apiManagementService = New-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Location $location -Name $apiManagementName -Organization $organization -AdminEmail $adminEmail $containerName = "backups" $backupName = $apiManagementName + ".apimbackup" # Backup API Management service - Backup-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -StorageContext $storageContext -TargetContainerName $containerName -TargetBlobName $backupName + Backup-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -StorageContext $storageContext -TargetContainerName $containerName -TargetBlobName $backupName # Restore API Management service - $restoreResult = Restore-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -StorageContext $storageContext -SourceContainerName $containerName -SourceBlobName $backupName -PassThru + $restoreResult = Restore-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -StorageContext $storageContext -SourceContainerName $containerName -SourceBlobName $backupName -PassThru Assert-AreEqual $resourceGroupName $restoreResult.ResourceGroupName Assert-AreEqual $apiManagementName $restoreResult.Name @@ -160,13 +160,13 @@ function Test-BackupRestoreApiManagement try { # Remove the service - Remove-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -Force + Remove-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -Force # Remove storage account - Remove-AzureRMStorageAccount -ResourceGroupName $resourceGroupName -StorageAccountName $storageAccountName + Remove-AzureRmStorageAccount -ResourceGroupName $resourceGroupName -StorageAccountName $storageAccountName # Remove resource group - Remove-AzureRMResourceGroup -Name $resourceGroupName -Force + Remove-AzureRmResourceGroup -Name $resourceGroupName -Force } catch { @@ -184,7 +184,7 @@ function Test-UpdateApiManagementDeployment # Create resource group $resourceGroupName = Get-ResourceGroupName - New-AzureRMResourceGroup -Name $resourceGroupName -Location $location -Force + New-AzureRmResourceGroup -Name $resourceGroupName -Location $location -Force $apiManagementName = Get-ApiManagementServiceName $organization = "apimpowershellorg" @@ -193,14 +193,14 @@ function Test-UpdateApiManagementDeployment $capacity = 1 # Create API Management service - New-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Location $location -Name $apiManagementName -Organization $organization -AdminEmail $adminEmail -Sku $sku -Capacity $capacity + New-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Location $location -Name $apiManagementName -Organization $organization -AdminEmail $adminEmail -Sku $sku -Capacity $capacity # Get API Management and: #- 1) Scale master region to 'Premium' 2 units $sku = "Premium" $capacity = 2 - $service = Get-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName + $service = Get-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName $service.Sku = $sku; $service.Capacity = $capacity @@ -215,9 +215,9 @@ function Test-UpdateApiManagementDeployment #$region2Capacity = 3 #$service.AddRegion($region2Location, $region2Sku, $region2Capacity) - Update-AzureRMApiManagementDeployment -ApiManagement $service + Update-AzureRmApiManagementDeployment -ApiManagement $service - $service = Get-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName + $service = Get-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName Assert-AreEqual $resourceGroupName $service.ResourceGroupName Assert-AreEqual $apiManagementName $service.Name @@ -251,10 +251,10 @@ function Test-UpdateApiManagementDeployment Assert-True {$found -eq 1} "Api Management regions created earlier is not found." # Remove the service - Remove-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -Force + Remove-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -Force # Remove resource group - Remove-AzureRMResourceGroup -Name $resourceGroupName -Force + Remove-AzureRmResourceGroup -Name $resourceGroupName -Force } <# @@ -268,7 +268,7 @@ function Test-UpdateApiManagementDeploymentWithHelpersAndPipline # Create resource group $resourceGroupName = Get-ResourceGroupName - New-AzureRMResourceGroup -Name $resourceGroupName -Location $location -Force + New-AzureRmResourceGroup -Name $resourceGroupName -Location $location -Force $apiManagementName = Get-ApiManagementServiceName $organization = "apimpowershellorg" @@ -277,7 +277,7 @@ function Test-UpdateApiManagementDeploymentWithHelpersAndPipline $capacity = 1 # Create API Management service - $service = New-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Location $location -Name $apiManagementName -Organization $organization -AdminEmail $adminEmail -Sku $sku -Capacity $capacity + $service = New-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Location $location -Name $apiManagementName -Organization $organization -AdminEmail $adminEmail -Sku $sku -Capacity $capacity # Get API Management and: #- 1) Scale master region to 'Premium' 2 @@ -293,13 +293,13 @@ function Test-UpdateApiManagementDeploymentWithHelpersAndPipline #$region2Sku = "Premium" #$region2Capacity = 3 - Get-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName | - Update-AzureRMApiManagementRegion -Sku $sku -Capacity $capacity | - Add-AzureRMApiManagementRegion -Location $region1Location -Sku $region1Sku | - #Add-AzureRMApiManagementRegion -Location $region2Location -Sku $region2Sku -Capacity $region2Capacity | - Update-AzureRMApiManagementDeployment + Get-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName | + Update-AzureRmApiManagementRegion -Sku $sku -Capacity $capacity | + Add-AzureRmApiManagementRegion -Location $region1Location -Sku $region1Sku | + #Add-AzureRmApiManagementRegion -Location $region2Location -Sku $region2Sku -Capacity $region2Capacity | + Update-AzureRmApiManagementDeployment - $service = Get-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName + $service = Get-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName Assert-AreEqual $resourceGroupName $service.ResourceGroupName Assert-AreEqual $apiManagementName $service.Name @@ -335,10 +335,10 @@ function Test-UpdateApiManagementDeploymentWithHelpersAndPipline # Remove the service - Remove-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -Force + Remove-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -Force # Remove resource group - Remove-AzureRMResourceGroup -Name $resourceGroupName -Force + Remove-AzureRmResourceGroup -Name $resourceGroupName -Force } <# @@ -355,7 +355,7 @@ function Test-ImportApiManagementHostnameCertificate # Create resource group $resourceGroupName = Get-ResourceGroupName - New-AzureRMResourceGroup -Name $resourceGroupName -Location $location -Force + New-AzureRmResourceGroup -Name $resourceGroupName -Location $location -Force $apiManagementName = Get-ApiManagementServiceName $organization = "apimpowershellorg" @@ -364,18 +364,18 @@ function Test-ImportApiManagementHostnameCertificate $capacity = 1 # Create API Management service - $result = New-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Location $location -Name $apiManagementName -Organization $organization -AdminEmail $adminEmail -Sku $sku -Capacity $capacity | - Get-AzureRMApiManagement | - Import-AzureRMApiManagementHostnameCertificate -HostnameType "Proxy" -PfxPath $certFilePath -PfxPassword $certPassword -PassThru + $result = New-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Location $location -Name $apiManagementName -Organization $organization -AdminEmail $adminEmail -Sku $sku -Capacity $capacity | + Get-AzureRmApiManagement | + Import-AzureRmApiManagementHostnameCertificate -HostnameType "Proxy" -PfxPath $certFilePath -PfxPassword $certPassword -PassThru Assert-AreEqual "CN=ailn.redmond.corp.microsoft.com" $result.Subject Assert-AreEqual "51A702569BADEDB90A75141B070F2D4B5DDFA447" $result.Thumbprint # Remove the service - Remove-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -Force + Remove-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -Force # Remove resource group - Remove-AzureRMResourceGroup -Name $resourceGroupName -Force + Remove-AzureRmResourceGroup -Name $resourceGroupName -Force } <# @@ -389,7 +389,7 @@ function Test-SetApiManagementVirtualNetworks # Create resource group $resourceGroupName = Get-ResourceGroupName - New-AzureRMResourceGroup -Name $resourceGroupName -Location $location -Force + New-AzureRmResourceGroup -Name $resourceGroupName -Location $location -Force $apiManagementName = Get-ApiManagementServiceName $organization = "apimpowershellorg" @@ -398,20 +398,20 @@ function Test-SetApiManagementVirtualNetworks $capacity = 1 # Create API Management service - New-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Location $location -Name $apiManagementName -Organization $organization -AdminEmail $adminEmail -Sku $sku -Capacity $capacity + New-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Location $location -Name $apiManagementName -Organization $organization -AdminEmail $adminEmail -Sku $sku -Capacity $capacity $vnetLocation = "East US" $vnetId = "53F96AC5-9F46-46CE-BA0F-77DE89943258" $subnetName = "Subnet-1" $networksList = @() - $networksList += New-AzureRMApiManagementVirtualNetwork -Location $vnetLocation -VnetId $vnetId -SubnetName $subnetName + $networksList += New-AzureRmApiManagementVirtualNetwork -Location $vnetLocation -VnetId $vnetId -SubnetName $subnetName try { try { - Set-AzureRMApiManagementVirtualNetworks -ResourceGroupName $resourceGroupName -Name $apiManagementName -VirtualNetworks $networksList + Set-AzureRmApiManagementVirtualNetworks -ResourceGroupName $resourceGroupName -Name $apiManagementName -VirtualNetworks $networksList } catch { @@ -421,9 +421,9 @@ function Test-SetApiManagementVirtualNetworks finally { # Remove the service - Remove-AzureRMApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -Force + Remove-AzureRmApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -Force # Remove resource group - Remove-AzureRMResourceGroup -Name $resourceGroupName -Force + Remove-AzureRmResourceGroup -Name $resourceGroupName -Force } } \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/ScenarioTests/Common.ps1 b/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/ScenarioTests/Common.ps1 index 0275adb24b47..9946896079db 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/ScenarioTests/Common.ps1 +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/ScenarioTests/Common.ps1 @@ -50,6 +50,6 @@ Gets all locations for a provider #> function Get-ProviderLocations($provider) { - $location = Get-AzureRMLocation | where {$_.Name -eq $provider} + $location = Get-AzureRmLocation | where {$_.Name -eq $provider} $location.Locations } \ No newline at end of file diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/ApiManagementClient.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/ApiManagementClient.cs index 62a0962386d2..2768b50fad12 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/ApiManagementClient.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/ApiManagementClient.cs @@ -96,7 +96,7 @@ public ApiManagementLongRunningOperation BeginCreateApiManagementService( var longrunningResponse = Client.ResourceProvider.BeginCreatingOrUpdating(resourceGroupName, serviceName, parameters); AdjustRetryAfter(longrunningResponse, _client.LongRunningOperationInitialTimeout); - return ApiManagementLongRunningOperation.CreateLongRunningOperation("New-AzureRMApiManagement", longrunningResponse); + return ApiManagementLongRunningOperation.CreateLongRunningOperation("New-AzureRmApiManagement", longrunningResponse); } public ApiManagementLongRunningOperation BeginBackupApiManagement( @@ -122,7 +122,7 @@ public ApiManagementLongRunningOperation BeginBackupApiManagement( var longrunningResponse = Client.ResourceProvider.BeginBackup(resourceGroupName, serviceName, parameters); AdjustRetryAfter(longrunningResponse, _client.LongRunningOperationInitialTimeout); - return ApiManagementLongRunningOperation.CreateLongRunningOperation("Backup-AzureRMApiManagement", longrunningResponse); + return ApiManagementLongRunningOperation.CreateLongRunningOperation("Backup-AzureRmApiManagement", longrunningResponse); } public bool DeleteApiManagement(string resourceGroupName, string serviceName) @@ -150,7 +150,7 @@ public ApiManagementLongRunningOperation BeginRestoreApiManagement( var longrunningResponse = Client.ResourceProvider.BeginRestoring(resourceGroupName, serviceName, parameters); AdjustRetryAfter(longrunningResponse, _client.LongRunningOperationInitialTimeout); - return ApiManagementLongRunningOperation.CreateLongRunningOperation("Restore-AzureRMApiManagement", longrunningResponse); + return ApiManagementLongRunningOperation.CreateLongRunningOperation("Restore-AzureRmApiManagement", longrunningResponse); } public ApiManagementLongRunningOperation BeginUpdateDeployments( @@ -201,7 +201,7 @@ public ApiManagementLongRunningOperation BeginUpdateDeployments( var longrunningResponse = Client.ResourceProvider.BeginManagingDeployments(resourceGroupName, serviceName, parameters); AdjustRetryAfter(longrunningResponse, _client.LongRunningOperationInitialTimeout); - return ApiManagementLongRunningOperation.CreateLongRunningOperation("Update-AzureRMApiManagementDeployment", longrunningResponse); + return ApiManagementLongRunningOperation.CreateLongRunningOperation("Update-AzureRmApiManagementDeployment", longrunningResponse); } public PsApiManagementHostnameCertificate UploadCertificate( @@ -242,7 +242,7 @@ public ApiManagementLongRunningOperation BeginSetHostnames( var longrunningResponse = Client.ResourceProvider.BeginUpdatingHostname(resourceGroupName, serviceName, parameters); AdjustRetryAfter(longrunningResponse, _client.LongRunningOperationInitialTimeout); - return ApiManagementLongRunningOperation.CreateLongRunningOperation("Set-AzureRMApiManagementHostnames", longrunningResponse); + return ApiManagementLongRunningOperation.CreateLongRunningOperation("Set-AzureRmApiManagementHostnames", longrunningResponse); } public string GetSsoToken(string resourceGroupName, string serviceName) @@ -270,7 +270,7 @@ public ApiManagementLongRunningOperation BeginManageVirtualNetworks( var longrunningResponse = Client.ResourceProvider.BeginManagingVirtualNetworks(resourceGroupName, serviceName, parameters); AdjustRetryAfter(longrunningResponse, _client.LongRunningOperationInitialTimeout); - return ApiManagementLongRunningOperation.CreateLongRunningOperation("Set-AzureRMApiManagementVirtualNetworks", longrunningResponse); + return ApiManagementLongRunningOperation.CreateLongRunningOperation("Set-AzureRmApiManagementVirtualNetworks", longrunningResponse); } internal ApiManagementLongRunningOperation GetLongRunningOperationStatus(ApiManagementLongRunningOperation longRunningOperation) diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/AddAzureApiManagementRegion.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/AddAzureApiManagementRegion.cs index afeb16e08b21..011d13ad9eb1 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/AddAzureApiManagementRegion.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/AddAzureApiManagementRegion.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.Models; - [Cmdlet(VerbsCommon.Add, "AzureRMApiManagementRegion"), OutputType(typeof(PsApiManagement))] + [Cmdlet(VerbsCommon.Add, "AzureRmApiManagementRegion"), OutputType(typeof(PsApiManagement))] public class AddAzureApiManagementRegion : AzureApiManagementCmdletBase { [Parameter( diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/BackupAzureApiManagement.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/BackupAzureApiManagement.cs index 51a41c601526..f0c6f28d695d 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/BackupAzureApiManagement.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/BackupAzureApiManagement.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands using Microsoft.WindowsAzure.Commands.Common.Storage; - [Cmdlet(VerbsData.Backup, "AzureRMApiManagement"), OutputType(typeof(PsApiManagement))] + [Cmdlet(VerbsData.Backup, "AzureRmApiManagement"), OutputType(typeof(PsApiManagement))] public class BackupAzureApiManagement : AzureApiManagementCmdletBase { [Parameter( diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/GetAzureApiManagement.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/GetAzureApiManagement.cs index 3ac14a8769ec..79deb8d4ac3c 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/GetAzureApiManagement.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/GetAzureApiManagement.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.Models; - [Cmdlet(VerbsCommon.Get, "AzureRMApiManagement", DefaultParameterSetName = BaseParameterSetName), OutputType(typeof (List))] + [Cmdlet(VerbsCommon.Get, "AzureRmApiManagement", DefaultParameterSetName = BaseParameterSetName), OutputType(typeof (List))] public class GetAzureApiManagement : AzureApiManagementCmdletBase { internal const string BaseParameterSetName = "All In Subscription"; diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/GetAzureApiManagementSsoToken.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/GetAzureApiManagementSsoToken.cs index 64b0bf1a38bc..5018e38e2287 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/GetAzureApiManagementSsoToken.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/GetAzureApiManagementSsoToken.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands { using System.Management.Automation; - [Cmdlet(VerbsCommon.Get, "AzureRMApiManagementSsoToken"), OutputType(typeof (string))] + [Cmdlet(VerbsCommon.Get, "AzureRmApiManagementSsoToken"), OutputType(typeof (string))] public class GetAzureApiManagementSsoToken : AzureApiManagementCmdletBase { [Parameter( diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/ImportAzureApiManagementHostnameCertificate.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/ImportAzureApiManagementHostnameCertificate.cs index 19ac74ca6015..abf764d1384d 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/ImportAzureApiManagementHostnameCertificate.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/ImportAzureApiManagementHostnameCertificate.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.Models; - [Cmdlet(VerbsData.Import, "AzureRMApiManagementHostnameCertificate"), OutputType(typeof(PsApiManagementHostnameCertificate))] + [Cmdlet(VerbsData.Import, "AzureRmApiManagementHostnameCertificate"), OutputType(typeof(PsApiManagementHostnameCertificate))] public class ImportAzureApiManagementHostnameCertificate : AzureApiManagementCmdletBase { [Parameter( diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/NewAzureApiManagement.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/NewAzureApiManagement.cs index ff771cac5c54..7a0004cc6ee6 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/NewAzureApiManagement.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/NewAzureApiManagement.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.Models; - [Cmdlet(VerbsCommon.New, "AzureRMApiManagement"), OutputType(typeof (PsApiManagement))] + [Cmdlet(VerbsCommon.New, "AzureRmApiManagement"), OutputType(typeof (PsApiManagement))] public class NewAzureApiManagement : AzureApiManagementCmdletBase { [Parameter( diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/NewAzureApiManagementHostnameConfiguration.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/NewAzureApiManagementHostnameConfiguration.cs index 96e6b01cbb53..7ab4de6ce4a8 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/NewAzureApiManagementHostnameConfiguration.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/NewAzureApiManagementHostnameConfiguration.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands using ResourceManager.Common; using Microsoft.WindowsAzure.Commands.Utilities.Common; - [Cmdlet(VerbsCommon.New, "AzureRMApiManagementHostnameConfiguration"), OutputType(typeof (PsApiManagementHostnameConfiguration))] + [Cmdlet(VerbsCommon.New, "AzureRmApiManagementHostnameConfiguration"), OutputType(typeof (PsApiManagementHostnameConfiguration))] public class NewAzureApiManagementHostnameConfiguration : AzureRMCmdlet { [Parameter( diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/NewAzureApiManagementVirtualNetwork.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/NewAzureApiManagementVirtualNetwork.cs index 4fb6bc439a00..006b10a1c183 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/NewAzureApiManagementVirtualNetwork.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/NewAzureApiManagementVirtualNetwork.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands using ResourceManager.Common; using Microsoft.WindowsAzure.Commands.Utilities.Common; - [Cmdlet(VerbsCommon.New, "AzureRMApiManagementVirtualNetwork"), OutputType(typeof(PsApiManagementVirtualNetwork))] + [Cmdlet(VerbsCommon.New, "AzureRmApiManagementVirtualNetwork"), OutputType(typeof(PsApiManagementVirtualNetwork))] public class NewAzureApiManagementVirtualNetwork : AzureRMCmdlet { [Parameter( diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/RemoveAzureApiManagement.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/RemoveAzureApiManagement.cs index bfaf27389099..8bb3a659b079 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/RemoveAzureApiManagement.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/RemoveAzureApiManagement.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.Properties; - [Cmdlet(VerbsCommon.Remove, "AzureRMApiManagement"), OutputType(typeof (bool))] + [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagement"), OutputType(typeof (bool))] public class RemoveAzureApiManagement : AzureApiManagementCmdletBase { [Parameter( diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/RemoveAzureApiManagementRegion.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/RemoveAzureApiManagementRegion.cs index dbe8f1ec8934..5c3446403e1c 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/RemoveAzureApiManagementRegion.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/RemoveAzureApiManagementRegion.cs @@ -17,7 +17,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.Models; - [Cmdlet(VerbsCommon.Remove, "AzureRMApiManagementRegion"), OutputType(typeof (PsApiManagement))] + [Cmdlet(VerbsCommon.Remove, "AzureRmApiManagementRegion"), OutputType(typeof (PsApiManagement))] public class RemoveAzureApiManagementRegion : AzureApiManagementCmdletBase { [Parameter( diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/RestoreAzureApiManagement.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/RestoreAzureApiManagement.cs index d00ce79d65d7..07e3aae55619 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/RestoreAzureApiManagement.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/RestoreAzureApiManagement.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands using Microsoft.Azure.Commands.ApiManagement.Models; using Microsoft.WindowsAzure.Commands.Common.Storage; - [Cmdlet(VerbsData.Restore, "AzureRMApiManagement"), OutputType(typeof (PsApiManagement))] + [Cmdlet(VerbsData.Restore, "AzureRmApiManagement"), OutputType(typeof (PsApiManagement))] public class RestoreAzureApiManagement : AzureApiManagementCmdletBase { [Parameter( diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/SetAzureApiManagementHostnames.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/SetAzureApiManagementHostnames.cs index ac16731579f7..f5526cb03e4c 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/SetAzureApiManagementHostnames.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/SetAzureApiManagementHostnames.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.Models; - [Cmdlet(VerbsCommon.Set, "AzureRMApiManagementHostnames", DefaultParameterSetName = DefaultParameterSetName), OutputType(typeof(PsApiManagement))] + [Cmdlet(VerbsCommon.Set, "AzureRmApiManagementHostnames", DefaultParameterSetName = DefaultParameterSetName), OutputType(typeof(PsApiManagement))] public class SetAzureApiManagementHostnames : AzureApiManagementCmdletBase { internal const string FromPsApiManagementInstanceSetName = "Set from provided PsApiManagement instance"; diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/SetAzureApiManagementVirtualNetworks.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/SetAzureApiManagementVirtualNetworks.cs index fe57b6f27d86..52356ea35450 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/SetAzureApiManagementVirtualNetworks.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/SetAzureApiManagementVirtualNetworks.cs @@ -17,7 +17,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.Models; - [Cmdlet(VerbsCommon.Set, "AzureRMApiManagementVirtualNetworks"), OutputType(typeof (PsApiManagement))] + [Cmdlet(VerbsCommon.Set, "AzureRmApiManagementVirtualNetworks"), OutputType(typeof (PsApiManagement))] public class SetAzureApiManagementVirtualNetworks : AzureApiManagementCmdletBase { [Parameter( diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/UpdateAzureApiManagementDeployment.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/UpdateAzureApiManagementDeployment.cs index 02ae8dddc4b0..4606fba8844f 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/UpdateAzureApiManagementDeployment.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/UpdateAzureApiManagementDeployment.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.Models; - [Cmdlet(VerbsData.Update, "AzureRMApiManagementDeployment", DefaultParameterSetName = DefaultParameterSetName), OutputType(typeof(PsApiManagement))] + [Cmdlet(VerbsData.Update, "AzureRmApiManagementDeployment", DefaultParameterSetName = DefaultParameterSetName), OutputType(typeof(PsApiManagement))] public class UpdateAzureApiManagementDeployment : AzureApiManagementCmdletBase { internal const string FromPsApiManagementInstanceSetName = "Update from PsApiManagement instance"; diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/UpdateAzureApiManagementRegion.cs b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/UpdateAzureApiManagementRegion.cs index 2d5b79858d0c..326345aec642 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/UpdateAzureApiManagementRegion.cs +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/UpdateAzureApiManagementRegion.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands using System.Management.Automation; using Microsoft.Azure.Commands.ApiManagement.Models; - [Cmdlet(VerbsData.Update, "AzureRMApiManagementRegion"), OutputType(typeof(PsApiManagement))] + [Cmdlet(VerbsData.Update, "AzureRmApiManagementRegion"), OutputType(typeof(PsApiManagement))] public class UpdateAzureApiManagementRegion : AzureApiManagementCmdletBase { [Parameter( diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Microsoft.Azure.Commands.ApiManagement.dll-help.xml b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Microsoft.Azure.Commands.ApiManagement.dll-help.xml index 46795e76ba70..09ffefba083d 100644 --- a/src/ResourceManager/ApiManagement/Commands.ApiManagement/Microsoft.Azure.Commands.ApiManagement.dll-help.xml +++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement/Microsoft.Azure.Commands.ApiManagement.dll-help.xml @@ -2,7 +2,7 @@ - Add-AzureRMApiManagementRegion + Add-AzureRmApiManagementRegion Adds new deployment region to PsApiManagement instance. @@ -14,11 +14,11 @@ - Add-AzureRMApiManagementRegion cmdlet adds new instance of type Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementRegion to collection of AdditionalRegions of provided instance of type Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagement. This cmdlet does not deploy anything by itself but updates instance of PsApiManagement in-memory. Related cmdltes are: Update-AzureRMApiManagementRegion and Remove-AzureRMApiManagementRegion. To actually update a deployment of an API Management pass the modified PsApiManagementInstance to Update-AzureRMApiManagement cmdlet. + Add-AzureRmApiManagementRegion cmdlet adds new instance of type Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementRegion to collection of AdditionalRegions of provided instance of type Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagement. This cmdlet does not deploy anything by itself but updates instance of PsApiManagement in-memory. Related cmdltes are: Update-AzureRmApiManagementRegion and Remove-AzureRmApiManagementRegion. To actually update a deployment of an API Management pass the modified PsApiManagementInstance to Update-AzureRmApiManagement cmdlet. - Add-AzureRMApiManagementRegion + Add-AzureRmApiManagementRegion ApiManagement @@ -175,7 +175,7 @@ PS C:\> - PS C:\> Add-AzureRMApiManagementRegion –ApiManagement $apiManagement -Location “East US” -Sku “Premium” –Capacity 2 + PS C:\> Add-AzureRmApiManagementRegion –ApiManagement $apiManagement -Location “East US” -Sku “Premium” –Capacity 2 Add new 2 units ‘Premium’ region to the PsApiManagement instance. @@ -195,9 +195,9 @@ PS C:\> - PS C:\> Get-AzureRMApiManagement –ResourceGroupName Contoso –Name ContosoApi | -Add-AzureRMApiManagementRegion -Location “East US” -Sku “Premium” –Capacity 2 | -Update-AzureRMApiManagementDeployments + PS C:\> Get-AzureRmApiManagement –ResourceGroupName Contoso –Name ContosoApi | +Add-AzureRmApiManagementRegion -Location “East US” -Sku “Premium” –Capacity 2 | +Update-AzureRmApiManagementDeployments Script to get a PsApiManagement, add 2 ‘Premium’ units region and update deployment. @@ -219,7 +219,7 @@ Update-AzureRMApiManagementDeployments - Backup-AzureRMApiManagement + Backup-AzureRmApiManagement Backs up API Management Service and places the backup to the specified Azure storage blob. @@ -231,11 +231,11 @@ Update-AzureRMApiManagementDeployments - Backup-AzureRMApiManagement cmdlet makes a backup copy of an API Management Service and places the backup to the specified Azure storage blob. + Backup-AzureRmApiManagement cmdlet makes a backup copy of an API Management Service and places the backup to the specified Azure storage blob. - Backup-AzureRMApiManagement + Backup-AzureRmApiManagement ResourceGroupName @@ -411,7 +411,7 @@ Update-AzureRMApiManagementDeployments PS C:\> - PS C:\> Backup-AzureRMApiManagement –ResourceGroupName ContosoGroup –Name ContosoApi -StorageContext $storageContext -TargetContainerName ContosoBackups –TargetBlobName ContosoBackup.apimbackup + PS C:\> Backup-AzureRmApiManagement –ResourceGroupName ContosoGroup –Name ContosoApi -StorageContext $storageContext -TargetContainerName ContosoBackups –TargetBlobName ContosoBackup.apimbackup Backup API Management service to Azure storage blob. @@ -433,7 +433,7 @@ Update-AzureRMApiManagementDeployments - Get-AzureRMApiManagement + Get-AzureRmApiManagement Gets a list or a particular API Management Service description. @@ -445,11 +445,11 @@ Update-AzureRMApiManagementDeployments - Get-AzureRMApiManagement cmdlet gets a list of all API Management services under subscription or specified resource group or a particular API Management. + Get-AzureRmApiManagement cmdlet gets a list of all API Management services under subscription or specified resource group or a particular API Management. - Get-AzureRMApiManagement + Get-AzureRmApiManagement Profile @@ -459,7 +459,7 @@ Update-AzureRMApiManagementDeployments - Get-AzureRMApiManagement + Get-AzureRmApiManagement ResourceGroupName @@ -483,7 +483,7 @@ Update-AzureRMApiManagementDeployments - Get-AzureRMApiManagement + Get-AzureRmApiManagement ResourceGroupName @@ -576,7 +576,7 @@ Update-AzureRMApiManagementDeployments PS C:\> - PS C:\> Get-AzureRMApiManagement + PS C:\> Get-AzureRmApiManagement Get all API Management services within subscription. @@ -596,7 +596,7 @@ Update-AzureRMApiManagementDeployments PS C:\> - PS C:\> Get-AzureRMApiManagement –ResourceGroupName ContosoGroup –Name ContosoApi + PS C:\> Get-AzureRmApiManagement –ResourceGroupName ContosoGroup –Name ContosoApi Get API Management service by name. @@ -618,7 +618,7 @@ Update-AzureRMApiManagementDeployments - Get-AzureRMApiManagementSsoToken + Get-AzureRmApiManagementSsoToken Gets a link with an SSO token to a deployed management portal of an API Management service. @@ -630,11 +630,11 @@ Update-AzureRMApiManagementDeployments - Get-AzureRMApiManagementSsoToken cmdlet returns a link (URL) containing an SSO token to a deployed management portal of an API Management service. + Get-AzureRmApiManagementSsoToken cmdlet returns a link (URL) containing an SSO token to a deployed management portal of an API Management service. - Get-AzureRMApiManagementSsoToken + Get-AzureRmApiManagementSsoToken ResourceGroupName @@ -734,7 +734,7 @@ Update-AzureRMApiManagementDeployments PS C:\> - PS C:\> Get-AzureRMApiManagementSsoToken –ResourceGroupName Contoso –Name ContosoApi + PS C:\> Get-AzureRmApiManagementSsoToken –ResourceGroupName Contoso –Name ContosoApi Get SSO token of an API Management service. @@ -756,7 +756,7 @@ Update-AzureRMApiManagementDeployments - Import-AzureRMApiManagementHostnameCertificate + Import-AzureRmApiManagementHostnameCertificate Imports a certificate in a PFX format for an API Management Service. @@ -768,11 +768,11 @@ Update-AzureRMApiManagementDeployments - Import-AzureRMApiManagementHostnameCertificate cmdlet imports a certificate in a PFX format for an API Management Service. The certificate is to be used for custom hostnames configuration. + Import-AzureRmApiManagementHostnameCertificate cmdlet imports a certificate in a PFX format for an API Management Service. The certificate is to be used for custom hostnames configuration. - Import-AzureRMApiManagementHostnameCertificate + Import-AzureRmApiManagementHostnameCertificate ResourceGroupName @@ -948,7 +948,7 @@ Update-AzureRMApiManagementDeployments PS C:\> - PS C:\> Import-AzureRMApiManagementHostnameCertificate -Name ContosoApi -ResourceGroupName Contoso –HostnameType “Proxy” -PfxPath “C:\proxycert.pfx” -PfxPassword “certsecret” + PS C:\> Import-AzureRmApiManagementHostnameCertificate -Name ContosoApi -ResourceGroupName Contoso –HostnameType “Proxy” -PfxPath “C:\proxycert.pfx” -PfxPassword “certsecret” Import a certificate for Proxy custom hostname. @@ -970,7 +970,7 @@ Update-AzureRMApiManagementDeployments - New-AzureRMApiManagement + New-AzureRmApiManagement Creates new API Management Service. @@ -982,11 +982,11 @@ Update-AzureRMApiManagementDeployments - New-AzureRMApiManagement cmdlet creates new API Management deployment. + New-AzureRmApiManagement cmdlet creates new API Management deployment. - New-AzureRMApiManagement + New-AzureRmApiManagement ResourceGroupName @@ -1200,7 +1200,7 @@ Update-AzureRMApiManagementDeployments PS C:\> - PS C:\> New-AzureRMApiManagement –ResourceGroupName ContosoGroup –Name ContosoApi –Location “Central US” –Organization Contoso –AdminEmail admin@contoso.com + PS C:\> New-AzureRmApiManagement –ResourceGroupName ContosoGroup –Name ContosoApi –Location “Central US” –Organization Contoso –AdminEmail admin@contoso.com Create new ‘Developer’ tier API Management service @@ -1220,7 +1220,7 @@ Update-AzureRMApiManagementDeployments PS C:\> - PS C:\> New-AzureRMApiManagement –ResourceGroupName ContosoGroup –Name ContosoApi –Location “Central US” –Organization Contoso –AdminEmail admin@contoso.com –Sku Standard –Capacity 3 + PS C:\> New-AzureRmApiManagement –ResourceGroupName ContosoGroup –Name ContosoApi –Location “Central US” –Organization Contoso –AdminEmail admin@contoso.com –Sku Standard –Capacity 3 Create new ‘Standard’ tier API Management service with 3 units @@ -1242,7 +1242,7 @@ Update-AzureRMApiManagementDeployments - New-AzureRMApiManagementHostnameConfiguration + New-AzureRmApiManagementHostnameConfiguration Creates an instance of PsApiManagementHostnameConfiguration. @@ -1254,11 +1254,11 @@ Update-AzureRMApiManagementDeployments - Helper command to create an instance of PsApiManagementHostnameConfiguration. This command is to be used with Set-AzureRMApiManagementHostnames command. + Helper command to create an instance of PsApiManagementHostnameConfiguration. This command is to be used with Set-AzureRmApiManagementHostnames command. - New-AzureRMApiManagementHostnameConfiguration + New-AzureRmApiManagementHostnameConfiguration CertificateThumbprint @@ -1358,7 +1358,7 @@ Update-AzureRMApiManagementDeployments PS C:\> - PS C:\> New-AzureRMApiManagementHostnameConfiguration -Hostname “portal.contoso.com” -CertificateThumbprint 33CC47C6FCA848DC9B14A6F071C1EF7C + PS C:\> New-AzureRmApiManagementHostnameConfiguration -Hostname “portal.contoso.com” -CertificateThumbprint 33CC47C6FCA848DC9B14A6F071C1EF7C Create and initialize instance of Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementHostnameConfiguration type. @@ -1380,7 +1380,7 @@ Update-AzureRMApiManagementDeployments - New-AzureRMApiManagementVirtualNetwork + New-AzureRmApiManagementVirtualNetwork Creates an instance of PsApiManagementVirtualNetwork. @@ -1392,11 +1392,11 @@ Update-AzureRMApiManagementDeployments - Helper command to create an instance of PsApiManagementVirtualNetwork. This command is to be used with Set-AzureRMApiManagementVirtualNetworks command. + Helper command to create an instance of PsApiManagementVirtualNetwork. This command is to be used with Set-AzureRmApiManagementVirtualNetworks command. - New-AzureRMApiManagementVirtualNetwork + New-AzureRmApiManagementVirtualNetwork Location @@ -1516,10 +1516,10 @@ Update-AzureRMApiManagementDeployments PS C:\> $virtualNetworks = @() -$virtualNetworks += New-AzureRMApiManagementVirtualNetwork –Location “East US” –SubtenName ContosoNet -VnetId “089D3F4D-B986-4DFD-9259-9112BA7A1F03” -Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Name ContosoApi -VirtualNetworks $virtualNetworks +$virtualNetworks += New-AzureRmApiManagementVirtualNetwork –Location “East US” –SubtenName ContosoNet -VnetId “089D3F4D-B986-4DFD-9259-9112BA7A1F03” +Set-AzureRmApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Name ContosoApi -VirtualNetworks $virtualNetworks - Script to create a virtual network and call run Set-AzureRMApiManagementVirtualNetworks command. + Script to create a virtual network and call run Set-AzureRmApiManagementVirtualNetworks command. @@ -1539,7 +1539,7 @@ Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Nam - Remove-AzureRMApiManagement + Remove-AzureRmApiManagement Removes existing API Management. @@ -1551,11 +1551,11 @@ Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Nam - Remove-AzureRMApiManagement cmdlet removes existing API Management service. + Remove-AzureRmApiManagement cmdlet removes existing API Management service. - Remove-AzureRMApiManagement + Remove-AzureRmApiManagement ResourceGroupName @@ -1693,7 +1693,7 @@ Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Nam PS C:\> - PS C:\> Remove-AzureRMApiManagement –ResourceGroupName ContosoGroup –Name ContosoApi + PS C:\> Remove-AzureRmApiManagement –ResourceGroupName ContosoGroup –Name ContosoApi Remove API Management service. @@ -1715,7 +1715,7 @@ Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Nam - Remove-AzureRMApiManagementRegion + Remove-AzureRmApiManagementRegion Removes existing deployment region from PsApiManagement instance. @@ -1727,11 +1727,11 @@ Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Nam - Remove-AzureRMApiManagementRegion cmdlet removes instance of type Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementRegion from collection of AdditionalRegions of provided instance of type Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagement. This cmdlet does not modifies deployment by itself but updates instance of PsApiManagement in-memory. Related cmdltes are: Update-AzureRMApiManagementRegion and Add-AzureRMApiManagementRegion. To actually update a deployment of an API Management pass the modified PsApiManagementInstance to Update-AzureRMApiManagement cmdlet. + Remove-AzureRmApiManagementRegion cmdlet removes instance of type Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementRegion from collection of AdditionalRegions of provided instance of type Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagement. This cmdlet does not modifies deployment by itself but updates instance of PsApiManagement in-memory. Related cmdltes are: Update-AzureRmApiManagementRegion and Add-AzureRmApiManagementRegion. To actually update a deployment of an API Management pass the modified PsApiManagementInstance to Update-AzureRmApiManagement cmdlet. - Remove-AzureRMApiManagementRegion + Remove-AzureRmApiManagementRegion ApiManagement @@ -1831,7 +1831,7 @@ Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Nam PS C:\> - PS C:\> Remove-AzureRMApiManagementRegion –ApiManagement $apiManagement -Location “East US” + PS C:\> Remove-AzureRmApiManagementRegion –ApiManagement $apiManagement -Location “East US” Remove a region from the PsApiManagement instance. @@ -1851,7 +1851,7 @@ Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Nam PS C:\> - PS C:\> Get-AzureRMApiManagement –ResourceGroupName Contoso –Name ContosoApi | Remove-AzureRMApiManagementRegion -Location “East US” | Update-AzureRMApiManagementDeployment + PS C:\> Get-AzureRmApiManagement –ResourceGroupName Contoso –Name ContosoApi | Remove-AzureRmApiManagementRegion -Location “East US” | Update-AzureRmApiManagementDeployment Script to get a PsApiManagement, remove a region and update deployment with piping. @@ -1874,7 +1874,7 @@ Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Nam - Restore-AzureRMApiManagement + Restore-AzureRmApiManagement Restores an API Management Service from the specified Azure storage blob. @@ -1886,11 +1886,11 @@ Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Nam - Restore-AzureRMApiManagement cmdlet restores an API Management Service from the specified backup residing in an Azure storage blob. + Restore-AzureRmApiManagement cmdlet restores an API Management Service from the specified backup residing in an Azure storage blob. - Restore-AzureRMApiManagement + Restore-AzureRmApiManagement ResourceGroupName @@ -2066,7 +2066,7 @@ Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Nam PS C:\> - PS C:\> Restore-AzureRMApiManagement –ResourceGroupName ContosoGroup –Name RestoredContosoApi -StorageContext $storageContext -SourceContainerName ContosoBackups –SourceBlobName ContosoBackup.apimbackup + PS C:\> Restore-AzureRmApiManagement –ResourceGroupName ContosoGroup –Name RestoredContosoApi -StorageContext $storageContext -SourceContainerName ContosoBackups –SourceBlobName ContosoBackup.apimbackup Restore API Management service from Azure storage blob. @@ -2088,7 +2088,7 @@ Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Nam - Set-AzureRMApiManagementHostnames + Set-AzureRmApiManagementHostnames Sets custom hostname configuration for an API Management service proxy and/or portal. @@ -2100,11 +2100,11 @@ Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Nam - Set-AzureRMApiManagementHostnames cmdlet sets (applies) custom hostname configuration for an API Management service proxy and/or portal. + Set-AzureRmApiManagementHostnames cmdlet sets (applies) custom hostname configuration for an API Management service proxy and/or portal. - Set-AzureRMApiManagementHostnames + Set-AzureRmApiManagementHostnames ResourceGroupName @@ -2149,7 +2149,7 @@ Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Nam - Set-AzureRMApiManagementHostnames + Set-AzureRmApiManagementHostnames ApiManagement @@ -2297,7 +2297,7 @@ Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Nam PS C:\> - PS C:\> Set-AzureRMApiHostnames -Name ContosoApi -ResourceGroupName Contoso –PortalHostnameConfiguration $portalHostnameConf –ProxyHostnameConfiguration $proxyHostnameConf + PS C:\> Set-AzureRmApiHostnames -Name ContosoApi -ResourceGroupName Contoso –PortalHostnameConfiguration $portalHostnameConf –ProxyHostnameConfiguration $proxyHostnameConf Set custom hostname configuration for proxy and portal. @@ -2317,11 +2317,11 @@ Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Nam PS C:\> - Import-AzureRMApiManagementHostnameCertificate -Name ContosoApi -ResourceGroupName Contoso –HostnameType “Proxy” -PfxPath “C:\proxycert.pfx” -PfxPassword “certsecret” -Import-AzureRMApiManagementHostnameCertificate -Name ContosoApi -ResourceGroupName Contoso –HostnameType “Portal” -PfxPath “C:\portalcert.pfx” -PfxPassword “certsecret” -$portalHostnameConf = New-AzureRMApiManagementHostnameConfiguration -Hostname “portal.contoso.com” -CertificateThumbprint 33CC47C6FCA848DC9B14A6F071C1EF7C -$proxyHostnameConf = New-AzureRMApiManagementHostnameConfiguration -Hostname “proxy.contoso.com” -CertificateThumbprint 5DD7CCF6A1E74E0987DD2873406B7264 -Set-AzureRMApiHostnames -Name ContosoApi -ResourceGroupName Contoso –PortalHostnameConfiguration $portalHostnameConf –ProxyHostnameConfiguration $proxyHostnameConf + Import-AzureRmApiManagementHostnameCertificate -Name ContosoApi -ResourceGroupName Contoso –HostnameType “Proxy” -PfxPath “C:\proxycert.pfx” -PfxPassword “certsecret” +Import-AzureRmApiManagementHostnameCertificate -Name ContosoApi -ResourceGroupName Contoso –HostnameType “Portal” -PfxPath “C:\portalcert.pfx” -PfxPassword “certsecret” +$portalHostnameConf = New-AzureRmApiManagementHostnameConfiguration -Hostname “portal.contoso.com” -CertificateThumbprint 33CC47C6FCA848DC9B14A6F071C1EF7C +$proxyHostnameConf = New-AzureRmApiManagementHostnameConfiguration -Hostname “proxy.contoso.com” -CertificateThumbprint 5DD7CCF6A1E74E0987DD2873406B7264 +Set-AzureRmApiHostnames -Name ContosoApi -ResourceGroupName Contoso –PortalHostnameConfiguration $portalHostnameConf –ProxyHostnameConfiguration $proxyHostnameConf Script to configure custom hostname for proxy and portal. First import corresponding certificates and then apply custom hostnames. @@ -2344,7 +2344,7 @@ Set-AzureRMApiHostnames -Name ContosoApi -ResourceGroupName Contoso –PortalHos - Set-AzureRMApiManagementVirtualNetworks + Set-AzureRmApiManagementVirtualNetworks Sets VPN configuration for an API Management Service. @@ -2356,11 +2356,11 @@ Set-AzureRMApiHostnames -Name ContosoApi -ResourceGroupName Contoso –PortalHos - Set-AzureRMApiManagementVirtualNetworks cmdlet sets Virtual Network configuration for an API Management. + Set-AzureRmApiManagementVirtualNetworks cmdlet sets Virtual Network configuration for an API Management. - Set-AzureRMApiManagementVirtualNetworks + Set-AzureRmApiManagementVirtualNetworks ResourceGroupName @@ -2498,7 +2498,7 @@ Set-AzureRMApiHostnames -Name ContosoApi -ResourceGroupName Contoso –PortalHos PS C:\> - PS C:\> Set-AzureRMApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Name ContosoApi -VirtualNetworks $virtualNetworks + PS C:\> Set-AzureRmApiManagementVirtualNetworks –ResourceGroupName ContosoGroup –Name ContosoApi -VirtualNetworks $virtualNetworks Set virtual networks for an API Management service @@ -2520,7 +2520,7 @@ Set-AzureRMApiHostnames -Name ContosoApi -ResourceGroupName Contoso –PortalHos - Update-AzureRMApiManagementDeployment + Update-AzureRmApiManagementDeployment Updates deployment of an API Management Service. @@ -2532,11 +2532,11 @@ Set-AzureRMApiHostnames -Name ContosoApi -ResourceGroupName Contoso –PortalHos - Update-AzureRMApiManagementDeployment cmdlet updates current deployment (scales, adds/removes additional deployment regions). + Update-AzureRmApiManagementDeployment cmdlet updates current deployment (scales, adds/removes additional deployment regions). - Update-AzureRMApiManagementDeployment + Update-AzureRmApiManagementDeployment ResourceGroupName @@ -2602,7 +2602,7 @@ Set-AzureRMApiHostnames -Name ContosoApi -ResourceGroupName Contoso –PortalHos - Update-AzureRMApiManagementDeployment + Update-AzureRmApiManagementDeployment ApiManagement @@ -2786,7 +2786,7 @@ Set-AzureRMApiHostnames -Name ContosoApi -ResourceGroupName Contoso –PortalHos PS C:\> - PS C:\> Update-AzureRMApiManagementDeployment -ResourceGroupName Contoso -Name ContosoApi –Sku “Standard” –Capacity 3 + PS C:\> Update-AzureRmApiManagementDeployment -ResourceGroupName Contoso -Name ContosoApi –Sku “Standard” –Capacity 3 Command to update deployment of an ApiManagement to 3 unit ‘Standard’. @@ -2806,11 +2806,11 @@ Set-AzureRMApiHostnames -Name ContosoApi -ResourceGroupName Contoso –PortalHos PS C:\> - $apiManagement = Get-AzureRMApiManagement –ResourceGroupName Contoso –Name ContosoApi + $apiManagement = Get-AzureRmApiManagement –ResourceGroupName Contoso –Name ContosoApi $apiManagement.Sku = “Premium” $apiManagement.Capacity = 5 $apiManagement.AddRegion(“Central US”, “Premium”, 3) -Update-AzureRMApiManagementDeployment –ApiManagement $apiManagement +Update-AzureRmApiManagementDeployment –ApiManagement $apiManagement Script to get an ApiManagement, scale to 5 ‘Premium’ units and add additional 3 unit ‘Premium’ region. @@ -2833,7 +2833,7 @@ Update-AzureRMApiManagementDeployment –ApiManagement $apiManagement - Update-AzureRMApiManagementRegion + Update-AzureRmApiManagementRegion Updates existing deployment region in PsApiManagement instance. @@ -2845,11 +2845,11 @@ Update-AzureRMApiManagementDeployment –ApiManagement $apiManagement - Update-AzureRMApiManagementRegion cmdlet updates (scales up/down or changes VPN configuration) existing instance of type Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementRegion in collection of AdditionalRegions of provided instance of type Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagement. This cmdlet does not deploy anything by itself but updates instance of PsApiManagement in-memory. Related cmdltes are: Add-AzureRMApiManagementRegion and Remove-AzureRMApiManagementRegion. To actually update a deployment of an API Management pass the modified PsApiManagementInstance to Update-AzureRMApiManagement cmdlet. + Update-AzureRmApiManagementRegion cmdlet updates (scales up/down or changes VPN configuration) existing instance of type Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementRegion in collection of AdditionalRegions of provided instance of type Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagement. This cmdlet does not deploy anything by itself but updates instance of PsApiManagement in-memory. Related cmdltes are: Add-AzureRmApiManagementRegion and Remove-AzureRmApiManagementRegion. To actually update a deployment of an API Management pass the modified PsApiManagementInstance to Update-AzureRmApiManagement cmdlet. - Update-AzureRMApiManagementRegion + Update-AzureRmApiManagementRegion ApiManagement diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/ApiManagementTests.ps1 b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/ApiManagementTests.ps1 index 4f1a364a3cdf..615c86aed7fb 100644 --- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/ApiManagementTests.ps1 +++ b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/ApiManagementTests.ps1 @@ -6,10 +6,10 @@ function Api-CrudTest { Param($resourceGroupName, $serviceName) - $context = New-AzureRMApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName + $context = New-AzureRmApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName # get all apis - $apis = Get-AzureRMApiManagementApi -Context $context + $apis = Get-AzureRmApiManagementApi -Context $context # there should be one API Assert-AreEqual 1 $apis.Count @@ -28,7 +28,7 @@ Param($resourceGroupName, $serviceName) # get by ID $apiId = $apis[0].ApiId - $api = Get-AzureRMApiManagementApi -Context $context -ApiId $apiId + $api = Get-AzureRmApiManagementApi -Context $context -ApiId $apiId Assert-AreEqual $apiId $api.ApiId Assert-AreEqual "Echo API" $api.Name @@ -45,7 +45,7 @@ Param($resourceGroupName, $serviceName) # get by Name $apiName = $apis[0].Name - $apis = Get-AzureRMApiManagementApi -Context $context -Name $apiName + $apis = Get-AzureRmApiManagementApi -Context $context -Name $apiName Assert-AreEqual 1 $apis.Count Assert-NotNull $apis[0].ApiId @@ -71,7 +71,7 @@ Param($resourceGroupName, $serviceName) $subscriptionKeyParametersHeader = getAssetName $subscriptionKeyQueryStringParamName = getAssetName - $newApi = New-AzureRMApiManagementApi -Context $context -ApiId $newApiId -Name $newApiName -Description $newApiDescription ` + $newApi = New-AzureRmApiManagementApi -Context $context -ApiId $newApiId -Name $newApiName -Description $newApiDescription ` -Protocols @("http", "https") -Path $newApiPath -ServiceUrl $newApiServiceUrl ` -SubscriptionKeyHeaderName $subscriptionKeyParametersHeader -SubscriptionKeyQueryParamName $subscriptionKeyQueryStringParamName @@ -96,7 +96,7 @@ Param($resourceGroupName, $serviceName) $subscriptionKeyParametersHeader = getAssetName $subscriptionKeyQueryStringParamName = getAssetName - $newApi = Set-AzureRMApiManagementApi -Context $context -ApiId $newApiId -Name $newApiName -Description $newApiDescription ` + $newApi = Set-AzureRmApiManagementApi -Context $context -ApiId $newApiId -Name $newApiName -Description $newApiDescription ` -Protocols @("https") -Path $newApiPath -ServiceUrl $newApiServiceUrl ` -SubscriptionKeyHeaderName $subscriptionKeyParametersHeader -SubscriptionKeyQueryParamName $subscriptionKeyQueryStringParamName ` -PassThru @@ -113,12 +113,12 @@ Param($resourceGroupName, $serviceName) Assert-AreEqual $subscriptionKeyParametersHeader $newApi.SubscriptionKeyHeaderName Assert-AreEqual $subscriptionKeyQueryStringParamName $newApi.SubscriptionKeyQueryParamName - $product = Get-AzureRMApiManagementProduct -Context $context | Select -First 1 - Add-AzureRMApiManagementApiToProduct -Context $context -ApiId $newApiId -ProductId $product.ProductId + $product = Get-AzureRmApiManagementProduct -Context $context | Select -First 1 + Add-AzureRmApiManagementApiToProduct -Context $context -ApiId $newApiId -ProductId $product.ProductId #get by product id $found = 0 - $apis = Get-AzureRMApiManagementApi -Context $context -ProductId $product.ProductId + $apis = Get-AzureRmApiManagementApi -Context $context -ProductId $product.ProductId for ($i = 0; $i -lt $apis.Count; $i++) { if($apis[$i].ApiId -eq $newApiId) @@ -128,9 +128,9 @@ Param($resourceGroupName, $serviceName) } Assert-AreEqual 1 $found - Remove-AzureRMApiManagementApiFromProduct -Context $context -ApiId $newApiId -ProductId $product.ProductId + Remove-AzureRmApiManagementApiFromProduct -Context $context -ApiId $newApiId -ProductId $product.ProductId $found = 0 - $apis = Get-AzureRMApiManagementApi -Context $context -ProductId $product.ProductId + $apis = Get-AzureRmApiManagementApi -Context $context -ProductId $product.ProductId for ($i = 0; $i -lt $apis.Count; $i++) { if($apis[$i].ApiId -eq $newApiId) @@ -143,7 +143,7 @@ Param($resourceGroupName, $serviceName) finally { # remove created api - $removed = Remove-AzureRMApiManagementApi -Context $context -ApiId $newApiId -PassThru -Force + $removed = Remove-AzureRmApiManagementApi -Context $context -ApiId $newApiId -PassThru -Force Assert-True {$removed} } } @@ -156,7 +156,7 @@ function Api-ImportExportTest { Param($resourceGroupName, $serviceName) - $context = New-AzureRMApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName + $context = New-AzureRmApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName $wadlPath = "./Resources/WADLYahoo.xml" $path = "wadlapi" @@ -165,20 +165,20 @@ Param($resourceGroupName, $serviceName) try { # import api from file - $api = Import-AzureRMApiManagementApi -Context $context -ApiId $wadlApiId -SpecificationPath $wadlPath -SpecificationFormat Wadl -Path $path + $api = Import-AzureRmApiManagementApi -Context $context -ApiId $wadlApiId -SpecificationPath $wadlPath -SpecificationFormat Wadl -Path $path Assert-AreEqual $wadlApiId $api.ApiId Assert-AreEqual $path $api.Path # export api to pipline - $result = Export-AzureRMApiManagementApi -Context $context -ApiId $wadlApiId -SpecificationFormat Wadl + $result = Export-AzureRmApiManagementApi -Context $context -ApiId $wadlApiId -SpecificationFormat Wadl Assert-True {$result -like '*Yahoo News Search API*'} } finally { # remove created api - $removed = Remove-AzureRMApiManagementApi -Context $context -ApiId $wadlApiId -PassThru -Force + $removed = Remove-AzureRmApiManagementApi -Context $context -ApiId $wadlApiId -PassThru -Force Assert-True {$removed} } } @@ -191,20 +191,20 @@ function Operations-CrudTest { Param($resourceGroupName, $serviceName) - $context = New-AzureRMApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName + $context = New-AzureRmApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName # get api - $api = Get-AzureRMApiManagementApi -Context $context -Name 'Echo API'| Select -First 1 + $api = Get-AzureRmApiManagementApi -Context $context -Name 'Echo API'| Select -First 1 # get all api operations - $operations = Get-AzureRMApiManagementOperation -Context $context -ApiId $api.ApiId + $operations = Get-AzureRmApiManagementOperation -Context $context -ApiId $api.ApiId Assert-AreEqual 6 $operations.Count for ($i = 0; $i -lt $operations.Count; $i++) { Assert-AreEqual $api.ApiId $operations[$i].ApiId - $operation = Get-AzureRMApiManagementOperation -Context $context -ApiId $api.ApiId -OperationId $operations[$i].OperationId + $operation = Get-AzureRmApiManagementOperation -Context $context -ApiId $api.ApiId -OperationId $operations[$i].OperationId Assert-AreEqual $api.ApiId $operation.ApiId Assert-AreEqual $operations[$i].OperationId $operation.OperationId @@ -296,7 +296,7 @@ Param($resourceGroupName, $serviceName) $responseRepresentation.Sample = $newOperationResponseRepresentationSample $response.Representations = @($responseRepresentation) - $newOperation = New-AzureRMApiManagementOperation –Context $context –ApiId $api.ApiId –OperationId $newOperationId –Name $newOperationName ` + $newOperation = New-AzureRmApiManagementOperation –Context $context –ApiId $api.ApiId –OperationId $newOperationId –Name $newOperationName ` –Method $newOperationMethod –UrlTemplate $newperationUrlTemplate –Description $newOperationDescription –TemplateParameters @($rid, $query) –Request $request –Responses @($response) Assert-AreEqual $api.ApiId $newOperation.ApiId @@ -421,7 +421,7 @@ Param($resourceGroupName, $serviceName) $responseRepresentation.Sample = $newOperationResponseRepresentationSample $response.Representations = @($responseRepresentation) - $newOperation = Set-AzureRMApiManagementOperation –Context $context –ApiId $api.ApiId –OperationId $newOperationId –Name $newOperationName ` + $newOperation = Set-AzureRmApiManagementOperation –Context $context –ApiId $api.ApiId –OperationId $newOperationId –Name $newOperationName ` –Method $newOperationMethod –UrlTemplate $newperationUrlTemplate –Description $newOperationDescription –TemplateParameters @($rid, $query) –Request $request –Responses @($response) -PassThru Assert-AreEqual $api.ApiId $newOperation.ApiId @@ -469,14 +469,14 @@ Param($resourceGroupName, $serviceName) finally { #remove created operation - $removed = Remove-AzureRMApiManagementOperation -Context $context -ApiId $api.ApiId -OperationId $newOperationId -Force -PassThru + $removed = Remove-AzureRmApiManagementOperation -Context $context -ApiId $api.ApiId -OperationId $newOperationId -Force -PassThru Assert-True {$removed} $operation = $null try { # check it was removed - $operation = Get-AzureRMApiManagementOperation -Context $context -ApiId $api.ApiId -OperationId $newOperationId + $operation = Get-AzureRmApiManagementOperation -Context $context -ApiId $api.ApiId -OperationId $newOperationId } catch { @@ -494,10 +494,10 @@ function Product-CrudTest { Param($resourceGroupName, $serviceName) - $context = New-AzureRMApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName + $context = New-AzureRmApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName # get all products - $products = Get-AzureRMApiManagementProduct -Context $context + $products = Get-AzureRmApiManagementProduct -Context $context # there should be 2 products Assert-AreEqual 2 $products.Count @@ -535,7 +535,7 @@ Param($resourceGroupName, $serviceName) $productSubscriptionsLimit = 10 $productTerms = getAssetName - $newProduct = New-AzureRMApiManagementProduct -Context $context –ProductId $productId –Title $productName –Description $productDescription ` + $newProduct = New-AzureRmApiManagementProduct -Context $context –ProductId $productId –Title $productName –Description $productDescription ` –LegalTerms $productTerms –NotificationPeriod $notificationPeriod –SubscriptionPeriod $subscriptionPeriod –SubscriptionRequired $productSubscriptionRequired ` –ApprovalRequired $productApprovalRequired –State $productState -SubscriptionsLimit $productSubscriptionsLimit @@ -551,12 +551,12 @@ Param($resourceGroupName, $serviceName) Assert-AreEqual $productTerms $newProduct.LegalTerms #add api to product - $apis = Get-AzureRMApiManagementApi -Context $context -ProductId $productId + $apis = Get-AzureRmApiManagementApi -Context $context -ProductId $productId Assert-AreEqual 0 $apis.Count - Get-AzureRMApiManagementApi -Context $context | Add-AzureRMApiManagementApiToProduct -Context $context -ProductId $productId + Get-AzureRmApiManagementApi -Context $context | Add-AzureRmApiManagementApiToProduct -Context $context -ProductId $productId - $apis = Get-AzureRMApiManagementApi -Context $context -ProductId $productId + $apis = Get-AzureRmApiManagementApi -Context $context -ProductId $productId Assert-AreEqual 1 $apis.Count #modify product @@ -570,7 +570,7 @@ Param($resourceGroupName, $serviceName) $productSubscriptionsLimit = 20 $productTerms = getAssetName - $newProduct = Set-AzureRMApiManagementProduct -Context $context –ProductId $productId –Title $productName –Description $productDescription ` + $newProduct = Set-AzureRmApiManagementProduct -Context $context –ProductId $productId –Title $productName –Description $productDescription ` –LegalTerms $productTerms –NotificationPeriod $notificationPeriod –SubscriptionPeriod $subscriptionPeriod -ApprovalRequired $productApprovalRequired ` –SubscriptionRequired $TRUE –State $productState -SubscriptionsLimit $productSubscriptionsLimit -PassThru @@ -586,15 +586,15 @@ Param($resourceGroupName, $serviceName) Assert-AreEqual $productTerms $newProduct.LegalTerms #remove api from product - Get-AzureRMApiManagementApi -Context $context | Remove-AzureRMApiManagementApiFromProduct -Context $context -ProductId $productId + Get-AzureRmApiManagementApi -Context $context | Remove-AzureRmApiManagementApiFromProduct -Context $context -ProductId $productId - $apis = Get-AzureRMApiManagementApi -Context $context -ProductId $productId + $apis = Get-AzureRmApiManagementApi -Context $context -ProductId $productId Assert-AreEqual 0 $apis.Count } finally { # remove created product - $removed = Remove-AzureRMApiManagementProduct -Context $context -ProductId $productId -DeleteSubscriptions -PassThru -Force + $removed = Remove-AzureRmApiManagementProduct -Context $context -ProductId $productId -DeleteSubscriptions -PassThru -Force Assert-True {$removed} } } @@ -607,10 +607,10 @@ function Subscription-CrudTest { Param($resourceGroupName, $serviceName) - $context = New-AzureRMApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName + $context = New-AzureRmApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName # get all subscriptions - $subs = Get-AzureRMApiManagementSubscription -Context $context + $subs = Get-AzureRmApiManagementSubscription -Context $context Assert-AreEqual 2 $subs.Count for($i = 0; $i -lt $subs.Count; $i++) @@ -625,7 +625,7 @@ Param($resourceGroupName, $serviceName) Assert-NotNull $subs[$i].SecondaryKey # get by id - $sub = Get-AzureRMApiManagementSubscription -Context $context -SubscriptionId $subs[$i].SubscriptionId + $sub = Get-AzureRmApiManagementSubscription -Context $context -SubscriptionId $subs[$i].SubscriptionId Assert-AreEqual $subs[$i].SubscriptionId $sub.SubscriptionId Assert-AreEqual $subs[$i].UserId $sub.UserId @@ -637,7 +637,7 @@ Param($resourceGroupName, $serviceName) } # update product to accept unlimited number or subscriptions - Set-AzureRMApiManagementProduct -Context $context -ProductId $subs[0].ProductId -SubscriptionsLimit 100 + Set-AzureRmApiManagementProduct -Context $context -ProductId $subs[0].ProductId -SubscriptionsLimit 100 # add new subscription $newSubscriptionId = getAssetName @@ -648,7 +648,7 @@ Param($resourceGroupName, $serviceName) $newSubscriptionSk = getAssetName $newSubscriptionState = "Active" - $sub = New-AzureRMApiManagementSubscription -Context $context -SubscriptionId $newSubscriptionId -UserId $subs[0].UserId ` + $sub = New-AzureRmApiManagementSubscription -Context $context -SubscriptionId $newSubscriptionId -UserId $subs[0].UserId ` -ProductId $subs[0].ProductId -Name $newSubscriptionName -PrimaryKey $newSubscriptionPk -SecondaryKey $newSubscriptionSk ` -State $newSubscriptionState @@ -664,7 +664,7 @@ Param($resourceGroupName, $serviceName) $patchedSk = getAssetName $patchedExpirationDate = [DateTime]::Parse('2025-7-20') - $sub = Set-AzureRMApiManagementSubscription -Context $context -SubscriptionId $newSubscriptionId -Name $patchedName ` + $sub = Set-AzureRmApiManagementSubscription -Context $context -SubscriptionId $newSubscriptionId -Name $patchedName ` -PrimaryKey $patchedPk -SecondaryKey $patchedSk -ExpiresOn $patchedExpirationDate -PassThru Assert-AreEqual $newSubscriptionId $sub.SubscriptionId @@ -677,14 +677,14 @@ Param($resourceGroupName, $serviceName) finally { # remove created subscription - $removed = Remove-AzureRMApiManagementSubscription -Context $context -SubscriptionId $newSubscriptionId -Force -PassThru + $removed = Remove-AzureRmApiManagementSubscription -Context $context -SubscriptionId $newSubscriptionId -Force -PassThru Assert-True {$removed} $sub = $null try { # check it was removed - $sub = Get-AzureRMApiManagementSubscripiton -Context $context -SubscriptionId $newSubscriptionId + $sub = Get-AzureRmApiManagementSubscripiton -Context $context -SubscriptionId $newSubscriptionId } catch { @@ -702,10 +702,10 @@ function User-CrudTest { Param($resourceGroupName, $serviceName) - $context = New-AzureRMApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName + $context = New-AzureRmApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName # get all users - $users = Get-AzureRMApiManagementUser -Context $context + $users = Get-AzureRmApiManagementUser -Context $context Assert-AreEqual 1 $users.Count Assert-NotNull $users[0].UserId @@ -716,7 +716,7 @@ Param($resourceGroupName, $serviceName) Assert-NotNull $users[0].RegistrationDate # get by id - $user = Get-AzureRMApiManagementUser -Context $context -UserId $users[0].UserId + $user = Get-AzureRmApiManagementUser -Context $context -UserId $users[0].UserId Assert-AreEqual $users[0].UserId $user.UserId Assert-AreEqual $users[0].FirstName $user.FirstName @@ -736,7 +736,7 @@ Param($resourceGroupName, $serviceName) $userNote = getAssetName $userSate = "Active" - $user = New-AzureRMApiManagementUser -Context $context -UserId $userId -FirstName $userFirstName -LastName $userLastName ` + $user = New-AzureRmApiManagementUser -Context $context -UserId $userId -FirstName $userFirstName -LastName $userLastName ` -Password $userPassword -State $userSate -Note $userNote -Email $userEmail Assert-AreEqual $userId $user.UserId @@ -754,7 +754,7 @@ Param($resourceGroupName, $serviceName) $userNote = getAssetName $userSate = "Active" - $user = Set-AzureRMApiManagementUser -Context $context -UserId $userId -FirstName $userFirstName -LastName $userLastName ` + $user = Set-AzureRmApiManagementUser -Context $context -UserId $userId -FirstName $userFirstName -LastName $userLastName ` -Password $userPassword -State $userSate -Note $userNote -PassThru -Email $userEmail Assert-AreEqual $userId $user.UserId @@ -765,7 +765,7 @@ Param($resourceGroupName, $serviceName) Assert-AreEqual $userSate $user.State #generate SSO URL for the user - $ssoUrl = Get-AzureRMApiManagementUserSsoUrl -Context $context -UserId $userId + $ssoUrl = Get-AzureRmApiManagementUserSsoUrl -Context $context -UserId $userId Assert-NotNull $ssoUrl Assert-AreEqual $true [System.Uri]::IsWellFormedUriString($ssoUrl, 'Absolute') @@ -773,14 +773,14 @@ Param($resourceGroupName, $serviceName) finally { # remove created user - $removed = Remove-AzureRMApiManagementUser -Context $context -UserId $userId -DeleteSubscriptions -Force -PassThru + $removed = Remove-AzureRmApiManagementUser -Context $context -UserId $userId -DeleteSubscriptions -Force -PassThru Assert-True {$removed} $user = $null try { # check it was removed - $user = Get-AzureRMApiManagementUser -Context $context -UserId $userId + $user = Get-AzureRmApiManagementUser -Context $context -UserId $userId } catch { @@ -798,10 +798,10 @@ function Group-CrudTest { Param($resourceGroupName, $serviceName) - $context = New-AzureRMApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName + $context = New-AzureRmApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName # get all groups - $groups = Get-AzureRMApiManagementGroup -Context $context + $groups = Get-AzureRmApiManagementGroup -Context $context Assert-AreEqual 3 $groups.Count for($i = 0; $i -lt 3; $i++) @@ -813,7 +813,7 @@ Param($resourceGroupName, $serviceName) Assert-NotNull $groups[$i].Type # get by id - $group = Get-AzureRMApiManagementGroup -Context $context -GroupId $groups[$i].GroupId + $group = Get-AzureRmApiManagementGroup -Context $context -GroupId $groups[$i].GroupId Assert-AreEqual $group.GroupId $groups[$i].GroupId Assert-AreEqual $group.Name $groups[$i].Name @@ -829,7 +829,7 @@ Param($resourceGroupName, $serviceName) $newGroupName = getAssetName $newGroupDescription = getAssetName - $group = New-AzureRMApiManagementGroup -GroupId $groupId -Context $context -Name $newGroupName -Description $newGroupDescription + $group = New-AzureRmApiManagementGroup -GroupId $groupId -Context $context -Name $newGroupName -Description $newGroupDescription Assert-AreEqual $groupId $group.GroupId Assert-AreEqual $newGroupName $group.Name @@ -841,7 +841,7 @@ Param($resourceGroupName, $serviceName) $newGroupName = getAssetName $newGroupDescription = getAssetName - $group = Set-AzureRMApiManagementGroup -Context $context -GroupId $groupId -Name $newGroupName -Description $newGroupDescription -PassThru + $group = Set-AzureRmApiManagementGroup -Context $context -GroupId $groupId -Name $newGroupName -Description $newGroupDescription -PassThru Assert-AreEqual $groupId $group.GroupId Assert-AreEqual $newGroupName $group.Name @@ -850,43 +850,43 @@ Param($resourceGroupName, $serviceName) Assert-AreEqual 'Custom' $group.Type # add Product to Group - $product = Get-AzureRMApiManagementProduct -Context $context | Select -First 1 - Add-AzureRMApiManagementProductToGroup -Context $context -GroupId $groupId -ProductId $product.ProductId + $product = Get-AzureRmApiManagementProduct -Context $context | Select -First 1 + Add-AzureRmApiManagementProductToGroup -Context $context -GroupId $groupId -ProductId $product.ProductId #check group products - $groups = Get-AzureRMApiManagementGroup -Context $context -ProductId $product.ProductId + $groups = Get-AzureRmApiManagementGroup -Context $context -ProductId $product.ProductId Assert-AreEqual 4 $groups.Count # remove Product to Group - Remove-AzureRMApiManagementProductFromGroup -Context $context -GroupId $groupId -ProductId $product.ProductId + Remove-AzureRmApiManagementProductFromGroup -Context $context -GroupId $groupId -ProductId $product.ProductId #check group products - $groups = Get-AzureRMApiManagementGroup -Context $context -ProductId $product.ProductId + $groups = Get-AzureRmApiManagementGroup -Context $context -ProductId $product.ProductId Assert-AreEqual 3 $groups.Count # add User to Group - $user = Get-AzureRMApiManagementUser -Context $context | Select -First 1 - Add-AzureRMApiManagementUserToGroup -Context $context -GroupId $groupId -UserId $user.UserId + $user = Get-AzureRmApiManagementUser -Context $context | Select -First 1 + Add-AzureRmApiManagementUserToGroup -Context $context -GroupId $groupId -UserId $user.UserId - $groups = Get-AzureRMApiManagementGroup -Context $context -UserId $user.UserId + $groups = Get-AzureRmApiManagementGroup -Context $context -UserId $user.UserId Assert-AreEqual 3 $groups.Count #remove user from group - Remove-AzureRMApiManagementUserFromGroup -Context $context -GroupId $groupId -UserId $user.UserId - $groups = Get-AzureRMApiManagementGroup -Context $context -UserId $user.UserId + Remove-AzureRmApiManagementUserFromGroup -Context $context -GroupId $groupId -UserId $user.UserId + $groups = Get-AzureRmApiManagementGroup -Context $context -UserId $user.UserId Assert-AreEqual 2 $groups.Count } finally { # remove created group - $removed = Remove-AzureRMApiManagementGroup -Context $context -GroupId $groupId -Force -PassThru + $removed = Remove-AzureRmApiManagementGroup -Context $context -GroupId $groupId -Force -PassThru Assert-True {$removed} $group = $null try { # check it was removed - $group = Get-AzureRMApiManagementGroup -Context $context -GroupId $groupId + $group = Get-AzureRmApiManagementGroup -Context $context -GroupId $groupId } catch { @@ -911,86 +911,86 @@ Param($resourceGroupName, $serviceName) $apiValidPath = "./Resources/ApiValidPolicy.xml" $operationValidPath = "./Resources/OperationValidPolicy.xml" - $context = New-AzureRMApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName + $context = New-AzureRmApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName # test tenant policy try { - $set = Set-AzureRMApiManagementPolicy -Context $context -PolicyFilePath $tenantValidPath -PassThru + $set = Set-AzureRmApiManagementPolicy -Context $context -PolicyFilePath $tenantValidPath -PassThru Assert-AreEqual $true $set - $policy = Get-AzureRMApiManagementPolicy -Context $context + $policy = Get-AzureRmApiManagementPolicy -Context $context Assert-NotNull $policy Assert-True {$policy -like '**'} } finally { - $removed = Remove-AzureRMApiManagementPolicy -Context $context -PassThru -Force + $removed = Remove-AzureRmApiManagementPolicy -Context $context -PassThru -Force Assert-AreEqual $true $removed - $policy = Get-AzureRMApiManagementPolicy -Context $context + $policy = Get-AzureRmApiManagementPolicy -Context $context Assert-Null $policy } # test product policy - $product = Get-AzureRMApiManagementProduct -Context $context -Title 'Unlimited' | Select -First 1 + $product = Get-AzureRmApiManagementProduct -Context $context -Title 'Unlimited' | Select -First 1 try { - $set = Set-AzureRMApiManagementPolicy -Context $context -PolicyFilePath $productValidPath -ProductId $product.ProductId -PassThru + $set = Set-AzureRmApiManagementPolicy -Context $context -PolicyFilePath $productValidPath -ProductId $product.ProductId -PassThru Assert-AreEqual $true $set - $policy = Get-AzureRMApiManagementPolicy -Context $context -ProductId $product.ProductId + $policy = Get-AzureRmApiManagementPolicy -Context $context -ProductId $product.ProductId Assert-NotNull $policy Assert-True {$policy -like '**'} } finally { - $removed = Remove-AzureRMApiManagementPolicy -Context $context -ProductId $product.ProductId -PassThru -Force + $removed = Remove-AzureRmApiManagementPolicy -Context $context -ProductId $product.ProductId -PassThru -Force Assert-AreEqual $true $removed - $policy = Get-AzureRMApiManagementPolicy -Context $context -ProductId $product.ProductId + $policy = Get-AzureRmApiManagementPolicy -Context $context -ProductId $product.ProductId Assert-Null $policy } # test api policy - $api = Get-AzureRMApiManagementApi -Context $context | Select -First 1 + $api = Get-AzureRmApiManagementApi -Context $context | Select -First 1 try { - $set = Set-AzureRMApiManagementPolicy -Context $context -PolicyFilePath $apiValidPath -ApiId $api.ApiId -PassThru + $set = Set-AzureRmApiManagementPolicy -Context $context -PolicyFilePath $apiValidPath -ApiId $api.ApiId -PassThru Assert-AreEqual $true $set - $policy = Get-AzureRMApiManagementPolicy -Context $context -ApiId $api.ApiId + $policy = Get-AzureRmApiManagementPolicy -Context $context -ApiId $api.ApiId Assert-NotNull $policy Assert-True {$policy -like '**'} } finally { - $removed = Remove-AzureRMApiManagementPolicy -Context $context -ApiId $api.ApiId -PassThru -Force + $removed = Remove-AzureRmApiManagementPolicy -Context $context -ApiId $api.ApiId -PassThru -Force Assert-AreEqual $true $removed - $policy = Get-AzureRMApiManagementPolicy -Context $context -ApiId $api.ApiId + $policy = Get-AzureRmApiManagementPolicy -Context $context -ApiId $api.ApiId Assert-Null $policy } # test operation policy - $api = Get-AzureRMApiManagementApi -Context $context | Select -First 1 - $operation = Get-AzureRMApiManagementOperation -Context $context -ApiId $api.ApiId | Select -First 1 + $api = Get-AzureRmApiManagementApi -Context $context | Select -First 1 + $operation = Get-AzureRmApiManagementOperation -Context $context -ApiId $api.ApiId | Select -First 1 try { - $set = Set-AzureRMApiManagementPolicy -Context $context -PolicyFilePath $operationValidPath -ApiId $api.ApiId ` + $set = Set-AzureRmApiManagementPolicy -Context $context -PolicyFilePath $operationValidPath -ApiId $api.ApiId ` -OperationId $operation.OperationId -PassThru Assert-AreEqual $true $set - $policy = Get-AzureRMApiManagementPolicy -Context $context -ApiId $api.ApiId -OperationId $operation.OperationId + $policy = Get-AzureRmApiManagementPolicy -Context $context -ApiId $api.ApiId -OperationId $operation.OperationId Assert-NotNull $policy Assert-True {$policy -like '**'} } finally { - $removed = Remove-AzureRMApiManagementPolicy -Context $context -ApiId $api.ApiId -OperationId $operation.OperationId -PassThru -Force + $removed = Remove-AzureRmApiManagementPolicy -Context $context -ApiId $api.ApiId -OperationId $operation.OperationId -PassThru -Force Assert-AreEqual $true $removed - $policy = Get-AzureRMApiManagementPolicy -Context $context -ApiId $api.ApiId -OperationId $operation.OperationId + $policy = Get-AzureRmApiManagementPolicy -Context $context -ApiId $api.ApiId -OperationId $operation.OperationId Assert-Null $policy } @@ -1000,42 +1000,42 @@ Param($resourceGroupName, $serviceName) $tenantValid = 'bbybyxxbbcczc' try { - $set = Set-AzureRMApiManagementPolicy -Context $context -Policy $tenantValid -PassThru + $set = Set-AzureRmApiManagementPolicy -Context $context -Policy $tenantValid -PassThru Assert-AreEqual $true $set - Get-AzureRMApiManagementPolicy -Context $context -SaveAs 'TenantPolicy.xml' -Force + Get-AzureRmApiManagementPolicy -Context $context -SaveAs 'TenantPolicy.xml' -Force $exists = [System.IO.File]::Exists('TenantPolicy.xml') $policy = gc 'TenantPolicy.xml' Assert-True {$policy -like '**'} } finally { - $removed = Remove-AzureRMApiManagementPolicy -Context $context -PassThru -Force + $removed = Remove-AzureRmApiManagementPolicy -Context $context -PassThru -Force Assert-AreEqual $true $removed - $policy = Get-AzureRMApiManagementPolicy -Context $context + $policy = Get-AzureRmApiManagementPolicy -Context $context Assert-Null $policy } # test product policy $productValid = '' - $product = Get-AzureRMApiManagementProduct -Context $context -Title 'Unlimited' | Select -First 1 + $product = Get-AzureRmApiManagementProduct -Context $context -Title 'Unlimited' | Select -First 1 try { - $set = Set-AzureRMApiManagementPolicy -Context $context -Policy $productValid -ProductId $product.ProductId -PassThru + $set = Set-AzureRmApiManagementPolicy -Context $context -Policy $productValid -ProductId $product.ProductId -PassThru Assert-AreEqual $true $set - Get-AzureRMApiManagementPolicy -Context $context -ProductId $product.ProductId -SaveAs 'ProductPolicy.xml' -Force + Get-AzureRmApiManagementPolicy -Context $context -ProductId $product.ProductId -SaveAs 'ProductPolicy.xml' -Force $exists = [System.IO.File]::Exists('ProductPolicy.xml') $policy = gc 'ProductPolicy.xml' Assert-True {$policy -like '**'} } finally { - $removed = Remove-AzureRMApiManagementPolicy -Context $context -ProductId $product.ProductId -PassThru -Force + $removed = Remove-AzureRmApiManagementPolicy -Context $context -ProductId $product.ProductId -PassThru -Force Assert-AreEqual $true $removed - $policy = Get-AzureRMApiManagementPolicy -Context $context -ProductId $product.ProductId + $policy = Get-AzureRmApiManagementPolicy -Context $context -ProductId $product.ProductId Assert-Null $policy try @@ -1047,23 +1047,23 @@ Param($resourceGroupName, $serviceName) # test api policy $apiValid = 'versionAcceptAccept-Charset' - $api = Get-AzureRMApiManagementApi -Context $context | Select -First 1 + $api = Get-AzureRmApiManagementApi -Context $context | Select -First 1 try { - $set = Set-AzureRMApiManagementPolicy -Context $context -Policy $apiValid -ApiId $api.ApiId -PassThru + $set = Set-AzureRmApiManagementPolicy -Context $context -Policy $apiValid -ApiId $api.ApiId -PassThru Assert-AreEqual $true $set - $policy = Get-AzureRMApiManagementPolicy -Context $context -ApiId $api.ApiId -SaveAs 'ApiPolicy.xml' + $policy = Get-AzureRmApiManagementPolicy -Context $context -ApiId $api.ApiId -SaveAs 'ApiPolicy.xml' $exists = [System.IO.File]::Exists('ApiPolicy.xml') $policy = gc 'ApiPolicy.xml' Assert-True {$policy -like '**'} } finally { - $removed = Remove-AzureRMApiManagementPolicy -Context $context -ApiId $api.ApiId -PassThru -Force + $removed = Remove-AzureRmApiManagementPolicy -Context $context -ApiId $api.ApiId -PassThru -Force Assert-AreEqual $true $removed - $policy = Get-AzureRMApiManagementPolicy -Context $context -ApiId $api.ApiId + $policy = Get-AzureRmApiManagementPolicy -Context $context -ApiId $api.ApiId Assert-Null $policy try @@ -1075,15 +1075,15 @@ Param($resourceGroupName, $serviceName) # test operation policy $operationValid = '' - $api = Get-AzureRMApiManagementApi -Context $context | Select -First 1 - $operation = Get-AzureRMApiManagementOperation -Context $context -ApiId $api.ApiId | Select -First 1 + $api = Get-AzureRmApiManagementApi -Context $context | Select -First 1 + $operation = Get-AzureRmApiManagementOperation -Context $context -ApiId $api.ApiId | Select -First 1 try { - $set = Set-AzureRMApiManagementPolicy -Context $context -Policy $operationValid -ApiId $api.ApiId ` + $set = Set-AzureRmApiManagementPolicy -Context $context -Policy $operationValid -ApiId $api.ApiId ` -OperationId $operation.OperationId -PassThru Assert-AreEqual $true $set - $policy = Get-AzureRMApiManagementPolicy -Context $context -ApiId $api.ApiId -OperationId $operation.OperationId ` + $policy = Get-AzureRmApiManagementPolicy -Context $context -ApiId $api.ApiId -OperationId $operation.OperationId ` -SaveAs 'OperationPolicy.xml' $exists = [System.IO.File]::Exists('OperationPolicy.xml') $policy = gc 'OperationPolicy.xml' @@ -1091,10 +1091,10 @@ Param($resourceGroupName, $serviceName) } finally { - $removed = Remove-AzureRMApiManagementPolicy -Context $context -ApiId $api.ApiId -OperationId $operation.OperationId -PassThru -Force + $removed = Remove-AzureRmApiManagementPolicy -Context $context -ApiId $api.ApiId -OperationId $operation.OperationId -PassThru -Force Assert-AreEqual $true $removed - $policy = Get-AzureRMApiManagementPolicy -Context $context -ApiId $api.ApiId -OperationId $operation.OperationId + $policy = Get-AzureRmApiManagementPolicy -Context $context -ApiId $api.ApiId -OperationId $operation.OperationId Assert-Null $policy try @@ -1113,10 +1113,10 @@ function Certificate-CrudTest { Param($resourceGroupName, $serviceName) - $context = New-AzureRMApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName + $context = New-AzureRmApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName # get all certificates - $certificates = Get-AzureRMApiManagementCertificate -Context $context + $certificates = Get-AzureRmApiManagementCertificate -Context $context Assert-AreEqual 0 $certificates.Count @@ -1129,28 +1129,28 @@ Param($resourceGroupName, $serviceName) try { # upload certificate - $cert = New-AzureRMApiManagementCertificate -Context $context -CertificateId $certId -PfxFilePath $certPath -PfxPassword $certPassword + $cert = New-AzureRmApiManagementCertificate -Context $context -CertificateId $certId -PfxFilePath $certPath -PfxPassword $certPassword Assert-AreEqual $certId $cert.CertificateId Assert-AreEqual $certThumbprint $cert.Thumbprint Assert-AreEqual $certSubject $cert.Subject # get certificate - $cert = Get-AzureRMApiManagementCertificate -Context $context -CertificateId $certId + $cert = Get-AzureRmApiManagementCertificate -Context $context -CertificateId $certId Assert-AreEqual $certId $cert.CertificateId Assert-AreEqual $certThumbprint $cert.Thumbprint Assert-AreEqual $certSubject $cert.Subject # update certificate - $cert = Set-AzureRMApiManagementCertificate -Context $context -CertificateId $certId -PfxFilePath $certPath -PfxPassword $certPassword -PassThru + $cert = Set-AzureRmApiManagementCertificate -Context $context -CertificateId $certId -PfxFilePath $certPath -PfxPassword $certPassword -PassThru Assert-AreEqual $certId $cert.CertificateId Assert-AreEqual $certThumbprint $cert.Thumbprint Assert-AreEqual $certSubject $cert.Subject # list certificates - $certificates = Get-AzureRMApiManagementCertificate -Context $context + $certificates = Get-AzureRmApiManagementCertificate -Context $context Assert-AreEqual 1 $certificates.Count Assert-AreEqual $certId $certificates[0].CertificateId @@ -1160,14 +1160,14 @@ Param($resourceGroupName, $serviceName) finally { # remove uploaded certificate - $removed = Remove-AzureRMApiManagementCertificate -Context $context -CertificateId $certId -Force -PassThru + $removed = Remove-AzureRmApiManagementCertificate -Context $context -CertificateId $certId -Force -PassThru Assert-True {$removed} $cert = $null try { # check it was removed - $cert = Get-AzureRMApiManagementCertificate -Context $context -CertificateId $certId + $cert = Get-AzureRmApiManagementCertificate -Context $context -CertificateId $certId } catch { @@ -1185,10 +1185,10 @@ function AuthorizationServer-CrudTest { Param($resourceGroupName, $serviceName) - $context = New-AzureRMApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName + $context = New-AzureRmApiManagementContext -ResourceGroupName $resourceGroupName -ServiceName $serviceName # get all authoriaztion servers - $servers = Get-AzureRMApiManagementAuthorizationServer -Context $context + $servers = Get-AzureRmApiManagementAuthorizationServer -Context $context Assert-AreEqual 0 $servers.Count @@ -1213,7 +1213,7 @@ Param($resourceGroupName, $serviceName) $supportState = $true $tokenBodyParameters = @{'tokenname'='tokenvalue'} - $server = New-AzureRMApiManagementAuthorizationServer -Context $context -ServerId $serverId -Name $name -Description $description ` + $server = New-AzureRmApiManagementAuthorizationServer -Context $context -ServerId $serverId -Name $name -Description $description ` -ClientRegistrationPageUrl $clientRegistrationEndpoint -AuthorizationEndpointUrl $authorizationEndpoint ` -TokenEndpointUrl $tokenEndpoint -ClientId $clientId -ClientSecret $clientSecret -AuthorizationRequestMethods $authorizationMethods ` -GrantTypes $grantTypes -ClientAuthenticationMethods $clientAuthenticationMethods -TokenBodyParameters $tokenBodyParameters ` @@ -1246,7 +1246,7 @@ Param($resourceGroupName, $serviceName) Assert-AreEqual $supportState $server.SupportState Assert-AreEqual $tokenBodyParameters.Count $server.TokenBodyParameters.Count - $server = Get-AzureRMApiManagementAuthorizationServer -Context $context -ServerId $serverId + $server = Get-AzureRmApiManagementAuthorizationServer -Context $context -ServerId $serverId Assert-AreEqual $serverId $server.ServerId Assert-AreEqual $name $server.Name @@ -1290,7 +1290,7 @@ Param($resourceGroupName, $serviceName) $supportState = $false $tokenBodyParameters = @{'tokenname1'='tokenvalue1'} - $server = Set-AzureRMApiManagementAuthorizationServer -Context $context -ServerId $serverId -Name $name -Description $description ` + $server = Set-AzureRmApiManagementAuthorizationServer -Context $context -ServerId $serverId -Name $name -Description $description ` -ClientRegistrationPageUrl $clientRegistrationEndpoint -AuthorizationEndpointUrl $authorizationEndpoint ` -TokenEndpointUrl $tokenEndpoint -ClientId $clientId -ClientSecret $clientSecret -AuthorizationRequestMethods $authorizationMethods ` -GrantTypes $grantTypes -ClientAuthenticationMethods $clientAuthenticationMethods -TokenBodyParameters $tokenBodyParameters ` @@ -1320,7 +1320,7 @@ Param($resourceGroupName, $serviceName) Assert-AreEqual $supportState $server.SupportState Assert-AreEqual $tokenBodyParameters.Count $server.TokenBodyParameters.Count - $server = Get-AzureRMApiManagementAuthorizationServer -Context $context -ServerId $serverId + $server = Get-AzureRmApiManagementAuthorizationServer -Context $context -ServerId $serverId Assert-AreEqual $serverId $server.ServerId Assert-AreEqual $name $server.Name @@ -1351,14 +1351,14 @@ Param($resourceGroupName, $serviceName) finally { # remove created server - $removed = Remove-AzureRMApiManagementAuthorizationServer -Context $context -ServerId $serverId -Force -PassThru + $removed = Remove-AzureRmApiManagementAuthorizationServer -Context $context -ServerId $serverId -Force -PassThru Assert-True {$removed} $server = $null try { # check it was removed - $server = Get-AzureRMApiManagementAuthorizationServer -Context $context -ServerId $serverId + $server = Get-AzureRmApiManagementAuthorizationServer -Context $context -ServerId $serverId } catch { diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/Common.ps1 b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/Common.ps1 index 0275adb24b47..9946896079db 100644 --- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/Common.ps1 +++ b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/ScenarioTests/Common.ps1 @@ -50,6 +50,6 @@ Gets all locations for a provider #> function Get-ProviderLocations($provider) { - $location = Get-AzureRMLocation | where {$_.Name -eq $provider} + $location = Get-AzureRmLocation | where {$_.Name -eq $provider} $location.Locations } \ No newline at end of file diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ExportAzureAutomationDscConfiguration.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ExportAzureAutomationDscConfiguration.cs index cf6be24d575a..39172d0e2181 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ExportAzureAutomationDscConfiguration.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ExportAzureAutomationDscConfiguration.cs @@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Gets configuration script for given configuration name and account name. /// - [Cmdlet(VerbsData.Export, "AzureRMAutomationDscConfiguration", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] + [Cmdlet(VerbsData.Export, "AzureRmAutomationDscConfiguration", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] [OutputType(typeof(DirectoryInfo))] public class ExportAzureAutomationDscConfiguration : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ExportAzureAutomationDscNodeReportContent.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ExportAzureAutomationDscNodeReportContent.cs index e45a08a78e25..182e62fc6a2d 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ExportAzureAutomationDscNodeReportContent.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ExportAzureAutomationDscNodeReportContent.cs @@ -27,7 +27,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Gets node report for a given node and report id /// - [Cmdlet(VerbsData.Export, "AzureRMAutomationDscNodeReportContent", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] + [Cmdlet(VerbsData.Export, "AzureRmAutomationDscNodeReportContent", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] [OutputType(typeof(DirectoryInfo))] public class ExportAzureAutomationDscNodeReportContent : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ExportAzureAutomationRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ExportAzureAutomationRunbook.cs index 566757c8cb6a..c53dd8f27015 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ExportAzureAutomationRunbook.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ExportAzureAutomationRunbook.cs @@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Gets azure automation runbook definitions for a given account. /// - [Cmdlet(VerbsData.Export, "AzureRMAutomationRunbook")] + [Cmdlet(VerbsData.Export, "AzureRmAutomationRunbook")] [OutputType(typeof(DirectoryInfo))] public class ExportAzureAutomationRunbook : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationAccount.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationAccount.cs index 7554327814b4..32c65b5efb02 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationAccount.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationAccount.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Gets azure automation accounts, filterd by automation account name and location. /// - [Cmdlet(VerbsCommon.Get, "AzureRMAutomationAccount", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] + [Cmdlet(VerbsCommon.Get, "AzureRmAutomationAccount", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] [OutputType(typeof(AutomationAccount))] public class GetAzureAutomationAccount : ResourceManager.Common.AzureRMCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationAgentRegistrationInformation.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationAgentRegistrationInformation.cs index fb14e65d0d80..56795202d9d1 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationAgentRegistrationInformation.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationAgentRegistrationInformation.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Gets azure automation agent registration information for a given account. /// - [Cmdlet(VerbsCommon.Get, "AzureRMAutomationRegistrationInfo")] + [Cmdlet(VerbsCommon.Get, "AzureRmAutomationRegistrationInfo")] [OutputType(typeof(AgentRegistration))] public class GetAzureAutomationRegistrationInfo : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationCertificate.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationCertificate.cs index e4bea3955623..2297da1706f9 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationCertificate.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationCertificate.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Gets a certificate for automation. /// - [Cmdlet(VerbsCommon.Get, "AzureRMAutomationCertificate", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] + [Cmdlet(VerbsCommon.Get, "AzureRmAutomationCertificate", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] [OutputType(typeof(CertificateInfo))] public class GetAzureAutomationCertificate : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationConfiguration.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationConfiguration.cs index 869ba2dcd0dd..e56e855b12ba 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationConfiguration.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationConfiguration.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Gets azure automation configurations for a given account. /// - [Cmdlet(VerbsCommon.Get, "AzureRMAutomationDscConfiguration", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] + [Cmdlet(VerbsCommon.Get, "AzureRmAutomationDscConfiguration", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] [OutputType(typeof(DscConfiguration))] public class GetAzureAutomationDscConfiguration : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationConnection.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationConnection.cs index 0d30659b39b7..1a526e9355cf 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationConnection.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationConnection.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Gets a connection for automation. /// - [Cmdlet(VerbsCommon.Get, "AzureRMAutomationConnection", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] + [Cmdlet(VerbsCommon.Get, "AzureRmAutomationConnection", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] [OutputType(typeof(Connection))] public class GetAzureAutomationConnection : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationCredential.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationCredential.cs index e70a130341cc..c56b3608f440 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationCredential.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationCredential.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Gets a Credential for automation. /// - [Cmdlet(VerbsCommon.Get, "AzureRMAutomationCredential", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] + [Cmdlet(VerbsCommon.Get, "AzureRmAutomationCredential", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] [OutputType(typeof(CredentialInfo))] public class GetAzureAutomationCredential : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscCompilationJob.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscCompilationJob.cs index eced7d700a52..b9c59e3d6ac1 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscCompilationJob.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscCompilationJob.cs @@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Gets Azure automation compilation job /// - [Cmdlet(VerbsCommon.Get, "AzureRMAutomationDscCompilationJob", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] + [Cmdlet(VerbsCommon.Get, "AzureRmAutomationDscCompilationJob", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] [OutputType(typeof(CompilationJob))] public class GetAzureAutomationDscCompilationJob : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscCompilationJobOutput.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscCompilationJobOutput.cs index 91b37e39c758..203b9dcc2984 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscCompilationJobOutput.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscCompilationJobOutput.cs @@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Gets stream for a compilation job /// - [Cmdlet(VerbsCommon.Get, "AzureRMAutomationDscCompilationJobOutput")] + [Cmdlet(VerbsCommon.Get, "AzureRmAutomationDscCompilationJobOutput")] [OutputType(typeof(JobStream))] public class GetAzureAutomationDscCompilationJobOutput : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscNode.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscNode.cs index 8acb7caa5716..12f29d9bee4e 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscNode.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscNode.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Gets azure automation dsc node. /// - [Cmdlet(VerbsCommon.Get, "AzureRMAutomationDscNode", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] + [Cmdlet(VerbsCommon.Get, "AzureRmAutomationDscNode", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] [OutputType(typeof(DscNode))] public class GetAzureAutomationDscNode : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscNodeConfiguration.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscNodeConfiguration.cs index 8a377703891f..200158e9e418 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscNodeConfiguration.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscNodeConfiguration.cs @@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Gets Azure automation node configurations /// - [Cmdlet(VerbsCommon.Get, "AzureRMAutomationDscNodeConfiguration", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] + [Cmdlet(VerbsCommon.Get, "AzureRmAutomationDscNodeConfiguration", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] [OutputType(typeof(CompilationJob))] public class GetAzureAutomationDscNodeConfiguration : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscNodeReport.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscNodeReport.cs index 51316d2ce7dd..cdd3ec4b524c 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscNodeReport.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscNodeReport.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Gets azure automation dsc node report. /// - [Cmdlet(VerbsCommon.Get, "AzureRMAutomationDscNodeReport", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] + [Cmdlet(VerbsCommon.Get, "AzureRmAutomationDscNodeReport", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] [OutputType(typeof(DscNode))] public class GetAzureAutomationDscNodeReport : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscOnboardingMetaconfig.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscOnboardingMetaconfig.cs index 960714e1d4e2..8f010224bf1c 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscOnboardingMetaconfig.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationDscOnboardingMetaconfig.cs @@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Gets azure automation dsc onboarding meta configuration information for a given account. /// - [Cmdlet(VerbsCommon.Get, "AzureRMAutomationDscOnboardingMetaconfig")] + [Cmdlet(VerbsCommon.Get, "AzureRmAutomationDscOnboardingMetaconfig")] [OutputType(typeof(DscOnboardingMetaconfig))] public class GetAzureAutomationDscOnboardingMetaconfig : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationJob.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationJob.cs index 9bd6f3789004..f505c158c0d1 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationJob.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationJob.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Gets a Job object for automation. /// - [Cmdlet(VerbsCommon.Get, "AzureRMAutomationJob", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] + [Cmdlet(VerbsCommon.Get, "AzureRmAutomationJob", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] [OutputType(typeof(Microsoft.Azure.Commands.Automation.Model.Job))] public class GetAzureAutomationJob : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationJobOutput.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationJobOutput.cs index 9890640dc733..83816dd37c75 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationJobOutput.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationJobOutput.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Gets azure automation variables for a given account. /// - [Cmdlet(VerbsCommon.Get, "AzureRMAutomationJobOutput")] + [Cmdlet(VerbsCommon.Get, "AzureRmAutomationJobOutput")] [OutputType(typeof(JobStream))] public class GetAzureAutomationJobOutput : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationModule.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationModule.cs index e696318cb4f7..82d7ce4d4892 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationModule.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationModule.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Gets a Module for automation. /// - [Cmdlet(VerbsCommon.Get, "AzureRMAutomationModule", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] + [Cmdlet(VerbsCommon.Get, "AzureRmAutomationModule", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] [OutputType(typeof(Module))] public class GetAzureAutomationModule : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationRunbook.cs index 3df426bd5ca9..e5f01e2fa91a 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationRunbook.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationRunbook.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Gets azure automation runbooks for a given account. /// - [Cmdlet(VerbsCommon.Get, "AzureRMAutomationRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] + [Cmdlet(VerbsCommon.Get, "AzureRmAutomationRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] [OutputType(typeof(Runbook))] public class GetAzureAutomationRunbook : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationSchedule.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationSchedule.cs index 40f642f0d194..544472d83141 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationSchedule.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationSchedule.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Gets azure automation schedules for a given account. /// - [Cmdlet(VerbsCommon.Get, "AzureRMAutomationSchedule", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] + [Cmdlet(VerbsCommon.Get, "AzureRmAutomationSchedule", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] [OutputType(typeof(Schedule))] public class GetAzureAutomationSchedule : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationScheduledRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationScheduledRunbook.cs index 5fbbe32f49ce..54224369ea0d 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationScheduledRunbook.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationScheduledRunbook.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Gets azure automation job schedules for a given account. /// - [Cmdlet(VerbsCommon.Get, "AzureRMAutomationScheduledRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] + [Cmdlet(VerbsCommon.Get, "AzureRmAutomationScheduledRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] [OutputType(typeof(JobSchedule))] public class GetAzureAutomationScheduledRunbook : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationVariable.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationVariable.cs index 662c51d57566..eb8b36bbe521 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationVariable.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationVariable.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Gets azure automation variables for a given account. /// - [Cmdlet(VerbsCommon.Get, "AzureRMAutomationVariable", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] + [Cmdlet(VerbsCommon.Get, "AzureRmAutomationVariable", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] [OutputType(typeof(Variable))] public class GetAzureAutomationVariable : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationWebhook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationWebhook.cs index 1c9708cde4cf..6baa9959595b 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationWebhook.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationWebhook.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Get Webhook for automation. /// - [Cmdlet(VerbsCommon.Get, "AzureRMAutomationWebhook", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] + [Cmdlet(VerbsCommon.Get, "AzureRmAutomationWebhook", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] [OutputType(typeof(Webhook))] public class GetAzureAutomationWebhook : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ImportAzureAutomationDscConfiguration.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ImportAzureAutomationDscConfiguration.cs index 2126e82f4cb4..010740185730 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ImportAzureAutomationDscConfiguration.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ImportAzureAutomationDscConfiguration.cs @@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Imports dsc configuration script /// - [Cmdlet(VerbsData.Import, "AzureRMAutomationDscConfiguration")] + [Cmdlet(VerbsData.Import, "AzureRmAutomationDscConfiguration")] [OutputType(typeof(DscConfiguration))] public class ImportAzureAutomationDscConfiguration : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ImportAzureAutomationRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ImportAzureAutomationRunbook.cs index bea9f900efc1..478a0b7be340 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ImportAzureAutomationRunbook.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ImportAzureAutomationRunbook.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Sets an azure automation runbook definition. /// - [Cmdlet(VerbsData.Import, "AzureRMAutomationRunbook")] + [Cmdlet(VerbsData.Import, "AzureRmAutomationRunbook")] [OutputType(typeof(Runbook))] public class ImportAzureAutomationRunbook : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationAccount.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationAccount.cs index d31033793337..21dd6249a468 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationAccount.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationAccount.cs @@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Creates azure automation accounts based on automation account name and location. /// - [Cmdlet(VerbsCommon.New, "AzureRMAutomationAccount")] + [Cmdlet(VerbsCommon.New, "AzureRmAutomationAccount")] [OutputType(typeof(AutomationAccount))] public class NewAzureAutomationAccount : ResourceManager.Common.AzureRMCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationCertificate.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationCertificate.cs index d57397adb739..e92b77376388 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationCertificate.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationCertificate.cs @@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Create a new Certificate for automation. /// - [Cmdlet(VerbsCommon.New, "AzureRMAutomationCertificate", DefaultParameterSetName = AutomationCmdletParameterSets.ByCertificateName)] + [Cmdlet(VerbsCommon.New, "AzureRmAutomationCertificate", DefaultParameterSetName = AutomationCmdletParameterSets.ByCertificateName)] [OutputType(typeof(CertificateInfo))] public class NewAzureAutomationCertificate : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationConnection.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationConnection.cs index 22f53818a8a4..38cabd1d4e15 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationConnection.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationConnection.cs @@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Create a new Connection for automation. /// - [Cmdlet(VerbsCommon.New, "AzureRMAutomationConnection", DefaultParameterSetName = AutomationCmdletParameterSets.ByConnectionName)] + [Cmdlet(VerbsCommon.New, "AzureRmAutomationConnection", DefaultParameterSetName = AutomationCmdletParameterSets.ByConnectionName)] [OutputType(typeof(Connection))] public class NewAzureAutomationConnection : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationCredential.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationCredential.cs index a66bdace1893..5a21e0edd565 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationCredential.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationCredential.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Create a new Credential for automation. /// - [Cmdlet(VerbsCommon.New, "AzureRMAutomationCredential", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)] + [Cmdlet(VerbsCommon.New, "AzureRmAutomationCredential", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)] [OutputType(typeof(CredentialInfo))] public class NewAzureAutomationCredential : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationKey.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationKey.cs index 40ba5eec2952..11846628c4af 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationKey.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationKey.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Regenerates the agent registration key based on the key name. /// - [Cmdlet(VerbsCommon.New, "AzureRMAutomationKey")] + [Cmdlet(VerbsCommon.New, "AzureRmAutomationKey")] [OutputType(typeof(AgentRegistration))] public class NewAzureAutomationKey : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationModule.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationModule.cs index a544ccedf429..c71119ebc368 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationModule.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationModule.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Create a new Module for automation. /// - [Cmdlet(VerbsCommon.New, "AzureRMAutomationModule")] + [Cmdlet(VerbsCommon.New, "AzureRmAutomationModule")] [OutputType(typeof(Module))] public class NewAzureAutomationModule : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationRunbook.cs index b25f9f99cff9..fa905b61cb1b 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationRunbook.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationRunbook.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Gets azure automation schedules for a given account. /// - [Cmdlet(VerbsCommon.New, "AzureRMAutomationRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)] + [Cmdlet(VerbsCommon.New, "AzureRmAutomationRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)] [OutputType(typeof (Runbook))] public class NewAzureAutomationRunbook : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationSchedule.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationSchedule.cs index 60f380f976f2..7a7ab485527b 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationSchedule.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationSchedule.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Creates an azure automation Schedule. /// - [Cmdlet(VerbsCommon.New, "AzureRMAutomationSchedule", DefaultParameterSetName = AutomationCmdletParameterSets.ByDaily)] + [Cmdlet(VerbsCommon.New, "AzureRmAutomationSchedule", DefaultParameterSetName = AutomationCmdletParameterSets.ByDaily)] [OutputType(typeof(Schedule))] public class NewAzureAutomationSchedule : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationVariable.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationVariable.cs index 19e07e51441a..f2075c408bb8 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationVariable.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationVariable.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Gets azure automation variables for a given account. /// - [Cmdlet(VerbsCommon.New, "AzureRMAutomationVariable")] + [Cmdlet(VerbsCommon.New, "AzureRmAutomationVariable")] [OutputType(typeof(Variable))] public class NewAzureAutomationVariable : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationWebhook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationWebhook.cs index b63095c837e7..61f751d7e3df 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationWebhook.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationWebhook.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Create a new Webhook for automation. /// - [Cmdlet(VerbsCommon.New, "AzureRMAutomationWebhook")] + [Cmdlet(VerbsCommon.New, "AzureRmAutomationWebhook")] [OutputType(typeof(Webhook))] public class NewAzureAutomationWebhook : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/PublishAzureAutomationRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/PublishAzureAutomationRunbook.cs index 70f58efc5487..0fde4874afd3 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/PublishAzureAutomationRunbook.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/PublishAzureAutomationRunbook.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Publishes an azure automation runbook. /// - [Cmdlet(VerbsData.Publish, "AzureRMAutomationRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)] + [Cmdlet(VerbsData.Publish, "AzureRmAutomationRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)] [OutputType(typeof(Runbook))] public class PublishAzureAutomationRunbook : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RegisterAzureAutomationDscNode.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RegisterAzureAutomationDscNode.cs index f548e4e4ba43..e3c9aa0c41a8 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RegisterAzureAutomationDscNode.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RegisterAzureAutomationDscNode.cs @@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Registers the dsc node. /// - [Cmdlet(VerbsLifecycle.Register, "AzureRMAutomationDscNode")] + [Cmdlet(VerbsLifecycle.Register, "AzureRmAutomationDscNode")] // [OutputType(typeof(DscNode))] public class RegisterAzureAutomationDscNode : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RegisterAzureAutomationScheduledRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RegisterAzureAutomationScheduledRunbook.cs index 2d8b0d344d99..3cc9ce57f463 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RegisterAzureAutomationScheduledRunbook.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RegisterAzureAutomationScheduledRunbook.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Registers an azure automation scheduled runbook. /// - [Cmdlet(VerbsLifecycle.Register, "AzureRMAutomationScheduledRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)] + [Cmdlet(VerbsLifecycle.Register, "AzureRmAutomationScheduledRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)] [OutputType(typeof(JobSchedule))] public class RegisterAzureAutomationScheduledRunbook : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationAccount.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationAccount.cs index 964b7a68f010..8d9b784eba74 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationAccount.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationAccount.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Removes azure automation accounts, filterd by automation account name and location. /// - [Cmdlet(VerbsCommon.Remove, "AzureRMAutomationAccount")] + [Cmdlet(VerbsCommon.Remove, "AzureRmAutomationAccount")] [OutputType(typeof(AutomationAccount))] public class RemoveAzureAutomationAccount : ResourceManager.Common.AzureRMCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationCertificate.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationCertificate.cs index 7d6bc7e77cad..648409734c77 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationCertificate.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationCertificate.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Removes a Certificate for automation. /// - [Cmdlet(VerbsCommon.Remove, "AzureRMAutomationCertificate", DefaultParameterSetName = AutomationCmdletParameterSets.ByCertificateName)] + [Cmdlet(VerbsCommon.Remove, "AzureRmAutomationCertificate", DefaultParameterSetName = AutomationCmdletParameterSets.ByCertificateName)] public class RemoveAzureAutomationCertificate : AzureAutomationBaseCmdlet { /// diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationConnection.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationConnection.cs index 9408289677ff..a564dd7338d5 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationConnection.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationConnection.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Removes a Connection for automation. /// - [Cmdlet(VerbsCommon.Remove, "AzureRMAutomationConnection", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)] + [Cmdlet(VerbsCommon.Remove, "AzureRmAutomationConnection", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)] public class RemoveAzureAutomationConnection : AzureAutomationBaseCmdlet { /// diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationCredential.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationCredential.cs index 800eaf3d5c11..33c7a5c30b7b 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationCredential.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationCredential.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Removes a Credential for automation. /// - [Cmdlet(VerbsCommon.Remove, "AzureRMAutomationCredential", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)] + [Cmdlet(VerbsCommon.Remove, "AzureRmAutomationCredential", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)] public class RemoveAzureAutomationCredential : AzureAutomationBaseCmdlet { /// diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationModule.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationModule.cs index 3b79bb0a2911..fb05d667ef80 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationModule.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationModule.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Remove a Module for automation. /// - [Cmdlet(VerbsCommon.Remove, "AzureRMAutomationModule", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)] + [Cmdlet(VerbsCommon.Remove, "AzureRmAutomationModule", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)] public class RemoveAzureAutomationModule : AzureAutomationBaseCmdlet { /// diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationRunbook.cs index 26c8a797d112..075012bb9fc5 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationRunbook.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationRunbook.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Removes an azure automation runbook. /// - [Cmdlet(VerbsCommon.Remove, "AzureRMAutomationRunbook", SupportsShouldProcess = true, DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)] + [Cmdlet(VerbsCommon.Remove, "AzureRmAutomationRunbook", SupportsShouldProcess = true, DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)] public class RemoveAzureAutomationRunbook : AzureAutomationBaseCmdlet { /// diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationSchedule.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationSchedule.cs index 768ca52adfe2..06ee86e96038 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationSchedule.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationSchedule.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Removes an azure automation Schedule. /// - [Cmdlet(VerbsCommon.Remove, "AzureRMAutomationSchedule", SupportsShouldProcess = true, DefaultParameterSetName = AutomationCmdletParameterSets.ByName)] + [Cmdlet(VerbsCommon.Remove, "AzureRmAutomationSchedule", SupportsShouldProcess = true, DefaultParameterSetName = AutomationCmdletParameterSets.ByName)] public class RemoveAzureAutomationSchedule : AzureAutomationBaseCmdlet { /// diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationVariable.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationVariable.cs index 5673a6bd7ef2..0dc7e66b0f5a 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationVariable.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationVariable.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Gets azure automation variables for a given account. /// - [Cmdlet(VerbsCommon.Remove, "AzureRMAutomationVariable")] + [Cmdlet(VerbsCommon.Remove, "AzureRmAutomationVariable")] [OutputType(typeof(Variable))] public class RemoveAzureAutomationVariable : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationWebhook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationWebhook.cs index 0b961760aec3..17510ef0d6cd 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationWebhook.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationWebhook.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Remove a new Webhook for automation. /// - [Cmdlet(VerbsCommon.Remove, "AzureRMAutomationWebhook")] + [Cmdlet(VerbsCommon.Remove, "AzureRmAutomationWebhook")] public class RemoveAzureAutomationWebhook : AzureAutomationBaseCmdlet { /// diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ResumeAzureAutomationJob.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ResumeAzureAutomationJob.cs index 5a793b4bcf18..f79643306608 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ResumeAzureAutomationJob.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/ResumeAzureAutomationJob.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Gets a Credential for automation. /// - [Cmdlet(VerbsLifecycle.Resume, "AzureRMAutomationJob")] + [Cmdlet(VerbsLifecycle.Resume, "AzureRmAutomationJob")] public class ResumeAzureAutomationJob : AzureAutomationBaseCmdlet { /// diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationAccount.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationAccount.cs index 258fef229551..708f7ba8e75f 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationAccount.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationAccount.cs @@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Creates azure automation accounts based on automation account name and location. /// - [Cmdlet(VerbsCommon.Set, "AzureRMAutomationAccount")] + [Cmdlet(VerbsCommon.Set, "AzureRmAutomationAccount")] [OutputType(typeof(AutomationAccount))] public class SetAzureAutomationAccount : ResourceManager.Common.AzureRMCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationCertificate.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationCertificate.cs index 6afed495cd70..819b4a4f6d7a 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationCertificate.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationCertificate.cs @@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Create a new Certificate for automation. /// - [Cmdlet(VerbsCommon.Set, "AzureRMAutomationCertificate", DefaultParameterSetName = AutomationCmdletParameterSets.ByCertificateName)] + [Cmdlet(VerbsCommon.Set, "AzureRmAutomationCertificate", DefaultParameterSetName = AutomationCmdletParameterSets.ByCertificateName)] [OutputType(typeof(CertificateInfo))] public class SetAzureAutomationCertificate : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationConnection.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationConnection.cs index b6a78fd2332e..e789082da817 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationConnection.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationConnection.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Create a new Connection for automation. /// - [Cmdlet(VerbsCommon.Set, "AzureRMAutomationConnectionFieldValue", DefaultParameterSetName = AutomationCmdletParameterSets.ByConnectionName)] + [Cmdlet(VerbsCommon.Set, "AzureRmAutomationConnectionFieldValue", DefaultParameterSetName = AutomationCmdletParameterSets.ByConnectionName)] [OutputType(typeof(Connection))] public class SetAzureAutomationConnectionFieldValue : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationCredential.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationCredential.cs index bc2ba7e9799e..3ef2df0cce17 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationCredential.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationCredential.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Sets a Credential for automation. /// - [Cmdlet(VerbsCommon.Set, "AzureRMAutomationCredential", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)] + [Cmdlet(VerbsCommon.Set, "AzureRmAutomationCredential", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)] [OutputType(typeof(CredentialInfo))] public class SetAzureAutomationCredential : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationDscNode.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationDscNode.cs index fe46f4d16384..81910fd5d60b 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationDscNode.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationDscNode.cs @@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Updates configuration on the dsc node. /// - [Cmdlet(VerbsCommon.Set, "AzureRMAutomationDscNode")] + [Cmdlet(VerbsCommon.Set, "AzureRmAutomationDscNode")] [OutputType(typeof(DscNode))] public class SetAzureAutomationDscNode : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationModule.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationModule.cs index c19a5ded7483..98945793e8e3 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationModule.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationModule.cs @@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Sets a Module for automation. /// - [Cmdlet(VerbsCommon.Set, "AzureRMAutomationModule", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)] + [Cmdlet(VerbsCommon.Set, "AzureRmAutomationModule", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)] [OutputType(typeof(Module))] public class SetAzureAutomationModule : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationRunbook.cs index a930ab71408e..39a689f0d988 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationRunbook.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationRunbook.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Sets an azure automation runbook's configuration values. /// - [Cmdlet(VerbsCommon.Set, "AzureRMAutomationRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)] + [Cmdlet(VerbsCommon.Set, "AzureRmAutomationRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)] [OutputType(typeof(Runbook))] public class SetAzureAutomationRunbook : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationSchedule.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationSchedule.cs index 5749e0f5b5bc..0530ef713cbb 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationSchedule.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationSchedule.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Sets an azure automation schedule. /// - [Cmdlet(VerbsCommon.Set, "AzureRMAutomationSchedule", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)] + [Cmdlet(VerbsCommon.Set, "AzureRmAutomationSchedule", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)] [OutputType(typeof(Schedule))] public class SetAzureAutomationSchedule : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationVariable.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationVariable.cs index eb36b3de72ea..6130c4ff92f7 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationVariable.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationVariable.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Gets azure automation variables for a given account. /// - [Cmdlet(VerbsCommon.Set, "AzureRMAutomationVariable")] + [Cmdlet(VerbsCommon.Set, "AzureRmAutomationVariable")] [OutputType(typeof(Variable))] public class SetAzureAutomationVariable : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationWebhook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationWebhook.cs index 887477614cce..bcb396820f0b 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationWebhook.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationWebhook.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Update a Webhook for automation. /// - [Cmdlet(VerbsCommon.Set, "AzureRMAutomationWebhook")] + [Cmdlet(VerbsCommon.Set, "AzureRmAutomationWebhook")] [OutputType(typeof(Webhook))] public class SetAzureAutomationWebhook : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/StartAzureAutomationDscCompilationJob.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/StartAzureAutomationDscCompilationJob.cs index 3599c7a524ac..842ed6bbfdc6 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/StartAzureAutomationDscCompilationJob.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/StartAzureAutomationDscCompilationJob.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// starts azure automation compilation job /// - [Cmdlet(VerbsLifecycle.Start, "AzureRMAutomationDscCompilationJob")] + [Cmdlet(VerbsLifecycle.Start, "AzureRmAutomationDscCompilationJob")] [OutputType(typeof(CompilationJob))] public class StartAzureAutomationDscCompilationJob : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/StartAzureAutomationRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/StartAzureAutomationRunbook.cs index 5b4ffdd56309..04c562e53044 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/StartAzureAutomationRunbook.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/StartAzureAutomationRunbook.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Starts an Azure automation runbook. /// - [Cmdlet(VerbsLifecycle.Start, "AzureRMAutomationRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)] + [Cmdlet(VerbsLifecycle.Start, "AzureRmAutomationRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)] [OutputType(typeof(Job))] public class StartAzureAutomationRunbook : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/StopAzureAutomationJob.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/StopAzureAutomationJob.cs index ff75954944a2..85886dd54931 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/StopAzureAutomationJob.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/StopAzureAutomationJob.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Gets a Credential for automation. /// - [Cmdlet(VerbsLifecycle.Stop, "AzureRMAutomationJob")] + [Cmdlet(VerbsLifecycle.Stop, "AzureRmAutomationJob")] public class StopAzureAutomationJob : AzureAutomationBaseCmdlet { /// diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SuspendAzureAutomationJob.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SuspendAzureAutomationJob.cs index f65cb91c4394..363db5e0b97c 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SuspendAzureAutomationJob.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/SuspendAzureAutomationJob.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Gets a Credential for automation. /// - [Cmdlet(VerbsLifecycle.Suspend, "AzureRMAutomationJob")] + [Cmdlet(VerbsLifecycle.Suspend, "AzureRmAutomationJob")] public class SuspendAzureAutomationJob : AzureAutomationBaseCmdlet { /// diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/UnregisterAzureAutomationDscNode.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/UnregisterAzureAutomationDscNode.cs index 8e64f53e76e8..593f1adb0c39 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/UnregisterAzureAutomationDscNode.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/UnregisterAzureAutomationDscNode.cs @@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Removes the dsc node. /// - [Cmdlet(VerbsLifecycle.Unregister, "AzureRMAutomationDscNode")] + [Cmdlet(VerbsLifecycle.Unregister, "AzureRmAutomationDscNode")] [OutputType(typeof(DscNode))] public class UnregisterAzureAutomationDscNode : AzureAutomationBaseCmdlet { diff --git a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/UnregisterAzureAutomationScheduledRunbook.cs b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/UnregisterAzureAutomationScheduledRunbook.cs index 0a7e7b23909c..6d4e0aa4fbb5 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Cmdlet/UnregisterAzureAutomationScheduledRunbook.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Cmdlet/UnregisterAzureAutomationScheduledRunbook.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Unregisters an azure automation scheduled runbook. /// - [Cmdlet(VerbsLifecycle.Unregister, "AzureRMAutomationScheduledRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByJobScheduleId)] + [Cmdlet(VerbsLifecycle.Unregister, "AzureRmAutomationScheduledRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByJobScheduleId)] public class UnregisterAzureAutomationScheduledRunbook : AzureAutomationBaseCmdlet { /// diff --git a/src/ResourceManager/Automation/Commands.Automation/Common/AutomationClientDSC.cs b/src/ResourceManager/Automation/Commands.Automation/Common/AutomationClientDSC.cs index f49e7b5e45ee..0cd240c8edf0 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Common/AutomationClientDSC.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Common/AutomationClientDSC.cs @@ -751,7 +751,7 @@ public void RegisterDscNode(string resourceGroupName, resourceGroupName, automationAccountName); - // prepare the parameters to be used in New-AzureRMResourceGroupDeployment cmdlet + // prepare the parameters to be used in New-AzureRmResourceGroupDeployment cmdlet Hashtable templateParameters = new Hashtable(); templateParameters.Add("vmName", azureVMName); templateParameters.Add("location", location); @@ -767,10 +767,10 @@ public void RegisterDscNode(string resourceGroupName, templateParameters.Add("actionAfterReboot", actionAfterReboot); templateParameters.Add("allowModuleOverwrite", moduleOverwriteFlag); - // invoke the New-AzureRMResourceGroupDeployment cmdlet + // invoke the New-AzureRmResourceGroupDeployment cmdlet using (Pipeline pipe = Runspace.DefaultRunspace.CreateNestedPipeline()) { - Command invokeCommand = new Command("New-AzureRMResourceGroupDeployment"); + Command invokeCommand = new Command("New-AzureRmResourceGroupDeployment"); invokeCommand.Parameters.Add("Name", deploymentName); invokeCommand.Parameters.Add("ResourceGroupName", azureVmResourceGroup); invokeCommand.Parameters.Add("TemplateParameterObject", templateParameters); diff --git a/src/ResourceManager/Automation/Commands.Automation/Microsoft.Azure.Commands.ResourceManager.Automation.dll-help.xml b/src/ResourceManager/Automation/Commands.Automation/Microsoft.Azure.Commands.ResourceManager.Automation.dll-help.xml index da72097a683e..1fd2901765a6 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Microsoft.Azure.Commands.ResourceManager.Automation.dll-help.xml +++ b/src/ResourceManager/Automation/Commands.Automation/Microsoft.Azure.Commands.ResourceManager.Automation.dll-help.xml @@ -1,7 +1,7 @@ - Windows PowerShell® is a task-based command-line shell and scripting language designed especially for system administration. This reference topic for the information technology (IT) professional provides assistance in utilizing the Windows PowerShell cmdlets to script and automate tasks.Azure Automation cmdletsThe following table contains links to the help topics for the Azure Automation cmdlets.CmdletDescriptionExport-AzureRMAutomationDscConfigurationExports a DSC configuration from Automation to a local file.Export-AzureRMAutomationDscNodeReportContentExports the raw content of a DSC report sent from a DSC node to Automation.Get-AzureRMAutomationAccountGets Automation accounts in a resource group.Get-AzureRMAutomationDscCompilationJobGets DSC compilation jobs in Automation.Get-AzureRMAutomationDscCompilationJobOutputGets the logging streams of an Automation DSC compilation job.Get-AzureRMAutomationDscConfigurationGets DSC configurations from Automation.Get-AzureRMAutomationDscNodeGets DSC nodes from Automation.Get-AzureRMAutomationDscNodeConfigurationGets metadata for DSC node configurations in Automation.Get-AzureRMAutomationDscNodeReportGets reports sent from a DSC node to Automation.Get-AzureRMAutomationDscOnboardingMetaconfigCreates meta-configuration .mof files.Get-AzureRMAutomationModuleGets metadata for modules from Automation.Get-AzureRMAutomationRegistrationInfoGets registration information for onboarding a DSC node or hybrid worker to Automation.Import-AzureRMAutomationDscConfigurationImports a DSC configuration into Automation.New-AzureRMAutomationAccountCreates an Automation account.New-AzureRMAutomationKeyRegenerates registration keys for an Automation account.New-AzureRMAutomationModuleImports a module into Automation.Register-AzureRMAutomationDscNodeRegisters an Azure virtual machine as a DSC node for an Automation account.Remove-AzureRMAutomationAccountRemoves an Automation account.Remove-AzureRMAutomationModuleRemoves a module from Automation.Set-AzureRMAutomationAccountModifies an Automation account.Set-AzureRMAutomationDscNodeModifies the node configuration that a DSC node is mapped to.Set-AzureRMAutomationModuleUpdates a module in Automation.Start-AzureRMAutomationDscCompilationJobCompiles a DSC configuration in Automation.Unregister-AzureRMAutomationDscNodeRemoves a DSC node from management by an Automation account.To list all the cmdlets that are available, type Get-Command �Module AzureResourceManager -Name *automation.For more information about, or for the syntax of, any of the cmdlets, use the Get-Help <cmdlet name> cmdlet, where <cmdlet name> is the name of the cmdlet that you want to research. For more detailed information, you can run any of the following cmdlets: ? Get-Help <cmdlet name> -Detailed ? Get-Help <cmdlet name> -Examples ? Get-Help <cmdlet name> -Full Export-AzureRMAutomationDscConfigurationExports a DSC configuration from Automation to a local file. ExportAzureAutomationDscConfigurationThe Export-AzureRMAutomationDscConfiguration cmdlet exports a PowerShell Desired State Configuration (DSC) configuration from Azure Automation to a local file. The exported file has a .ps1 file name extension.Export-AzureRMAutomationDscConfigurationResourceGroupNameSpecifies the name of a resource group for which this cmdlet exports a DSC configuration.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC that this cmdlet exports.StringForceIndicates that this cmdlet can replace an existing local file with a new file that has the same name.OutputFolderSpecifies the output folder where this cmdlet exports the DSC configuration.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileSlotSpecifies which version of the DSC configuration that this cmdlet exports. Valid values are: + Windows PowerShell® is a task-based command-line shell and scripting language designed especially for system administration. This reference topic for the information technology (IT) professional provides assistance in utilizing the Windows PowerShell cmdlets to script and automate tasks.Azure Automation cmdletsThe following table contains links to the help topics for the Azure Automation cmdlets.CmdletDescriptionExport-AzureRmAutomationDscConfigurationExports a DSC configuration from Automation to a local file.Export-AzureRmAutomationDscNodeReportContentExports the raw content of a DSC report sent from a DSC node to Automation.Get-AzureRmAutomationAccountGets Automation accounts in a resource group.Get-AzureRmAutomationDscCompilationJobGets DSC compilation jobs in Automation.Get-AzureRmAutomationDscCompilationJobOutputGets the logging streams of an Automation DSC compilation job.Get-AzureRmAutomationDscConfigurationGets DSC configurations from Automation.Get-AzureRmAutomationDscNodeGets DSC nodes from Automation.Get-AzureRmAutomationDscNodeConfigurationGets metadata for DSC node configurations in Automation.Get-AzureRmAutomationDscNodeReportGets reports sent from a DSC node to Automation.Get-AzureRmAutomationDscOnboardingMetaconfigCreates meta-configuration .mof files.Get-AzureRmAutomationModuleGets metadata for modules from Automation.Get-AzureRmAutomationRegistrationInfoGets registration information for onboarding a DSC node or hybrid worker to Automation.Import-AzureRmAutomationDscConfigurationImports a DSC configuration into Automation.New-AzureRmAutomationAccountCreates an Automation account.New-AzureRmAutomationKeyRegenerates registration keys for an Automation account.New-AzureRmAutomationModuleImports a module into Automation.Register-AzureRmAutomationDscNodeRegisters an Azure virtual machine as a DSC node for an Automation account.Remove-AzureRmAutomationAccountRemoves an Automation account.Remove-AzureRmAutomationModuleRemoves a module from Automation.Set-AzureRmAutomationAccountModifies an Automation account.Set-AzureRmAutomationDscNodeModifies the node configuration that a DSC node is mapped to.Set-AzureRmAutomationModuleUpdates a module in Automation.Start-AzureRmAutomationDscCompilationJobCompiles a DSC configuration in Automation.Unregister-AzureRmAutomationDscNodeRemoves a DSC node from management by an Automation account.To list all the cmdlets that are available, type Get-Command �Module AzureResourceManager -Name *automation.For more information about, or for the syntax of, any of the cmdlets, use the Get-Help <cmdlet name> cmdlet, where <cmdlet name> is the name of the cmdlet that you want to research. For more detailed information, you can run any of the following cmdlets: ? Get-Help <cmdlet name> -Detailed ? Get-Help <cmdlet name> -Examples ? Get-Help <cmdlet name> -Full Export-AzureRmAutomationDscConfigurationExports a DSC configuration from Automation to a local file. ExportAzureAutomationDscConfigurationThe Export-AzureRmAutomationDscConfiguration cmdlet exports a PowerShell Desired State Configuration (DSC) configuration from Azure Automation to a local file. The exported file has a .ps1 file name extension.Export-AzureRmAutomationDscConfigurationResourceGroupNameSpecifies the name of a resource group for which this cmdlet exports a DSC configuration.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC that this cmdlet exports.StringForceIndicates that this cmdlet can replace an existing local file with a new file that has the same name.OutputFolderSpecifies the output folder where this cmdlet exports the DSC configuration.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileSlotSpecifies which version of the DSC configuration that this cmdlet exports. Valid values are: -- Draft -- Published @@ -11,7 +11,7 @@ The default value is Published. StringStringnone 1: Get-AzureRMAutomationDscConfigurationImport-AzureRMAutomationDscConfigurationExport-AzureRMAutomationDscNodeReportContentExports the raw content of a DSC report sent from a DSC node to Automation.ExportAzureAutomationDscNodeReportContentThe Export-AzureRMAutomationDscNodeReportContent cmdlet exports the raw contents of a PowerShell Desired State Configuration (DSC) report. A DSC node sends a DSC report to Azure Automation.Export-AzureRMAutomationDscNodeReportContentResourceGroupNameSpecifies the name of a resource group. This cmdlet exports the contents of a report for the DSC node that belongs to the resource group that this cmdlet specifies. StringAutomationAccountNameSpecifies the name of an Automation account. This cmdlet exports report content for a DSC node that belongs to the Automation account that this parameter specifies. StringForceIndicates that this cmdlet can replace an existing local file with a new file that has the same name.OutputFolderSpecifies the output folder where this cmdlet exports report contents. StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileNodeIdSpecifies the unique ID of the DSC node for which this cmdlet exports report contents.GuidReportIdSpecifies the unique ID of the DSC node report that this cmdlet exports. GuidAutomationAccountNameSpecifies the name of an Automation account. This cmdlet exports report content for a DSC node that belongs to the Automation account that this parameter specifies. StringStringnoneForceIndicates that this cmdlet can replace an existing local file with a new file that has the same name.SwitchParameterSwitchParameternoneNodeIdSpecifies the unique ID of the DSC node for which this cmdlet exports report contents.GuidGuidnoneOutputFolderSpecifies the output folder where this cmdlet exports report contents. StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneReportIdSpecifies the unique ID of the DSC node report that this cmdlet exports. GuidGuidnoneResourceGroupNameSpecifies the name of a resource group. This cmdlet exports the contents of a report for the DSC node that belongs to the resource group that this cmdlet specifies. StringStringnone 1: Get-AzureRMAutomationDscNodeReportGet-AzureRMAutomationAccountGets Automation accounts in a resource group.GetAzureAutomationAccountThe Get-AzureRMAutomationAccount cmdlet gets Azure Automation accounts in a resource group. For more information about Automation accounts, type Get-Help New-AzureRMAutomationAccount.Get-AzureRMAutomationAccountResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets Automation accounts.StringNameSpecifies the name of the Automation account that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileGet-AzureRMAutomationAccountResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets Automation accounts.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileNameSpecifies the name of the Automation account that this cmdlet gets.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets Automation accounts.StringStringnone 1: New-AzureRMAutomationAccountRemove-AzureRMAutomationAccountSet-AzureRMAutomationAccountGet-AzureRMAutomationDscCompilationJobOutputGets the logging streams of an Automation DSC compilation job.GetAzureAutomationDscCompilationJobOutputThe Get-AzureRMAutomationDscCompilationJobOutput cmdlet gets the stream records of a PowerShell Desired State Configuration (DSC) compilation job in Azure Automation.Get-AzureRMAutomationDscCompilationJobOutputResourceGroupNameSpecifies the name of the resource group that contains the DSC compilation job for which this cmdlet gets stream records.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC compilation job.StringIdSpecifies the unique ID of the DSC compilation job for which this cmdlet gets output. GuidProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStartTimeSpecifies a start time. This cmdlet gets stream records that the DSC compilation job outputs after this time. DateTimeOffsetStreamSpecifies the type of stream for the output that this cmdlet gets. Valid values are: +The default value is Published. StringStringnone 1: Get-AzureRmAutomationDscConfigurationImport-AzureRmAutomationDscConfigurationExport-AzureRmAutomationDscNodeReportContentExports the raw content of a DSC report sent from a DSC node to Automation.ExportAzureAutomationDscNodeReportContentThe Export-AzureRmAutomationDscNodeReportContent cmdlet exports the raw contents of a PowerShell Desired State Configuration (DSC) report. A DSC node sends a DSC report to Azure Automation.Export-AzureRmAutomationDscNodeReportContentResourceGroupNameSpecifies the name of a resource group. This cmdlet exports the contents of a report for the DSC node that belongs to the resource group that this cmdlet specifies. StringAutomationAccountNameSpecifies the name of an Automation account. This cmdlet exports report content for a DSC node that belongs to the Automation account that this parameter specifies. StringForceIndicates that this cmdlet can replace an existing local file with a new file that has the same name.OutputFolderSpecifies the output folder where this cmdlet exports report contents. StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileNodeIdSpecifies the unique ID of the DSC node for which this cmdlet exports report contents.GuidReportIdSpecifies the unique ID of the DSC node report that this cmdlet exports. GuidAutomationAccountNameSpecifies the name of an Automation account. This cmdlet exports report content for a DSC node that belongs to the Automation account that this parameter specifies. StringStringnoneForceIndicates that this cmdlet can replace an existing local file with a new file that has the same name.SwitchParameterSwitchParameternoneNodeIdSpecifies the unique ID of the DSC node for which this cmdlet exports report contents.GuidGuidnoneOutputFolderSpecifies the output folder where this cmdlet exports report contents. StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneReportIdSpecifies the unique ID of the DSC node report that this cmdlet exports. GuidGuidnoneResourceGroupNameSpecifies the name of a resource group. This cmdlet exports the contents of a report for the DSC node that belongs to the resource group that this cmdlet specifies. StringStringnone 1: Get-AzureRmAutomationDscNodeReportGet-AzureRmAutomationAccountGets Automation accounts in a resource group.GetAzureAutomationAccountThe Get-AzureRmAutomationAccount cmdlet gets Azure Automation accounts in a resource group. For more information about Automation accounts, type Get-Help New-AzureRmAutomationAccount.Get-AzureRmAutomationAccountResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets Automation accounts.StringNameSpecifies the name of the Automation account that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileGet-AzureRmAutomationAccountResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets Automation accounts.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileNameSpecifies the name of the Automation account that this cmdlet gets.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets Automation accounts.StringStringnone 1: New-AzureRmAutomationAccountRemove-AzureRmAutomationAccountSet-AzureRmAutomationAccountGet-AzureRmAutomationDscCompilationJobOutputGets the logging streams of an Automation DSC compilation job.GetAzureAutomationDscCompilationJobOutputThe Get-AzureRmAutomationDscCompilationJobOutput cmdlet gets the stream records of a PowerShell Desired State Configuration (DSC) compilation job in Azure Automation.Get-AzureRmAutomationDscCompilationJobOutputResourceGroupNameSpecifies the name of the resource group that contains the DSC compilation job for which this cmdlet gets stream records.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC compilation job.StringIdSpecifies the unique ID of the DSC compilation job for which this cmdlet gets output. GuidProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStartTimeSpecifies a start time. This cmdlet gets stream records that the DSC compilation job outputs after this time. DateTimeOffsetStreamSpecifies the type of stream for the output that this cmdlet gets. Valid values are: -- Any -- Warning @@ -21,7 +21,7 @@ The default value is Published. CompilationJobStreamTypeCompilationJobStreamTypenone 1: Get-AzureRMAutomationDscCompilationJobStart-AzureRMAutomationDscCompilationJobGet-AzureRMAutomationDscCompilationJobGets DSC compilation jobs in Automation.GetAzureAutomationDscCompilationJobThe Get-AzureRMAutomationDscCompilationJob cmdlet gets PowerShell Desired State Configuration (DSC) compilation jobs in Azure Automation.Get-AzureRMAutomationDscCompilationJobResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC compilation jobs. StringAutomationAccountNameSpecifies the name of the Automation account that contains DSC compilation jobs that this cmdlet gets.StringEndTimeSpecifies an end time. This cmdlet gets compilations jobs that started up to the time that this parameter specifies. DateTimeOffsetProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStartTimeSpecifies a start time. This cmdlet gets jobs that start at or after the time that this parameter specifies.DateTimeOffsetStatusSpecifies the status of jobs that this cmdlet gets. Valid values are: +-- VerboseCompilationJobStreamTypeCompilationJobStreamTypenone 1: Get-AzureRmAutomationDscCompilationJobStart-AzureRmAutomationDscCompilationJobGet-AzureRmAutomationDscCompilationJobGets DSC compilation jobs in Automation.GetAzureAutomationDscCompilationJobThe Get-AzureRmAutomationDscCompilationJob cmdlet gets PowerShell Desired State Configuration (DSC) compilation jobs in Azure Automation.Get-AzureRmAutomationDscCompilationJobResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC compilation jobs. StringAutomationAccountNameSpecifies the name of the Automation account that contains DSC compilation jobs that this cmdlet gets.StringEndTimeSpecifies an end time. This cmdlet gets compilations jobs that started up to the time that this parameter specifies. DateTimeOffsetProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStartTimeSpecifies a start time. This cmdlet gets jobs that start at or after the time that this parameter specifies.DateTimeOffsetStatusSpecifies the status of jobs that this cmdlet gets. Valid values are: -- Completed -- Failed @@ -33,7 +33,7 @@ The default value is Published. CompletedFailedQueuedStartingResumingRunningStoppedStoppingSuspendedSuspendingActivatingGet-AzureRMAutomationDscCompilationJobResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC compilation jobs. StringAutomationAccountNameSpecifies the name of the Automation account that contains DSC compilation jobs that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileIdSpecifies the unique ID of the DSC compilation job that this cmdlet gets. GuidGet-AzureRMAutomationDscCompilationJobResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC compilation jobs. StringAutomationAccountNameSpecifies the name of the Automation account that contains DSC compilation jobs that this cmdlet gets.StringEndTimeSpecifies an end time. This cmdlet gets compilations jobs that started up to the time that this parameter specifies. DateTimeOffsetProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStartTimeSpecifies a start time. This cmdlet gets jobs that start at or after the time that this parameter specifies.DateTimeOffsetStatusSpecifies the status of jobs that this cmdlet gets. Valid values are: +-- ActivatingCompletedFailedQueuedStartingResumingRunningStoppedStoppingSuspendedSuspendingActivatingGet-AzureRmAutomationDscCompilationJobResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC compilation jobs. StringAutomationAccountNameSpecifies the name of the Automation account that contains DSC compilation jobs that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileIdSpecifies the unique ID of the DSC compilation job that this cmdlet gets. GuidGet-AzureRmAutomationDscCompilationJobResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC compilation jobs. StringAutomationAccountNameSpecifies the name of the Automation account that contains DSC compilation jobs that this cmdlet gets.StringEndTimeSpecifies an end time. This cmdlet gets compilations jobs that started up to the time that this parameter specifies. DateTimeOffsetProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStartTimeSpecifies a start time. This cmdlet gets jobs that start at or after the time that this parameter specifies.DateTimeOffsetStatusSpecifies the status of jobs that this cmdlet gets. Valid values are: -- Completed -- Failed @@ -57,48 +57,48 @@ The default value is Published. StringStringnone 1: Start-AzureRMAutomationDscCompilationJobGet-AzureRMAutomationDscCompilationJobOutputGet-AzureRMAutomationDscConfigurationGets DSC configurations from Automation.GetAzureAutomationDscConfigurationThe Get-AzureRMAutomationDscConfiguration cmdlet gets PowerShell Desired State Configuration (DSC) configurations from Azure Automation.Get-AzureRMAutomationDscConfigurationResourceGroupNameSpecifies the name of a resource group for which this cmdlet gets DSC configurations.StringAutomationAccountNameSpecifies the name of the Automation account that contains DSC configurations that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileGet-AzureRMAutomationDscConfigurationResourceGroupNameSpecifies the name of a resource group for which this cmdlet gets DSC configurations.StringAutomationAccountNameSpecifies the name of the Automation account that contains DSC configurations that this cmdlet gets.StringNameSpecifies the name of the DSC configuration that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of the Automation account that contains DSC configurations that this cmdlet gets.StringStringnoneNameSpecifies the name of the DSC configuration that this cmdlet gets.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group for which this cmdlet gets DSC configurations.StringStringnone 1: Export-AzureRMAutomationDscConfigurationImport-AzureRMAutomationDscConfigurationGet-AzureRMAutomationDscNodeConfigurationGets metadata for DSC node configurations in Automation. GetAzureAutomationDscNodeConfigurationThe Get-AzureRMAutomationDscNodeConfiguration cmdlet gets metadata for PowerShell Desired State Configuration (DSC) node configurations in Azure Automation. Automation stores DSC node configuration as a Managed Object Format (MOF) configuration document.Get-AzureRMAutomationDscNodeConfigurationResourceGroupNameSpecifies the name of a resource group. This cmdlet gets metadata for DSC node configurations in the resource group that this parameter specifies.StringAutomationAccountNameSpecifies the name of an Automation account that contains the DSC node configurations for which this cmdlet gets metadata.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileRollupStatusSpecifies the rollup status of DSC node configurations that this cmdlet gets. Valid values are: Bad and Good.GoodBadGet-AzureRMAutomationDscNodeConfigurationResourceGroupNameSpecifies the name of a resource group. This cmdlet gets metadata for DSC node configurations in the resource group that this parameter specifies.StringAutomationAccountNameSpecifies the name of an Automation account that contains the DSC node configurations for which this cmdlet gets metadata.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileNameSpecifies the name of the DSC node configuration for which this cmdlet gets metadata.StringGet-AzureRMAutomationDscNodeConfigurationResourceGroupNameSpecifies the name of a resource group. This cmdlet gets metadata for DSC node configurations in the resource group that this parameter specifies.StringAutomationAccountNameSpecifies the name of an Automation account that contains the DSC node configurations for which this cmdlet gets metadata.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileRollupStatusSpecifies the rollup status of DSC node configurations that this cmdlet gets. Valid values are: Bad and Good.GoodBadConfigurationNameSpecifies the name of DSC configuration for which this cmdlet gets node configuration metadata.StringAutomationAccountNameSpecifies the name of an Automation account that contains the DSC node configurations for which this cmdlet gets metadata.StringStringnoneConfigurationNameSpecifies the name of DSC configuration for which this cmdlet gets node configuration metadata.StringStringnoneNameSpecifies the name of the DSC node configuration for which this cmdlet gets metadata.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group. This cmdlet gets metadata for DSC node configurations in the resource group that this parameter specifies.StringStringnoneRollupStatusSpecifies the rollup status of DSC node configurations that this cmdlet gets. Valid values are: Bad and Good.StringStringnone 1: Get-AzureRMAutomationDscNodeReportGets reports sent from a DSC node to Automation.GetAzureAutomationDscNodeReportThe Get-AzureRMAutomationDscNodeReport cmdlet gets reports sent from a PowerShell Desired State Configuration (DSC) node to Azure Automation.Get-AzureRMAutomationDscNodeReportResourceGroupNameSpecifies the name of a resource group that contains the DSC node for which this cmdlet gets reports. StringAutomationAccountNameSpecifies the name of an Automation account. This cmdlet exports reports for a DSC node that belongs to the account that this parameter specifies. StringEndTimeSpecifies an end time. This cmdlet gets reports that Automation received before this time.DateTimeOffsetProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStartTimeSpecifies a start time. This cmdlet gets reports that Automation received after this time.DateTimeOffsetNodeIdSpecifies the unique ID of the DSC node for which this cmdlet gets reports.GuidGet-AzureRMAutomationDscNodeReportResourceGroupNameSpecifies the name of a resource group that contains the DSC node for which this cmdlet gets reports. StringAutomationAccountNameSpecifies the name of an Automation account. This cmdlet exports reports for a DSC node that belongs to the account that this parameter specifies. StringLatestIndicates that this cmdlet gets the latest DSC report for the specified node only.ProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileNodeIdSpecifies the unique ID of the DSC node for which this cmdlet gets reports.GuidGet-AzureRMAutomationDscNodeReportResourceGroupNameSpecifies the name of a resource group that contains the DSC node for which this cmdlet gets reports. StringAutomationAccountNameSpecifies the name of an Automation account. This cmdlet exports reports for a DSC node that belongs to the account that this parameter specifies. StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileIdSpecifies the unique ID of the DSC node report for this cmdlet to get. GuidNodeIdSpecifies the unique ID of the DSC node for which this cmdlet gets reports.GuidAutomationAccountNameSpecifies the name of an Automation account. This cmdlet exports reports for a DSC node that belongs to the account that this parameter specifies. StringStringnoneEndTimeSpecifies an end time. This cmdlet gets reports that Automation received before this time.DateTimeOffsetDateTimeOffsetnoneIdSpecifies the unique ID of the DSC node report for this cmdlet to get. GuidGuidnoneLatestIndicates that this cmdlet gets the latest DSC report for the specified node only.SwitchParameterSwitchParameternoneNodeIdSpecifies the unique ID of the DSC node for which this cmdlet gets reports.GuidGuidnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group that contains the DSC node for which this cmdlet gets reports. StringStringnoneStartTimeSpecifies a start time. This cmdlet gets reports that Automation received after this time.DateTimeOffsetDateTimeOffsetnone 1: Export-AzureRMAutomationDscNodeReportContentGet-AzureRMAutomationDscNodeGets DSC nodes from Automation.GetAzureAutomationDscNodeThe Get-AzureRMAutomationDscNode cmdlet gets PowerShell Desired State Configuration (DSC) nodes from Azure Automation.Get-AzureRMAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC nodes.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC nodes that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStatusSpecifies the status of the DSC nodes that this cmdlet gets. Valid values are: +-- ActivatingStringStringnone 1: Start-AzureRmAutomationDscCompilationJobGet-AzureRmAutomationDscCompilationJobOutputGet-AzureRmAutomationDscConfigurationGets DSC configurations from Automation.GetAzureAutomationDscConfigurationThe Get-AzureRmAutomationDscConfiguration cmdlet gets PowerShell Desired State Configuration (DSC) configurations from Azure Automation.Get-AzureRmAutomationDscConfigurationResourceGroupNameSpecifies the name of a resource group for which this cmdlet gets DSC configurations.StringAutomationAccountNameSpecifies the name of the Automation account that contains DSC configurations that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileGet-AzureRmAutomationDscConfigurationResourceGroupNameSpecifies the name of a resource group for which this cmdlet gets DSC configurations.StringAutomationAccountNameSpecifies the name of the Automation account that contains DSC configurations that this cmdlet gets.StringNameSpecifies the name of the DSC configuration that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of the Automation account that contains DSC configurations that this cmdlet gets.StringStringnoneNameSpecifies the name of the DSC configuration that this cmdlet gets.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group for which this cmdlet gets DSC configurations.StringStringnone 1: Export-AzureRmAutomationDscConfigurationImport-AzureRmAutomationDscConfigurationGet-AzureRmAutomationDscNodeConfigurationGets metadata for DSC node configurations in Automation. GetAzureAutomationDscNodeConfigurationThe Get-AzureRmAutomationDscNodeConfiguration cmdlet gets metadata for PowerShell Desired State Configuration (DSC) node configurations in Azure Automation. Automation stores DSC node configuration as a Managed Object Format (MOF) configuration document.Get-AzureRmAutomationDscNodeConfigurationResourceGroupNameSpecifies the name of a resource group. This cmdlet gets metadata for DSC node configurations in the resource group that this parameter specifies.StringAutomationAccountNameSpecifies the name of an Automation account that contains the DSC node configurations for which this cmdlet gets metadata.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileRollupStatusSpecifies the rollup status of DSC node configurations that this cmdlet gets. Valid values are: Bad and Good.GoodBadGet-AzureRmAutomationDscNodeConfigurationResourceGroupNameSpecifies the name of a resource group. This cmdlet gets metadata for DSC node configurations in the resource group that this parameter specifies.StringAutomationAccountNameSpecifies the name of an Automation account that contains the DSC node configurations for which this cmdlet gets metadata.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileNameSpecifies the name of the DSC node configuration for which this cmdlet gets metadata.StringGet-AzureRmAutomationDscNodeConfigurationResourceGroupNameSpecifies the name of a resource group. This cmdlet gets metadata for DSC node configurations in the resource group that this parameter specifies.StringAutomationAccountNameSpecifies the name of an Automation account that contains the DSC node configurations for which this cmdlet gets metadata.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileRollupStatusSpecifies the rollup status of DSC node configurations that this cmdlet gets. Valid values are: Bad and Good.GoodBadConfigurationNameSpecifies the name of DSC configuration for which this cmdlet gets node configuration metadata.StringAutomationAccountNameSpecifies the name of an Automation account that contains the DSC node configurations for which this cmdlet gets metadata.StringStringnoneConfigurationNameSpecifies the name of DSC configuration for which this cmdlet gets node configuration metadata.StringStringnoneNameSpecifies the name of the DSC node configuration for which this cmdlet gets metadata.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group. This cmdlet gets metadata for DSC node configurations in the resource group that this parameter specifies.StringStringnoneRollupStatusSpecifies the rollup status of DSC node configurations that this cmdlet gets. Valid values are: Bad and Good.StringStringnone 1: Get-AzureRmAutomationDscNodeReportGets reports sent from a DSC node to Automation.GetAzureAutomationDscNodeReportThe Get-AzureRmAutomationDscNodeReport cmdlet gets reports sent from a PowerShell Desired State Configuration (DSC) node to Azure Automation.Get-AzureRmAutomationDscNodeReportResourceGroupNameSpecifies the name of a resource group that contains the DSC node for which this cmdlet gets reports. StringAutomationAccountNameSpecifies the name of an Automation account. This cmdlet exports reports for a DSC node that belongs to the account that this parameter specifies. StringEndTimeSpecifies an end time. This cmdlet gets reports that Automation received before this time.DateTimeOffsetProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStartTimeSpecifies a start time. This cmdlet gets reports that Automation received after this time.DateTimeOffsetNodeIdSpecifies the unique ID of the DSC node for which this cmdlet gets reports.GuidGet-AzureRmAutomationDscNodeReportResourceGroupNameSpecifies the name of a resource group that contains the DSC node for which this cmdlet gets reports. StringAutomationAccountNameSpecifies the name of an Automation account. This cmdlet exports reports for a DSC node that belongs to the account that this parameter specifies. StringLatestIndicates that this cmdlet gets the latest DSC report for the specified node only.ProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileNodeIdSpecifies the unique ID of the DSC node for which this cmdlet gets reports.GuidGet-AzureRmAutomationDscNodeReportResourceGroupNameSpecifies the name of a resource group that contains the DSC node for which this cmdlet gets reports. StringAutomationAccountNameSpecifies the name of an Automation account. This cmdlet exports reports for a DSC node that belongs to the account that this parameter specifies. StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileIdSpecifies the unique ID of the DSC node report for this cmdlet to get. GuidNodeIdSpecifies the unique ID of the DSC node for which this cmdlet gets reports.GuidAutomationAccountNameSpecifies the name of an Automation account. This cmdlet exports reports for a DSC node that belongs to the account that this parameter specifies. StringStringnoneEndTimeSpecifies an end time. This cmdlet gets reports that Automation received before this time.DateTimeOffsetDateTimeOffsetnoneIdSpecifies the unique ID of the DSC node report for this cmdlet to get. GuidGuidnoneLatestIndicates that this cmdlet gets the latest DSC report for the specified node only.SwitchParameterSwitchParameternoneNodeIdSpecifies the unique ID of the DSC node for which this cmdlet gets reports.GuidGuidnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group that contains the DSC node for which this cmdlet gets reports. StringStringnoneStartTimeSpecifies a start time. This cmdlet gets reports that Automation received after this time.DateTimeOffsetDateTimeOffsetnone 1: Export-AzureRmAutomationDscNodeReportContentGet-AzureRmAutomationDscNodeGets DSC nodes from Automation.GetAzureAutomationDscNodeThe Get-AzureRmAutomationDscNode cmdlet gets PowerShell Desired State Configuration (DSC) nodes from Azure Automation.Get-AzureRmAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC nodes.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC nodes that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStatusSpecifies the status of the DSC nodes that this cmdlet gets. Valid values are: -- Compliant -- NotCompliant -- Failed -- Pending -- Received --- UnresponsiveCompliantNotCompliantFailedPendingReceivedUnresponsiveGet-AzureRMAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC nodes.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC nodes that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileIdSpecifies the unique ID of the DSC node that this cmdlet gets.GuidGet-AzureRMAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC nodes.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC nodes that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStatusSpecifies the status of the DSC nodes that this cmdlet gets. Valid values are: +-- UnresponsiveCompliantNotCompliantFailedPendingReceivedUnresponsiveGet-AzureRmAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC nodes.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC nodes that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileIdSpecifies the unique ID of the DSC node that this cmdlet gets.GuidGet-AzureRmAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC nodes.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC nodes that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStatusSpecifies the status of the DSC nodes that this cmdlet gets. Valid values are: -- Compliant -- NotCompliant -- Failed -- Pending -- Received --- UnresponsiveCompliantNotCompliantFailedPendingReceivedUnresponsiveNameSpecifies the name of a DSC node that this cmdlet gets.StringGet-AzureRMAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC nodes.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC nodes that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStatusSpecifies the status of the DSC nodes that this cmdlet gets. Valid values are: +-- UnresponsiveCompliantNotCompliantFailedPendingReceivedUnresponsiveNameSpecifies the name of a DSC node that this cmdlet gets.StringGet-AzureRmAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC nodes.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC nodes that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileStatusSpecifies the status of the DSC nodes that this cmdlet gets. Valid values are: -- Compliant -- NotCompliant -- Failed -- Pending -- Received --- UnresponsiveCompliantNotCompliantFailedPendingReceivedUnresponsiveNodeConfigurationNameSpecifies the name of a node configuration that this cmdlet gets. StringGet-AzureRMAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC nodes.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC nodes that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileConfigurationNameSpecifies the name of a DSC configuration. This cmdlet gets DSC nodes that match the node configurations generated from the configuration that this parameter specifies. StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC nodes that this cmdlet gets.StringStringnoneConfigurationNameSpecifies the name of a DSC configuration. This cmdlet gets DSC nodes that match the node configurations generated from the configuration that this parameter specifies. StringStringnoneIdSpecifies the unique ID of the DSC node that this cmdlet gets.GuidGuidnoneNameSpecifies the name of a DSC node that this cmdlet gets.StringStringnoneNodeConfigurationNameSpecifies the name of a node configuration that this cmdlet gets. StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC nodes.StringStringnoneStatusSpecifies the status of the DSC nodes that this cmdlet gets. Valid values are: +-- UnresponsiveCompliantNotCompliantFailedPendingReceivedUnresponsiveNodeConfigurationNameSpecifies the name of a node configuration that this cmdlet gets. StringGet-AzureRmAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC nodes.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC nodes that this cmdlet gets.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileConfigurationNameSpecifies the name of a DSC configuration. This cmdlet gets DSC nodes that match the node configurations generated from the configuration that this parameter specifies. StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC nodes that this cmdlet gets.StringStringnoneConfigurationNameSpecifies the name of a DSC configuration. This cmdlet gets DSC nodes that match the node configurations generated from the configuration that this parameter specifies. StringStringnoneIdSpecifies the unique ID of the DSC node that this cmdlet gets.GuidGuidnoneNameSpecifies the name of a DSC node that this cmdlet gets.StringStringnoneNodeConfigurationNameSpecifies the name of a node configuration that this cmdlet gets. StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group in which this cmdlet gets DSC nodes.StringStringnoneStatusSpecifies the status of the DSC nodes that this cmdlet gets. Valid values are: -- Compliant -- NotCompliant -- Failed -- Pending -- Received --- UnresponsiveDscNodeStatusDscNodeStatusnone 1: Register-AzureRMAutomationDscNodeSet-AzureRMAutomationDscNodeUnregister-AzureRMAutomationDscNodeGet-AzureRMAutomationDscOnboardingMetaconfigCreates meta-configuration .mof files.GetAzureAutomationDscOnboardingMetaconfigThe Get-AzureRMAutomationDscOnboardingMetaconfig cmdlet creates PowerShell Desired State Configuration (DSC) meta-configuration Managed Object Format (MOF) files. This cmdlet creates a .mof file for each computer name that you specify. The cmdlet creates a folder for the .mof files. You can run the Set-DscLocalConfigurationManager cmdlet against this folder to onboard these computers into an Azure Automation account as DSC nodes.Get-AzureRMAutomationDscOnboardingMetaconfigResourceGroupNameSpecifies the name of a resource group. This cmdlet creates .mof files to onboard computers in the resource group that this parameter specifies. StringAutomationAccountNameSpecifies the name of an Automation account. You can onboard the computers that the ComputerName parameter specifies to the account that this parameter specifies. StringComputerNameSpecifies an array of names of computers for which this cmdlet generates .mof files. If you do not specify this parameter, the cmdlet generates an .mof file for the current computer (localhost). String[]ForceForces the command to run without prompting you for confirmation, and to replace existing .mof files that have the same name.OutputFolderSpecifies the name of a folder where this cmdlet stores .mof files. StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of an Automation account. You can onboard the computers that the ComputerName parameter specifies to the account that this parameter specifies. StringStringnoneComputerNameSpecifies an array of names of computers for which this cmdlet generates .mof files. If you do not specify this parameter, the cmdlet generates an .mof file for the current computer (localhost). String[]String[]noneForceForces the command to run without prompting you for confirmation, and to replace existing .mof files that have the same name.SwitchParameterSwitchParameternoneOutputFolderSpecifies the name of a folder where this cmdlet stores .mof files. StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group. This cmdlet creates .mof files to onboard computers in the resource group that this parameter specifies. StringStringnone 1: Get-AzureRMAutomationModuleGets metadata for modules from Automation.GetAzureAutomationModuleThe Get-AzureRMAutomationModule cmdlet gets metadata for modules from Azure Automation.Get-AzureRMAutomationModuleResourceGroupNameSpecifies the name of a resource group for which this cmdlet gets module metadata.StringAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet gets module metadata. StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileGet-AzureRMAutomationModuleResourceGroupNameSpecifies the name of a resource group for which this cmdlet gets module metadata.StringAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet gets module metadata. StringNameSpecifies the name of the module for which this cmdlet gets metadata. StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet gets module metadata. StringStringnoneNameSpecifies the name of the module for which this cmdlet gets metadata. StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group for which this cmdlet gets module metadata.StringStringnone 1: New-AzureRMAutomationModuleRemove-AzureRMAutomationModuleSet-AzureRMAutomationModuleGet-AzureRMAutomationRegistrationInfoGets registration information for onboarding a DSC node or hybrid worker to Automation. GetAzureAutomationRegistrationInfoThe Get-AzureRMAutomationRegistrationInfo cmdlet gets the endpoint and keys required to onboard a PowerShell Desired State Configuration (DSC) node or hybrid worker into an Azure Automation account.Get-AzureRMAutomationRegistrationInfoResourceGroupNameSpecifies the name of a resource group. This cmdlet gets registration information for the resource group that this parameter specifies.StringAutomationAccountNameSpecifies the name of automation account for which this cmdlet gets registration information. StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of automation account for which this cmdlet gets registration information. StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group. This cmdlet gets registration information for the resource group that this parameter specifies.StringStringnone 1: Get-AzureRMAutomationAccountGet-AzureRMAutomationDscNodeNew-AzureRMAutomationKeyImport-AzureRMAutomationDscConfigurationImports a DSC configuration into Automation.ImportAzureAutomationDscConfigurationThe Import-AzureRMAutomationDscConfiguration cmdlet imports a PowerShell Desired State Configuration (DSC) configuration into Azure Automation. Specify the path of a PowerShell script that contains a single DSC configuration.Import-AzureRMAutomationDscConfigurationResourceGroupNameSpecifies the name of a resource group for which this cmdlet imports a DSC configuration.StringAutomationAccountNameSpecifies the name of the Automation account into which this cmdlet imports a DSC configuration.StringDescriptionSpecifies a description of the configuration that this cmdlet imports. StringForceIndicates that this cmdlet can replace an existing DSC configuration in Automation.LogVerboseSpecifies whether this cmdlet turns verbose logging on or off for compilation jobs of this DSC configuration. Specify a value of $True to turn verbose logging on or $False to turn it off.BooleanProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfilePublishedIndicates that this cmdlet imports the DSC configuration in the published state.TagsSpecifies a dictionary of tags.IDictionarySourcePathSpecifies the path of the PowerShell script that contains the DSC configuration that this cmdlet imports. StringAutomationAccountNameSpecifies the name of the Automation account into which this cmdlet imports a DSC configuration.StringStringnoneDescriptionSpecifies a description of the configuration that this cmdlet imports. StringStringnoneForceIndicates that this cmdlet can replace an existing DSC configuration in Automation.SwitchParameterSwitchParameternoneLogVerboseSpecifies whether this cmdlet turns verbose logging on or off for compilation jobs of this DSC configuration. Specify a value of $True to turn verbose logging on or $False to turn it off.BooleanBooleannoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenonePublishedIndicates that this cmdlet imports the DSC configuration in the published state.SwitchParameterSwitchParameternoneResourceGroupNameSpecifies the name of a resource group for which this cmdlet imports a DSC configuration.StringStringnoneSourcePathSpecifies the path of the PowerShell script that contains the DSC configuration that this cmdlet imports. StringStringnoneTagsSpecifies a dictionary of tags.IDictionaryIDictionarynone 1: Export-AzureRMAutomationDscConfigurationGet-AzureRMAutomationDscConfigurationNew-AzureRMAutomationAccountCreates an Automation account.NewAzureAutomationAccountThe New-AzureRMAutomationAccount cmdlet creates an Azure Automation account in a resource group.An Automation account is a container for Automation resources that is isolated from the resources of other Automation accounts. Automation resources include runbooks, DSC configurations, jobs, and assets.New-AzureRMAutomationAccountResourceGroupNameSpecifies the name of a resource group to which this cmdlet adds an Automation account.StringNameSpecifies a name for the Automation account.StringLocationSpecifies the location in which this cmdlet creates the Automation account. To obtain valid locations, use the Get-AzureRMLocation cmdlet. StringPlanSpecifies the plan for the Automation account. Valid values are: Basic and Free.FreeBasicProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileTagsSpecifies tags for the Automation account.IDictionaryLocationSpecifies the location in which this cmdlet creates the Automation account. To obtain valid locations, use the Get-AzureRMLocation cmdlet. StringStringnoneNameSpecifies a name for the Automation account.StringStringnonePlanSpecifies the plan for the Automation account. Valid values are: Basic and Free.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group to which this cmdlet adds an Automation account.StringStringnoneTagsSpecifies tags for the Automation account.IDictionaryIDictionarynone 1: Get-AzureRMAutomationAccountRemove-AzureRMAutomationAccountSet-AzureRMAutomationAccountNew-AzureRMAutomationKeyRegenerates registration keys for an Automation account.NewAzureAutomationKeyThe New-AzureRMAutomationKey cmdlet regenerates registration keys for an Azure Automation account.New-AzureRMAutomationKeyResourceGroupNameSpecifies the name of a resource group. This cmdlet regenerates keys for an Automation account in the resource group that this parameter specifies. StringAutomationAccountNameSpecifies the name of an Automation account for which this cmdlet regenerates keys.StringKeyTypeSpecifies the type of the agent registration key. Valid values are: Primary and Secondary.PrimarySecondaryProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of an Automation account for which this cmdlet regenerates keys.StringStringnoneKeyTypeSpecifies the type of the agent registration key. Valid values are: Primary and Secondary.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group. This cmdlet regenerates keys for an Automation account in the resource group that this parameter specifies. StringStringnone 1: Get-AzureRMAutomationAccountNew-AzureRMAutomationAccountNew-AzureRMAutomationModuleImports a module into Automation.NewAzureAutomationModuleThe New-AzureRMAutomationModule cmdlet imports a module into Azure Automation. This command accepts a compressed file that has a .zip file name extension. The file contains a folder that includes a file that is one of the following types: +-- UnresponsiveDscNodeStatusDscNodeStatusnone 1: Register-AzureRmAutomationDscNodeSet-AzureRmAutomationDscNodeUnregister-AzureRmAutomationDscNodeGet-AzureRmAutomationDscOnboardingMetaconfigCreates meta-configuration .mof files.GetAzureAutomationDscOnboardingMetaconfigThe Get-AzureRmAutomationDscOnboardingMetaconfig cmdlet creates PowerShell Desired State Configuration (DSC) meta-configuration Managed Object Format (MOF) files. This cmdlet creates a .mof file for each computer name that you specify. The cmdlet creates a folder for the .mof files. You can run the Set-DscLocalConfigurationManager cmdlet against this folder to onboard these computers into an Azure Automation account as DSC nodes.Get-AzureRmAutomationDscOnboardingMetaconfigResourceGroupNameSpecifies the name of a resource group. This cmdlet creates .mof files to onboard computers in the resource group that this parameter specifies. StringAutomationAccountNameSpecifies the name of an Automation account. You can onboard the computers that the ComputerName parameter specifies to the account that this parameter specifies. StringComputerNameSpecifies an array of names of computers for which this cmdlet generates .mof files. If you do not specify this parameter, the cmdlet generates an .mof file for the current computer (localhost). String[]ForceForces the command to run without prompting you for confirmation, and to replace existing .mof files that have the same name.OutputFolderSpecifies the name of a folder where this cmdlet stores .mof files. StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of an Automation account. You can onboard the computers that the ComputerName parameter specifies to the account that this parameter specifies. StringStringnoneComputerNameSpecifies an array of names of computers for which this cmdlet generates .mof files. If you do not specify this parameter, the cmdlet generates an .mof file for the current computer (localhost). String[]String[]noneForceForces the command to run without prompting you for confirmation, and to replace existing .mof files that have the same name.SwitchParameterSwitchParameternoneOutputFolderSpecifies the name of a folder where this cmdlet stores .mof files. StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group. This cmdlet creates .mof files to onboard computers in the resource group that this parameter specifies. StringStringnone 1: Get-AzureRmAutomationModuleGets metadata for modules from Automation.GetAzureAutomationModuleThe Get-AzureRmAutomationModule cmdlet gets metadata for modules from Azure Automation.Get-AzureRmAutomationModuleResourceGroupNameSpecifies the name of a resource group for which this cmdlet gets module metadata.StringAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet gets module metadata. StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileGet-AzureRmAutomationModuleResourceGroupNameSpecifies the name of a resource group for which this cmdlet gets module metadata.StringAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet gets module metadata. StringNameSpecifies the name of the module for which this cmdlet gets metadata. StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet gets module metadata. StringStringnoneNameSpecifies the name of the module for which this cmdlet gets metadata. StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group for which this cmdlet gets module metadata.StringStringnone 1: New-AzureRmAutomationModuleRemove-AzureRmAutomationModuleSet-AzureRmAutomationModuleGet-AzureRmAutomationRegistrationInfoGets registration information for onboarding a DSC node or hybrid worker to Automation. GetAzureAutomationRegistrationInfoThe Get-AzureRmAutomationRegistrationInfo cmdlet gets the endpoint and keys required to onboard a PowerShell Desired State Configuration (DSC) node or hybrid worker into an Azure Automation account.Get-AzureRmAutomationRegistrationInfoResourceGroupNameSpecifies the name of a resource group. This cmdlet gets registration information for the resource group that this parameter specifies.StringAutomationAccountNameSpecifies the name of automation account for which this cmdlet gets registration information. StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of automation account for which this cmdlet gets registration information. StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group. This cmdlet gets registration information for the resource group that this parameter specifies.StringStringnone 1: Get-AzureRmAutomationAccountGet-AzureRmAutomationDscNodeNew-AzureRmAutomationKeyImport-AzureRmAutomationDscConfigurationImports a DSC configuration into Automation.ImportAzureAutomationDscConfigurationThe Import-AzureRmAutomationDscConfiguration cmdlet imports a PowerShell Desired State Configuration (DSC) configuration into Azure Automation. Specify the path of a PowerShell script that contains a single DSC configuration.Import-AzureRmAutomationDscConfigurationResourceGroupNameSpecifies the name of a resource group for which this cmdlet imports a DSC configuration.StringAutomationAccountNameSpecifies the name of the Automation account into which this cmdlet imports a DSC configuration.StringDescriptionSpecifies a description of the configuration that this cmdlet imports. StringForceIndicates that this cmdlet can replace an existing DSC configuration in Automation.LogVerboseSpecifies whether this cmdlet turns verbose logging on or off for compilation jobs of this DSC configuration. Specify a value of $True to turn verbose logging on or $False to turn it off.BooleanProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfilePublishedIndicates that this cmdlet imports the DSC configuration in the published state.TagsSpecifies a dictionary of tags.IDictionarySourcePathSpecifies the path of the PowerShell script that contains the DSC configuration that this cmdlet imports. StringAutomationAccountNameSpecifies the name of the Automation account into which this cmdlet imports a DSC configuration.StringStringnoneDescriptionSpecifies a description of the configuration that this cmdlet imports. StringStringnoneForceIndicates that this cmdlet can replace an existing DSC configuration in Automation.SwitchParameterSwitchParameternoneLogVerboseSpecifies whether this cmdlet turns verbose logging on or off for compilation jobs of this DSC configuration. Specify a value of $True to turn verbose logging on or $False to turn it off.BooleanBooleannoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenonePublishedIndicates that this cmdlet imports the DSC configuration in the published state.SwitchParameterSwitchParameternoneResourceGroupNameSpecifies the name of a resource group for which this cmdlet imports a DSC configuration.StringStringnoneSourcePathSpecifies the path of the PowerShell script that contains the DSC configuration that this cmdlet imports. StringStringnoneTagsSpecifies a dictionary of tags.IDictionaryIDictionarynone 1: Export-AzureRmAutomationDscConfigurationGet-AzureRmAutomationDscConfigurationNew-AzureRmAutomationAccountCreates an Automation account.NewAzureAutomationAccountThe New-AzureRmAutomationAccount cmdlet creates an Azure Automation account in a resource group.An Automation account is a container for Automation resources that is isolated from the resources of other Automation accounts. Automation resources include runbooks, DSC configurations, jobs, and assets.New-AzureRmAutomationAccountResourceGroupNameSpecifies the name of a resource group to which this cmdlet adds an Automation account.StringNameSpecifies a name for the Automation account.StringLocationSpecifies the location in which this cmdlet creates the Automation account. To obtain valid locations, use the Get-AzureRmLocation cmdlet. StringPlanSpecifies the plan for the Automation account. Valid values are: Basic and Free.FreeBasicProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileTagsSpecifies tags for the Automation account.IDictionaryLocationSpecifies the location in which this cmdlet creates the Automation account. To obtain valid locations, use the Get-AzureRmLocation cmdlet. StringStringnoneNameSpecifies a name for the Automation account.StringStringnonePlanSpecifies the plan for the Automation account. Valid values are: Basic and Free.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group to which this cmdlet adds an Automation account.StringStringnoneTagsSpecifies tags for the Automation account.IDictionaryIDictionarynone 1: Get-AzureRmAutomationAccountRemove-AzureRmAutomationAccountSet-AzureRmAutomationAccountNew-AzureRmAutomationKeyRegenerates registration keys for an Automation account.NewAzureAutomationKeyThe New-AzureRmAutomationKey cmdlet regenerates registration keys for an Azure Automation account.New-AzureRmAutomationKeyResourceGroupNameSpecifies the name of a resource group. This cmdlet regenerates keys for an Automation account in the resource group that this parameter specifies. StringAutomationAccountNameSpecifies the name of an Automation account for which this cmdlet regenerates keys.StringKeyTypeSpecifies the type of the agent registration key. Valid values are: Primary and Secondary.PrimarySecondaryProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of an Automation account for which this cmdlet regenerates keys.StringStringnoneKeyTypeSpecifies the type of the agent registration key. Valid values are: Primary and Secondary.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group. This cmdlet regenerates keys for an Automation account in the resource group that this parameter specifies. StringStringnone 1: Get-AzureRmAutomationAccountNew-AzureRmAutomationAccountNew-AzureRmAutomationModuleImports a module into Automation.NewAzureAutomationModuleThe New-AzureRmAutomationModule cmdlet imports a module into Azure Automation. This command accepts a compressed file that has a .zip file name extension. The file contains a folder that includes a file that is one of the following types: -- Azure PowerShell module, which has a .psm1 file name extension -- Azure PowerShell module manifest, which has a .psd1 file name extension --- Dynamic link library, which has a .dll file name extensionThe name of the .zip file, the name of the folder, and the name of the file in the folder must be the same.Specify the .zip file as a URL that this computer can access.New-AzureRMAutomationModuleResourceGroupNameSpecifies the name of a resource group for which this cmdlet imports a module.StringAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet imports a module. StringNameSpecifies the name of the module that this cmdlet imports.StringContentLinkSpecifies the URL of the .zip file that contains a module that this cmdlet imports.UriProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet imports a module. StringStringnoneContentLinkSpecifies the URL of the .zip file that contains a module that this cmdlet imports.UriUrinoneNameSpecifies the name of the module that this cmdlet imports.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group for which this cmdlet imports a module.StringStringnone 1: Get-AzureRMAutomationModuleRemove-AzureRMAutomationModuleSet-AzureRMAutomationModuleRegister-AzureRMAutomationDscNodeRegisters an Azure virtual machine as a DSC node for an Automation account.RegisterAzureAutomationDscNodeThe Register-AzureRMAutomationDscNode cmdlet registers an Azure virtual machine as an Azure PowerShell Desired State Configuration (DSC) node in an Azure Automation account.Register-AzureRMAutomationDscNodeResourceGroupNameSpecifies the name of a resource group. The Automation account with which this cmdlet registers a virtual machine belongs to the resource group that this parameter specifies.StringAutomationAccountNameSpecifies the name of an Automation account in which this cmdlet registers a virtual machine.StringActionAfterRebootSpecifies the action that the virtual machine takes after it restarts. Valid values are: ContinueConfiguration and StopConfiguration. ContinueConfigurationStopConfigurationAllowModuleOverwriteSpecifies whether new configurations that this DSC node downloads from the Azure Automation DSC pull server replace the existing modules already on the target node.BooleanAzureVMLocationSpecifies the location in which this cmdlet registers a virtual machine. To obtain valid locations, use the Get-AzureRMLocation cmdlet. StringAzureVMResourceGroupSpecifies the name of the resource group of the Azure virtual machine that this cmdlet registers.StringConfigurationModeSpecifies the DSC configuration mode. Valid values are: +-- Dynamic link library, which has a .dll file name extensionThe name of the .zip file, the name of the folder, and the name of the file in the folder must be the same.Specify the .zip file as a URL that this computer can access.New-AzureRmAutomationModuleResourceGroupNameSpecifies the name of a resource group for which this cmdlet imports a module.StringAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet imports a module. StringNameSpecifies the name of the module that this cmdlet imports.StringContentLinkSpecifies the URL of the .zip file that contains a module that this cmdlet imports.UriProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet imports a module. StringStringnoneContentLinkSpecifies the URL of the .zip file that contains a module that this cmdlet imports.UriUrinoneNameSpecifies the name of the module that this cmdlet imports.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group for which this cmdlet imports a module.StringStringnone 1: Get-AzureRmAutomationModuleRemove-AzureRmAutomationModuleSet-AzureRmAutomationModuleRegister-AzureRmAutomationDscNodeRegisters an Azure virtual machine as a DSC node for an Automation account.RegisterAzureAutomationDscNodeThe Register-AzureRmAutomationDscNode cmdlet registers an Azure virtual machine as an Azure PowerShell Desired State Configuration (DSC) node in an Azure Automation account.Register-AzureRmAutomationDscNodeResourceGroupNameSpecifies the name of a resource group. The Automation account with which this cmdlet registers a virtual machine belongs to the resource group that this parameter specifies.StringAutomationAccountNameSpecifies the name of an Automation account in which this cmdlet registers a virtual machine.StringActionAfterRebootSpecifies the action that the virtual machine takes after it restarts. Valid values are: ContinueConfiguration and StopConfiguration. ContinueConfigurationStopConfigurationAllowModuleOverwriteSpecifies whether new configurations that this DSC node downloads from the Azure Automation DSC pull server replace the existing modules already on the target node.BooleanAzureVMLocationSpecifies the location in which this cmdlet registers a virtual machine. To obtain valid locations, use the Get-AzureRmLocation cmdlet. StringAzureVMResourceGroupSpecifies the name of the resource group of the Azure virtual machine that this cmdlet registers.StringConfigurationModeSpecifies the DSC configuration mode. Valid values are: -- ApplyAndMonitor -- ApplyAndAutocorrect --- ApplyOnlyApplyAndMonitorApplyAndAutocorrectApplyOnlyConfigurationModeFrequencyMinsSpecifies the frequency, in minutes, at which the background application of DSC attempts to implement the current configuration on the target node.Int32NodeConfigurationNameSpecifies the name of the node configuration that this cmdlet configures the virtual machine to pull from Azure Automation DSC.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileRebootNodeIfNeededSpecifies whether to restart the virtual machine, if needed. BooleanRefreshFrequencyMinsSpecifies the frequency, in minutes, at which the local Configuration Manager contacts the Azure Automation DSC pull server to download the latest node configuration.Int32AzureVMNameSpecifies the name of the Azure virtual machine that this cmdlet registers for management. StringActionAfterRebootSpecifies the action that the virtual machine takes after it restarts. Valid values are: ContinueConfiguration and StopConfiguration. StringStringnoneAllowModuleOverwriteSpecifies whether new configurations that this DSC node downloads from the Azure Automation DSC pull server replace the existing modules already on the target node.BooleanBooleannoneAutomationAccountNameSpecifies the name of an Automation account in which this cmdlet registers a virtual machine.StringStringnoneAzureVMLocationSpecifies the location in which this cmdlet registers a virtual machine. To obtain valid locations, use the Get-AzureRMLocation cmdlet. StringStringnoneAzureVMNameSpecifies the name of the Azure virtual machine that this cmdlet registers for management. StringStringnoneAzureVMResourceGroupSpecifies the name of the resource group of the Azure virtual machine that this cmdlet registers.StringStringnoneConfigurationModeSpecifies the DSC configuration mode. Valid values are: +-- ApplyOnlyApplyAndMonitorApplyAndAutocorrectApplyOnlyConfigurationModeFrequencyMinsSpecifies the frequency, in minutes, at which the background application of DSC attempts to implement the current configuration on the target node.Int32NodeConfigurationNameSpecifies the name of the node configuration that this cmdlet configures the virtual machine to pull from Azure Automation DSC.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileRebootNodeIfNeededSpecifies whether to restart the virtual machine, if needed. BooleanRefreshFrequencyMinsSpecifies the frequency, in minutes, at which the local Configuration Manager contacts the Azure Automation DSC pull server to download the latest node configuration.Int32AzureVMNameSpecifies the name of the Azure virtual machine that this cmdlet registers for management. StringActionAfterRebootSpecifies the action that the virtual machine takes after it restarts. Valid values are: ContinueConfiguration and StopConfiguration. StringStringnoneAllowModuleOverwriteSpecifies whether new configurations that this DSC node downloads from the Azure Automation DSC pull server replace the existing modules already on the target node.BooleanBooleannoneAutomationAccountNameSpecifies the name of an Automation account in which this cmdlet registers a virtual machine.StringStringnoneAzureVMLocationSpecifies the location in which this cmdlet registers a virtual machine. To obtain valid locations, use the Get-AzureRmLocation cmdlet. StringStringnoneAzureVMNameSpecifies the name of the Azure virtual machine that this cmdlet registers for management. StringStringnoneAzureVMResourceGroupSpecifies the name of the resource group of the Azure virtual machine that this cmdlet registers.StringStringnoneConfigurationModeSpecifies the DSC configuration mode. Valid values are: -- ApplyAndMonitor -- ApplyAndAutocorrect --- ApplyOnlyStringStringnoneConfigurationModeFrequencyMinsSpecifies the frequency, in minutes, at which the background application of DSC attempts to implement the current configuration on the target node.Int32Int32noneNodeConfigurationNameSpecifies the name of the node configuration that this cmdlet configures the virtual machine to pull from Azure Automation DSC.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneRebootNodeIfNeededSpecifies whether to restart the virtual machine, if needed. BooleanBooleannoneRefreshFrequencyMinsSpecifies the frequency, in minutes, at which the local Configuration Manager contacts the Azure Automation DSC pull server to download the latest node configuration.Int32Int32noneResourceGroupNameSpecifies the name of a resource group. The Automation account with which this cmdlet registers a virtual machine belongs to the resource group that this parameter specifies.StringStringnone 1: Get-AzureRMAutomationDscNodeSet-AzureRMAutomationDscNodeUnregister-AzureRMAutomationDscNodeRemove-AzureRMAutomationAccountRemoves an Automation account.RemoveAzureAutomationAccountThe Remove-AzureRMAutomationAccount cmdlet removes an Azure Automation account from a resource group.For more information about Automation accounts, type Get-Help New-AzureRMAutomationAccount.Remove-AzureRMAutomationAccountResourceGroupNameSpecifies the name of the resource group from which this cmdlet removes an Automation account.StringNameSpecifies the name of the Automation account that this cmdlet removes.StringForceForces the command to run without asking for user confirmation.ProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileForceForces the command to run without asking for user confirmation.SwitchParameterSwitchParameternoneNameSpecifies the name of the Automation account that this cmdlet removes.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of the resource group from which this cmdlet removes an Automation account.StringStringnone 1: Get-AzureRMAutomationAccountNew-AzureRMAutomationAccountSet-AzureRMAutomationAccountRemove-AzureRMAutomationModuleRemoves a module from Automation.RemoveAzureAutomationModuleThe Remove-AzureRMAutomationModule cmdlet removes a module from an Automation account in Azure Automation.Remove-AzureRMAutomationModuleResourceGroupNameSpecifies the name of a resource group in which this cmdlet removes a module. StringAutomationAccountNameSpecifies the name of the Automation account from which this cmdlet removes a module.StringNameSpecifies the name of the module that this cmdlet removes.StringForceForces the command to run without asking for user confirmation.ProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of the Automation account from which this cmdlet removes a module.StringStringnoneForceForces the command to run without asking for user confirmation.SwitchParameterSwitchParameternoneNameSpecifies the name of the module that this cmdlet removes.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group in which this cmdlet removes a module. StringStringnone 1: Get-AzureRMAutomationModuleNew-AzureRMAutomationModuleSet-AzureRMAutomationModuleSet-AzureRMAutomationAccountModifies an Automation account.SetAzureAutomationAccountThe Set-AzureRMAutomationAccount cmdlet modifies an Azure Automation account.For more information about Automation accounts, type Get-Help New-AzureRMAutomationAccount.Set-AzureRMAutomationAccountResourceGroupNameSpecifies the name of a resource group that contains the Automation account that this cmdlet modifies.StringNameSpecifies the name of the Automation account that this cmdlet modifies.StringPlanSpecifies the plan for the Automation account. Valid values are: Basic and Free.FreeBasicProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileTagsSpecifies Automation account tags for the Automation account.IDictionaryNameSpecifies the name of the Automation account that this cmdlet modifies.StringStringnonePlanSpecifies the plan for the Automation account. Valid values are: Basic and Free.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group that contains the Automation account that this cmdlet modifies.StringStringnoneTagsSpecifies Automation account tags for the Automation account.IDictionaryIDictionarynone 1: Get-AzureRMAutomationAccountNew-AzureRMAutomationAccountRemove-AzureRMAutomationAccountSet-AzureRMAutomationDscNodeModifies the node configuration that a DSC node is mapped to.SetAzureAutomationDscNodeThe Set-AzureRMAutomationDscNode cmdlet modifies a PowerShell Desired State Configuration (DSC) node configuration. Azure Automation stores DSC node configuration as a Managed Object Format (MOF) configuration document.Set-AzureRMAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet modifies a DSC node configuration.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC node for which this cmdlet modifies the configuration.StringForceForces the command to run without asking for user confirmation.ProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileIdSpecifies the unique ID of the DSC node for which this cmdlet modifies the configuration.GuidNodeConfigurationNameSpecifies the name of the node configuration to which this cmdlet maps the node.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC node for which this cmdlet modifies the configuration.StringStringnoneForceForces the command to run without asking for user confirmation.SwitchParameterSwitchParameternoneIdSpecifies the unique ID of the DSC node for which this cmdlet modifies the configuration.GuidGuidnoneNodeConfigurationNameSpecifies the name of the node configuration to which this cmdlet maps the node.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group in which this cmdlet modifies a DSC node configuration.StringStringnone 1: Get-AzureRMAutomationDscNodeRegister-AzureRMAutomationDscNodeUnregister-AzureRMAutomationDscNodeSet-AzureRMAutomationModuleUpdates a module in Automation.SetAzureAutomationModuleThe Set-AzureRMAutomationModule cmdlet updates a module in Azure Automation. This command accepts a compressed file that has a .zip file name extension. The file contains a folder that includes a file that is one of the following types: +-- ApplyOnlyStringStringnoneConfigurationModeFrequencyMinsSpecifies the frequency, in minutes, at which the background application of DSC attempts to implement the current configuration on the target node.Int32Int32noneNodeConfigurationNameSpecifies the name of the node configuration that this cmdlet configures the virtual machine to pull from Azure Automation DSC.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneRebootNodeIfNeededSpecifies whether to restart the virtual machine, if needed. BooleanBooleannoneRefreshFrequencyMinsSpecifies the frequency, in minutes, at which the local Configuration Manager contacts the Azure Automation DSC pull server to download the latest node configuration.Int32Int32noneResourceGroupNameSpecifies the name of a resource group. The Automation account with which this cmdlet registers a virtual machine belongs to the resource group that this parameter specifies.StringStringnone 1: Get-AzureRmAutomationDscNodeSet-AzureRmAutomationDscNodeUnregister-AzureRmAutomationDscNodeRemove-AzureRmAutomationAccountRemoves an Automation account.RemoveAzureAutomationAccountThe Remove-AzureRmAutomationAccount cmdlet removes an Azure Automation account from a resource group.For more information about Automation accounts, type Get-Help New-AzureRmAutomationAccount.Remove-AzureRmAutomationAccountResourceGroupNameSpecifies the name of the resource group from which this cmdlet removes an Automation account.StringNameSpecifies the name of the Automation account that this cmdlet removes.StringForceForces the command to run without asking for user confirmation.ProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileForceForces the command to run without asking for user confirmation.SwitchParameterSwitchParameternoneNameSpecifies the name of the Automation account that this cmdlet removes.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of the resource group from which this cmdlet removes an Automation account.StringStringnone 1: Get-AzureRmAutomationAccountNew-AzureRmAutomationAccountSet-AzureRmAutomationAccountRemove-AzureRmAutomationModuleRemoves a module from Automation.RemoveAzureAutomationModuleThe Remove-AzureRmAutomationModule cmdlet removes a module from an Automation account in Azure Automation.Remove-AzureRmAutomationModuleResourceGroupNameSpecifies the name of a resource group in which this cmdlet removes a module. StringAutomationAccountNameSpecifies the name of the Automation account from which this cmdlet removes a module.StringNameSpecifies the name of the module that this cmdlet removes.StringForceForces the command to run without asking for user confirmation.ProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of the Automation account from which this cmdlet removes a module.StringStringnoneForceForces the command to run without asking for user confirmation.SwitchParameterSwitchParameternoneNameSpecifies the name of the module that this cmdlet removes.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group in which this cmdlet removes a module. StringStringnone 1: Get-AzureRmAutomationModuleNew-AzureRmAutomationModuleSet-AzureRmAutomationModuleSet-AzureRmAutomationAccountModifies an Automation account.SetAzureAutomationAccountThe Set-AzureRmAutomationAccount cmdlet modifies an Azure Automation account.For more information about Automation accounts, type Get-Help New-AzureRmAutomationAccount.Set-AzureRmAutomationAccountResourceGroupNameSpecifies the name of a resource group that contains the Automation account that this cmdlet modifies.StringNameSpecifies the name of the Automation account that this cmdlet modifies.StringPlanSpecifies the plan for the Automation account. Valid values are: Basic and Free.FreeBasicProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileTagsSpecifies Automation account tags for the Automation account.IDictionaryNameSpecifies the name of the Automation account that this cmdlet modifies.StringStringnonePlanSpecifies the plan for the Automation account. Valid values are: Basic and Free.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group that contains the Automation account that this cmdlet modifies.StringStringnoneTagsSpecifies Automation account tags for the Automation account.IDictionaryIDictionarynone 1: Get-AzureRmAutomationAccountNew-AzureRmAutomationAccountRemove-AzureRmAutomationAccountSet-AzureRmAutomationDscNodeModifies the node configuration that a DSC node is mapped to.SetAzureAutomationDscNodeThe Set-AzureRmAutomationDscNode cmdlet modifies a PowerShell Desired State Configuration (DSC) node configuration. Azure Automation stores DSC node configuration as a Managed Object Format (MOF) configuration document.Set-AzureRmAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet modifies a DSC node configuration.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC node for which this cmdlet modifies the configuration.StringForceForces the command to run without asking for user confirmation.ProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileIdSpecifies the unique ID of the DSC node for which this cmdlet modifies the configuration.GuidNodeConfigurationNameSpecifies the name of the node configuration to which this cmdlet maps the node.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC node for which this cmdlet modifies the configuration.StringStringnoneForceForces the command to run without asking for user confirmation.SwitchParameterSwitchParameternoneIdSpecifies the unique ID of the DSC node for which this cmdlet modifies the configuration.GuidGuidnoneNodeConfigurationNameSpecifies the name of the node configuration to which this cmdlet maps the node.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group in which this cmdlet modifies a DSC node configuration.StringStringnone 1: Get-AzureRmAutomationDscNodeRegister-AzureRmAutomationDscNodeUnregister-AzureRmAutomationDscNodeSet-AzureRmAutomationModuleUpdates a module in Automation.SetAzureAutomationModuleThe Set-AzureRmAutomationModule cmdlet updates a module in Azure Automation. This command accepts a compressed file that has a .zip file name extension. The file contains a folder that includes a file that is one of the following types: -- Azure PowerShell module, which has a .psm1 file name extension -- Azure PowerShell module manifest, which has a .psd1 file name extension --- Dynamic link library, which has a .dll file name extensionThe name of the .zip file, the name of the folder, and the name of the file in the folder must be the same.Specify the .zip file as a URL that this computer can access.Set-AzureRMAutomationModuleResourceGroupNameSpecifies the name of a resource group for which this cmdlet updates a module.StringAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet updates a module.StringNameSpecifies the name of the module that this cmdlet imports.StringContentLinkUriSpecifies the URL of the .zip file that contains the new version of a module that this cmdlet imports.UriContentLinkVersionSpecifies the version of the module to which this cmdlet updates Automation.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet updates a module.StringStringnoneContentLinkUriSpecifies the URL of the .zip file that contains the new version of a module that this cmdlet imports.UriUrinoneContentLinkVersionSpecifies the version of the module to which this cmdlet updates Automation.StringStringnoneNameSpecifies the name of the module that this cmdlet imports.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group for which this cmdlet updates a module.StringStringnone 1: Get-AzureRMAutomationModuleNew-AzureRMAutomationModuleRemove-AzureRMAutomationModuleStart-AzureRMAutomationDscCompilationJobCompiles a DSC configuration in Automation.StartAzureAutomationDscCompilationJobThe Start-AzureRMAutomationDscCompilationJob cmdlet compiles an Azure PowerShell Desired State Configuration (DSC) configuration in Azure Automation. Start-AzureRMAutomationDscCompilationJobResourceGroupNameSpecifies the name of a resource group in which this cmdlet compiles a configuration.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC configuration that this cmdlet compiles. StringConfigurationNameSpecifies the name of the DSC configuration that this cmdlet compiles. StringParametersSpecifies a dictionary of parameters that this cmdlet uses to compile the DSC configuration. IDictionaryProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of the Automation account that contains the DSC configuration that this cmdlet compiles. StringStringnoneConfigurationNameSpecifies the name of the DSC configuration that this cmdlet compiles. StringStringnoneParametersSpecifies a dictionary of parameters that this cmdlet uses to compile the DSC configuration. IDictionaryIDictionarynoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group in which this cmdlet compiles a configuration.StringStringnone 1: Get-AzureRMAutomationDscCompilationJobGet-AzureRMAutomationDscCompilationJobOutputUnregister-AzureRMAutomationDscNodeRemoves a DSC node from management by an Automation account.UnregisterAzureAutomationDscNodeThe Unregister-AzureRMAutomationDscNode cmdlet removes an Azure PowerShell Desired State Configuration (DSC) node from management by an Azure Automation account.Unregister-AzureRMAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet unregisters a DSC node.StringAutomationAccountNameSpecifies the name of the Automation account from which this cmdlet removes a DSC node.StringForceForces the command to run without asking for user confirmation.ProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileIdSpecifies the unique ID of the DSC node that this cmdlet removes.GuidAutomationAccountNameSpecifies the name of the Automation account from which this cmdlet removes a DSC node.StringStringnoneForceForces the command to run without asking for user confirmation.SwitchParameterSwitchParameternoneIdSpecifies the unique ID of the DSC node that this cmdlet removes.GuidGuidnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group in which this cmdlet unregisters a DSC node.StringStringnone 1: Get-AzureRMAutomationDscNodeRegister-AzureRMAutomationDscNodeSet-AzureRMAutomationDscNode +-- Dynamic link library, which has a .dll file name extensionThe name of the .zip file, the name of the folder, and the name of the file in the folder must be the same.Specify the .zip file as a URL that this computer can access.Set-AzureRmAutomationModuleResourceGroupNameSpecifies the name of a resource group for which this cmdlet updates a module.StringAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet updates a module.StringNameSpecifies the name of the module that this cmdlet imports.StringContentLinkUriSpecifies the URL of the .zip file that contains the new version of a module that this cmdlet imports.UriContentLinkVersionSpecifies the version of the module to which this cmdlet updates Automation.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of the Automation account for which this cmdlet updates a module.StringStringnoneContentLinkUriSpecifies the URL of the .zip file that contains the new version of a module that this cmdlet imports.UriUrinoneContentLinkVersionSpecifies the version of the module to which this cmdlet updates Automation.StringStringnoneNameSpecifies the name of the module that this cmdlet imports.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group for which this cmdlet updates a module.StringStringnone 1: Get-AzureRmAutomationModuleNew-AzureRmAutomationModuleRemove-AzureRmAutomationModuleStart-AzureRmAutomationDscCompilationJobCompiles a DSC configuration in Automation.StartAzureAutomationDscCompilationJobThe Start-AzureRmAutomationDscCompilationJob cmdlet compiles an Azure PowerShell Desired State Configuration (DSC) configuration in Azure Automation. Start-AzureRmAutomationDscCompilationJobResourceGroupNameSpecifies the name of a resource group in which this cmdlet compiles a configuration.StringAutomationAccountNameSpecifies the name of the Automation account that contains the DSC configuration that this cmdlet compiles. StringConfigurationNameSpecifies the name of the DSC configuration that this cmdlet compiles. StringParametersSpecifies a dictionary of parameters that this cmdlet uses to compile the DSC configuration. IDictionaryProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAutomationAccountNameSpecifies the name of the Automation account that contains the DSC configuration that this cmdlet compiles. StringStringnoneConfigurationNameSpecifies the name of the DSC configuration that this cmdlet compiles. StringStringnoneParametersSpecifies a dictionary of parameters that this cmdlet uses to compile the DSC configuration. IDictionaryIDictionarynoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group in which this cmdlet compiles a configuration.StringStringnone 1: Get-AzureRmAutomationDscCompilationJobGet-AzureRmAutomationDscCompilationJobOutputUnregister-AzureRmAutomationDscNodeRemoves a DSC node from management by an Automation account.UnregisterAzureAutomationDscNodeThe Unregister-AzureRmAutomationDscNode cmdlet removes an Azure PowerShell Desired State Configuration (DSC) node from management by an Azure Automation account.Unregister-AzureRmAutomationDscNodeResourceGroupNameSpecifies the name of a resource group in which this cmdlet unregisters a DSC node.StringAutomationAccountNameSpecifies the name of the Automation account from which this cmdlet removes a DSC node.StringForceForces the command to run without asking for user confirmation.ProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileIdSpecifies the unique ID of the DSC node that this cmdlet removes.GuidAutomationAccountNameSpecifies the name of the Automation account from which this cmdlet removes a DSC node.StringStringnoneForceForces the command to run without asking for user confirmation.SwitchParameterSwitchParameternoneIdSpecifies the unique ID of the DSC node that this cmdlet removes.GuidGuidnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the name of a resource group in which this cmdlet unregisters a DSC node.StringStringnone 1: Get-AzureRmAutomationDscNodeRegister-AzureRmAutomationDscNodeSet-AzureRmAutomationDscNode diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupContainerTests.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupContainerTests.ps1 index b8cc114d0723..373a88958ad1 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupContainerTests.ps1 +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupContainerTests.ps1 @@ -21,9 +21,9 @@ $ContainerStatus = "Registered" function Test-AzureBackupMarsContainerScenario { - $vault = Get-AzureRMBackupVault -ResourceGroupName $ResourceGroupName -Name $ResourceName + $vault = Get-AzureRmBackupVault -ResourceGroupName $ResourceGroupName -Name $ResourceName - $containers = Get-AzureRMBackupContainer -vault $vault -type $ContainerType + $containers = Get-AzureRmBackupContainer -vault $vault -type $ContainerType Assert-AreEqual $containers[0].ContainerType $ContainerType; Assert-AreEqual $containers[0].Id $ContainerId; Assert-AreEqual $containers[0].Location $vault.Region; @@ -32,7 +32,7 @@ function Test-AzureBackupMarsContainerScenario Assert-AreEqual $containers[0].ResourceName $vault.Name; Assert-AreEqual $containers[0].Status $ContainerStatus; - $namedContainers = Get-AzureRMBackupContainer -vault $vault -type $ContainerType -name $ContainerName + $namedContainers = Get-AzureRmBackupContainer -vault $vault -type $ContainerType -name $ContainerName $container = $namedContainers[0]; Assert-AreEqual $container.ContainerType $ContainerType; Assert-AreEqual $container.Id $ContainerId; @@ -42,11 +42,11 @@ function Test-AzureBackupMarsContainerScenario Assert-AreEqual $container.ResourceName $vault.Name; Assert-AreEqual $container.Status $ContainerStatus; - Enable-AzureRMBackupContainerReregistration -Container $container + Enable-AzureRmBackupContainerReregistration -Container $container - Unregister-AzureRMBackupContainer -Container $container -Force + Unregister-AzureRmBackupContainer -Container $container -Force - $unregContainers = Get-AzureRMBackupContainer -vault $vault -type $ContainerType -name $ContainerName + $unregContainers = Get-AzureRmBackupContainer -vault $vault -type $ContainerType -name $ContainerName Assert-AreEqual $unregContainers.Count 0; } @@ -58,8 +58,8 @@ $VaultResourceRGName = "backuprg" function Test-RegisterAzureBackupContainer { - $vault = Get-AzureRMBackupVault -Name $VaultResourceName - $jobId = Register-AzureRMBackupContainer -vault $vault -Name $IaasVMManagedResourceName -ServiceName $IaasVMManagedResourceGroupName + $vault = Get-AzureRmBackupVault -Name $VaultResourceName + $jobId = Register-AzureRmBackupContainer -vault $vault -Name $IaasVMManagedResourceName -ServiceName $IaasVMManagedResourceGroupName Assert-NotNull $jobId 'Job should not be null'; } @@ -67,9 +67,9 @@ function Test-RegisterAzureBackupContainer function Test-UnregisterAzureBackupContainer { - $vault = Get-AzureRMBackupVault -Name $VaultResourceName - $container = Get-AzureRMBackupContainer -Name $IaasVMManagedResourceName -Type AzureVM -ManagedResourceGroupName $IaasVMManagedResourceGroupName -Vault $vault - $jobId = Unregister-AzureRMBackupContainer -Container $container + $vault = Get-AzureRmBackupVault -Name $VaultResourceName + $container = Get-AzureRmBackupContainer -Name $IaasVMManagedResourceName -Type AzureVM -ManagedResourceGroupName $IaasVMManagedResourceGroupName -Vault $vault + $jobId = Unregister-AzureRmBackupContainer -Container $container Assert-NotNull $jobId 'Job should not be null'; } @@ -81,9 +81,9 @@ $BMSContainerStatus = "Registered" function Test-AzureBackupContainerScenario { - $vault = Get-AzureRMBackupVault -ResourceGroupName $ResourceGroupName -Name $ResourceName + $vault = Get-AzureRmBackupVault -ResourceGroupName $ResourceGroupName -Name $ResourceName - $containers = Get-AzureRMBackupContainer -vault $vault -type $BMSContainerType + $containers = Get-AzureRmBackupContainer -vault $vault -type $BMSContainerType Assert-AreEqual $containers[0].ContainerType $BMSContainerType; Assert-AreEqual $containers[0].ContainerUniqueName $BMSContainerUniqueName; Assert-AreEqual $containers[0].Location $vault.Region; @@ -92,7 +92,7 @@ function Test-AzureBackupContainerScenario Assert-AreEqual $containers[0].ResourceName $vault.Name; Assert-AreEqual $containers[0].Status $BMSContainerStatus; - $namedContainers = Get-AzureRMBackupContainer -vault $vault -type $BMSContainerType -name $BMSContainerName + $namedContainers = Get-AzureRmBackupContainer -vault $vault -type $BMSContainerType -name $BMSContainerName $container = $namedContainers[0]; Assert-AreEqual $container.ContainerType $BMSContainerType; Assert-AreEqual $container.ContainerUniqueName $BMSContainerUniqueName; diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupItemTestCases.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupItemTestCases.ps1 index b2c9869ebc92..9f0217553376 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupItemTestCases.ps1 +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupItemTestCases.ps1 @@ -33,7 +33,7 @@ function Test-GetAzureBackupItemTests $azureBackUpContainer.Location = $Location $azureBackUpContainer.ContainerUniqueName = $ContainerName $azureBackUpContainer.ContainerType = $ContainerType - $item = Get-AzureRMBackupItem -Container $azureBackUpContainer + $item = Get-AzureRmBackupItem -Container $azureBackUpContainer if (!($item -eq $null)) { foreach($backupitem in $item) @@ -52,8 +52,8 @@ function Test-GetAzureBackupItemTests function Test-EnableAzureBackupProtection { - $vault = Get-AzureRMBackupVault -Name $ResourceName - $policyList = Get-AzureRMBackupProtectionPolicy -Vault $vault + $vault = Get-AzureRmBackupVault -Name $ResourceName + $policyList = Get-AzureRmBackupProtectionPolicy -Vault $vault $policy = $policyList[0] $azureBackUpItem = New-Object Microsoft.Azure.Commands.AzureBackup.Models.AzureRMBackupItem @@ -65,7 +65,7 @@ function Test-EnableAzureBackupProtection $azureBackUpItem.Type = $DataSourceType $azureBackUpItem.Name = $POName $azureBackUpItem.ItemName = $itemName - $jobId = Enable-AzureRMBackupProtection -Item $azureBackUpItem -Policy $policy + $jobId = Enable-AzureRmBackupProtection -Item $azureBackUpItem -Policy $policy } @@ -80,5 +80,5 @@ function Test-DisableAzureBackupProtection $azureBackUpItem.Type = $DataSourceType $azureBackUpItem.ItemName = $itemName $azureBackUpItem.Name = $POName - $jobId1 = Disable-AzureRMBackupProtection -Item $azureBackUpItem + $jobId1 = Disable-AzureRmBackupProtection -Item $azureBackUpItem } diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupJobTests.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupJobTests.ps1 index 7feb00a08496..07e070a22e74 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupJobTests.ps1 +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupJobTests.ps1 @@ -28,10 +28,10 @@ $ItemName = "iaasvmcontainer;hydrarecordvm;hydrarecordvm" function Test-GetAzureRMBackupJob { - $vault = Get-AzureRMBackupVault -Name $ResourceName; + $vault = Get-AzureRmBackupVault -Name $ResourceName; $OneMonthBack = Get-Date -Date "2015-07-15 09:39:29Z"; $now = Get-Date -Date "2015-08-14 09:39:29Z"; - $jobs = Get-AzureRMBackupJob -Vault $vault -From $OneMonthBack -To $now + $jobs = Get-AzureRmBackupJob -Vault $vault -From $OneMonthBack -To $now Assert-NotNull $jobs 'Jobs list should not be null' foreach($job in $jobs) { @@ -42,7 +42,7 @@ function Test-GetAzureRMBackupJob Assert-NotNull $jobs.Status 'Status should not be null'; Assert-NotNull $jobs.Operation 'Operation should not be null'; - $jobDetails = Get-AzureRMBackupJobDetails -Job $job + $jobDetails = Get-AzureRmBackupJobDetails -Job $job Assert-NotNull $jobDetails.InstanceId 'JobID should not be null'; Assert-NotNull $jobDetails.StartTime 'StartTime should not be null'; Assert-NotNull $jobDetails.WorkloadType 'WorkloadType should not be null'; @@ -63,10 +63,10 @@ function Test-StopAzureRMBackupJob $AzureRMBackupItem.Location = $Location $AzureRMBackupItem.ContainerUniqueName = $ContainerName $AzureRMBackupItem.ItemName = $ItemName - $job = Backup-AzureRMBackupItem -Item $AzureRMBackupItem + $job = Backup-AzureRmBackupItem -Item $AzureRMBackupItem - Stop-AzureRMBackupJob -Job $job; - Wait-AzureRMBackupJob -Job $job; - $jobDetails = Get-AzureRMBackupJobDetails -Job $job; + Stop-AzureRmBackupJob -Job $job; + Wait-AzureRmBackupJob -Job $job; + $jobDetails = Get-AzureRmBackupJobDetails -Job $job; Assert-AreEqual 'Cancelled' $jobDetails.Status } diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupPolicyTests.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupPolicyTests.ps1 index 824ae6637d0f..9627d9614bd8 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupPolicyTests.ps1 +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupPolicyTests.ps1 @@ -33,8 +33,8 @@ Tests creating new resource group and a simple resource. #> function Test-GetAzureBackupProtectionPolicyTests { - $vault = Get-AzureRMBackupVault -Name $ResourceName; - $protectionPolicies = Get-AzureRMBackupProtectionPolicy -vault $vault + $vault = Get-AzureRmBackupVault -Name $ResourceName; + $protectionPolicies = Get-AzureRmBackupProtectionPolicy -vault $vault Assert-NotNull $protectionPolicies 'Protection Policies should not be null' foreach($protectionPolicy in $protectionPolicies) { @@ -50,8 +50,8 @@ function Test-GetAzureBackupProtectionPolicyTests function Test-GetAzureBackupProtectionPolicyByNameTests { - $vault = Get-AzureRMBackupVault -Name $ResourceName; - $protectionPolicy = Get-AzureRMBackupProtectionPolicy -vault $vault -Name $PolicyName + $vault = Get-AzureRmBackupVault -Name $ResourceName; + $protectionPolicy = Get-AzureRmBackupProtectionPolicy -vault $vault -Name $PolicyName Assert-NotNull $protectionPolicy.Name 'Name should not be null' Assert-NotNull $protectionPolicy.Type 'Type should not be null' @@ -65,12 +65,12 @@ function Test-GetAzureBackupProtectionPolicyByNameTests function Test-NewAzureBackupProtectionPolicyTests { - $vault = Get-AzureRMBackupVault -Name $ResourceName; - $r1 = New-AzureRMBackupRetentionPolicyObject -DailyRetention -Retention 20 - $r2 = New-AzureRMBackupRetentionPolicyObject -WeeklyRetention -DaysOfWeek "Monday" -Retention 10 + $vault = Get-AzureRmBackupVault -Name $ResourceName; + $r1 = New-AzureRmBackupRetentionPolicyObject -DailyRetention -Retention 20 + $r2 = New-AzureRmBackupRetentionPolicyObject -WeeklyRetention -DaysOfWeek "Monday" -Retention 10 $r = ($r1, $r2) - $protectionPolicy = New-AzureRMBackupProtectionPolicy -vault $vault -Name $PolicyName -Type $Type -Daily -RetentionPolicy $r -BackupTime $BackupTime + $protectionPolicy = New-AzureRmBackupProtectionPolicy -vault $vault -Name $PolicyName -Type $Type -Daily -RetentionPolicy $r -BackupTime $BackupTime Assert-NotNull $protectionPolicy.Name 'Name should not be null' Assert-NotNull $protectionPolicy.Type 'Type should not be null' @@ -83,17 +83,17 @@ function Test-NewAzureBackupProtectionPolicyTests function Test-SetAzureBackupProtectionPolicyTests { - $vault = Get-AzureRMBackupVault -Name $ResourceName; - $protectionPolicy = Get-AzureRMBackupProtectionPolicy -vault $vault -Name $PolicyName + $vault = Get-AzureRmBackupVault -Name $ResourceName; + $protectionPolicy = Get-AzureRmBackupProtectionPolicy -vault $vault -Name $PolicyName $policyNewName = "policy09-new" - Set-AzureRMBackupProtectionPolicy -ProtectionPolicy $protectionPolicy -NewName $policyNewName + Set-AzureRmBackupProtectionPolicy -ProtectionPolicy $protectionPolicy -NewName $policyNewName } function Test-RemoveAzureBackupProtectionPolicyTests { - $vault = Get-AzureRMBackupVault -Name $ResourceName; - $protectionPolicy = Get-AzureRMBackupProtectionPolicy -vault $vault -Name $PolicyName + $vault = Get-AzureRmBackupVault -Name $ResourceName; + $protectionPolicy = Get-AzureRmBackupProtectionPolicy -vault $vault -Name $PolicyName - Remove-AzureRMBackupProtectionPolicy -ProtectionPolicy $protectionPolicy + Remove-AzureRmBackupProtectionPolicy -ProtectionPolicy $protectionPolicy } diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupScenarioTests.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupScenarioTests.ps1 index a807675645ce..61f98fedb1a1 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupScenarioTests.ps1 +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupScenarioTests.ps1 @@ -21,19 +21,19 @@ $RestoreStorageAccount = "e2estore" function Test-AzureBackupEndToEnd { - New-AzureRMBackupVault -ResourceGroupName $ResourceGroupName -Name $ResourceName -Region $Location; - $vault = Get-AzureRMBackupVault -Name $ResourceName; - $Job = Register-AzureRMBackupContainer -Vault $vault -Name $VirtualMachineName -ServiceName $VirtualMachineName; - Wait-AzureRMBackupJob -Job $Job; - $JobDetails = Get-AzureRMBackupJobDetails -Vault $vault -JobId $Job.InstanceId; + New-AzureRmBackupVault -ResourceGroupName $ResourceGroupName -Name $ResourceName -Region $Location; + $vault = Get-AzureRmBackupVault -Name $ResourceName; + $Job = Register-AzureRmBackupContainer -Vault $vault -Name $VirtualMachineName -ServiceName $VirtualMachineName; + Wait-AzureRmBackupJob -Job $Job; + $JobDetails = Get-AzureRmBackupJobDetails -Vault $vault -JobId $Job.InstanceId; Assert-AreEqual $JobDetails.Status "Completed"; - $r1 = New-AzureRMBackupRetentionPolicyObject -DailyRetention -Retention 20; - $r2 = New-AzureRMBackupRetentionPolicyObject -WeeklyRetention -DaysOfWeek "Monday" -Retention 10; - $r3 = New-AzureRMBackupRetentionPolicyObject -MonthlyRetentionInDailyFormat -DaysOfMonth "10" -Retention 10; + $r1 = New-AzureRmBackupRetentionPolicyObject -DailyRetention -Retention 20; + $r2 = New-AzureRmBackupRetentionPolicyObject -WeeklyRetention -DaysOfWeek "Monday" -Retention 10; + $r3 = New-AzureRmBackupRetentionPolicyObject -MonthlyRetentionInDailyFormat -DaysOfMonth "10" -Retention 10; $r = ($r1, $r2, $r3); $backupTime = (Get-Date("17 August 2015 15:30:00")).ToUniversalTime(); - $protectionpolicy = New-AzureRMBackupProtectionPolicy -Vault $vault -Name $ProtectionPolicyName -Type "AzureVM" -Daily -BackupTime $backupTime -RetentionPolicy $r; + $protectionpolicy = New-AzureRmBackupProtectionPolicy -Vault $vault -Name $ProtectionPolicyName -Type "AzureVM" -Daily -BackupTime $backupTime -RetentionPolicy $r; Assert-AreEqual $protectionpolicy.Name $ProtectionPolicyName; Assert-AreEqual $protectionpolicy.Type "AzureVM"; @@ -43,7 +43,7 @@ function Test-AzureBackupEndToEnd Assert-AreEqual $protectionpolicy.ResourceName $ResourceName; Assert-AreEqual $protectionpolicy.Location $Location; - $container = Get-AzureRMBackupContainer -Vault $vault -Name $VirtualMachineName -Type "AzureVM"; + $container = Get-AzureRmBackupContainer -Vault $vault -Name $VirtualMachineName -Type "AzureVM"; Assert-AreEqual $container.ContainerType "AzureVM"; Assert-AreEqual $container.ContainerUniqueName.Contains("iaasvmcontainer") "True"; Assert-AreEqual $container.ContainerUniqueName.Contains($VirtualMachineName) "True"; @@ -52,9 +52,9 @@ function Test-AzureBackupEndToEnd Assert-AreEqual $container.ResourceName $ResourceName; Assert-AreEqual $container.Location $Location; - $Job = Enable-AzureRMBackupProtection -Item $container[0] -Policy $protectionpolicy[0]; - Wait-AzureRMBackupJob -Job $Job; - $JobDetails = Get-AzureRMBackupJobDetails -Vault $vault -JobID $Job.InstanceId; + $Job = Enable-AzureRmBackupProtection -Item $container[0] -Policy $protectionpolicy[0]; + Wait-AzureRmBackupJob -Job $Job; + $JobDetails = Get-AzureRmBackupJobDetails -Vault $vault -JobID $Job.InstanceId; Assert-AreEqual $JobDetails.Operation "ConfigureBackup"; Assert-AreEqual $JobDetails.Status "Completed"; Assert-AreEqual $JobDetails.WorkloadName $VirtualMachineName; @@ -64,7 +64,7 @@ function Test-AzureBackupEndToEnd Assert-AreEqual $JobDetails.ResourceName $ResourceName; Assert-AreEqual $JobDetails.Location $Location; - $item = Get-AzureRMBackupItem -Container $container[0]; + $item = Get-AzureRmBackupItem -Container $container[0]; Assert-AreEqual $item.ProtectionStatus "Protected"; Assert-AreEqual $item.DataSourceStatus "IRPending"; Assert-AreEqual $item.ProtectionPolicyName $ProtectionPolicyName; @@ -76,9 +76,9 @@ function Test-AzureBackupEndToEnd Assert-AreEqual $item.ResourceName $ResourceName; Assert-AreEqual $item.Location $Location; - $Job = Backup-AzureRMBackupItem -Item $item[0]; - Wait-AzureRMBackupJob -Job $Job; - $JobDetails = Get-AzureRMBackupJobDetails -Vault $vault -JobID $Job.InstanceId; + $Job = Backup-AzureRmBackupItem -Item $item[0]; + Wait-AzureRmBackupJob -Job $Job; + $JobDetails = Get-AzureRmBackupJobDetails -Vault $vault -JobID $Job.InstanceId; Assert-AreEqual $JobDetails.Operation "Backup"; Assert-AreEqual $JobDetails.Status "Completed"; Assert-NotNull $JobDetails.WorkloadType; @@ -88,7 +88,7 @@ function Test-AzureBackupEndToEnd Assert-AreEqual $JobDetails.ResourceName $ResourceName; Assert-AreEqual $JobDetails.Location $Location; - $item = Get-AzureRMBackupItem -Container $container[0]; + $item = Get-AzureRmBackupItem -Container $container[0]; Assert-AreEqual $item.ProtectionStatus "Protected"; Assert-AreEqual $item.DataSourceStatus "Protected"; Assert-AreEqual $item.ProtectionPolicyName $ProtectionPolicyName; @@ -97,7 +97,7 @@ function Test-AzureBackupEndToEnd Assert-AreEqual $item.ResourceName $ResourceName; Assert-AreEqual $item.Location $Location; - $recoveryPoints = Get-AzureRMBackupRecoveryPoint -Item $item[0]; + $recoveryPoints = Get-AzureRmBackupRecoveryPoint -Item $item[0]; Assert-NotNull $recoveryPoints.RecoveryPointTime; Assert-NotNull $recoveryPoints.RecoveryPointName; # Assert-AreEqual $recoveryPoints.RecoveryPointType "FileSystemConsistent"; @@ -105,9 +105,9 @@ function Test-AzureBackupEndToEnd Assert-AreEqual $recoveryPoints.ItemName.Contains($VirtualMachineName) "True"; Assert-AreEqual $recoveryPoints.ItemName.Contains("iaasvmcontainer") "True"; - $Job = Restore-AzureRMBackupItem -RecoveryPoint $recoveryPoints -StorageAccountName $RestoreStorageAccount; - Wait-AzureRMBackupJob -Job $Job; - $JobDetails = Get-AzureRMBackupJobDetails -Vault $vault -JobID $Job.InstanceId; + $Job = Restore-AzureRmBackupItem -RecoveryPoint $recoveryPoints -StorageAccountName $RestoreStorageAccount; + Wait-AzureRmBackupJob -Job $Job; + $JobDetails = Get-AzureRmBackupJobDetails -Vault $vault -JobID $Job.InstanceId; Assert-AreEqual $JobDetails.Operation "Restore"; Assert-AreEqual $JobDetails.Status "Completed"; Assert-NotNull $JobDetails.WorkloadType; @@ -118,9 +118,9 @@ function Test-AzureBackupEndToEnd Assert-AreEqual $JobDetails.ResourceName $ResourceName; Assert-AreEqual $JobDetails.Location $Location; - $Job = Disable-AzureRMBackupProtection -RemoveRecoveryPoints -Item $item[0]; - Wait-AzureRMBackupJob -Job $Job; - $JobDetails = Get-AzureRMBackupJobDetails -Vault $vault -JobID $Job.InstanceId; + $Job = Disable-AzureRmBackupProtection -RemoveRecoveryPoints -Item $item[0]; + Wait-AzureRmBackupJob -Job $Job; + $JobDetails = Get-AzureRmBackupJobDetails -Vault $vault -JobID $Job.InstanceId; Assert-AreEqual $JobDetails.Operation "Unprotect"; Assert-AreEqual $JobDetails.Status "Completed"; Assert-AreEqual $JobDetails.WorkloadName $VirtualMachineName; @@ -130,17 +130,17 @@ function Test-AzureBackupEndToEnd Assert-AreEqual $JobDetails.ResourceName $ResourceName; Assert-AreEqual $JobDetails.Location $Location; - $Job = Unregister-AzureRMBackupContainer -Container $container[0]; - Wait-AzureRMBackupJob -Job $Job; - $JobDetails = Get-AzureRMBackupJobDetails -Vault $vault -JobId $Job.InstanceId; + $Job = Unregister-AzureRmBackupContainer -Container $container[0]; + Wait-AzureRmBackupJob -Job $Job; + $JobDetails = Get-AzureRmBackupJobDetails -Vault $vault -JobId $Job.InstanceId; Assert-AreEqual $JobDetails.Operation "UnRegister"; Assert-AreEqual $JobDetails.Status "Completed"; Assert-AreEqual $JobDetails.WorkloadName $VirtualMachineName; - Remove-AzureRMBackupProtectionPolicy -ProtectionPolicy $protectionpolicy; + Remove-AzureRmBackupProtectionPolicy -ProtectionPolicy $protectionpolicy; - Remove-AzureRMBackupVault -Vault $vault; + Remove-AzureRmBackupVault -Vault $vault; - $deletedVault = Get-AzureRMBackupVault -Name $ResourceName; + $deletedVault = Get-AzureRmBackupVault -Name $ResourceName; Assert-Null $deletedVault; } \ No newline at end of file diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupVaultTests.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupVaultTests.ps1 index 1b9452cf1767..40df189fdf76 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupVaultTests.ps1 +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupVaultTests.ps1 @@ -19,28 +19,28 @@ $CertTargetLocation = (Get-Item -Path ".\" -Verbose).FullName; function Test-AzureBackupVaultScenario { - $vault = New-AzureRMBackupVault -ResourceGroupName $ResourceGroupName -Name $ResourceName -Region $Location -Storage "LocallyRedundant"; + $vault = New-AzureRmBackupVault -ResourceGroupName $ResourceGroupName -Name $ResourceName -Region $Location -Storage "LocallyRedundant"; Assert-AreEqual $vault.Name $ResourceName; Assert-AreEqual $vault.ResourceGroupName $ResourceGroupName; Assert-AreEqual $vault.Region $Location; Assert-AreEqual $vault.Storage "LocallyRedundant"; - $vault = Get-AzureRMBackupVault -ResourceGroupName $ResourceGroupName -Name $ResourceName + $vault = Get-AzureRmBackupVault -ResourceGroupName $ResourceGroupName -Name $ResourceName Assert-AreEqual $vault.Name $ResourceName; Assert-AreEqual $vault.ResourceGroupName $ResourceGroupName; Assert-AreEqual $vault.Region $Location; Assert-AreEqual $vault.Storage "LocallyRedundant"; - $fileName = Get-AzureRMBackupVaultCredentials -vault $vault -TargetLocation $CertTargetLocation + $fileName = Get-AzureRmBackupVaultCredentials -vault $vault -TargetLocation $CertTargetLocation Assert-NotNull $fileName 'File name should not be null'; $certFileFullPath = [io.path]::combine($CertTargetLocation, $fileName); Assert-True {{ Test-Path $certFileFullPath }} - $vault = Set-AzureRMBackupVault -vault $vault -Storage "GeoRedundant"; + $vault = Set-AzureRmBackupVault -vault $vault -Storage "GeoRedundant"; Assert-AreEqual $vault.Name $ResourceName; Assert-AreEqual $vault.ResourceGroupName $ResourceGroupName; Assert-AreEqual $vault.Region $Location; Assert-AreEqual $vault.Storage "GeoRedundant"; - Remove-AzureRMBackupVault -Vault $vault; + Remove-AzureRmBackupVault -Vault $vault; } diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/BackupItemTests.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/BackupItemTests.ps1 index 99f45273876e..c8569cbce528 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/BackupItemTests.ps1 +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/BackupItemTests.ps1 @@ -33,5 +33,5 @@ function Test-BackUpAzureBackUpItem $AzureRMBackupItem.Location = $Location $AzureRMBackupItem.ContainerUniqueName = $ContainerName $AzureRMBackupItem.ItemName = $ItemName - $jobId = Backup-AzureRMBackupItem -Item $AzureRMBackupItem + $jobId = Backup-AzureRmBackupItem -Item $AzureRMBackupItem } diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RecoveryPointTests.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RecoveryPointTests.ps1 index 2ab904cebc40..cd081e292baf 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RecoveryPointTests.ps1 +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RecoveryPointTests.ps1 @@ -34,7 +34,7 @@ function Test-GetAzureRecoveryPoints $azureBackUpItem.Location = $Location $azureBackUpItem.ContainerUniqueName = $ContainerName $azureBackUpItem.ItemName = $ItemName - $recoveryPoints = Get-AzureRMBackupRecoveryPoint -Item $azureBackUpItem + $recoveryPoints = Get-AzureRmBackupRecoveryPoint -Item $azureBackUpItem if (!($recoveryPoints -eq $null)) { foreach($recoveryPoint in $recoveryPoints) @@ -54,7 +54,7 @@ function Test-GetAzureRecoveryPoint $azureBackUpItem.Location = $Location $azureBackUpItem.ContainerUniqueName = $ContainerName $azureBackUpItem.ItemName = $ItemName - $recoveryPoint = Get-AzureRMBackupRecoveryPoint -Item $azureBackUpItem -RecoveryPointId $RecoveryPointName + $recoveryPoint = Get-AzureRmBackupRecoveryPoint -Item $azureBackUpItem -RecoveryPointId $RecoveryPointName if (!($recoveryPoint -eq $null)) { Assert-NotNull $recoveryPoint.RecoveryPointTime 'RecoveryPointTime should not be null' diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RestoreItemTests.ps1 b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RestoreItemTests.ps1 index 77ed19cfdade..4d92bdd3e32d 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RestoreItemTests.ps1 +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/RestoreItemTests.ps1 @@ -36,5 +36,5 @@ function Test-RestoreAzureBackUpItem $azureBackUpRecoveryPoint.ContainerUniqueName = $ContainerName $azureBackUpRecoveryPoint.ItemName = $ItemName $azureBackUpRecoveryPoint.RecoveryPointName = $RecoveryPointName - $jobId = Restore-AzureRMBackupItem -RecoveryPoint $azureBackUpRecoveryPoint -StorageAccountName $StorageAccountName + $jobId = Restore-AzureRmBackupItem -RecoveryPoint $azureBackUpRecoveryPoint -StorageAccountName $StorageAccountName } diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupCmdletHelpMessage.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupCmdletHelpMessage.cs index 17f92b3a7ecb..2ed6bd82fbab 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupCmdletHelpMessage.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupCmdletHelpMessage.cs @@ -24,51 +24,51 @@ internal static class AzureBackupCmdletHelpMessage public const string RetentionType = "Unit of retention for the recovery point."; public const string RententionDuration = "Specifies how long a recovery point will be retained, for a given RetentionType."; - /* Get-AzureRMBackupVault */ + /* Get-AzureRmBackupVault */ public const string ResourceGroupName = "The ResourceGroup in which the Azure resource is placed."; public const string ResourceName = "The name of the Azure resource."; - /* New-AzureRMBackupVault */ + /* New-AzureRmBackupVault */ //public const string ResourceGroupName //public const string ResourceName public const string Location = "The Azure region where the Backup vault is located."; public const string StorageType = "The storage redundancy for the backup data stored in the vault. The currently supported storage redundancy options are Locally Redundant Storage (LRS) and Geo-Redundant Storage (GRS)."; - /* Set-AzureRMBackupVault */ + /* Set-AzureRmBackupVault */ //public const string Vault //public const string StorageType - /* Get-AzureRMBackupVaultCredentials */ + /* Get-AzureRmBackupVaultCredentials */ //public const string Vault public const string TargetLocation = "The directory where the vault credentials file will be saved. This must be specified as an absolute path."; - /* Get-AzureRMBackupContainer */ + /* Get-AzureRmBackupContainer */ public const string ManagedResourceName = "The name of the resource being managed by the Azure Backup service (for example: resource name of the VM)."; public const string ManagedResourceGroupName = "The ResourceGroup of the resource being managed by the Azure Backup service (for example: ResourceGroup name of the VM)."; public const string ContainerRegistrationStatus = "The registration status of the Azure Backup container."; public const string ContainerType = "The type of the Azure Backup container. This can be a Windows Server, an Azure IaaS VM, or a Data Protection Manager server."; //public const string Vault - /* Get-AzureRMBackupItem */ + /* Get-AzureRmBackupItem */ public const string AzureBackupContainer = "The Azure Backup container object which is the parent resource for the Azure Backup Item. The container can be a Windows Server, an Azure IaaS VM, or a Data Protection Manager server."; public const string ProtectionStatus = "Protection Status of the azure backup item."; public const string Status = "Status of Azure Backup Item"; public const string Type = "Type of Azure Backup Item."; - /* Enable-AzureRMBackupProtection */ + /* Enable-AzureRmBackupProtection */ public const string AzureBackupItemEnable = "The Azure Backup item that is being enabled for protection."; public const string PolicyObject = "The Protection Policy object that contains all the scheduling information for backup and retention. This policy will be associated with the backup item provided as input."; - /* Enable-AzureRMBackupContainerReregistration */ - public const string AzureBackupContainerToReregister = "The Azure Backup container to be unregistered. For this commandlet, the container cannot be of type AzureVM. Use the Get-AzureRMBackupContainer to get a list of containers."; + /* Enable-AzureRmBackupContainerReregistration */ + public const string AzureBackupContainerToReregister = "The Azure Backup container to be unregistered. For this commandlet, the container cannot be of type AzureVM. Use the Get-AzureRmBackupContainer to get a list of containers."; - /* Disable-AzureRMBackupProtection */ + /* Disable-AzureRmBackupProtection */ public const string RemoveProtectionOption = "If this option is used, all the backup data for this item will also be deleted and restoring data will not be possible."; public const string AzureBackupItemDisable = "Azure Backup item for which the protection is being disabled."; public const string Reason = "User-specified reason for removing protection."; public const string Comments = "User-specified comments provided at the time of removing protection."; - /* Get-AzureRMBackupJob */ + /* Get-AzureRmBackupJob */ public const string JobFilterJobIdHelpMessage = "The unique identifier is used as a filtering criterion. It provides details to fetch the latest information about a job."; public const string JobFilterJobHelpMessage = "The job object is used as a filtering criterion. It provides details to fetch the latest information about a job."; public const string JobFilterStartTimeHelpMessage = "For the time range that is used as a filtering critetion, this parameter provides the starting boundary."; @@ -78,32 +78,32 @@ internal static class AzureBackupCmdletHelpMessage public const string JobFitlerVaultHelpMessage = "The Azure Backup vault which is the parent of the jobs being queried. This is needed only when the -Job parameter is not being used."; public const string JobFilterTypeHelpMessage = "The type of workload is used as a filtering criterion."; - /* Get-AzureRMBackupJobDetails */ + /* Get-AzureRmBackupJobDetails */ public const string JobDetailsFilterJobIdHelpMessage = "The unique identifier for the job whose full details are being requested"; public const string JobDetailsFilterVaultHelpMessage = "The Azure Backup vault which is the parent resource of the job"; public const string JobDetailsFilterJobHelpMessage = "The object that represents the job whose full details are being requested"; - /* Stop-AzureRMBackupJob */ + /* Stop-AzureRmBackupJob */ public const string StopJobFilterJobIdHelpMessage = "The unique identifier for the job that needs to be stopped"; public const string StopJobFilterVaultHelpMessage = "The Azure Backup vault which is the parent resource of the job"; public const string StopJobFilterJobHelpMessage = "The object that represents the job that needs be stopped"; - /* Wait-AzureRMBackupJob */ + /* Wait-AzureRmBackupJob */ public const string WaitJobFilterJobIdHelpMessage = "The unique identifier for the job on which the commandlet will wait for completion"; public const string WaitJobFilterVaultHelpMessage = "The Azure Backup vault which is the parent resource of the job"; public const string WaitJobFilterJobHelpMessage = "The object that represents the job on which the commandlet will wait for completion"; public const string WaitJobFilterTimeoutHelpMessage = "If the commandlet should not wait infinitely for the job to finish, then this timeout value needs to be specified. The parameter specifies the maximum number of seconds for which the commandlet should wait before returning."; - /* Register-AzureRMBackupContainer */ + /* Register-AzureRmBackupContainer */ public const string VMName = "The name of the Azure VM that will be registered with the service."; public const string ServiceName = "The Cloud Service name of Azure VM"; public const string RGName = "The ResourceGroup name of Azure VM"; public const string Vault = "The Azure Backup vault object which is the parent resource."; - /* Unregister-AzureRMBackupContainer */ - public const string AzureBackupContainerToUnregister = "The Azure Backup container to be unregistered. This can be a Windows Server, an Azure IaaS VM, or a Data Protection Manager server. Use the Get-AzureRMBackupContainer to get a list of containers."; + /* Unregister-AzureRmBackupContainer */ + public const string AzureBackupContainerToUnregister = "The Azure Backup container to be unregistered. This can be a Windows Server, an Azure IaaS VM, or a Data Protection Manager server. Use the Get-AzureRmBackupContainer to get a list of containers."; - /* New-AzureRMBackupProtectionPolicy */ + /* New-AzureRmBackupProtectionPolicy */ public const string PolicyName = "The name of the Azure Backup protection policy. The name of the policy should be unique within a backup vault"; public const string WorkloadType = "Workload type for which the protection policy is defined."; public const string DailyScheduleType = "Switch parameter to choose a daily backup schedule."; @@ -113,11 +113,11 @@ internal static class AzureBackupCmdletHelpMessage public const string RetentionPolicyList = "List of Retention Policies to be associated with protection policy. You can use a combination of Daily, Weekly, Monthly, and Yearly retention policies but not more than 1 of each."; public const string PolicyVault = "The Azure Backup vault which is the parent resource for the protection policy."; - /* Set-AzureRMBackupProtectionPolicy */ + /* Set-AzureRmBackupProtectionPolicy */ public const string PolicyNewName = "The new name to be given to this policy. Note that the policy name is unique to a backup vault and you need to ensure that you pick a name that does not conflict with existing names."; public const string AzureBackupPolicy = "Azure Backup protection policy object that contains the complete policy information."; - /* New-AzureRMBackupRetentionPolicyObject */ + /* New-AzureRmBackupRetentionPolicyObject */ public const string DailyRetention = "Switch paramater to signal that this policy is being used for Daily Retention"; public const string WeeklyRetention = "Switch parameter to signal that this policy is being used for Weekly Retention"; public const string MonthlyRetentionInDailyFormat = "Allows the user to specify the Monthly retention policy based on specific days of the month"; @@ -130,15 +130,15 @@ internal static class AzureBackupCmdletHelpMessage public const string MonthsOfYear = "Specifies the months of the year that will be used in the policy"; public const string Retention = "Specifies the duration of the retention policy"; - /* Backup-AzureRMBackupItem */ + /* Backup-AzureRmBackupItem */ public const string AzureBackupItem = "The Azure Backup item that is being configured for backup."; - /* Get-AzureRMBackupRecoveryPoint */ + /* Get-AzureRmBackupRecoveryPoint */ public const string AzureBackupItemGet = "The Azure Backup item for which the recovery points are being fetched."; public const string RecoveryPointId = "The unique identifier for the recovery point that is being fetched."; - /* Restore-AzureRMBackupItem */ - public const string AzureBackUpRecoveryPoint = "The PowerShell object that refers to the recovery point. Use Get-AzureRMBackupRecoveryPoint to get the PowerShell object to be used as input to this commandlet."; + /* Restore-AzureRmBackupItem */ + public const string AzureBackUpRecoveryPoint = "The PowerShell object that refers to the recovery point. Use Get-AzureRmBackupRecoveryPoint to get the PowerShell object to be used as input to this commandlet."; public const string StorageAccountName = "The destination storage account where the restored disks and config information will be stored."; } } diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Backup/BackupAzureRMBackupItem.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Backup/BackupAzureRMBackupItem.cs index 960219133a41..b1a11076edad 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Backup/BackupAzureRMBackupItem.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Backup/BackupAzureRMBackupItem.cs @@ -27,7 +27,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets /// /// Backup Azue Backup Item /// - [Cmdlet(VerbsData.Backup, "AzureRMBackupItem"), OutputType(typeof(AzureRMBackupJob))] + [Cmdlet(VerbsData.Backup, "AzureRmBackupItem"), OutputType(typeof(AzureRMBackupJob))] public class BackupAzureRMBackupItem : AzureRMBackupDSCmdletBase { protected override void ProcessRecord() diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/EnableAzureRMBackupContainerReregistration.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/EnableAzureRMBackupContainerReregistration.cs index 4fd3110bdfbf..7918dc778980 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/EnableAzureRMBackupContainerReregistration.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/EnableAzureRMBackupContainerReregistration.cs @@ -32,7 +32,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets /// /// Enables reregistration of a machine container /// - [Cmdlet(VerbsLifecycle.Enable, "AzureRMBackupContainerReregistration")] + [Cmdlet(VerbsLifecycle.Enable, "AzureRmBackupContainerReregistration")] public class EnableAzureRMBackupContainerReregistration : AzureBackupContainerCmdletBase { protected override void ProcessRecord() diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/GetAzureRMBackupContainer.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/GetAzureRMBackupContainer.cs index d3f8023cbd3c..35c2d8e30b15 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/GetAzureRMBackupContainer.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/GetAzureRMBackupContainer.cs @@ -29,7 +29,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets /// /// Get list of containers /// - [Cmdlet(VerbsCommon.Get, "AzureRMBackupContainer"), OutputType(typeof(List))] + [Cmdlet(VerbsCommon.Get, "AzureRmBackupContainer"), OutputType(typeof(List))] public class GetAzureRMBackupContainer : AzureBackupVaultCmdletBase { [Parameter(Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.ManagedResourceName)] diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/RegisterAzureRMBackupContainer.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/RegisterAzureRMBackupContainer.cs index 60b2bba83617..5f80f5c6e19f 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/RegisterAzureRMBackupContainer.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/RegisterAzureRMBackupContainer.cs @@ -32,7 +32,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets /// /// Get list of containers /// - [Cmdlet(VerbsLifecycle.Register, "AzureRMBackupContainer"), OutputType(typeof(AzureRMBackupJob))] + [Cmdlet(VerbsLifecycle.Register, "AzureRmBackupContainer"), OutputType(typeof(AzureRMBackupJob))] public class RegisterAzureRMBackupContainer : AzureBackupVaultCmdletBase { internal const string V1VMParameterSet = "V1VM"; diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/UnregisterAzureRMBackupContainer.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/UnregisterAzureRMBackupContainer.cs index cb6d6d6d3b19..fd3bf7d509f4 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/UnregisterAzureRMBackupContainer.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Container/UnregisterAzureRMBackupContainer.cs @@ -30,7 +30,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets /// /// Get list of containers /// - [Cmdlet(VerbsLifecycle.Unregister, "AzureRMBackupContainer")] + [Cmdlet(VerbsLifecycle.Unregister, "AzureRmBackupContainer")] public class UnregisterAzureRMBackupContainer : AzureBackupContainerCmdletBase { [Parameter(Position = 1, Mandatory = false, HelpMessage = "Confirm unregistration and deletion of server")] diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/Disable-AzureRMBackupProtection .cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/Disable-AzureRMBackupProtection .cs index 750de6953a4d..5c4ac4900aa5 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/Disable-AzureRMBackupProtection .cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/Disable-AzureRMBackupProtection .cs @@ -29,7 +29,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets.DataSource /// /// Disable Azure Backup protection /// - [Cmdlet(VerbsLifecycle.Disable, "AzureRMBackupProtection"), OutputType(typeof(AzureRMBackupJob))] + [Cmdlet(VerbsLifecycle.Disable, "AzureRmBackupProtection"), OutputType(typeof(AzureRMBackupJob))] public class DisableAzureRMBackupProtection : AzureRMBackupDSCmdletBase { [Parameter(Position = 1, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.RemoveProtectionOption)] diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/Enable-AzureRMBackupProtection .cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/Enable-AzureRMBackupProtection .cs index fad8255009f3..ce96fbf80633 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/Enable-AzureRMBackupProtection .cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/Enable-AzureRMBackupProtection .cs @@ -29,7 +29,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets /// /// Enable Azure Backup protection /// - [Cmdlet(VerbsLifecycle.Enable, "AzureRMBackupProtection"), OutputType(typeof(AzureRMBackupJob))] + [Cmdlet(VerbsLifecycle.Enable, "AzureRmBackupProtection"), OutputType(typeof(AzureRMBackupJob))] public class EnableAzureRMBackupProtection : AzureRMBackupItemCmdletBase { [Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.PolicyObject)] diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/GetAzureRMBackupItem.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/GetAzureRMBackupItem.cs index a142f15f138f..241e438d0b65 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/GetAzureRMBackupItem.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/GetAzureRMBackupItem.cs @@ -29,7 +29,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets /// /// Get list of azure backup items /// - [Cmdlet(VerbsCommon.Get, "AzureRMBackupItem"), OutputType(typeof(AzureRMBackupItem), typeof(List))] + [Cmdlet(VerbsCommon.Get, "AzureRmBackupItem"), OutputType(typeof(AzureRMBackupItem), typeof(List))] public class GetAzureRMBackupItem : AzureBackupContainerCmdletBase { [Parameter(Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.ProtectionStatus)] diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/GetAzureRMBackupJob.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/GetAzureRMBackupJob.cs index 2e3f297ac8e7..b66c0f953cf1 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/GetAzureRMBackupJob.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/GetAzureRMBackupJob.cs @@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets /// /// Get list of jobs pertaining to the filters specified. Gets list of all jobs created in the last 24 hours if no filters are specified. /// - [Cmdlet(VerbsCommon.Get, "AzureRMBackupJob", DefaultParameterSetName = "FiltersSet"), OutputType(typeof(List), typeof(AzureRMBackupJob))] + [Cmdlet(VerbsCommon.Get, "AzureRmBackupJob", DefaultParameterSetName = "FiltersSet"), OutputType(typeof(List), typeof(AzureRMBackupJob))] public class GetAzureRMBackupJob : AzureBackupCmdletBase { [Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.Vault, ParameterSetName = "FiltersSet", ValueFromPipeline = true)] diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/GetAzureRMBackupJobDetails.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/GetAzureRMBackupJobDetails.cs index 007c21106453..5dcb9f25f426 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/GetAzureRMBackupJobDetails.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/GetAzureRMBackupJobDetails.cs @@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets /// /// Get full details of a job /// - [Cmdlet(VerbsCommon.Get, "AzureRMBackupJobDetails", DefaultParameterSetName = "JobsFiltersSet"), OutputType(typeof(AzureRMBackupJobDetails))] + [Cmdlet(VerbsCommon.Get, "AzureRmBackupJobDetails", DefaultParameterSetName = "JobsFiltersSet"), OutputType(typeof(AzureRMBackupJobDetails))] public class GetAzureRMBackupJobDetils : AzureBackupCmdletBase { [Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.Vault, ParameterSetName = "IdFiltersSet")] diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/StopAzureRMBackukpJob.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/StopAzureRMBackukpJob.cs index 2357f8b33ae3..ac2ba5927d21 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/StopAzureRMBackukpJob.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/StopAzureRMBackukpJob.cs @@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets /// /// Stop a running cancellable job /// - [Cmdlet("Stop", "AzureRMBackupJob")] + [Cmdlet("Stop", "AzureRmBackupJob")] public class StopAzureRMBackupJob : AzureBackupCmdletBase { [Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.Vault, ParameterSetName = "IdFiltersSet")] diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/WaitAzureRMBackupJob.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/WaitAzureRMBackupJob.cs index 7660b632022c..d8b53c90404c 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/WaitAzureRMBackupJob.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Jobs/WaitAzureRMBackupJob.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets { - [Cmdlet("Wait", "AzureRMBackupJob"), OutputType(typeof(List), typeof(AzureRMBackupJob))] + [Cmdlet("Wait", "AzureRmBackupJob"), OutputType(typeof(List), typeof(AzureRMBackupJob))] public class WaitAzureRMBackupJob : AzureBackupCmdletBase { [Parameter(Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.WaitJobFilterJobHelpMessage, ValueFromPipeline = true)] diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/GetAzureRMBackupProtectionPolicy.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/GetAzureRMBackupProtectionPolicy.cs index 6466cde23e0a..b8f606a9f54a 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/GetAzureRMBackupProtectionPolicy.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/GetAzureRMBackupProtectionPolicy.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets /// /// Get list of protection policies /// - [Cmdlet(VerbsCommon.Get, "AzureRMBackupProtectionPolicy"), OutputType(typeof(AzureRMBackupProtectionPolicy), typeof(List))] + [Cmdlet(VerbsCommon.Get, "AzureRmBackupProtectionPolicy"), OutputType(typeof(AzureRMBackupProtectionPolicy), typeof(List))] public class GetAzureRMBackupProtectionPolicy : AzureBackupVaultCmdletBase { [Parameter(Position = 1, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.PolicyName)] diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/NewAzureRMBackupProtectionPolicy.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/NewAzureRMBackupProtectionPolicy.cs index 7e3db41bc1d0..d890a994aca1 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/NewAzureRMBackupProtectionPolicy.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/NewAzureRMBackupProtectionPolicy.cs @@ -27,7 +27,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets /// /// Create new protection policy /// - [Cmdlet(VerbsCommon.New, "AzureRMBackupProtectionPolicy", DefaultParameterSetName = NoScheduleParamSet), OutputType(typeof(AzureRMBackupProtectionPolicy))] + [Cmdlet(VerbsCommon.New, "AzureRmBackupProtectionPolicy", DefaultParameterSetName = NoScheduleParamSet), OutputType(typeof(AzureRMBackupProtectionPolicy))] public class NewAzureRMBackupProtectionPolicy : AzureBackupVaultCmdletBase { protected const string WeeklyScheduleParamSet = "WeeklyScheduleParamSet"; diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/NewAzureRMBackupRetentionPolicyObject.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/NewAzureRMBackupRetentionPolicyObject.cs index 1a1d98aafa4f..42f26507bfa0 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/NewAzureRMBackupRetentionPolicyObject.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/NewAzureRMBackupRetentionPolicyObject.cs @@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets /// /// Create new retention policy object. /// - [Cmdlet(VerbsCommon.New, "AzureRMBackupRetentionPolicyObject"), OutputType(typeof(AzureRMBackupRetentionPolicy), typeof(List))] + [Cmdlet(VerbsCommon.New, "AzureRmBackupRetentionPolicyObject"), OutputType(typeof(AzureRMBackupRetentionPolicy), typeof(List))] public class NewAzureRMBackupRetentionPolicyObject : AzureBackupCmdletBase { protected const string DailyRetentionParamSet = "DailyRetentionParamSet"; diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/RemoveAzureRMBackupProtectionPolicy.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/RemoveAzureRMBackupProtectionPolicy.cs index a1e0712d986c..170573204cd9 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/RemoveAzureRMBackupProtectionPolicy.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/RemoveAzureRMBackupProtectionPolicy.cs @@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets /// /// Remove a protection policy /// - [Cmdlet(VerbsCommon.Remove, "AzureRMBackupProtectionPolicy")] + [Cmdlet(VerbsCommon.Remove, "AzureRmBackupProtectionPolicy")] public class RemoveAzureRMBackupProtectionPolicy : AzureBackupPolicyCmdletBase { protected override void ProcessRecord() diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/SetAzureRMBackupProtectionPolicy.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/SetAzureRMBackupProtectionPolicy.cs index 8dafba3fe20a..a103fee9f7be 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/SetAzureRMBackupProtectionPolicy.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/ProtectionPolicy/SetAzureRMBackupProtectionPolicy.cs @@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets /// /// Update existing protection policy /// - [Cmdlet(VerbsCommon.Set, "AzureRMBackupProtectionPolicy", DefaultParameterSetName = NoScheduleParamSet), OutputType(typeof(AzureRMBackupJob), typeof(IList))] + [Cmdlet(VerbsCommon.Set, "AzureRmBackupProtectionPolicy", DefaultParameterSetName = NoScheduleParamSet), OutputType(typeof(AzureRMBackupJob), typeof(IList))] public class SetAzureRMBackupProtectionPolicy : AzureBackupPolicyCmdletBase { protected const string WeeklyScheduleParamSet = "WeeklyScheduleParamSet"; diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/RecoveryPoint/GetAzureRMBackupRecoveryPoint.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/RecoveryPoint/GetAzureRMBackupRecoveryPoint.cs index d792dcf25c21..da8a68123875 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/RecoveryPoint/GetAzureRMBackupRecoveryPoint.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/RecoveryPoint/GetAzureRMBackupRecoveryPoint.cs @@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets /// /// Get list of Azure Recovery Points /// - [Cmdlet(VerbsCommon.Get, "AzureRMBackupRecoveryPoint"), OutputType(typeof(AzureRMBackupRecoveryPoint), typeof(List))] + [Cmdlet(VerbsCommon.Get, "AzureRmBackupRecoveryPoint"), OutputType(typeof(AzureRMBackupRecoveryPoint), typeof(List))] public class GetAzureRMBackupRecoveryPoint : AzureRMBackupDSCmdletBase { [Parameter(Position = 1, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.RecoveryPointId)] diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Restore/RestoreAzureRMBackupItem.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Restore/RestoreAzureRMBackupItem.cs index 128ef94e3f0c..7344a6e9f735 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Restore/RestoreAzureRMBackupItem.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Restore/RestoreAzureRMBackupItem.cs @@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets /// /// Restore Azure Backup Item /// - [Cmdlet(VerbsData.Restore, "AzureRMBackupItem"), OutputType(typeof(AzureRMBackupJob))] + [Cmdlet(VerbsData.Restore, "AzureRmBackupItem"), OutputType(typeof(AzureRMBackupJob))] public class RestoreAzureRMBackupItem : AzureBackupRestoreBase { [Parameter(Position = 1, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.StorageAccountName)] diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/GetAzureRMBackupVault.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/GetAzureRMBackupVault.cs index 90e2529f7d05..c8aca270b577 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/GetAzureRMBackupVault.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/GetAzureRMBackupVault.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets /// /// Command to get azure backup vaults in a subscription /// - [Cmdlet(VerbsCommon.Get, "AzureRMBackupVault"), OutputType(typeof(AzureRMBackupVault), typeof(List))] + [Cmdlet(VerbsCommon.Get, "AzureRmBackupVault"), OutputType(typeof(AzureRMBackupVault), typeof(List))] public class GetAzureRMBackupVault : AzureBackupCmdletBase { [Parameter(Position = 0, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.ResourceGroupName)] diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/NewAzureRMBackupVault.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/NewAzureRMBackupVault.cs index d5260fbd929c..69439a18d2d5 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/NewAzureRMBackupVault.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/NewAzureRMBackupVault.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets /// /// Command to create an azure backup vault in a subscription /// - [Cmdlet(VerbsCommon.New, "AzureRMBackupVault"), OutputType(typeof(AzureRMBackupVault))] + [Cmdlet(VerbsCommon.New, "AzureRmBackupVault"), OutputType(typeof(AzureRMBackupVault))] public class NewAzureRMBackupVault : AzureBackupCmdletBase { [Parameter(Position = 0, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.ResourceGroupName)] diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/RemoveAzureRMBackupVault.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/RemoveAzureRMBackupVault.cs index 6b2018417e81..3ccca2c5bcb1 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/RemoveAzureRMBackupVault.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/RemoveAzureRMBackupVault.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets /// /// Command to remove an azure backup vault in the subscription /// - [Cmdlet(VerbsCommon.Remove, "AzureRMBackupVault")] + [Cmdlet(VerbsCommon.Remove, "AzureRmBackupVault")] public class RemoveAzureRMBackupVault : AzureBackupVaultCmdletBase { protected override void ProcessRecord() diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/SetAzureRMBackupVault.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/SetAzureRMBackupVault.cs index a5c7b7f9c2d2..8efa2d1568ab 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/SetAzureRMBackupVault.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Vault/SetAzureRMBackupVault.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets /// /// Command to update an azure backup vault in a subscription. /// - [Cmdlet(VerbsCommon.Set, "AzureRMBackupVault"), OutputType(typeof(CmdletModel.AzureRMBackupVault))] + [Cmdlet(VerbsCommon.Set, "AzureRmBackupVault"), OutputType(typeof(CmdletModel.AzureRMBackupVault))] public class SetAzureRMBackupVault : AzureBackupVaultCmdletBase { [Parameter(Position = 1, Mandatory = false, HelpMessage = AzureBackupCmdletHelpMessage.StorageType)] diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/VaultCredentials/GetAzureRMBackupVaultCredentials.cs b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/VaultCredentials/GetAzureRMBackupVaultCredentials.cs index 67ebb0d7d5db..7c1763b46f8b 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/VaultCredentials/GetAzureRMBackupVaultCredentials.cs +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/VaultCredentials/GetAzureRMBackupVaultCredentials.cs @@ -30,7 +30,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets /// /// Command to download an azure backup vault's credentials. /// - [Cmdlet(VerbsCommon.Get, "AzureRMBackupVaultCredentials"), OutputType(typeof(string))] + [Cmdlet(VerbsCommon.Get, "AzureRmBackupVaultCredentials"), OutputType(typeof(string))] public class GetAzureRMBackupVaultCredentials : AzureBackupVaultCmdletBase { [Parameter(Position = 2, Mandatory = true, HelpMessage = AzureBackupCmdletHelpMessage.TargetLocation)] diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj index 34b48d313a86..1055d2a70c14 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Commands.AzureBackup.csproj @@ -149,8 +149,8 @@ - - + + diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Microsoft.Azure.Commands.AzureBackup.dll-help.xml b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Microsoft.Azure.Commands.AzureBackup.dll-help.xml index 04154657080c..7e7502cc515e 100644 --- a/src/ResourceManager/AzureBackup/Commands.AzureBackup/Microsoft.Azure.Commands.AzureBackup.dll-help.xml +++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup/Microsoft.Azure.Commands.AzureBackup.dll-help.xml @@ -2,7 +2,7 @@ - Backup-AzureRMBackupItem + Backup-AzureRmBackupItem Trigger backup for a protected item @@ -20,7 +20,7 @@ - Backup-AzureRMBackupItem + Backup-AzureRmBackupItem Item @@ -103,7 +103,7 @@ PS C:\> - Get-AzureRMBackupItem -Container $c | Backup-AzureRMBackupItem + Get-AzureRmBackupItem -Container $c | Backup-AzureRmBackupItem @@ -125,7 +125,7 @@ test-vm Backup InProgress 26-Aug-15 12:24:01 PM 01-Jan-01 PS C:\> - Get-AzureRMBackupItem -Container $c | Backup-AzureRMBackupItem + Get-AzureRmBackupItem -Container $c | Backup-AzureRmBackupItem @@ -149,7 +149,7 @@ test-vm Backup Failed 26-Aug-15 12:30:30 PM 26-Aug-15 - Disable-AzureRMBackupProtection + Disable-AzureRmBackupProtection Disable protection for a protected item @@ -165,7 +165,7 @@ test-vm Backup Failed 26-Aug-15 12:30:30 PM 26-Aug-15 - Disable-AzureRMBackupProtection + Disable-AzureRmBackupProtection RemoveRecoveryPoints @@ -291,7 +291,7 @@ test-vm Backup Failed 26-Aug-15 12:30:30 PM 26-Aug-15 - Enable-AzureRMBackupContainerReregistration + Enable-AzureRmBackupContainerReregistration Allow re-registration of the server to connect the server back to the vault and continue the backup points chain. @@ -308,7 +308,7 @@ test-vm Backup Failed 26-Aug-15 12:30:30 PM 26-Aug-15 - Enable-AzureRMBackupContainerReregistration + Enable-AzureRmBackupContainerReregistration Container @@ -391,7 +391,7 @@ test-vm Backup Failed 26-Aug-15 12:30:30 PM 26-Aug-15 - Enable-AzureRMBackupProtection + Enable-AzureRmBackupProtection Associate an item with a protection policy @@ -407,7 +407,7 @@ test-vm Backup Failed 26-Aug-15 12:30:30 PM 26-Aug-15 - Enable-AzureRMBackupProtection + Enable-AzureRmBackupProtection Policy @@ -507,7 +507,7 @@ test-vm Backup Failed 26-Aug-15 12:30:30 PM 26-Aug-15 PS C:\> - Get-AzureRMBackupContainer -Type AzureVM -Status Registered -Vault $v | Get-AzureRMBackupItem | Enable-AzureRMBackupProtection -Policy $policies[0] + Get-AzureRmBackupContainer -Type AzureVM -Status Registered -Vault $v | Get-AzureRmBackupItem | Enable-AzureRmBackupProtection -Policy $policies[0] @@ -527,15 +527,15 @@ test-vm ConfigureBackup Completed 26-Aug-15 12:19:49 PM 26-Aug-1 - Get-AzureRMBackupItem + Get-AzureRmBackupItem - Get-AzureRMBackupProtectionPolicy + Get-AzureRmBackupProtectionPolicy - Backup-AzureRMBackupItem + Backup-AzureRmBackupItem @@ -543,7 +543,7 @@ test-vm ConfigureBackup Completed 26-Aug-15 12:19:49 PM 26-Aug-1 - Get-AzureRMBackupContainer + Get-AzureRmBackupContainer Retrieves one or more Azure Backup containers that match the filter criteria specified. @@ -563,7 +563,7 @@ test-vm ConfigureBackup Completed 26-Aug-15 12:19:49 PM 26-Aug-1 - Get-AzureRMBackupContainer + Get-AzureRmBackupContainer Name @@ -720,7 +720,7 @@ test-vm ConfigureBackup Completed 26-Aug-15 12:19:49 PM 26-Aug-1 PS C:\> - Get-AzureRMBackupContainer -vault $v -type Windows + Get-AzureRmBackupContainer -vault $v -type Windows Gets a list of all containers of type "Windows" from the specified vault. @@ -743,7 +743,7 @@ SERVER2.CONTOSO.COM Windows Registered PS C:\> - Get-AzureRMBackupContainer -vault $v -type SCDPM -name "DPMSERVER.CONTOSO.COM" + Get-AzureRmBackupContainer -vault $v -type SCDPM -name "DPMSERVER.CONTOSO.COM" Gets the container representing a specific DPM server registered to the specified vault. @@ -765,7 +765,7 @@ DPMSERVER.CONTOSO.COM SCDPM Registered PS C:\> - Get-AzureRMBackupContainer -Type AzureVM -Status Registered -Vault $v + Get-AzureRmBackupContainer -Type AzureVM -Status Registered -Vault $v @@ -785,11 +785,11 @@ test-vm AzureVM Registered - Register-AzureRMBackupContainer + Register-AzureRmBackupContainer - Unregister-AzureRMBackupContainer + Unregister-AzureRmBackupContainer @@ -797,7 +797,7 @@ test-vm AzureVM Registered - Get-AzureRMBackupItem + Get-AzureRmBackupItem Gets the items under a container @@ -809,11 +809,11 @@ test-vm AzureVM Registered - A container registered to the Azure Backup vault can have one or more items that can be protected. These items are enabled for protection using the Enable-AzureRMBackupProtection commandlet. This commandlet gets all the items under the container and their protection status. + A container registered to the Azure Backup vault can have one or more items that can be protected. These items are enabled for protection using the Enable-AzureRmBackupProtection commandlet. This commandlet gets all the items under the container and their protection status. - Get-AzureRMBackupItem + Get-AzureRmBackupItem ProtectionStatus @@ -838,7 +838,7 @@ test-vm AzureVM Registered Container - The parent container object for which we are querying the items. Use the Get-AzureRMBackupContainer commandlet to get the list of containers in the vault. + The parent container object for which we are querying the items. Use the Get-AzureRmBackupContainer commandlet to get the list of containers in the vault. AzureRMBackupContainer @@ -891,7 +891,7 @@ test-vm AzureVM Registered Container - The parent container object for which we are querying the items. Use the Get-AzureRMBackupContainer commandlet to get the list of containers in the vault. + The parent container object for which we are querying the items. Use the Get-AzureRmBackupContainer commandlet to get the list of containers in the vault. AzureRMBackupContainer @@ -951,7 +951,7 @@ test-vm AzureVM Registered PS C:\> - Get-AzureRMBackupContainer -Type AzureVM -Name "test-vm" -Vault $v | Get-AzureRMBackupItem + Get-AzureRmBackupContainer -Type AzureVM -Name "test-vm" -Vault $v | Get-AzureRmBackupItem @@ -973,7 +973,7 @@ test-vm NotProtected 0 PS C:\> - Get-AzureRMBackupItem -Container $c | select * + Get-AzureRmBackupItem -Container $c | select * @@ -1003,23 +1003,23 @@ Location : southeastasia - Restore-AzureRMBackupItem + Restore-AzureRmBackupItem - Get-AzureRMBackupContainer + Get-AzureRmBackupContainer - Enable-AzureRMBackupProtection + Enable-AzureRmBackupProtection - Backup-AzureRMBackupItem + Backup-AzureRmBackupItem - Disable-AzureRMBackupProtection + Disable-AzureRmBackupProtection @@ -1027,7 +1027,7 @@ Location : southeastasia - Get-AzureRMBackupJob + Get-AzureRmBackupJob Retrieves a list of jobs or a specific job @@ -1043,11 +1043,11 @@ Location : southeastasia - Get-AzureRMBackupJob + Get-AzureRmBackupJob Vault - The specific Azure Backup vault object for which the jobs are being retrieved. The vault is the parent container for an Azure Backup job, and any given job must be a part of a specified vault. Use the Get-AzureRMBackupVault to get a list of vaults. + The specific Azure Backup vault object for which the jobs are being retrieved. The vault is the parent container for an Azure Backup job, and any given job must be a part of a specified vault. Use the Get-AzureRmBackupVault to get a list of vaults. AzureRMBackupVault @@ -1120,11 +1120,11 @@ Location : southeastasia - Get-AzureRMBackupJob + Get-AzureRmBackupJob Job - When you use the -Job parameter, the commandlet fetches the latest status for the job. Identifying the job is done using the details provided in the input object. This input object would also have been returned earlier from Get-AzureRMBackupJob. + When you use the -Job parameter, the commandlet fetches the latest status for the job. Identifying the job is done using the details provided in the input object. This input object would also have been returned earlier from Get-AzureRmBackupJob. AzureRMBackupJob @@ -1141,7 +1141,7 @@ Location : southeastasia Vault - The specific Azure Backup vault object for which the jobs are being retrieved. The vault is the parent container for an Azure Backup job, and any given job must be a part of a specified vault. Use the Get-AzureRMBackupVault to get a list of vaults. + The specific Azure Backup vault object for which the jobs are being retrieved. The vault is the parent container for an Azure Backup job, and any given job must be a part of a specified vault. Use the Get-AzureRmBackupVault to get a list of vaults. AzureRMBackupVault @@ -1255,7 +1255,7 @@ Location : southeastasia Job - When you use the -Job parameter, the commandlet fetches the latest status for the job. Identifying the job is done using the details provided in the input object. This input object would also have been returned earlier from Get-AzureRMBackupJob. + When you use the -Job parameter, the commandlet fetches the latest status for the job. Identifying the job is done using the details provided in the input object. This input object would also have been returned earlier from Get-AzureRmBackupJob. AzureRMBackupJob @@ -1304,7 +1304,7 @@ Array of AzureRMBackupJob objects PS C:\> - Get-AzureRMBackupJob -Vault $v + Get-AzureRmBackupJob -Vault $v @@ -1328,7 +1328,7 @@ test-vm Register Completed 25-Aug-15 3:23:53 PM 25-Aug-15 PS C:\> - Get-AzureRMBackupJob -Vault $v -Status Completed + Get-AzureRmBackupJob -Vault $v -Status Completed @@ -1350,7 +1350,7 @@ test-vm Register Completed 25-Aug-15 3:23:53 PM 25-Aug-15 PS C:\> - Get-AzureRMBackupJob -Vault $v -From (Get-Date).AddDays(-7) -Status Failed + Get-AzureRmBackupJob -Vault $v -From (Get-Date).AddDays(-7) -Status Failed @@ -1370,14 +1370,14 @@ test-vm Register Completed 25-Aug-15 3:23:53 PM 25-Aug-15 PS C:\> - $joblist = Get-AzureRMBackupJob -Vault $v -Status InProgress + $joblist = Get-AzureRmBackupJob -Vault $v -Status InProgress $job = $joblist[0] while ( $job.Status -ne Completed ) { Write-Host "Waiting for completion..." Start-Sleep -s 10 - $job = Get-AzureRMBackupJob -Vault $v -Job $job + $job = Get-AzureRmBackupJob -Vault $v -Job $job } Write-Host "Done!" @@ -1404,7 +1404,7 @@ Done! - Get-AzureRMBackupJobDetails + Get-AzureRmBackupJobDetails Get the details of a job @@ -1420,7 +1420,7 @@ Done! - Get-AzureRMBackupJobDetails + Get-AzureRmBackupJobDetails Job @@ -1437,7 +1437,7 @@ Done! - Get-AzureRMBackupJobDetails + Get-AzureRmBackupJobDetails Vault @@ -1550,7 +1550,7 @@ Done! PS C:\> - $jd = Get-AzureRMBackupJobDetails -Job $j + $jd = Get-AzureRmBackupJobDetails -Job $j PS C:\> $jd.ErrorDetails @@ -1596,7 +1596,7 @@ PS C:\> $jd.ErrorDetails - Get-AzureRMBackupProtectionPolicy + Get-AzureRmBackupProtectionPolicy Fetches the backup policies in a backup vault @@ -1608,11 +1608,11 @@ PS C:\> $jd.ErrorDetails - The backup policy is used in the Enable-AzureRMBackupProtection commandlet to enable protection on an item. The policy must be created using the New-AzureRMBackupProtectionPolicy commandlet, or an existing policy can be used. This commandlet gets the list of existing policies in the backup vault. + The backup policy is used in the Enable-AzureRmBackupProtection commandlet to enable protection on an item. The policy must be created using the New-AzureRmBackupProtectionPolicy commandlet, or an existing policy can be used. This commandlet gets the list of existing policies in the backup vault. - Get-AzureRMBackupProtectionPolicy + Get-AzureRmBackupProtectionPolicy Name @@ -1712,7 +1712,7 @@ PS C:\> $jd.ErrorDetails PS C:\> - Get-AzureRMBackupProtectionPolicy -Vault $v + Get-AzureRmBackupProtectionPolicy -Vault $v @@ -1738,7 +1738,7 @@ test2 AzureVM Daily 26-Aug-15 3:00:0 PS C:\> - Get-AzureRMBackupProtectionPolicy -Vault $v -Name DefaultPolicy + Get-AzureRmBackupProtectionPolicy -Vault $v -Name DefaultPolicy @@ -1758,15 +1758,15 @@ DefaultPolicy AzureVM Daily 26-Aug-15 12:30: - New-AzureRMBackupProtectionPolicy + New-AzureRmBackupProtectionPolicy - Enable-AzureRMBackupProtection + Enable-AzureRmBackupProtection - Remove-AzureRMBackupProtectionPolicy + Remove-AzureRmBackupProtectionPolicy @@ -1774,7 +1774,7 @@ DefaultPolicy AzureVM Daily 26-Aug-15 12:30: - Get-AzureRMBackupRecoveryPoint + Get-AzureRmBackupRecoveryPoint Get the recovery point(s) for a backed-up item @@ -1790,7 +1790,7 @@ DefaultPolicy AzureVM Daily 26-Aug-15 12:30: - Get-AzureRMBackupRecoveryPoint + Get-AzureRmBackupRecoveryPoint RecoveryPointId @@ -1891,7 +1891,7 @@ DefaultPolicy AzureVM Daily 26-Aug-15 12:30: PS C:\> - Get-AzureRMBackupRecoveryPoint -Item $backupitem + Get-AzureRmBackupRecoveryPoint -Item $backupitem @@ -1915,7 +1915,7 @@ DefaultPolicy AzureVM Daily 26-Aug-15 12:30: - Get-AzureRMBackupVault + Get-AzureRmBackupVault Retrieves one or more vault objects based on the parameters that are specified. @@ -1927,11 +1927,11 @@ DefaultPolicy AzureVM Daily 26-Aug-15 12:30: - The Get-AzureRMBackupVault commandlet retrieves existing Azure Backup vaults and returns objects of type AzurePSBackupVault. The vault object is used in some Azure Backup commandlets as a mandatory parameter. + The Get-AzureRmBackupVault commandlet retrieves existing Azure Backup vaults and returns objects of type AzurePSBackupVault. The vault object is used in some Azure Backup commandlets as a mandatory parameter. - Get-AzureRMBackupVault + Get-AzureRmBackupVault ResourceGroupName @@ -2031,7 +2031,7 @@ DefaultPolicy AzureVM Daily 26-Aug-15 12:30: PS C:\> - Get-AzureRMBackupVault + Get-AzureRmBackupVault @@ -2051,7 +2051,7 @@ DefaultPolicy AzureVM Daily 26-Aug-15 12:30: PS C:\> - Get-AzureRMBackupVault | Where-Object { $_.Region -eq "westus" } + Get-AzureRmBackupVault | Where-Object { $_.Region -eq "westus" } @@ -2071,7 +2071,7 @@ DefaultPolicy AzureVM Daily 26-Aug-15 12:30: PS C:\> - Get-AzureRMBackupVault -Name "myvault" + Get-AzureRmBackupVault -Name "myvault" @@ -2096,7 +2096,7 @@ Storage : GeoRedundant PS C:\> - Get-AzureRMBackupVault | Where-Object { $_.Storage –match ‘LocallyRedundant’ } | Measure-Object + Get-AzureRmBackupVault | Where-Object { $_.Storage –match ‘LocallyRedundant’ } | Measure-Object @@ -2119,19 +2119,19 @@ Property : - New-AzureRMBackupVault + New-AzureRmBackupVault - Set-AzureRMBackupVault + Set-AzureRmBackupVault - Remove-AzureRMBackupVault + Remove-AzureRmBackupVault - Get-AzureRMBackupContainer + Get-AzureRmBackupContainer @@ -2139,7 +2139,7 @@ Property : - Get-AzureRMBackupVaultCredentials + Get-AzureRmBackupVaultCredentials Downloads the Vault Credentials file to a specified location. @@ -2151,11 +2151,11 @@ Property : - To enable hybrid backup scenarios the Vault Credentials file is a critical component. The vault credential file is used to connect a server to the Azure Backup vault and register it. Only after registration can backup data be sent to the vault. The Get-AzureRMBackupVaultCredentials commandlet downloads and places a vault credential file at the location specified by the user. + To enable hybrid backup scenarios the Vault Credentials file is a critical component. The vault credential file is used to connect a server to the Azure Backup vault and register it. Only after registration can backup data be sent to the vault. The Get-AzureRmBackupVaultCredentials commandlet downloads and places a vault credential file at the location specified by the user. - Get-AzureRMBackupVaultCredentials + Get-AzureRmBackupVaultCredentials TargetLocation @@ -2166,7 +2166,7 @@ Property : Vault - The specific Azure Backup vault object for which the Vault Credential file is generated. Use the Get-AzureRMBackupVault to get a list of vaults. + The specific Azure Backup vault object for which the Vault Credential file is generated. Use the Get-AzureRmBackupVault to get a list of vaults. AzureRMBackupVault @@ -2195,7 +2195,7 @@ Property : Vault - The specific Azure Backup vault object for which the Vault Credential file is generated. Use the Get-AzureRMBackupVault to get a list of vaults. + The specific Azure Backup vault object for which the Vault Credential file is generated. Use the Get-AzureRmBackupVault to get a list of vaults. AzureRMBackupVault @@ -2258,7 +2258,7 @@ This section details out the type of the objects that you can pipe to the cmdlet - New-AzureRMBackupProtectionPolicy + New-AzureRmBackupProtectionPolicy Creates a PowerShell object that holds backup policy information @@ -2270,12 +2270,12 @@ This section details out the type of the objects that you can pipe to the cmdlet - A backup policy defines when and how often the backup of an item is done. This commandlet creates a PowerShell object that holds backup policy information. The backup policy is used as an input to the Enable-AzureRMBackupProtection commandlet. + A backup policy defines when and how often the backup of an item is done. This commandlet creates a PowerShell object that holds backup policy information. The backup policy is used as an input to the Enable-AzureRmBackupProtection commandlet. There are 4 types of retention - Daily, Weekly, Monthly, and Yearly. You need to create one object for each type of retention that you plan to use. - New-AzureRMBackupProtectionPolicy + New-AzureRmBackupProtectionPolicy Name @@ -2307,7 +2307,7 @@ This section details out the type of the objects that you can pipe to the cmdlet RetentionPolicy - A list of one or more retention policies that are associated with this backup policy. Use the New-AzureRMBackupRetentionPolicyObject to create retention policies. + A list of one or more retention policies that are associated with this backup policy. Use the New-AzureRmBackupRetentionPolicyObject to create retention policies. AzureRMBackupRetentionPolicy[] @@ -2327,7 +2327,7 @@ This section details out the type of the objects that you can pipe to the cmdlet - New-AzureRMBackupProtectionPolicy + New-AzureRmBackupProtectionPolicy Name @@ -2359,7 +2359,7 @@ This section details out the type of the objects that you can pipe to the cmdlet RetentionPolicy - A list of one or more retention policies that are associated with this backup policy. Use the New-AzureRMBackupRetentionPolicyObject to create retention policies. + A list of one or more retention policies that are associated with this backup policy. Use the New-AzureRmBackupRetentionPolicyObject to create retention policies. AzureRMBackupRetentionPolicy[] @@ -2379,7 +2379,7 @@ This section details out the type of the objects that you can pipe to the cmdlet - New-AzureRMBackupProtectionPolicy + New-AzureRmBackupProtectionPolicy Name @@ -2418,7 +2418,7 @@ This section details out the type of the objects that you can pipe to the cmdlet RetentionPolicy - A list of one or more retention policies that are associated with this backup policy. Use the New-AzureRMBackupRetentionPolicyObject to create retention policies. + A list of one or more retention policies that are associated with this backup policy. Use the New-AzureRmBackupRetentionPolicyObject to create retention policies. AzureRMBackupRetentionPolicy[] @@ -2490,7 +2490,7 @@ This section details out the type of the objects that you can pipe to the cmdlet RetentionPolicy - A list of one or more retention policies that are associated with this backup policy. Use the New-AzureRMBackupRetentionPolicyObject to create retention policies. + A list of one or more retention policies that are associated with this backup policy. Use the New-AzureRmBackupRetentionPolicyObject to create retention policies. AzureRMBackupRetentionPolicy[] @@ -2587,10 +2587,10 @@ This section details out the type of the objects that you can pipe to the cmdlet PS C:\> - $bp = New-AzureRMBackupProtectionPolicy -Name DailyBackup01 -Type AzureVM -Daily -BackupTime ([datetime]"3:30 PM") -RetentionPolicy ($Daily,$Monthly) -Vault $v + $bp = New-AzureRmBackupProtectionPolicy -Name DailyBackup01 -Type AzureVM -Daily -BackupTime ([datetime]"3:30 PM") -RetentionPolicy ($Daily,$Monthly) -Vault $v - The backup policy in this example has a daily backup time of 3:00 PM, and the backup data is stored as per the $Daily and $Monthly retention policies created using the New-AzureRMBackupRetentionPolicyObject commandlet. + The backup policy in this example has a daily backup time of 3:00 PM, and the backup data is stored as per the $Daily and $Monthly retention policies created using the New-AzureRmBackupRetentionPolicyObject commandlet. Name Type ScheduleType BackupTime @@ -2608,23 +2608,23 @@ DailyBkp AzureVM Daily 26-Aug-15 3:00:0 - New-AzureRMBackupRetentionPolicyObject + New-AzureRmBackupRetentionPolicyObject - Enable-AzureRMBackupProtection + Enable-AzureRmBackupProtection - Get-AzureRMBackupProtectionPolicy + Get-AzureRmBackupProtectionPolicy - Set-AzureRMBackupProtectionPolicy + Set-AzureRmBackupProtectionPolicy - Remove-AzureRMBackupProtectionPolicy + Remove-AzureRmBackupProtectionPolicy @@ -2632,7 +2632,7 @@ DailyBkp AzureVM Daily 26-Aug-15 3:00:0 - New-AzureRMBackupRetentionPolicyObject + New-AzureRmBackupRetentionPolicyObject Creates a PowerShell object that holds retention policy information @@ -2644,12 +2644,12 @@ DailyBkp AzureVM Daily 26-Aug-15 3:00:0 - A backup policy is associated with at least one retention policy. The retention policy defines how long a recovery point is kept with Azure Backup. This commandlet creates PowerShell objects that hold retention policy information. These retention policy objects are used as inputs to the New-AzureRMBackupProtectionPolicy commandlet, or directly with the Enable-AzureRMBackupProtection commandlet. + A backup policy is associated with at least one retention policy. The retention policy defines how long a recovery point is kept with Azure Backup. This commandlet creates PowerShell objects that hold retention policy information. These retention policy objects are used as inputs to the New-AzureRmBackupProtectionPolicy commandlet, or directly with the Enable-AzureRmBackupProtection commandlet. There are 4 types of retention - Daily, Weekly, Monthly, and Yearly. You need to create one object for each type of retention that you plan to use. - New-AzureRMBackupRetentionPolicyObject + New-AzureRmBackupRetentionPolicyObject DailyRetention @@ -2673,7 +2673,7 @@ DailyBkp AzureVM Daily 26-Aug-15 3:00:0 - New-AzureRMBackupRetentionPolicyObject + New-AzureRmBackupRetentionPolicyObject WeeklyRetention @@ -2705,7 +2705,7 @@ DailyBkp AzureVM Daily 26-Aug-15 3:00:0 - New-AzureRMBackupRetentionPolicyObject + New-AzureRmBackupRetentionPolicyObject MonthlyRetentionInDailyFormat @@ -2737,7 +2737,7 @@ DailyBkp AzureVM Daily 26-Aug-15 3:00:0 - New-AzureRMBackupRetentionPolicyObject + New-AzureRmBackupRetentionPolicyObject MonthlyRetentionInWeeklyFormat @@ -2776,7 +2776,7 @@ DailyBkp AzureVM Daily 26-Aug-15 3:00:0 - New-AzureRMBackupRetentionPolicyObject + New-AzureRmBackupRetentionPolicyObject YearlyRetentionInDailyFormat @@ -2815,7 +2815,7 @@ DailyBkp AzureVM Daily 26-Aug-15 3:00:0 - New-AzureRMBackupRetentionPolicyObject + New-AzureRmBackupRetentionPolicyObject YearlyRetentionInWeeklyFormat @@ -3048,7 +3048,7 @@ DailyBkp AzureVM Daily 26-Aug-15 3:00:0 PS C:\> - $Daily = New-AzureRMBackupRetentionPolicyObject -DailyRetention -Retention 30 + $Daily = New-AzureRmBackupRetentionPolicyObject -DailyRetention -Retention 30 PS C:\> $Daily @@ -3071,7 +3071,7 @@ Daily 30 PS C:\> - $Monthly = New-AzureRMBackupRetentionPolicyObject -MonthlyRetentionInDailyFormat -DaysOfMonth (10, 20) -Retention 12 + $Monthly = New-AzureRmBackupRetentionPolicyObject -MonthlyRetentionInDailyFormat -DaysOfMonth (10, 20) -Retention 12 PS C:\> $Monthly | select * This policy keeps the backup on the 10th and the 20th of each month for 12 months @@ -3096,7 +3096,7 @@ RetentionTimes : - New-AzureRMBackupProtectionPolicy + New-AzureRmBackupProtectionPolicy @@ -3104,7 +3104,7 @@ RetentionTimes : - New-AzureRMBackupVault + New-AzureRmBackupVault Creates a new Azure Backup vault based on the parameters that are specified. A vault is the start point for all backup operations with Azure Backup. @@ -3116,15 +3116,15 @@ RetentionTimes : - The New-AzureRMBackupVault commandlet creates and Azure Backup vault and returns an object of type AzurePSBackupVault that acts as a reference to the vault entity. The vault has some important properties that define the scope of backup – the region and the storage type. + The New-AzureRmBackupVault commandlet creates and Azure Backup vault and returns an object of type AzurePSBackupVault that acts as a reference to the vault entity. The vault has some important properties that define the scope of backup – the region and the storage type. - New-AzureRMBackupVault + New-AzureRmBackupVault ResourceGroupName - Specifies the name of an existing resource group. In order to create a resource group, use the New-AzureRMResourceGroup commandlet. There is no requirement that the Azure ResourceGroup and the Azure Backup vault be in the same region. + Specifies the name of an existing resource group. In order to create a resource group, use the New-AzureRmResourceGroup commandlet. There is no requirement that the Azure ResourceGroup and the Azure Backup vault be in the same region. String @@ -3162,7 +3162,7 @@ RetentionTimes : ResourceGroupName - Specifies the name of an existing resource group. In order to create a resource group, use the New-AzureRMResourceGroup commandlet. There is no requirement that the Azure ResourceGroup and the Azure Backup vault be in the same region. + Specifies the name of an existing resource group. In order to create a resource group, use the New-AzureRmResourceGroup commandlet. There is no requirement that the Azure ResourceGroup and the Azure Backup vault be in the same region. String @@ -3258,7 +3258,7 @@ RetentionTimes : PS C:\> - New-AzureRMBackupVault –ResourceGroupName “rg1” –Name “vault1” –Region “westus” + New-AzureRmBackupVault –ResourceGroupName “rg1” –Name “vault1” –Region “westus” @@ -3283,7 +3283,7 @@ Storage : GeoRedundant PS C:\> - New-AzureRMBackupVault –ResourceGroupName “rg2” –Name “vault2” –Region “westus” –Storage LocallyRedundant + New-AzureRmBackupVault –ResourceGroupName “rg2” –Name “vault2” –Region “westus” –Storage LocallyRedundant @@ -3306,19 +3306,19 @@ Storage : LocallyRedundant - New-AzureRMResourceGroup + New-AzureRmResourceGroup https://msdn.microsoft.com/en-us/library/dn654594.aspx - Get-AzureRMBackupVault + Get-AzureRmBackupVault - Set-AzureRMBackupVault + Set-AzureRmBackupVault - Remove-AzureRMBackupVault + Remove-AzureRmBackupVault @@ -3326,7 +3326,7 @@ Storage : LocallyRedundant - Register-AzureRMBackupContainer + Register-AzureRmBackupContainer Register the container with the Azure Backup vault @@ -3342,7 +3342,7 @@ Storage : LocallyRedundant - Register-AzureRMBackupContainer + Register-AzureRmBackupContainer Name @@ -3353,7 +3353,7 @@ Storage : LocallyRedundant ServiceName - The cloud service name of the Azure VM to be registered. Typically the cloud service name has a suffix ".cloudapp.net". Do not include the suffix as input to this commandlet! You can use the Get-AzureRMVM commandlet (in the AzureServiceManagement mode) to get the VM information; the service name is the DeploymentName property in the VM object. + The cloud service name of the Azure VM to be registered. Typically the cloud service name has a suffix ".cloudapp.net". Do not include the suffix as input to this commandlet! You can use the Get-AzureRmVM commandlet (in the AzureServiceManagement mode) to get the VM information; the service name is the DeploymentName property in the VM object. String @@ -3373,7 +3373,7 @@ Storage : LocallyRedundant - Register-AzureRMBackupContainer + Register-AzureRmBackupContainer Name @@ -3420,7 +3420,7 @@ Storage : LocallyRedundant ServiceName - The cloud service name of the Azure VM to be registered. Typically the cloud service name has a suffix ".cloudapp.net". Do not include the suffix as input to this commandlet! You can use the Get-AzureRMVM commandlet (in the AzureServiceManagement mode) to get the VM information; the service name is the DeploymentName property in the VM object. + The cloud service name of the Azure VM to be registered. Typically the cloud service name has a suffix ".cloudapp.net". Do not include the suffix as input to this commandlet! You can use the Get-AzureRmVM commandlet (in the AzureServiceManagement mode) to get the VM information; the service name is the DeploymentName property in the VM object. String @@ -3505,7 +3505,7 @@ Storage : LocallyRedundant PS C:\> - $job = Register-AzureRMBackupContainer -Vault $v -Name "testvm" -ServiceName "testvm" + $job = Register-AzureRmBackupContainer -Vault $v -Name "testvm" -ServiceName "testvm" @@ -3523,7 +3523,7 @@ Storage : LocallyRedundant - Get-AzureRMVM + Get-AzureRmVM @@ -3531,7 +3531,7 @@ Storage : LocallyRedundant - Remove-AzureRMBackupProtectionPolicy + Remove-AzureRmBackupProtectionPolicy Deletes a backup policy from the vault @@ -3547,11 +3547,11 @@ Storage : LocallyRedundant - Remove-AzureRMBackupProtectionPolicy + Remove-AzureRmBackupProtectionPolicy ProtectionPolicy - The protection policy object that has information about the policy. Use the Get-AzureRMBackupProtectionPolicy commandlet to get a list of protection policy objects. + The protection policy object that has information about the policy. Use the Get-AzureRmBackupProtectionPolicy commandlet to get a list of protection policy objects. AzureRMBackupProtectionPolicy @@ -3568,7 +3568,7 @@ Storage : LocallyRedundant ProtectionPolicy - The protection policy object that has information about the policy. Use the Get-AzureRMBackupProtectionPolicy commandlet to get a list of protection policy objects. + The protection policy object that has information about the policy. Use the Get-AzureRmBackupProtectionPolicy commandlet to get a list of protection policy objects. AzureRMBackupProtectionPolicy @@ -3621,7 +3621,7 @@ Storage : LocallyRedundant - The policy must not have any associated Items that are protected. If you need to delete the policy, ensure that each associated item is protected with some other policy first. To associate another policy with a backup item, use the Enable-AzureRMBackupProtection commandlet. + The policy must not have any associated Items that are protected. If you need to delete the policy, ensure that each associated item is protected with some other policy first. To associate another policy with a backup item, use the Enable-AzureRmBackupProtection commandlet. @@ -3630,7 +3630,7 @@ Storage : LocallyRedundant PS C:\> - Get-AzureRMBackupProtectionPolicy -Vault $v -Name DailyBackup | Remove-AzureRMBackupProtectionPolicy + Get-AzureRmBackupProtectionPolicy -Vault $v -Name DailyBackup | Remove-AzureRmBackupProtectionPolicy In this example, we fetch a policy named "DailyBackup" and pipe the policy object to the Remove commandlet. @@ -3648,11 +3648,11 @@ Storage : LocallyRedundant - Get-AzureRMBackupProtectionPolicy + Get-AzureRmBackupProtectionPolicy - New-AzureRMBackupProtectionPolicy + New-AzureRmBackupProtectionPolicy @@ -3660,7 +3660,7 @@ Storage : LocallyRedundant - Remove-AzureRMBackupVault + Remove-AzureRmBackupVault Deletes the Azure Backup vault object based on the parameters that are specified. @@ -3672,16 +3672,16 @@ Storage : LocallyRedundant - The Remove-AzureRMBackupVault commandlet deletes the backup vault. However, before a vault can be removed, it must first be empty – it must contain no backup data or protected items or registered servers. This ensures that a vault cannot be deleted inadvertently; the deletion of a backup vault is a planned operation. - Use the Remove-AzureRMBackupContainer commandlet to clear up IaaS VM backup data from the vault, or use the Delete-RegisteredServer commandlet to clear up other registered servers and backup data. + The Remove-AzureRmBackupVault commandlet deletes the backup vault. However, before a vault can be removed, it must first be empty – it must contain no backup data or protected items or registered servers. This ensures that a vault cannot be deleted inadvertently; the deletion of a backup vault is a planned operation. + Use the Remove-AzureRmBackupContainer commandlet to clear up IaaS VM backup data from the vault, or use the Delete-RegisteredServer commandlet to clear up other registered servers and backup data. - Remove-AzureRMBackupVault + Remove-AzureRmBackupVault Vault - The specific Azure Backup vault object which needs to be removed. Use the Get-AzureRMBackupVault to get a list of vaults. + The specific Azure Backup vault object which needs to be removed. Use the Get-AzureRmBackupVault to get a list of vaults. AzureRMBackupVault @@ -3698,7 +3698,7 @@ Storage : LocallyRedundant Vault - The specific Azure Backup vault object which needs to be removed. Use the Get-AzureRMBackupVault to get a list of vaults. + The specific Azure Backup vault object which needs to be removed. Use the Get-AzureRmBackupVault to get a list of vaults. AzureRMBackupVault @@ -3758,7 +3758,7 @@ Storage : LocallyRedundant PS C:\> - Get-AzureRMBackupVault -Name "myvault" | Remove-AzureRMBackupVault + Get-AzureRmBackupVault -Name "myvault" | Remove-AzureRmBackupVault @@ -3780,15 +3780,15 @@ Storage : LocallyRedundant - New-AzureRMBackupVault + New-AzureRmBackupVault - Get-AzureRMBackupVault + Get-AzureRmBackupVault - Set-AzureRMBackupVault + Set-AzureRmBackupVault @@ -3796,7 +3796,7 @@ Storage : LocallyRedundant - Restore-AzureRMBackupItem + Restore-AzureRmBackupItem Restores the data and config for a point in time @@ -3808,11 +3808,11 @@ Storage : LocallyRedundant - In order to restore backup data, you need to identify the backed-up item and the recovery point that holds the point-in-time data that needs to be restored. This information is supplied to the Restore-AzureRMBackupItem commandlet to initiate a restore of data from the vault to the customer's account. + In order to restore backup data, you need to identify the backed-up item and the recovery point that holds the point-in-time data that needs to be restored. This information is supplied to the Restore-AzureRmBackupItem commandlet to initiate a restore of data from the vault to the customer's account. - Restore-AzureRMBackupItem + Restore-AzureRmBackupItem StorageAccountName @@ -3914,8 +3914,8 @@ Storage : LocallyRedundant PS C:\> - $rp = Get-AzureRMBackupContainer -Type AzureVM -Status Registered -Vault $v | Get-AzureRMBackupItem | Get-AzureRMBackupRecoveryPoint -PS C:\> Restore-AzureRMBackupItem -StorageAccountName "destaccount" -RecoveryPoint $rp + $rp = Get-AzureRmBackupContainer -Type AzureVM -Status Registered -Vault $v | Get-AzureRmBackupItem | Get-AzureRmBackupRecoveryPoint +PS C:\> Restore-AzureRmBackupItem -StorageAccountName "destaccount" -RecoveryPoint $rp @@ -3939,7 +3939,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01 - Set-AzureRMBackupProtectionPolicy + Set-AzureRmBackupProtectionPolicy Update an existing protection policy @@ -3959,7 +3959,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01 - Set-AzureRMBackupProtectionPolicy + Set-AzureRmBackupProtectionPolicy NewName @@ -3997,7 +3997,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01 - Set-AzureRMBackupProtectionPolicy + Set-AzureRmBackupProtectionPolicy NewName @@ -4008,7 +4008,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01 Daily - An optional parameter that sets the backup operation to run at a Daily schedule. Refer to New-AzureRMBackupProtectionPolicy for examples. + An optional parameter that sets the backup operation to run at a Daily schedule. Refer to New-AzureRmBackupProtectionPolicy for examples. SwitchParameter @@ -4042,7 +4042,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01 - Set-AzureRMBackupProtectionPolicy + Set-AzureRmBackupProtectionPolicy NewName @@ -4053,7 +4053,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01 Weekly - An optional parameter that sets the backup operation to run at a Weekly schedule. Refer to New-AzureRMBackupProtectionPolicy for examples. + An optional parameter that sets the backup operation to run at a Weekly schedule. Refer to New-AzureRmBackupProtectionPolicy for examples. SwitchParameter @@ -4074,7 +4074,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01 DaysOfWeek - An optional parameter that sets the backup operation to run on specific days of the week. Used in conjunction with the -Weekly parameter. Refer to New-AzureRMBackupProtectionPolicy for examples. + An optional parameter that sets the backup operation to run on specific days of the week. Used in conjunction with the -Weekly parameter. Refer to New-AzureRmBackupProtectionPolicy for examples. String[] @@ -4158,7 +4158,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01 Daily - An optional parameter that sets the backup operation to run at a Daily schedule. Refer to New-AzureRMBackupProtectionPolicy for examples. + An optional parameter that sets the backup operation to run at a Daily schedule. Refer to New-AzureRmBackupProtectionPolicy for examples. SwitchParameter @@ -4170,7 +4170,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01 Weekly - An optional parameter that sets the backup operation to run at a Weekly schedule. Refer to New-AzureRMBackupProtectionPolicy for examples. + An optional parameter that sets the backup operation to run at a Weekly schedule. Refer to New-AzureRmBackupProtectionPolicy for examples. SwitchParameter @@ -4182,7 +4182,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01 DaysOfWeek - An optional parameter that sets the backup operation to run on specific days of the week. Used in conjunction with the -Weekly parameter. Refer to New-AzureRMBackupProtectionPolicy for examples. + An optional parameter that sets the backup operation to run on specific days of the week. Used in conjunction with the -Weekly parameter. Refer to New-AzureRmBackupProtectionPolicy for examples. String[] @@ -4229,7 +4229,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01 - New-AzureRMBackupProtectionPolicy + New-AzureRmBackupProtectionPolicy @@ -4237,7 +4237,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01 - Set-AzureRMBackupVault + Set-AzureRmBackupVault Changes the properties of the Azure Backup vault object based on the parameters that are specified. @@ -4249,11 +4249,11 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01 - The Set-AzureRMBackupVault commandlet allows you to change the storage type of the backup vault. The other parameters like Region, Name, and ResourceGroupName are not editable. + The Set-AzureRmBackupVault commandlet allows you to change the storage type of the backup vault. The other parameters like Region, Name, and ResourceGroupName are not editable. - Set-AzureRMBackupVault + Set-AzureRmBackupVault Storage @@ -4264,7 +4264,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01 Vault - The specific Azure Backup vault object for which the properties need to be updated. Use the Get-AzureRMBackupVault to get a list of vaults. + The specific Azure Backup vault object for which the properties need to be updated. Use the Get-AzureRmBackupVault to get a list of vaults. AzureRMBackupVault @@ -4293,7 +4293,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01 Vault - The specific Azure Backup vault object for which the properties need to be updated. Use the Get-AzureRMBackupVault to get a list of vaults. + The specific Azure Backup vault object for which the properties need to be updated. Use the Get-AzureRmBackupVault to get a list of vaults. AzureRMBackupVault @@ -4353,7 +4353,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01 PS C:\> - Get-AzureRMBackupVault –Name “myvault” | Set-AzureRMBackupVault –Storage LocallyRedundant + Get-AzureRmBackupVault –Name “myvault” | Set-AzureRmBackupVault –Storage LocallyRedundant @@ -4371,15 +4371,15 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01 - New-AzureRMBackupVault + New-AzureRmBackupVault - Get-AzureRMBackupVault + Get-AzureRmBackupVault - Remove-AzureRMBackupVault + Remove-AzureRmBackupVault @@ -4387,7 +4387,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01 - Stop-AzureRMBackupJob + Stop-AzureRmBackupJob Cancels an ongoing Azure Backup job @@ -4407,18 +4407,18 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01 - Stop-AzureRMBackupJob + Stop-AzureRmBackupJob Vault - Use the Get-AzureRMBackupVault to get a list of vaults. + Use the Get-AzureRmBackupVault to get a list of vaults. AzureRMBackupVault JobID - The GUID that uniquely identifies a job in the Azure Backup service. Use the Get-AzureRMBackupJob commandlet to get one or more jobs. From the AzureRMBackupJob object, use the InstanceId field for this value. + The GUID that uniquely identifies a job in the Azure Backup service. Use the Get-AzureRmBackupJob commandlet to get one or more jobs. From the AzureRMBackupJob object, use the InstanceId field for this value. String @@ -4431,7 +4431,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01 - Stop-AzureRMBackupJob + Stop-AzureRmBackupJob Job @@ -4452,7 +4452,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01 Vault - Use the Get-AzureRMBackupVault to get a list of vaults. + Use the Get-AzureRmBackupVault to get a list of vaults. AzureRMBackupVault @@ -4464,7 +4464,7 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01 JobID - The GUID that uniquely identifies a job in the Azure Backup service. Use the Get-AzureRMBackupJob commandlet to get one or more jobs. From the AzureRMBackupJob object, use the InstanceId field for this value. + The GUID that uniquely identifies a job in the Azure Backup service. Use the Get-AzureRmBackupJob commandlet to get one or more jobs. From the AzureRMBackupJob object, use the InstanceId field for this value. String @@ -4536,8 +4536,8 @@ test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01 PS C:\> - $j = Get-AzureRMBackupJob -Vault $v -Operation Backup -PS C:\> Stop-AzureRMBackupJob -Vault $v -JobID $j.InstanceId + $j = Get-AzureRmBackupJob -Vault $v -Operation Backup +PS C:\> Stop-AzureRmBackupJob -Vault $v -JobID $j.InstanceId @@ -4557,9 +4557,9 @@ PS C:\> Stop-AzureRMBackupJob -Vault $v -JobID $j.InstanceId PS C:\> - Get-AzureRMBackupJob -Vault $v -Operation Restore | Stop-AzureRMBackupJob + Get-AzureRmBackupJob -Vault $v -Operation Restore | Stop-AzureRmBackupJob - In this example, the AzureRMBackupJob objects returned by the Get-AzureRMBackupJob commandlet are piped to the Stop-AzureRMBackupJob commandlet. + In this example, the AzureRMBackupJob objects returned by the Get-AzureRmBackupJob commandlet are piped to the Stop-AzureRmBackupJob commandlet. @@ -4579,7 +4579,7 @@ PS C:\> Stop-AzureRMBackupJob -Vault $v -JobID $j.InstanceId - Unregister-AzureRMBackupContainer + Unregister-AzureRmBackupContainer Unregisters the specified Windows Server or Azure virtual machine from the Azure Backup vault. @@ -4595,7 +4595,7 @@ PS C:\> Stop-AzureRMBackupJob -Vault $v -JobID $j.InstanceId - Unregister-AzureRMBackupContainer + Unregister-AzureRmBackupContainer Force @@ -4696,10 +4696,10 @@ PS C:\> Stop-AzureRMBackupJob -Vault $v -JobID $j.InstanceId PS C:\> - $c = Get-AzureRMBackupContainer -vault $v -type Windows -name "server1.contoso.com" -PS C:\> Unregister-AzureRMBackupContainer -container $c[0] + $c = Get-AzureRmBackupContainer -vault $v -type Windows -name "server1.contoso.com" +PS C:\> Unregister-AzureRmBackupContainer -container $c[0] - The user first gets the container that needs to be unregistered using the Get-AzureRMBackupContainer commandlet. This container object is passed to the unregister commandlet. This unregisters the specified Windows Server from the Azure Backup vault. + The user first gets the container that needs to be unregistered using the Get-AzureRmBackupContainer commandlet. This container object is passed to the unregister commandlet. This unregisters the specified Windows Server from the Azure Backup vault. Unregister Server @@ -4719,7 +4719,7 @@ This operation will delete all data in the backup vault that is associated with PS C:\> - Unregister-AzureRMBackupContainer -container $c –force + Unregister-AzureRmBackupContainer -container $c –force The -Force option does not ask the user for confirmation before deleting the data and unregistering the server. @@ -4737,7 +4737,7 @@ This operation will delete all data in the backup vault that is associated with - Get-AzureRMBackupContainer + Get-AzureRmBackupContainer @@ -4745,7 +4745,7 @@ This operation will delete all data in the backup vault that is associated with - Wait-AzureRMBackupJob + Wait-AzureRmBackupJob Waits for an Azure Backup job to complete @@ -4762,7 +4762,7 @@ This operation will delete all data in the backup vault that is associated with - Wait-AzureRMBackupJob + Wait-AzureRmBackupJob Job @@ -4861,7 +4861,7 @@ Array of AzureRMBackupJob objects - Get-AzureRMBackupJob + Get-AzureRmBackupJob diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/BatchAccountTests.ps1 b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/BatchAccountTests.ps1 index 962fc3aaceef..2e976d45c945 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/BatchAccountTests.ps1 +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/BatchAccountTests.ps1 @@ -18,7 +18,7 @@ Tests querying for a Batch account that does not exist throws #> function Test-GetNonExistingBatchAccount { - Assert-Throws { Get-AzureRMBatchAccount -Name "accountthatdoesnotexist" } + Assert-Throws { Get-AzureRmBatchAccount -Name "accountthatdoesnotexist" } } <# @@ -34,11 +34,11 @@ function Test-CreatesNewBatchAccount try { - New-AzureRMResourceGroup -Name $resourceGroup -Location $location + New-AzureRmResourceGroup -Name $resourceGroup -Location $location # Test - $actual = New-AzureRMBatchAccount -Name $account -ResourceGroupName $resourceGroup -Location $location -Tag @{Name = "testtag"; Value = "testval"} - $expected = Get-AzureRMBatchAccount -Name $account -ResourceGroupName $resourceGroup + $actual = New-AzureRmBatchAccount -Name $account -ResourceGroupName $resourceGroup -Location $location -Tag @{Name = "testtag"; Value = "testval"} + $expected = Get-AzureRmBatchAccount -Name $account -ResourceGroupName $resourceGroup # Assert Assert-AreEqual $expected.AccountName $actual.AccountName @@ -67,12 +67,12 @@ function Test-CreateExistingBatchAccount try { - New-AzureRMResourceGroup -Name $resourceGroup -Location $location + New-AzureRmResourceGroup -Name $resourceGroup -Location $location # Test - New-AzureRMBatchAccount -Name $account -ResourceGroupName $resourceGroup -Location $location -Tag @{Name = "testtag"; Value = "testval"} + New-AzureRmBatchAccount -Name $account -ResourceGroupName $resourceGroup -Location $location -Tag @{Name = "testtag"; Value = "testval"} - Assert-Throws { New-AzureRMBatchAccount -Name $account -ResourceGroupName $resourceGroup -Location $location } + Assert-Throws { New-AzureRmBatchAccount -Name $account -ResourceGroupName $resourceGroup -Location $location } } finally { @@ -99,15 +99,15 @@ function Test-UpdatesExistingBatchAccount try { - New-AzureRMResourceGroup -Name $resourceGroup -Location $location + New-AzureRmResourceGroup -Name $resourceGroup -Location $location #Test - $new = New-AzureRMBatchAccount -Name $account -ResourceGroupName $resourceGroup -Location $location -Tag @{Name = $tagName1; Value = $tagValue1} + $new = New-AzureRmBatchAccount -Name $account -ResourceGroupName $resourceGroup -Location $location -Tag @{Name = $tagName1; Value = $tagValue1} Assert-AreEqual 1 $new.Tags.Count # Update Tag - $actual = Set-AzureRMBatchAccount -Name $account -ResourceGroupName $resourceGroup -Tag @{Name = $tagName2; Value = $tagValue2} - $expected = Get-AzureRMBatchAccount -Name $account -ResourceGroupName $resourceGroup + $actual = Set-AzureRmBatchAccount -Name $account -ResourceGroupName $resourceGroup -Tag @{Name = $tagName2; Value = $tagValue2} + $expected = Get-AzureRmBatchAccount -Name $account -ResourceGroupName $resourceGroup # Assert Assert-AreEqual $expected.AccountName $actual.AccountName @@ -144,15 +144,15 @@ function Test-GetBatchAccountsUnderResourceGroups try { - New-AzureRMResourceGroup -Name $resourceGroup1 -Location $location1 - New-AzureRMResourceGroup -Name $resourceGroup2 -Location $location1 - New-AzureRMBatchAccount -Name $account11 -ResourceGroupName $resourceGroup1 -Location $location1 - New-AzureRMBatchAccount -Name $account12 -ResourceGroupName $resourceGroup1 -Location $location2 - New-AzureRMBatchAccount -Name $account21 -ResourceGroupName $resourceGroup2 -Location $location3 + New-AzureRmResourceGroup -Name $resourceGroup1 -Location $location1 + New-AzureRmResourceGroup -Name $resourceGroup2 -Location $location1 + New-AzureRmBatchAccount -Name $account11 -ResourceGroupName $resourceGroup1 -Location $location1 + New-AzureRmBatchAccount -Name $account12 -ResourceGroupName $resourceGroup1 -Location $location2 + New-AzureRmBatchAccount -Name $account21 -ResourceGroupName $resourceGroup2 -Location $location3 # Test - $allAccounts = Get-AzureRMBatchAccount | Where-Object {$_.ResourceGroupName -eq $resourceGroup1 -or $_.ResourceGroupName -eq $resourceGroup2} - $resourceGroup1Accounts = Get-AzureRMBatchAccount -ResourceGroupName $resourceGroup1 + $allAccounts = Get-AzureRmBatchAccount | Where-Object {$_.ResourceGroupName -eq $resourceGroup1 -or $_.ResourceGroupName -eq $resourceGroup2} + $resourceGroup1Accounts = Get-AzureRmBatchAccount -ResourceGroupName $resourceGroup1 # Assert Assert-AreEqual 3 $allAccounts.Count @@ -184,16 +184,16 @@ function Test-CreateAndRemoveBatchAccountViaPiping try { - New-AzureRMResourceGroup -Name $resourceGroup -Location $location1 + New-AzureRmResourceGroup -Name $resourceGroup -Location $location1 # Test - New-AzureRMBatchAccount -Name $account1 -ResourceGroupName $resourceGroup -Location $location1 - New-AzureRMBatchAccount -Name $account2 -ResourceGroupName $resourceGroup -Location $location2 - Get-AzureRMBatchAccount | where {$_.AccountName -eq $account1 -or $_.AccountName -eq $account2} | Remove-AzureRMBatchAccount -Force + New-AzureRmBatchAccount -Name $account1 -ResourceGroupName $resourceGroup -Location $location1 + New-AzureRmBatchAccount -Name $account2 -ResourceGroupName $resourceGroup -Location $location2 + Get-AzureRmBatchAccount | where {$_.AccountName -eq $account1 -or $_.AccountName -eq $account2} | Remove-AzureRmBatchAccount -Force # Assert - Assert-Throws { Get-AzureRMBatchAccount -Name $account1 } - Assert-Throws { Get-AzureRMBatchAccount -Name $account2 } + Assert-Throws { Get-AzureRmBatchAccount -Name $account1 } + Assert-Throws { Get-AzureRmBatchAccount -Name $account2 } } finally { @@ -214,17 +214,17 @@ function Test-BatchAccountKeys try { - New-AzureRMResourceGroup -Name $resourceGroup -Location $location + New-AzureRmResourceGroup -Name $resourceGroup -Location $location # Test - $new = New-AzureRMBatchAccount -Name $account -ResourceGroupName $resourceGroup -Location $location -Tag @{Name = "testtag"; Value = "testval"} - $originalKeys = Get-AzureRMBatchAccountKeys -Name $account -ResourceGroupName $resourceGroup + $new = New-AzureRmBatchAccount -Name $account -ResourceGroupName $resourceGroup -Location $location -Tag @{Name = "testtag"; Value = "testval"} + $originalKeys = Get-AzureRmBatchAccountKeys -Name $account -ResourceGroupName $resourceGroup $originalPrimaryKey = $originalKeys.PrimaryAccountKey $originalSecondaryKey = $originalKeys.SecondaryAccountKey - $newPrimary = New-AzureRMBatchAccountKey -Name $account -ResourceGroupName $resourceGroup -KeyType Primary - $newSecondary = New-AzureRMBatchAccountKey -Name $account -ResourceGroupName $resourceGroup -KeyType Secondary - $finalKeys = Get-AzureRMBatchAccountKeys -Name $account -ResourceGroupName $resourceGroup - $getAccountResult = Get-AzureRMBatchAccount -Name $account -ResourceGroupName $resourceGroup + $newPrimary = New-AzureRmBatchAccountKey -Name $account -ResourceGroupName $resourceGroup -KeyType Primary + $newSecondary = New-AzureRmBatchAccountKey -Name $account -ResourceGroupName $resourceGroup -KeyType Secondary + $finalKeys = Get-AzureRmBatchAccountKeys -Name $account -ResourceGroupName $resourceGroup + $getAccountResult = Get-AzureRmBatchAccount -Name $account -ResourceGroupName $resourceGroup # Assert Assert-AreEqual $null $new.PrimaryAccountKey diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/Common.ps1 b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/Common.ps1 index a9880c107afc..04bb844d6e74 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/Common.ps1 +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/Common.ps1 @@ -36,7 +36,7 @@ Gets the location for the Batch account provider. Default to West US if none fou #> function Get-BatchAccountProviderLocation($index) { - $location = Get-AzureRMLocation | where {$_.Name -eq "Microsoft.Batch/batchAccounts"} + $location = Get-AzureRmLocation | where {$_.Name -eq "Microsoft.Batch/batchAccounts"} if ($location -eq $null) { "West US" @@ -72,7 +72,7 @@ function Clean-BatchAccount($accountName,$resourceGroup) { if ([Microsoft.Azure.Test.HttpRecorder.HttpMockServer]::Mode -ne [Microsoft.Azure.Test.HttpRecorder.HttpRecorderMode]::Playback) { - Remove-AzureRMBatchAccount -Name $accountName -ResourceGroupName $resourceGroup -Force + Remove-AzureRmBatchAccount -Name $accountName -ResourceGroupName $resourceGroup -Force } } @@ -84,6 +84,6 @@ function Clean-ResourceGroup($resourceGroup) { if ([Microsoft.Azure.Test.HttpRecorder.HttpMockServer]::Mode -ne [Microsoft.Azure.Test.HttpRecorder.HttpRecorderMode]::Playback) { - Remove-AzureRMResourceGroup -Name $resourceGroup -Force + Remove-AzureRmResourceGroup -Name $resourceGroup -Force } } \ No newline at end of file diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ComputeNodeTests.ps1 b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ComputeNodeTests.ps1 index 8447cbb25ae7..a06c4b33b67b 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ComputeNodeTests.ps1 +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ComputeNodeTests.ps1 @@ -20,7 +20,7 @@ function Test-GetComputeNodeById { param([string]$accountName, [string]$poolId) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $computeNodeId = (Get-AzureBatchComputeNode_ST -PoolId $poolId -BatchContext $context)[0].Id $computeNode = Get-AzureBatchComputeNode_ST -PoolId $poolId -Id $computeNodeId -BatchContext $context @@ -41,7 +41,7 @@ function Test-ListComputeNodesByFilter { param([string]$accountName, [string]$poolId, [string]$state, [string]$matches) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $filter = "state eq '" + "$state" + "'" $computeNodes = Get-AzureBatchComputeNode_ST -PoolId $poolId -Filter $filter -BatchContext $context @@ -71,7 +71,7 @@ function Test-ListComputeNodesWithMaxCount { param([string]$accountName, [string]$poolId, [string]$maxCount) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $computeNodes = Get-AzureBatchComputeNode_ST -PoolId $poolId -MaxCount $maxCount -BatchContext $context Assert-AreEqual $maxCount $computeNodes.Length @@ -91,7 +91,7 @@ function Test-ListAllComputeNodes { param([string]$accountName, [string]$poolId, [string]$count) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $computeNodes = Get-AzureBatchComputeNode_ST -PoolId $poolId -BatchContext $context Assert-AreEqual $count $computeNodes.Length @@ -111,7 +111,7 @@ function Test-ListComputeNodePipeline { param([string]$accountName, [string]$poolId, [string]$count) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $computeNodes = Get-AzureBatchPool_ST -Id $poolId -BatchContext $context | Get-AzureBatchComputeNode_ST -BatchContext $context Assert-AreEqual $count $computeNodes.Count @@ -125,7 +125,7 @@ function Test-RebootComputeNode { param([string]$accountName, [string]$poolId, [string]$computeNodeId, [string]$usePipeline) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $rebootOption = ([Microsoft.Azure.Batch.Common.ComputeNodeRebootOption]::Terminate) @@ -151,7 +151,7 @@ function Test-ReimageComputeNode { param([string]$accountName, [string]$poolId, [string]$computeNodeId, [string]$usePipeline) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $reimageOption = ([Microsoft.Azure.Batch.Common.ComputeNodeReimageOption]::Terminate) diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ComputeNodeUserTests.ps1 b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ComputeNodeUserTests.ps1 index 9c6d105662c9..db5105bc5eb7 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ComputeNodeUserTests.ps1 +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ComputeNodeUserTests.ps1 @@ -20,7 +20,7 @@ function Test-CreateComputeNodeUser { param([string]$accountName, [string]$poolId, [string]$computeNodeId, [string]$userName, [string]$usePipeline) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $password = "Password1234!" # Create a user @@ -49,7 +49,7 @@ function Test-DeleteComputeNodeUser { param([string]$accountName, [string]$poolId, [string]$computeNodeId, [string]$userName) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName Remove-AzureBatchComputeNodeUser_ST -PoolId $poolId -ComputeNodeId $computeNodeId -Name $userName -Force -BatchContext $context diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/FileTests.ps1 b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/FileTests.ps1 index 876e98344035..7f857134eb8d 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/FileTests.ps1 +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/FileTests.ps1 @@ -20,7 +20,7 @@ function Test-GetNodeFileByTaskByName { param([string]$accountName, [string]$jobId, [string]$taskId, [string]$nodeFileName) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $nodeFile = Get-AzureBatchNodeFile_ST -JobId $jobId -TaskId $taskId -Name $nodeFileName -BatchContext $context Assert-AreEqual $nodeFileName $nodeFile.Name @@ -34,7 +34,7 @@ function Test-ListNodeFilesByTaskByFilter { param([string]$accountName, [string]$jobId, [string]$taskId, [string]$nodeFilePrefix, [string]$matches) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $filter = "startswith(name,'" + "$nodeFilePrefix" + "')" $nodeFiles = Get-AzureBatchNodeFile_ST -JobId $jobId -TaskId $taskId -Filter $filter -BatchContext $context @@ -64,7 +64,7 @@ function Test-ListNodeFilesByTaskWithMaxCount { param([string]$accountName, [string]$jobId, [string]$taskId, [string]$maxCount) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $nodeFiles = Get-AzureBatchNodeFile_ST -JobId $jobId -TaskId $taskId -MaxCount $maxCount -BatchContext $context Assert-AreEqual $maxCount $nodeFiles.Length @@ -84,7 +84,7 @@ function Test-ListNodeFilesByTaskRecursive { param([string]$accountName, [string]$jobId, [string]$taskId, [string]$newfile) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $filter = "startswith(name,'wd')" $nodeFiles = Get-AzureBatchNodeFile_ST -JobId $jobId -TaskId $taskId -Filter $filter -BatchContext $context @@ -108,7 +108,7 @@ function Test-ListAllNodeFilesByTask { param([string]$accountName, [string] $jobId, [string]$taskId, [string]$count) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $nodeFiles = Get-AzureBatchNodeFile_ST -JobId $jobId -TaskId $taskId -Filter $null -BatchContext $context Assert-AreEqual $count $nodeFiles.Length @@ -128,7 +128,7 @@ function Test-ListNodeFileByTaskPipeline { param([string]$accountName, [string]$jobId, [string]$taskId, [string]$count) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName # Get Task into Get Node File $nodeFiles = Get-AzureBatchTask_ST -JobId $jobId -Id $taskId -BatchContext $context | Get-AzureBatchNodeFile_ST -BatchContext $context @@ -147,7 +147,7 @@ function Test-GetNodeFileContentByTaskByName { param([string]$accountName, [string]$jobId, [string]$taskId, [string]$nodeFileName, [string]$fileContent) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $stream = New-Object System.IO.MemoryStream try @@ -179,7 +179,7 @@ function Test-GetNodeFileContentByTaskPipeline { param([string]$accountName, [string]$jobId, [string]$taskId, [string]$nodeFileName, [string]$fileContent) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $stream = New-Object System.IO.MemoryStream try @@ -212,7 +212,7 @@ function Test-GetNodeFileByComputeNodeByName { param([string]$accountName, [string]$poolId, [string]$computeNodeId, [string]$nodeFileName) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $nodeFile = Get-AzureBatchNodeFile_ST -PoolId $poolId -ComputeNodeId $computeNodeId -Name $nodeFileName -BatchContext $context Assert-AreEqual $nodeFileName $nodeFile.Name @@ -231,7 +231,7 @@ function Test-ListNodeFilesByComputeNodeByFilter { param([string]$accountName, [string]$poolId, [string]$computeNodeId, [string]$nodeFilePrefix, [string]$matches) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $filter = "startswith(name,'" + "$nodeFilePrefix" + "')" $nodeFiles = Get-AzureBatchNodeFile_ST -PoolId $poolId -ComputeNodeId $computeNodeId -Filter $filter -BatchContext $context @@ -261,7 +261,7 @@ function Test-ListNodeFilesByComputeNodeWithMaxCount { param([string]$accountName, [string]$poolId, [string]$computeNodeId, [string]$maxCount) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $nodeFiles = Get-AzureBatchNodeFile_ST -PoolId $poolId -ComputeNodeId $computeNodeId -MaxCount $maxCount -BatchContext $context Assert-AreEqual $maxCount $nodeFiles.Length @@ -281,7 +281,7 @@ function Test-ListNodeFilesByComputeNodeRecursive { param([string]$accountName, [string]$poolId, [string]$computeNodeId, [string]$startupFolder, [string]$recursiveCount) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $filter = "startswith(name,'" + "$startupFolder" + "')" $nodeFiles = Get-AzureBatchNodeFile_ST -PoolId $poolId -ComputeNodeId $computeNodeId -Filter $filter -BatchContext $context @@ -305,7 +305,7 @@ function Test-ListAllNodeFilesByComputeNode { param([string]$accountName, [string]$poolId, [string] $computeNodeId, [string]$count) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $nodeFiles = Get-AzureBatchNodeFile_ST -PoolId $poolId -ComputeNodeId $computeNodeId -BatchContext $context Assert-AreEqual $count $nodeFiles.Length @@ -325,7 +325,7 @@ function Test-ListNodeFileByComputeNodePipeline { param([string]$accountName, [string]$poolId, [string]$computeNodeId, [string]$count) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName # Get Compute Node into Get Node File $nodeFiles = Get-AzureBatchComputeNode_ST -PoolId $poolId -Id $computeNodeId -BatchContext $context | Get-AzureBatchNodeFile_ST -BatchContext $context @@ -340,7 +340,7 @@ function Test-GetNodeFileContentByComputeNodeByName { param([string]$accountName, [string]$poolId, [string]$computeNodeId, [string]$nodeFileName, [string]$fileContent) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $stream = New-Object System.IO.MemoryStream try @@ -394,7 +394,7 @@ function Test-GetNodeFileContentByComputeNodePipeline { param([string]$accountName, [string]$poolId, [string]$computeNodeId, [string]$nodeFileName, [string]$fileContent) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $stream = New-Object System.IO.MemoryStream try @@ -427,7 +427,7 @@ function Test-GetRDPFileById { param([string]$accountName, [string]$poolId, [string]$computeNodeId) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $stream = New-Object System.IO.MemoryStream $rdpContents = "full address" @@ -482,7 +482,7 @@ function Test-GetRDPFilePipeline { param([string]$accountName, [string]$poolId, [string]$computeNodeId) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $stream = New-Object System.IO.MemoryStream $rdpContents = "full address" diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobScheduleTests.ps1 b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobScheduleTests.ps1 index 3b6302c8d25b..ea242f0848bf 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobScheduleTests.ps1 +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobScheduleTests.ps1 @@ -20,7 +20,7 @@ function Test-NewJobSchedule { param([string]$accountName) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $jsId1 = "simple" $jsId2 = "complex" @@ -275,7 +275,7 @@ function Test-GetJobScheduleById { param([string]$accountName, [string]$jsId) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $jobSchedule = Get-AzureBatchJobSchedule_ST -Id $jsId -BatchContext $context Assert-AreEqual $jsId $jobSchedule.Id @@ -289,7 +289,7 @@ function Test-ListJobSchedulesByFilter { param([string]$accountName, [string]$jsPrefix, [string]$matches) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $jsFilter = "startswith(id,'" + "$jsPrefix" + "')" $jobSchedules = Get-AzureBatchJobSchedule_ST -Filter $jsFilter -BatchContext $context @@ -308,7 +308,7 @@ function Test-ListJobSchedulesWithMaxCount { param([string]$accountName, [string]$maxCount) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $jobSchedules = Get-AzureBatchJobSchedule_ST -MaxCount $maxCount -BatchContext $context Assert-AreEqual $maxCount $jobSchedules.Length @@ -322,7 +322,7 @@ function Test-ListAllJobSchedules { param([string]$accountName, [string]$count) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $jobSchedules = Get-AzureBatchJobSchedule_ST -BatchContext $context Assert-AreEqual $count $jobSchedules.Length @@ -336,7 +336,7 @@ function Test-DeleteJobSchedule { param([string]$accountName, [string]$jobScheduleId, [string]$usePipeline) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName # Verify the job schedule exists $jobSchedules = Get-AzureBatchJobSchedule_ST -BatchContext $context @@ -364,7 +364,7 @@ function Test-DisableAndEnableJobSchedule { param([string]$accountName, [string]$jobScheduleId) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName # Verify the job schedule is Active $jobSchedule = Get-AzureBatchJobSchedule_ST $jobScheduleId -BatchContext $context @@ -400,7 +400,7 @@ function Test-TerminateJobSchedule { param([string]$accountName, [string]$jobScheduleId, [string]$usePipeline) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName if ($usePipeline -eq '1') { diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobTests.ps1 b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobTests.ps1 index e57a62071759..239ff8001b2b 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobTests.ps1 +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobTests.ps1 @@ -20,7 +20,7 @@ function Test-NewJob { param([string]$accountName) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $jobId1 = "simple" $jobId2 = "complex" @@ -235,7 +235,7 @@ function Test-GetJobById { param([string]$accountName, [string]$jobId) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $job = Get-AzureBatchJob_ST -Id $jobId -BatchContext $context Assert-AreEqual $jobId $job.Id @@ -254,7 +254,7 @@ function Test-ListJobsByFilter { param([string]$accountName, [string]$state, [string]$matches) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $filter = "state eq'" + "$state" + "'" $jobs = Get-AzureBatchJob_ST -Filter $filter -BatchContext $context @@ -274,7 +274,7 @@ function Test-ListJobsWithMaxCount { param([string]$accountName, [string]$maxCount) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $jobs = Get-AzureBatchJob_ST -MaxCount $maxCount -BatchContext $context Assert-AreEqual $maxCount $jobs.Length @@ -288,7 +288,7 @@ function Test-ListAllJobs { param([string]$accountName, [string]$count) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $jobs = Get-AzureBatchJob_ST -BatchContext $context Assert-AreEqual $count $jobs.Length @@ -302,7 +302,7 @@ function Test-ListJobsUnderSchedule { param([string]$accountName, [string]$jobScheduleId, [string]$jobId, [string]$count) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $jobSchedule = Get-AzureBatchJobSchedule_ST -Id $jobScheduleId -BatchContext $context # Verify that listing jobs works @@ -333,7 +333,7 @@ function Test-DeleteJob { param([string]$accountName, [string]$jobId, [string]$usePipeline) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName # Verify the job exists $jobs = Get-AzureBatchJob_ST -BatchContext $context @@ -361,7 +361,7 @@ function Test-DisableAndEnableJob { param([string]$accountName, [string]$jobId) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName # Verify the job is Active $job = Get-AzureBatchJob_ST $jobId -BatchContext $context @@ -397,7 +397,7 @@ function Test-TerminateJob { param([string]$accountName, [string]$jobId, [string]$usePipeline) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $terminateReason = "test" if ($usePipeline -eq '1') diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/PoolTests.ps1 b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/PoolTests.ps1 index 5152c9caa167..7c0e70bd8a21 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/PoolTests.ps1 +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/PoolTests.ps1 @@ -20,7 +20,7 @@ function Test-NewPool { param([string]$accountName) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $poolId1 = "simple" $poolId2 = "complex" @@ -111,7 +111,7 @@ function Test-GetPoolById { param([string]$accountName, [string]$poolId) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $pool = Get-AzureBatchPool_ST $poolId -BatchContext $context Assert-AreEqual $poolId $pool.Id @@ -125,7 +125,7 @@ function Test-ListPoolsByFilter { param([string]$accountName, [string]$poolPrefix, [string]$matches) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $poolFilter = "startswith(id,'" + "$poolPrefix" + "')" $pools = Get-AzureBatchPool_ST -Filter $poolFilter -BatchContext $context @@ -144,7 +144,7 @@ function Test-ListPoolsWithMaxCount { param([string]$accountName, [string]$maxCount) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $pools = Get-AzureBatchPool_ST -MaxCount $maxCount -BatchContext $context Assert-AreEqual $maxCount $pools.Length @@ -158,7 +158,7 @@ function Test-ListAllPools { param([string]$accountName, [string]$count) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $pools = Get-AzureBatchPool_ST -BatchContext $context Assert-AreEqual $count $pools.Length @@ -172,7 +172,7 @@ function Test-DeletePool { param([string]$accountName, [string]$poolId, [string]$usePipeline) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName # Verify the pool exists $pool = Get-AzureBatchPool_ST $poolId -BatchContext $context @@ -202,7 +202,7 @@ function Test-ResizePoolById { param([string]$accountName, [string]$poolId) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName # Get the initial TargetDedicated count $pool = Get-AzureBatchPool_ST -Id $poolId -BatchContext $context @@ -224,7 +224,7 @@ function Test-ResizePoolByPipeline { param([string]$accountName, [string]$poolId) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName # Get the initial TargetDedicated count $pool = Get-AzureBatchPool_ST -Id $poolId -BatchContext $context @@ -246,7 +246,7 @@ function Test-StopResizePoolById { param([string]$accountName, [string]$poolId) - $context = Get-AzureRMBatchAccountKeys $accountName + $context = Get-AzureRmBatchAccountKeys $accountName # Start a resize and then stop it $pool = Get-AzureBatchPool_ST -Id $poolId -BatchContext $context @@ -269,7 +269,7 @@ function Test-StopResizePoolByPipeline { param([string]$accountName, [string]$poolId) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName # Start a resize and then stop it $pool = Get-AzureBatchPool_ST -Id $poolId -BatchContext $context @@ -292,7 +292,7 @@ function Test-EnableAutoScale { param([string]$accountName, [string]$poolId, [string]$usePipeline) - $context = Get-AzureRMBatchAccountKeys $accountName + $context = Get-AzureRmBatchAccountKeys $accountName $formula = '$TargetDedicated=2' @@ -323,7 +323,7 @@ function Test-DisableAutoScale { param([string]$accountName, [string]$poolId, [string]$usePipeline) - $context = Get-AzureRMBatchAccountKeys $accountName + $context = Get-AzureRmBatchAccountKeys $accountName # Verify pool starts with autoscale enabled $pool = Get-AzureBatchPool_ST $poolId -BatchContext $context @@ -352,7 +352,7 @@ function Test-EvaluateAutoScale { param([string]$accountName, [string]$poolId, [string]$usePipeline) - $context = Get-AzureRMBatchAccountKeys $accountName + $context = Get-AzureRmBatchAccountKeys $accountName $formula = '$TargetDedicated=2' @@ -381,7 +381,7 @@ function Test-ChangeOSVersion { param([string]$accountName, [string]$poolId, [string]$targetOSVersion, [string]$usePipeline) - $context = Get-AzureRMBatchAccountKeys $accountName + $context = Get-AzureRmBatchAccountKeys $accountName # Verify that we start with a different target OS $pool = Get-AzureBatchPool_ST $poolId -BatchContext $context diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ScenarioTestHelpers.cs b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ScenarioTestHelpers.cs index 9e7a8f1fef1c..5cc38aee23f4 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ScenarioTestHelpers.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/ScenarioTestHelpers.cs @@ -49,10 +49,10 @@ public static class ScenarioTestHelpers // NOTE: To save time on setup and compute node allocation when recording, many tests assume the following: // - A Batch account named 'pstests' exists under the subscription being used for recording. // - The following commands were run to create a pool, and all 3 compute nodes are allocated: - // $context = Get-AzureRMBatchAccountKeys "pstests" + // $context = Get-AzureRmBatchAccountKeys "pstests" // $startTask = New-Object Microsoft.Azure.Commands.Batch.Models.PSStartTask // $startTask.CommandLine = "cmd /c echo hello" - // New-AzureRMBatchPool -Id "testPool" -VirtualMachineSize "small" -OSFamily "4" -TargetOSVersion "*" -TargetDedicated 3 -StartTask $startTask -BatchContext $context + // New-AzureRmBatchPool -Id "testPool" -VirtualMachineSize "small" -OSFamily "4" -TargetOSVersion "*" -TargetDedicated 3 -StartTask $startTask -BatchContext $context internal const string SharedAccount = "pstests"; internal const string SharedPool = "testPool"; internal const string SharedPoolStartTaskStdOut = "startup\\stdout.txt"; diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/TaskTests.ps1 b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/TaskTests.ps1 index 38fcc9eaa164..e82dfca2babe 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/TaskTests.ps1 +++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/TaskTests.ps1 @@ -20,7 +20,7 @@ function Test-CreateTask { param([string]$accountName, [string]$jobId) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $taskId1 = "simple" $taskId2= "complex" @@ -79,7 +79,7 @@ function Test-GetTaskById { param([string]$accountName, [string]$jobId, [string]$taskId) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $task = Get-AzureBatchTask_ST -JobId $jobId -Id $taskId -BatchContext $context Assert-AreEqual $taskId $task.Id @@ -98,7 +98,7 @@ function Test-ListTasksByFilter { param([string]$accountName, [string]$jobId, [string]$taskPrefix, [string]$matches) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $filter = "startswith(id,'" + "$taskPrefix" + "')" $tasks = Get-AzureBatchTask_ST -JobId $jobId -Filter $filter -BatchContext $context @@ -128,7 +128,7 @@ function Test-ListTasksWithMaxCount { param([string]$accountName, [string]$jobId, [string]$maxCount) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $tasks = Get-AzureBatchTask_ST -JobId $jobId -MaxCount $maxCount -BatchContext $context Assert-AreEqual $maxCount $tasks.Length @@ -148,7 +148,7 @@ function Test-ListAllTasks { param([string]$accountName, [string] $jobId, [string]$count) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName $tasks = Get-AzureBatchTask_ST -JobId $jobId -BatchContext $context Assert-AreEqual $count $tasks.Length @@ -168,7 +168,7 @@ function Test-ListTaskPipeline { param([string]$accountName, [string]$jobId, [string]$taskId) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName # Get Job into Get Task $task = Get-AzureBatchJob_ST -Id $jobId -BatchContext $context | Get-AzureBatchTask_ST -BatchContext $context @@ -183,7 +183,7 @@ function Test-DeleteTask { param([string]$accountName, [string]$jobId, [string]$taskId, [string]$usePipeline) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName # Verify the task exists $tasks = Get-AzureBatchTask_ST -JobId $jobId -BatchContext $context @@ -211,7 +211,7 @@ function Test-TerminateTask { param([string]$accountName, [string]$jobId, [string]$taskId1, [string]$taskId2) - $context = Get-AzureRMBatchAccountKeys -Name $accountName + $context = Get-AzureRmBatchAccountKeys -Name $accountName Stop-AzureBatchTask_ST $jobId $taskId1 -BatchContext $context Get-AzureBatchTask_ST $jobId $taskId2 -BatchContext $context | Stop-AzureBatchTask_ST -BatchContext $context diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/BatchObjectModelCmdletBase.cs b/src/ResourceManager/AzureBatch/Commands.Batch/BatchObjectModelCmdletBase.cs index 240b4ba0fe6f..f04498e52cd0 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch/BatchObjectModelCmdletBase.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch/BatchObjectModelCmdletBase.cs @@ -29,7 +29,7 @@ public class BatchObjectModelCmdletBase : BatchCmdletBase /// internal IEnumerable AdditionalBehaviors { get; set; } - [Parameter(Mandatory = true, ValueFromPipeline = true, HelpMessage = "The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRMBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated.")] + [Parameter(Mandatory = true, ValueFromPipeline = true, HelpMessage = "The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRmBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated.")] [ValidateNotNullOrEmpty] public BatchAccountContext BatchContext { get; set; } diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/Microsoft.Azure.Commands.Batch.dll-Help.xml b/src/ResourceManager/AzureBatch/Commands.Batch/Microsoft.Azure.Commands.Batch.dll-Help.xml index cd165684f282..a370084dc237 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch/Microsoft.Azure.Commands.Batch.dll-Help.xml +++ b/src/ResourceManager/AzureBatch/Commands.Batch/Microsoft.Azure.Commands.Batch.dll-Help.xml @@ -3,7 +3,7 @@ - Get-AzureRMBatchAccountKeys + Get-AzureRmBatchAccountKeys Gets the specified key of the specified Batch accounts under the current subscription. @@ -15,11 +15,11 @@ - The Get-AzureRMBatchAccountKeys cmdlet gets the specified key of the specified Azure Batch accounts under the current subscription. + The Get-AzureRmBatchAccountKeys cmdlet gets the specified key of the specified Azure Batch accounts under the current subscription. - Get-AzureRMBatchAccountKeys + Get-AzureRmBatchAccountKeys AccountName @@ -133,7 +133,7 @@ - New-AzureRMBatchAccountKey + New-AzureRmBatchAccountKey @@ -144,7 +144,7 @@ - Get-AzureRMBatchAccount + Get-AzureRmBatchAccount Gets a Batch account under the current subscription. @@ -156,11 +156,11 @@ - The Get-AzureRMBatchAccount cmdlet gets an Azure Batch account under the current subscription. You can use the AccountName parameter to get a single account, or you can use the ResourceGroupName parameter to get accounts under that resource group. + The Get-AzureRmBatchAccount cmdlet gets an Azure Batch account under the current subscription. You can use the AccountName parameter to get a single account, or you can use the ResourceGroupName parameter to get accounts under that resource group. - Get-AzureRMBatchAccount + Get-AzureRmBatchAccount AccountName @@ -283,7 +283,7 @@ - PS C:\>Get-AzureRMBatchAccount -AccountName "pfuller" + PS C:\>Get-AzureRmBatchAccount -AccountName "pfuller" AccountName Location ResourceGroupName Tags TaskTenantUrl ----------- -------- ----------------- ---- ------------- pfuller westus CmdletExampleRG https://pfuller.westus.batch.azure.com @@ -305,7 +305,7 @@ pfuller westus CmdletExampleRG https: - PS C:\>Get-AzureRMBatchAccount -ResourceGroupName "CmdletExampleRG" + PS C:\>Get-AzureRmBatchAccount -ResourceGroupName "CmdletExampleRG" AccountName Location ResourceGroupName Tags TaskTenantUrl ----------- -------- ----------------- ---- ------------- cmdletexample westus CmdletExampleRG https://cmdletexample.westus.batch.azure.com @@ -325,15 +325,15 @@ cmdletexample2 westus CmdletExampleRG https: - New-AzureRMBatchAccount + New-AzureRmBatchAccount - Remove-AzureRMBatchAccount + Remove-AzureRmBatchAccount - Set-AzureRMBatchAccount + Set-AzureRmBatchAccount @@ -385,7 +385,7 @@ cmdletexample2 westus CmdletExampleRG https: BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -423,7 +423,7 @@ cmdletexample2 westus CmdletExampleRG https: BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -461,7 +461,7 @@ cmdletexample2 westus CmdletExampleRG https: BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -471,7 +471,7 @@ cmdletexample2 westus CmdletExampleRG https: BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -613,7 +613,7 @@ CertificateReferences : Errors : - This command gets the compute node that has the ID tvm-2316545714_1-20150725t213220z from the pool that has the ID Pool06. Use the Get-AzureRMBatchAccountKeys cmdlet to assign a context to the $Context variable. + This command gets the compute node that has the ID tvm-2316545714_1-20150725t213220z from the pool that has the ID Pool06. Use the Get-AzureRmBatchAccountKeys cmdlet to assign a context to the $Context variable. @@ -786,7 +786,7 @@ Errors : BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -810,7 +810,7 @@ Errors : BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -820,7 +820,7 @@ Errors : BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -1064,7 +1064,7 @@ Url : https://cmdletexample.westus.batch.azure.com/jobsc BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -1088,7 +1088,7 @@ Url : https://cmdletexample.westus.batch.azure.com/jobsc BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -1126,7 +1126,7 @@ Url : https://cmdletexample.westus.batch.azure.com/jobsc BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -1136,7 +1136,7 @@ Url : https://cmdletexample.westus.batch.azure.com/jobsc BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -1374,7 +1374,7 @@ Url : https://cmdletexample.westus.batch.azure.com/jobs/ - Get-AzureRMBatchAccountKeys + Get-AzureRmBatchAccountKeys @@ -1441,7 +1441,7 @@ Url : https://cmdletexample.westus.batch.azure.com/jobs/ BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -1465,7 +1465,7 @@ Url : https://cmdletexample.westus.batch.azure.com/jobs/ BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -1531,7 +1531,7 @@ Url : https://cmdletexample.westus.batch.azure.com/jobs/ BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -1576,7 +1576,7 @@ Url : https://cmdletexample.westus.batch.azure.com/jobs/ BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -1607,7 +1607,7 @@ Url : https://cmdletexample.westus.batch.azure.com/jobs/ BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -1638,7 +1638,7 @@ Url : https://cmdletexample.westus.batch.azure.com/jobs/ BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -1655,7 +1655,7 @@ Url : https://cmdletexample.westus.batch.azure.com/jobs/ BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -1819,7 +1819,7 @@ Url : https://cmdletexample.westus.batch.azure.com/jobs/ PS C:\>Get-AzureBatchNodeFileContent -JobId "Job01" -TaskId "Task01" -Name "StdOut.txt" -DestinationPath "E:\PowerShell\StdOut.txt" -BatchContext $Context - This command gets the node file that is named StdOut.txt, and saves it to the E:\PowerShell\StdOut.txt file path on the local computer. The StdOut.txt node file is associated with task that has the ID Task01 for the job that has the ID Job01. Use the Get-AzureRMBatchAccountKeys cmdlet to assign a context to the $Context variable. + This command gets the node file that is named StdOut.txt, and saves it to the E:\PowerShell\StdOut.txt file path on the local computer. The StdOut.txt node file is associated with task that has the ID Task01 for the job that has the ID Job01. Use the Get-AzureRmBatchAccountKeys cmdlet to assign a context to the $Context variable. @@ -1931,7 +1931,7 @@ PS C:\> Get-AzureBatchNodeFileContent -PoolId "Pool01" -ComputeNodeId "Comput - Get-AzureRMBatchAccountKeys + Get-AzureRmBatchAccountKeys @@ -1994,7 +1994,7 @@ PS C:\> Get-AzureBatchNodeFileContent -PoolId "Pool01" -ComputeNodeId "Comput BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -2031,7 +2031,7 @@ PS C:\> Get-AzureBatchNodeFileContent -PoolId "Pool01" -ComputeNodeId "Comput BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -2069,7 +2069,7 @@ PS C:\> Get-AzureBatchNodeFileContent -PoolId "Pool01" -ComputeNodeId "Comput BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -2127,7 +2127,7 @@ PS C:\> Get-AzureBatchNodeFileContent -PoolId "Pool01" -ComputeNodeId "Comput BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -2178,7 +2178,7 @@ PS C:\> Get-AzureBatchNodeFileContent -PoolId "Pool01" -ComputeNodeId "Comput BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -2222,7 +2222,7 @@ PS C:\> Get-AzureBatchNodeFileContent -PoolId "Pool01" -ComputeNodeId "Comput BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -2232,7 +2232,7 @@ PS C:\> Get-AzureBatchNodeFileContent -PoolId "Pool01" -ComputeNodeId "Comput BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -2424,7 +2424,7 @@ IsDirectory Name Properties Url False StdOut.txt Microsoft.Azure.Commands.Batch.Models.PSFile... https://cmdletexample.westus.Batch.contoso... - This command gets the properties of the StdOut.txt node file associated with the task that has the ID Task26 in the job that has the ID Job-000001. Use the Get-AzureRMBatchAccountKeys cmdlet to assign a context to the $Context variable. + This command gets the properties of the StdOut.txt node file associated with the task that has the ID Task26 in the job that has the ID Job-000001. Use the Get-AzureRmBatchAccountKeys cmdlet to assign a context to the $Context variable. @@ -2563,7 +2563,7 @@ True workitems https://cmdletexample.westus.Batch.c - Get-AzureRMBatchAccountKeys + Get-AzureRmBatchAccountKeys @@ -2623,7 +2623,7 @@ True workitems https://cmdletexample.westus.Batch.c BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -2647,7 +2647,7 @@ True workitems https://cmdletexample.westus.Batch.c BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -2657,7 +2657,7 @@ True workitems https://cmdletexample.westus.Batch.c BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -2849,7 +2849,7 @@ VirtualMachineSize : small - Get-AzureRMBatchAccountKeys + Get-AzureRmBatchAccountKeys @@ -2909,7 +2909,7 @@ VirtualMachineSize : small BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -2947,7 +2947,7 @@ VirtualMachineSize : small BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -2978,7 +2978,7 @@ VirtualMachineSize : small BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -3009,7 +3009,7 @@ VirtualMachineSize : small BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -3026,7 +3026,7 @@ VirtualMachineSize : small BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -3154,7 +3154,7 @@ VirtualMachineSize : small PS C:\>Get-AzureBatchRemoteDesktopProtocolFile -PoolId "Pool06" -ComputeNodeId "ComputeNode01" -DestinationPath "C:\PowerShell\ComputeNode01.rdp" -BatchContext $Context - This command gets an RDP file from the compute node that has the ID ComputeNode01 in the pool that has the ID Pool06. The command saves the .rdp file as C:\PowerShell\MyComputeNode.rdp. Use the Get-AzureRMBatchAccountKeys cmdlet to assign a context to the $Context variable. + This command gets an RDP file from the compute node that has the ID ComputeNode01 in the pool that has the ID Pool06. The command saves the .rdp file as C:\PowerShell\MyComputeNode.rdp. Use the Get-AzureRmBatchAccountKeys cmdlet to assign a context to the $Context variable. @@ -3207,7 +3207,7 @@ VirtualMachineSize : small - Get-AzureRMBatchAccountKeys + Get-AzureRmBatchAccountKeys @@ -3270,7 +3270,7 @@ VirtualMachineSize : small BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -3301,7 +3301,7 @@ VirtualMachineSize : small BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -3339,7 +3339,7 @@ VirtualMachineSize : small BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -3349,7 +3349,7 @@ VirtualMachineSize : small BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -3564,7 +3564,7 @@ Url : https://cmdletexample.westus.batch.azure.com/jobs/ - Get-AzureRMBatchAccountKeys + Get-AzureRmBatchAccountKeys @@ -3587,7 +3587,7 @@ Url : https://cmdletexample.westus.batch.azure.com/jobs/ - New-AzureRMBatchAccountKey + New-AzureRmBatchAccountKey Regenerates the specified key of the specified Batch account. @@ -3599,11 +3599,11 @@ Url : https://cmdletexample.westus.batch.azure.com/jobs/ - The New-AzureRMBatchAccountKey cmdlet regenerates the specified key of the specified Azure Batch account. The cmdlet outputs a BatchAccountContext object with its PrimaryAccountKey and SecondaryAccountKey properties populated with the latest access keys. + The New-AzureRmBatchAccountKey cmdlet regenerates the specified key of the specified Azure Batch account. The cmdlet outputs a BatchAccountContext object with its PrimaryAccountKey and SecondaryAccountKey properties populated with the latest access keys. - New-AzureRMBatchAccountKey + New-AzureRmBatchAccountKey AccountName @@ -3729,7 +3729,7 @@ Url : https://cmdletexample.westus.batch.azure.com/jobs/ - PS C:\>New-AzureRMBatchAccountKey -AccountName "CmdletExample" -KeyType "Primary" + PS C:\>New-AzureRmBatchAccountKey -AccountName "CmdletExample" -KeyType "Primary" AccountName Location ResourceGroupName Tags TaskTenantUrl ----------- -------- ----------------- ---- ------------- cmdletexample westus CmdletExample https://batch.core.contoso.net @@ -3748,7 +3748,7 @@ cmdletexample westus CmdletExample https: - Get-AzureRMBatchAccountKeys + Get-AzureRmBatchAccountKeys @@ -3759,7 +3759,7 @@ cmdletexample westus CmdletExample https: - New-AzureRMBatchAccount + New-AzureRmBatchAccount Creates a new Batch account. @@ -3771,11 +3771,11 @@ cmdletexample westus CmdletExample https: - The New-AzureRMBatchAccount cmdlet creates a new Azure Batch account under the specified resource group and location. + The New-AzureRmBatchAccount cmdlet creates a new Azure Batch account under the specified resource group and location. - New-AzureRMBatchAccount + New-AzureRmBatchAccount AccountName @@ -3917,7 +3917,7 @@ cmdletexample westus CmdletExample https: - PS C:\>New-AzureRMBatchAccount -AccountName "cmdletexample" -ResourceGroupName "CmdletExampleRG" -Location "WestUS" + PS C:\>New-AzureRmBatchAccount -AccountName "cmdletexample" -ResourceGroupName "CmdletExampleRG" -Location "WestUS" AccountName Location ResourceGroupName Tags TaskTenantUrl ----------- -------- ----------------- ---- ------------- cmdletexample WestUS CmdletExampleRG https://batch.core.contoso.net @@ -3936,15 +3936,15 @@ cmdletexample WestUS CmdletExampleRG https: - Get-AzureRMBatchAccount + Get-AzureRmBatchAccount - Remove-AzureRMBatchAccount + Remove-AzureRmBatchAccount - Set-AzureRMBatchAccount + Set-AzureRmBatchAccount @@ -4009,7 +4009,7 @@ cmdletexample WestUS CmdletExampleRG https: BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -4060,7 +4060,7 @@ cmdletexample WestUS CmdletExampleRG https: BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -4084,7 +4084,7 @@ cmdletexample WestUS CmdletExampleRG https: BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -4268,7 +4268,7 @@ cmdletexample WestUS CmdletExampleRG https: - Get-AzureRMBatchAccountKeys + Get-AzureRmBatchAccountKeys @@ -4335,7 +4335,7 @@ cmdletexample WestUS CmdletExampleRG https: BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -4359,7 +4359,7 @@ cmdletexample WestUS CmdletExampleRG https: BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -4493,7 +4493,7 @@ PS C:\> New-AzureBatchJobSchedule -Id "JobSchedule17" -Schedule $Schedule -Jo This example creates a job schedule. The first five commands create and modify PSSchedule, PSJobSpecification, and PSPoolInformation objects. The commands use the New-Object cmdlet and standard Azure PowerShell syntax. The commands store these objects in the $Schedule and $JobSpecification variables. - The final command creates a job schedule that has the ID JobSchedule17. This schedule creates jobs with a recurrence interval of one day. The jobs run on the pool that has the ID ContosoPool06, as specified in the fifth command. Use the Get-AzureRMBatchAccountKeys cmdlet to assign a context to the $Context variable. + The final command creates a job schedule that has the ID JobSchedule17. This schedule creates jobs with a recurrence interval of one day. The jobs run on the pool that has the ID ContosoPool06, as specified in the fifth command. Use the Get-AzureRmBatchAccountKeys cmdlet to assign a context to the $Context variable. @@ -4506,7 +4506,7 @@ PS C:\> New-AzureBatchJobSchedule -Id "JobSchedule17" -Schedule $Schedule -Jo - Get-AzureRMBatchAccountKeys + Get-AzureRmBatchAccountKeys @@ -4615,7 +4615,7 @@ PS C:\> New-AzureBatchJobSchedule -Id "JobSchedule17" -Schedule $Schedule -Jo BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -4632,7 +4632,7 @@ PS C:\> New-AzureBatchJobSchedule -Id "JobSchedule17" -Schedule $Schedule -Jo BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -4824,7 +4824,7 @@ PS C:\> New-AzureBatchJob -Id "ContosoJob35" -PoolInformation $PoolInformatio The first command creates a PSPoolInformation object by using the New-Object cmdlet. The command stores that object in the $PoolInformation variable. The second command assigns the ID Pool22 to the PoolId property of the object in $PoolInformation. - The final command creates a job that has the ID ContosoJob35. Tasks added to the job run on the pool that has the ID Pool22. Use the Get-AzureRMBatchAccountKeys cmdlet to assign a context to the $Context variable. + The final command creates a job that has the ID ContosoJob35. Tasks added to the job run on the pool that has the ID Pool22. Use the Get-AzureRmBatchAccountKeys cmdlet to assign a context to the $Context variable. @@ -4837,7 +4837,7 @@ PS C:\> New-AzureBatchJob -Id "ContosoJob35" -PoolInformation $PoolInformatio - Get-AzureRMBatchAccountKeys + Get-AzureRmBatchAccountKeys @@ -4952,7 +4952,7 @@ PS C:\> New-AzureBatchJob -Id "ContosoJob35" -PoolInformation $PoolInformatio BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -5059,7 +5059,7 @@ PS C:\> New-AzureBatchJob -Id "ContosoJob35" -PoolInformation $PoolInformatio BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -5095,7 +5095,7 @@ PS C:\> New-AzureBatchJob -Id "ContosoJob35" -PoolInformation $PoolInformatio BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -5351,7 +5351,7 @@ PS C:\> New-AzureBatchJob -Id "ContosoJob35" -PoolInformation $PoolInformatio - Get-AzureRMBatchAccountKeys + Get-AzureRmBatchAccountKeys @@ -5438,7 +5438,7 @@ PS C:\> New-AzureBatchJob -Id "ContosoJob35" -PoolInformation $PoolInformatio BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -5524,7 +5524,7 @@ PS C:\> New-AzureBatchJob -Id "ContosoJob35" -PoolInformation $PoolInformatio BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -5560,7 +5560,7 @@ PS C:\> New-AzureBatchJob -Id "ContosoJob35" -PoolInformation $PoolInformatio BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -5768,7 +5768,7 @@ PS C:\> New-AzureBatchJob -Id "ContosoJob35" -PoolInformation $PoolInformatio - Get-AzureRMBatchAccountKeys + Get-AzureRmBatchAccountKeys @@ -5791,7 +5791,7 @@ PS C:\> New-AzureBatchJob -Id "ContosoJob35" -PoolInformation $PoolInformatio - Remove-AzureRMBatchAccount + Remove-AzureRmBatchAccount Removes the specified Batch account. @@ -5803,11 +5803,11 @@ PS C:\> New-AzureBatchJob -Id "ContosoJob35" -PoolInformation $PoolInformatio - The Remove-AzureRMBatchAccount cmdlet removes the specified Azure Batch account. You will be prompted for confirmation unless you use the Force parameter. + The Remove-AzureRmBatchAccount cmdlet removes the specified Azure Batch account. You will be prompted for confirmation unless you use the Force parameter. - Remove-AzureRMBatchAccount + Remove-AzureRmBatchAccount AccountName @@ -5930,7 +5930,7 @@ PS C:\> New-AzureBatchJob -Id "ContosoJob35" -PoolInformation $PoolInformatio - PS C:\>Remove-AzureRMBatchAccount -AccountName "cmdletexample" + PS C:\>Remove-AzureRmBatchAccount -AccountName "cmdletexample" This command removes the batch account named cmdletexample. The user is prompted for confirmation before the delete operation takes place. @@ -5946,15 +5946,15 @@ PS C:\> New-AzureBatchJob -Id "ContosoJob35" -PoolInformation $PoolInformatio - Get-AzureRMBatchAccount + Get-AzureRmBatchAccount - New-AzureRMBatchAccount + New-AzureRmBatchAccount - Set-AzureRMBatchAccount + Set-AzureRmBatchAccount @@ -6019,7 +6019,7 @@ PS C:\> New-AzureBatchJob -Id "ContosoJob35" -PoolInformation $PoolInformatio BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -6029,7 +6029,7 @@ PS C:\> New-AzureBatchJob -Id "ContosoJob35" -PoolInformation $PoolInformatio BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -6158,7 +6158,7 @@ PS C:\> New-AzureBatchJob -Id "ContosoJob35" -PoolInformation $PoolInformatio - Get-AzureRMBatchAccountKeys + Get-AzureRmBatchAccountKeys @@ -6213,7 +6213,7 @@ PS C:\> New-AzureBatchJob -Id "ContosoJob35" -PoolInformation $PoolInformatio BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -6223,7 +6223,7 @@ PS C:\> New-AzureBatchJob -Id "ContosoJob35" -PoolInformation $PoolInformatio BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -6315,7 +6315,7 @@ PS C:\> New-AzureBatchJob -Id "ContosoJob35" -PoolInformation $PoolInformatio PS C:\>Remove-AzureBatchJobSchedule "JobSchedule17" -BatchContext $Context - This command deletes the job schedule that has the ID JobSchedule17. Use the Get-AzureRMBatchAccountKeys cmdlet to assign a context to the $Context variable. This command prompts you before it removes the schedule. + This command deletes the job schedule that has the ID JobSchedule17. Use the Get-AzureRmBatchAccountKeys cmdlet to assign a context to the $Context variable. This command prompts you before it removes the schedule. @@ -6402,7 +6402,7 @@ PS C:\> New-AzureBatchJob -Id "ContosoJob35" -PoolInformation $PoolInformatio BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -6412,7 +6412,7 @@ PS C:\> New-AzureBatchJob -Id "ContosoJob35" -PoolInformation $PoolInformatio BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -6536,7 +6536,7 @@ PS C:\> New-AzureBatchJob -Id "ContosoJob35" -PoolInformation $PoolInformatio - Get-AzureRMBatchAccountKeys + Get-AzureRmBatchAccountKeys @@ -6591,7 +6591,7 @@ PS C:\> New-AzureBatchJob -Id "ContosoJob35" -PoolInformation $PoolInformatio BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -6601,7 +6601,7 @@ PS C:\> New-AzureBatchJob -Id "ContosoJob35" -PoolInformation $PoolInformatio BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -6733,7 +6733,7 @@ PS C:\> New-AzureBatchJob -Id "ContosoJob35" -PoolInformation $PoolInformatio - Get-AzureRMBatchAccountKeys + Get-AzureRmBatchAccountKeys @@ -6791,7 +6791,7 @@ PS C:\> New-AzureBatchJob -Id "ContosoJob35" -PoolInformation $PoolInformatio BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -6821,7 +6821,7 @@ PS C:\> New-AzureBatchJob -Id "ContosoJob35" -PoolInformation $PoolInformatio BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -6831,7 +6831,7 @@ PS C:\> New-AzureBatchJob -Id "ContosoJob35" -PoolInformation $PoolInformatio BatchContext - Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. + Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContext @@ -6979,7 +6979,7 @@ PS C:\> New-AzureBatchJob -Id "ContosoJob35" -PoolInformation $PoolInformatio - Get-AzureRMBatchAccountKeys + Get-AzureRmBatchAccountKeys @@ -7008,9 +7008,9 @@ Switch-AzureMode AzureResourceManager The following cmdlets are the Azure Batch cmdlets in the Azure module: Name Description - Get-AzureRMBatchAccount + Get-AzureRmBatchAccount Gets a Batch account under the current subscription. - Get-AzureRMBatchAccountKeys + Get-AzureRmBatchAccountKeys Gets the specified key of the specified Batch accounts under the current subscription. Get-AzureBatchComputeNode Gets Batch compute nodes from a pool. @@ -7028,9 +7028,9 @@ Switch-AzureMode AzureResourceManager Gets an RDP file from a compute node. Get-AzureBatchTask Gets the Batch tasks for the specified job. - New-AzureRMBatchAccount + New-AzureRmBatchAccount Creates a new Batch account. - New-AzureRMBatchAccountKey + New-AzureRmBatchAccountKey Regenerates the specified key of the specified Batch account. New-AzureBatchComputeNodeUser Creates a user account on a Batch compute node. @@ -7042,7 +7042,7 @@ Switch-AzureMode AzureResourceManager Creates a new pool in the Batch service under the specified account. New-AzureBatchTask Creates a new Batch task under the specified job. - Remove-AzureRMBatchAccount + Remove-AzureRmBatchAccount Removes the specified Batch account. Remove-AzureBatchComputeNodeUser Deletes a user account from a Batch compute node. @@ -7054,7 +7054,7 @@ Switch-AzureMode AzureResourceManager Deletes the specified Batch pool. Remove-AzureBatchTask Deletes the specified Batch task. - Set-AzureRMBatchAccount + Set-AzureRmBatchAccount Updates the specified Batch account. Start-AzureBatchPoolResize Starts to resize a pool. @@ -7065,18 +7065,18 @@ Switch-AzureMode AzureResourceManager Azure Cmdlet Reference - Azure Resource Manager CmdletsUsing Windows Powershell with Resource ManagerSet-AzureRMBatchAccountUpdates the specified Batch account.SetAzureRMBatchAccountThe Set-AzureRMBatchAccount cmdlet updates the specified Azure Batch account. Currently, only tags can be updated.Set-AzureRMBatchAccountAccountNameSpecifies the name of the existing Batch account to update.StringTagSpecifies tags in an array of hash tables to set on the account.Hashtable[]ProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileResourceGroupNameSpecifies the resource group of the account being updated.StringAccountNameSpecifies the name of the existing Batch account to update.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the resource group of the account being updated.StringStringnoneTagSpecifies tags in an array of hash tables to set on the account.Hashtable[]Hashtable[]noneBatchAccountContextExample 1: Update the tags on an existing Batch accountPS C:\>Set-AzureRMBatchAccount -AccountName "cmdletexample" -Tag @(@{Name = "tag1";Value = "value1"},@{Name = "tag2";Value = "value2"}) + Azure Resource Manager CmdletsUsing Windows Powershell with Resource ManagerSet-AzureRmBatchAccountUpdates the specified Batch account.SetAzureRMBatchAccountThe Set-AzureRmBatchAccount cmdlet updates the specified Azure Batch account. Currently, only tags can be updated.Set-AzureRmBatchAccountAccountNameSpecifies the name of the existing Batch account to update.StringTagSpecifies tags in an array of hash tables to set on the account.Hashtable[]ProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileResourceGroupNameSpecifies the resource group of the account being updated.StringAccountNameSpecifies the name of the existing Batch account to update.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResourceGroupNameSpecifies the resource group of the account being updated.StringStringnoneTagSpecifies tags in an array of hash tables to set on the account.Hashtable[]Hashtable[]noneBatchAccountContextExample 1: Update the tags on an existing Batch accountPS C:\>Set-AzureRmBatchAccount -AccountName "cmdletexample" -Tag @(@{Name = "tag1";Value = "value1"},@{Name = "tag2";Value = "value2"}) AccountName Location ResourceGroupName Tags TaskTenantUrl ----------- -------- ----------------- ---- ------------- cmdletexample westus cmdletexamplerg {System.Collection https://cmdletexample.westus.batch.azure.com s.Hashtable, Syste m.Collections.Hash table} -This command updates the tags on the cmdletexample account.Get-AzureRMBatchAccountNew-AzureRMBatchAccountRemove-AzureRMBatchAccountRMAzure_Batch_CmdletsStart-AzureBatchPoolResizeStarts to resize a pool.StartAzureBatchPoolResizeThe Start-AzureBatchPoolResize cmdlet starts an Azure Batch resize operation on a pool.Start-AzureBatchPoolResizeIdSpecifies the ID of the pool that this cmdlet resizes.StringComputeNodeDeallocationOptionSpecifies a deallocation option for the resizing operation that this cmdlet starts.ComputeNodeDeallocationOptionProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileResizeTimeoutSpecifies a time-out period for the resizing operation. If the pool does not reach the target size by this time, the resize operation stops.TimeSpanBatchContextSpecifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. BatchAccountContextTargetDedicatedSpecifies the target number of dedicated compute nodes.Int32BatchContextSpecifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet. BatchAccountContextBatchAccountContextnoneComputeNodeDeallocationOptionSpecifies a deallocation option for the resizing operation that this cmdlet starts.ComputeNodeDeallocationOptionComputeNodeDeallocationOptionnoneIdSpecifies the ID of the pool that this cmdlet resizes.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResizeTimeoutSpecifies a time-out period for the resizing operation. If the pool does not reach the target size by this time, the resize operation stops.TimeSpanTimeSpannoneTargetDedicatedSpecifies the target number of dedicated compute nodes.Int32Int32noneExample 1: Resize a pool to 12 nodesPS C:\>Start-AzureBatchPoolResize -Id "ContosoPool06" -TargetDedicated 12 -BatchContext $Context -This command starts a resize operation on the pool that has the ID ContosoPool06. The target for the operation is 12 dedicated compute nodes. Use the Get-AzureRMBatchAccountKeys cmdlet to assign a context to the $Context variable. Example 2: Resize a pool using a deallocation optionPS C:\>Get-AzureBatchPool -Id "ContosoPool06" -BatchContext $Context | Start-AzureBatchPoolResize -TargetDedicated 5 -ResizeTimeout ([TimeSpan]::FromHours(1)) -ComputeNodeDeallocationOption ([Microsoft.Azure.Batch.Common.ComputeNodeDeallocationOption]::Terminate) -BatchContext $Context -This cmdlet resizes a pool to five dedicated compute nodes. The command gets the pool that has the ID ContosoPool06 by using the Get-AzureBatchPool cmdlet. The command passes that pool object to the current cmdlet by using the pipeline operator. The command starts a resize operation on the pool. The target is five dedicated compute nodes. The command specifies time-out period of one hour. The command specifies a deallocation option of Terminate.Get-AzureRMBatchAccountKeysGet-AzureBatchPoolStop-AzureBatchPoolResizeRMAzure_Batch_CmdletsStop-AzureBatchPoolResizeStops a pool resize operation.StopAzureBatchPoolResizeThe Stop-AzureBatchPoolResize cmdlet stops an Azure Batch resize operation on a pool.Stop-AzureBatchPoolResizeIdSpecifies the ID of the pool for which this cmdlet stops a resizing operation.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileBatchContextSpecifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet.BatchAccountContextBatchContextSpecifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRMBatchAccountKeys cmdlet.BatchAccountContextBatchAccountContextnoneIdSpecifies the ID of the pool for which this cmdlet stops a resizing operation.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneExample 1: Stop resizing a poolPS C:\>Stop-AzureBatchPoolResize -Id "ContosoPool06" -BatchContext $Context -This command stops a resize operation on the pool that has the ID ContosoPool06. Use the Get-AzureRMBatchAccountKeys cmdlet to assign a context to the $Context variable.Example 2: Stop resizing a pool by using the pipelinePS C:\>Get-AzureBatchPool -Id "ContosoPool06" -BatchContext $Context | Stop-AzureBatchPoolResize -BatchContext $Context -This example stops resizing a pool by using the pipeline operator. The command gets the pool that has the ID ContosoPool06 by using the Get-AzureBatchPool cmdlet. The command passes that pool object to the current cmdlet. The command stops the resize operation on that pool. Get-AzureRMBatchAccountKeysGet-AzureBatchPoolStart-AzureBatchPoolResizeRMAzure_Batch_Cmdlets +This command updates the tags on the cmdletexample account.Get-AzureRmBatchAccountNew-AzureRmBatchAccountRemove-AzureRmBatchAccountRMAzure_Batch_CmdletsStart-AzureBatchPoolResizeStarts to resize a pool.StartAzureBatchPoolResizeThe Start-AzureBatchPoolResize cmdlet starts an Azure Batch resize operation on a pool.Start-AzureBatchPoolResizeIdSpecifies the ID of the pool that this cmdlet resizes.StringComputeNodeDeallocationOptionSpecifies a deallocation option for the resizing operation that this cmdlet starts.ComputeNodeDeallocationOptionProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileResizeTimeoutSpecifies a time-out period for the resizing operation. If the pool does not reach the target size by this time, the resize operation stops.TimeSpanBatchContextSpecifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContextTargetDedicatedSpecifies the target number of dedicated compute nodes.Int32BatchContextSpecifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet. BatchAccountContextBatchAccountContextnoneComputeNodeDeallocationOptionSpecifies a deallocation option for the resizing operation that this cmdlet starts.ComputeNodeDeallocationOptionComputeNodeDeallocationOptionnoneIdSpecifies the ID of the pool that this cmdlet resizes.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneResizeTimeoutSpecifies a time-out period for the resizing operation. If the pool does not reach the target size by this time, the resize operation stops.TimeSpanTimeSpannoneTargetDedicatedSpecifies the target number of dedicated compute nodes.Int32Int32noneExample 1: Resize a pool to 12 nodesPS C:\>Start-AzureBatchPoolResize -Id "ContosoPool06" -TargetDedicated 12 -BatchContext $Context +This command starts a resize operation on the pool that has the ID ContosoPool06. The target for the operation is 12 dedicated compute nodes. Use the Get-AzureRmBatchAccountKeys cmdlet to assign a context to the $Context variable. Example 2: Resize a pool using a deallocation optionPS C:\>Get-AzureBatchPool -Id "ContosoPool06" -BatchContext $Context | Start-AzureBatchPoolResize -TargetDedicated 5 -ResizeTimeout ([TimeSpan]::FromHours(1)) -ComputeNodeDeallocationOption ([Microsoft.Azure.Batch.Common.ComputeNodeDeallocationOption]::Terminate) -BatchContext $Context +This cmdlet resizes a pool to five dedicated compute nodes. The command gets the pool that has the ID ContosoPool06 by using the Get-AzureBatchPool cmdlet. The command passes that pool object to the current cmdlet by using the pipeline operator. The command starts a resize operation on the pool. The target is five dedicated compute nodes. The command specifies time-out period of one hour. The command specifies a deallocation option of Terminate.Get-AzureRmBatchAccountKeysGet-AzureBatchPoolStop-AzureBatchPoolResizeRMAzure_Batch_CmdletsStop-AzureBatchPoolResizeStops a pool resize operation.StopAzureBatchPoolResizeThe Stop-AzureBatchPoolResize cmdlet stops an Azure Batch resize operation on a pool.Stop-AzureBatchPoolResizeIdSpecifies the ID of the pool for which this cmdlet stops a resizing operation.StringProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileBatchContextSpecifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet.BatchAccountContextBatchContextSpecifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet.BatchAccountContextBatchAccountContextnoneIdSpecifies the ID of the pool for which this cmdlet stops a resizing operation.StringStringnoneProfileSpecifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.AzureProfileAzureProfilenoneExample 1: Stop resizing a poolPS C:\>Stop-AzureBatchPoolResize -Id "ContosoPool06" -BatchContext $Context +This command stops a resize operation on the pool that has the ID ContosoPool06. Use the Get-AzureRmBatchAccountKeys cmdlet to assign a context to the $Context variable.Example 2: Stop resizing a pool by using the pipelinePS C:\>Get-AzureBatchPool -Id "ContosoPool06" -BatchContext $Context | Stop-AzureBatchPoolResize -BatchContext $Context +This example stops resizing a pool by using the pipeline operator. The command gets the pool that has the ID ContosoPool06 by using the Get-AzureBatchPool cmdlet. The command passes that pool object to the current cmdlet. The command stops the resize operation on that pool. Get-AzureRmBatchAccountKeysGet-AzureBatchPoolStart-AzureBatchPoolResizeRMAzure_Batch_Cmdlets @@ -7117,7 +7117,7 @@ cmdletexample westus cmdletexamplerg {System.Collection https: BatchContext - The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRMBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. + The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRmBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. BatchAccountContext @@ -7141,7 +7141,7 @@ cmdletexample westus cmdletexamplerg {System.Collection https: BatchContext - The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRMBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. + The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRmBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. BatchAccountContext @@ -7288,7 +7288,7 @@ cmdletexample westus cmdletexamplerg {System.Collection https: BatchContext - The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRMBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. + The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRmBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. BatchAccountContext @@ -7312,7 +7312,7 @@ cmdletexample westus cmdletexamplerg {System.Collection https: BatchContext - The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRMBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. + The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRmBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. BatchAccountContext @@ -7455,7 +7455,7 @@ cmdletexample westus cmdletexamplerg {System.Collection https: BatchContext - The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRMBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. + The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRmBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. BatchAccountContext @@ -7466,7 +7466,7 @@ cmdletexample westus cmdletexamplerg {System.Collection https: BatchContext - The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRMBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. + The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRmBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. BatchAccountContext @@ -7612,7 +7612,7 @@ cmdletexample westus cmdletexamplerg {System.Collection https: BatchContext - The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRMBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. + The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRmBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. BatchAccountContext @@ -7636,7 +7636,7 @@ cmdletexample westus cmdletexamplerg {System.Collection https: BatchContext - The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRMBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. + The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRmBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. BatchAccountContext @@ -7654,7 +7654,7 @@ cmdletexample westus cmdletexamplerg {System.Collection https: BatchContext - The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRMBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. + The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRmBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. BatchAccountContext @@ -7865,7 +7865,7 @@ cmdletexample westus cmdletexamplerg {System.Collection https: BatchContext - The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRMBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. + The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRmBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. BatchAccountContext @@ -7889,7 +7889,7 @@ cmdletexample westus cmdletexamplerg {System.Collection https: BatchContext - The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRMBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. + The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRmBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. BatchAccountContext @@ -7907,7 +7907,7 @@ cmdletexample westus cmdletexamplerg {System.Collection https: BatchContext - The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRMBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. + The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRmBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. BatchAccountContext @@ -8118,7 +8118,7 @@ cmdletexample westus cmdletexamplerg {System.Collection https: BatchContext - The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRMBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. + The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRmBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. BatchAccountContext @@ -8129,7 +8129,7 @@ cmdletexample westus cmdletexamplerg {System.Collection https: BatchContext - The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRMBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. + The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRmBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. BatchAccountContext @@ -8281,7 +8281,7 @@ cmdletexample westus cmdletexamplerg {System.Collection https: BatchContext - The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRMBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. + The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRmBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. BatchAccountContext @@ -8292,7 +8292,7 @@ cmdletexample westus cmdletexamplerg {System.Collection https: BatchContext - The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRMBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. + The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRmBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. BatchAccountContext @@ -8431,7 +8431,7 @@ cmdletexample westus cmdletexamplerg {System.Collection https: BatchContext - The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRMBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. + The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRmBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. BatchAccountContext @@ -8442,7 +8442,7 @@ cmdletexample westus cmdletexamplerg {System.Collection https: BatchContext - The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRMBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. + The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRmBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. BatchAccountContext @@ -8581,7 +8581,7 @@ cmdletexample westus cmdletexamplerg {System.Collection https: BatchContext - The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRMBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. + The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRmBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. BatchAccountContext @@ -8592,7 +8592,7 @@ cmdletexample westus cmdletexamplerg {System.Collection https: BatchContext - The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRMBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. + The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRmBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. BatchAccountContext @@ -8738,7 +8738,7 @@ cmdletexample westus cmdletexamplerg {System.Collection https: BatchContext - The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRMBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. + The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRmBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. BatchAccountContext @@ -8749,7 +8749,7 @@ cmdletexample westus cmdletexamplerg {System.Collection https: BatchContext - The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRMBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. + The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRmBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. BatchAccountContext @@ -8901,7 +8901,7 @@ cmdletexample westus cmdletexamplerg {System.Collection https: BatchContext - The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRMBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. + The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRmBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. BatchAccountContext @@ -8912,7 +8912,7 @@ cmdletexample westus cmdletexamplerg {System.Collection https: BatchContext - The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRMBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. + The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRmBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. BatchAccountContext @@ -9058,7 +9058,7 @@ cmdletexample westus cmdletexamplerg {System.Collection https: BatchContext - The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRMBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. + The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRmBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. BatchAccountContext @@ -9069,7 +9069,7 @@ cmdletexample westus cmdletexamplerg {System.Collection https: BatchContext - The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRMBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. + The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRmBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. BatchAccountContext @@ -9228,7 +9228,7 @@ cmdletexample westus cmdletexamplerg {System.Collection https: BatchContext - The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRMBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. + The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRmBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. BatchAccountContext @@ -9245,7 +9245,7 @@ cmdletexample westus cmdletexamplerg {System.Collection https: BatchContext - The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRMBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. + The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRmBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. BatchAccountContext @@ -9256,7 +9256,7 @@ cmdletexample westus cmdletexamplerg {System.Collection https: BatchContext - The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRMBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. + The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRmBatchAccountKeys cmdlet to get a BatchAccountContext object with its access keys populated. BatchAccountContext diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/Properties/Resources.Designer.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Properties/Resources.Designer.cs index 9d43a9b21518..e585e46bb03b 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch/Properties/Resources.Designer.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch/Properties/Resources.Designer.cs @@ -511,7 +511,7 @@ internal static string InvalidTagFormatNotUniqueName { } /// - /// Looks up a localized string similar to The current KeyInUse on this BatchAccountContext is the {0} key, but this key is not populated on the BatchAccountContext object. Use the Get-AzureRMBatchAccountKeys cmdlet to get a BatchAccountContext object with its keys populated.. + /// Looks up a localized string similar to The current KeyInUse on this BatchAccountContext is the {0} key, but this key is not populated on the BatchAccountContext object. Use the Get-AzureRmBatchAccountKeys cmdlet to get a BatchAccountContext object with its keys populated.. /// internal static string KeyNotPresent { get { diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/Properties/Resources.resx b/src/ResourceManager/AzureBatch/Commands.Batch/Properties/Resources.resx index 5aa094f4ee29..fb5131a80985 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch/Properties/Resources.resx +++ b/src/ResourceManager/AzureBatch/Commands.Batch/Properties/Resources.resx @@ -268,7 +268,7 @@ Invalid tag format. Ensure that each tag has a unique name. Example: @{Name = "tagName1"; Value = "tagValue1"}, @{Name = "tagName2"; Value = "tagValue2"} - The current KeyInUse on this BatchAccountContext is the {0} key, but this key is not populated on the BatchAccountContext object. Use the Get-AzureRMBatchAccountKeys cmdlet to get a BatchAccountContext object with its keys populated. + The current KeyInUse on this BatchAccountContext is the {0} key, but this key is not populated on the BatchAccountContext object. Use the Get-AzureRmBatchAccountKeys cmdlet to get a BatchAccountContext object with its keys populated. Checking if account already exists diff --git a/src/ResourceManager/AzureBatch/Commands.Batch/Utils/Constants.cs b/src/ResourceManager/AzureBatch/Commands.Batch/Utils/Constants.cs index 313739403a1a..f2047a0a96d1 100644 --- a/src/ResourceManager/AzureBatch/Commands.Batch/Utils/Constants.cs +++ b/src/ResourceManager/AzureBatch/Commands.Batch/Utils/Constants.cs @@ -19,9 +19,9 @@ public class Constants public const int DefaultMaxCount = 1000; // ARM cmdlet nouns - public const string AzureRMBatchAccount = "AzureRMBatchAccount"; - public const string AzureRMBatchAccountKey = "AzureRMBatchAccountKey"; - public const string AzureRMBatchAccountKeys = "AzureRMBatchAccountKeys"; + public const string AzureRMBatchAccount = "AzureRmBatchAccount"; + public const string AzureRMBatchAccountKey = "AzureRmBatchAccountKey"; + public const string AzureRMBatchAccountKeys = "AzureRmBatchAccountKeys"; // Batch Service cmdlet nouns public const string AzureBatchPool = "AzureBatchPool"; diff --git a/src/ResourceManager/Common/Commands.ResourceManager.Common/AzureRMCmdlet.cs b/src/ResourceManager/Common/Commands.ResourceManager.Common/AzureRMCmdlet.cs index c6e244ced20d..4a74251da2d2 100644 --- a/src/ResourceManager/Common/Commands.ResourceManager.Common/AzureRMCmdlet.cs +++ b/src/ResourceManager/Common/Commands.ResourceManager.Common/AzureRMCmdlet.cs @@ -53,7 +53,7 @@ protected override AzureContext DefaultContext { if (DefaultProfile == null || DefaultProfile.Context == null) { - throw new PSInvalidOperationException("Run Login-AzureRMAccount to login."); + throw new PSInvalidOperationException("Run Login-AzureRmAccount to login."); } return DefaultProfile.Context; diff --git a/src/ResourceManager/Common/Commands.ResourceManager.Common/Commands.ResourceManager.Common.csproj b/src/ResourceManager/Common/Commands.ResourceManager.Common/Commands.ResourceManager.Common.csproj index 8f202c938f2e..08f4285fa0ef 100644 --- a/src/ResourceManager/Common/Commands.ResourceManager.Common/Commands.ResourceManager.Common.csproj +++ b/src/ResourceManager/Common/Commands.ResourceManager.Common/Commands.ResourceManager.Common.csproj @@ -183,7 +183,7 @@ Common\TestMockSupport.cs - + diff --git a/src/ResourceManager/Common/Commands.ResourceManager.Common/RMProfileClient.cs b/src/ResourceManager/Common/Commands.ResourceManager.Common/RMProfileClient.cs index 8c2a8ceec9a1..5b0ba40b17e1 100644 --- a/src/ResourceManager/Common/Commands.ResourceManager.Common/RMProfileClient.cs +++ b/src/ResourceManager/Common/Commands.ResourceManager.Common/RMProfileClient.cs @@ -288,7 +288,7 @@ private bool TryGetTenantSubscription(IAccessToken accessToken, { WriteWarningMessage(string.Format( "Tenant '{0}' contains more than one subscription. First one will be selected for further use. " + - "To select another subscription, use Set-AzureRMContext.", + "To select another subscription, use Set-AzureRmContext.", tenantId)); } subscriptionFromServer = subscriptions.First(); @@ -388,7 +388,7 @@ public IEnumerable ListSubscriptions() catch (AadAuthenticationException) { WriteWarningMessage(string.Format("Could not authenticate user account {0} with tenant {1}. " + - "Subscriptions in this tenant will not be listed. Please login again using Login-AzureRMAccount " + + "Subscriptions in this tenant will not be listed. Please login again using Login-AzureRmAccount " + "to view the subscriptions in this tenant.", _profile.Context.Account, tenant)); } diff --git a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/AddVhdTests.ps1 b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/AddVhdTests.ps1 index 0d87c027064c..b776eba9e197 100644 --- a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/AddVhdTests.ps1 +++ b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/AddVhdTests.ps1 @@ -25,14 +25,14 @@ function Test-AddVhd { # Common $loc = Get-ComputeVMLocation; - New-AzureRMResourceGroup -Name $rgname -Location $loc -Force; + New-AzureRmResourceGroup -Name $rgname -Location $loc -Force; # Storage Account (SA) $stoname = 'sto' + $rgname; $stotype = 'Standard_GRS'; - New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - $stoaccount = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; - $storageKey = Get-AzureRMStorageAccountKey -ResourceGroupName $rgname -Name $stoname; + New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + $stoaccount = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; + $storageKey = Get-AzureRmStorageAccountKey -ResourceGroupName $rgname -Name $stoname; $vhdContainerName = 'vhds'; $path = (get-item -path ".\").FullName; @@ -48,7 +48,7 @@ function Test-AddVhd $vhdDestUri = [System.String]::Format("{0}{1}/{2}{3}.vhd", $stoaccount.PrimaryEndpoints.Blob.AbsoluteUri, $vhdContainerName, $vhdName, $rgname); Write-Output ("Start Uploading... : " + $testItem.vhdName); - $vhdUploadContext = Add-AzureRMVhd -ResourceGroupName $rgname -Destination $vhdDestUri -LocalFilePath $vhdLocalPath -NumberOfUploaderThreads 1; + $vhdUploadContext = Add-AzureRmVhd -ResourceGroupName $rgname -Destination $vhdDestUri -LocalFilePath $vhdLocalPath -NumberOfUploaderThreads 1; Start-Sleep -s 5; Write-Output ("Destination Uri :" + $vhdUploadContext.DestinationUri); diff --git a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/AvailabilitySetTests.ps1 b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/AvailabilitySetTests.ps1 index fc6c8b85a6e9..f40f2bb65c12 100644 --- a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/AvailabilitySetTests.ps1 +++ b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/AvailabilitySetTests.ps1 @@ -25,27 +25,27 @@ function Test-AvailabilitySet { # Common $loc = Get-ComputeVMLocation; - New-AzureRMResourceGroup -Name $rgname -Location $loc -Force; + New-AzureRmResourceGroup -Name $rgname -Location $loc -Force; $asetName = 'avs' + $rgname; $nonDefaultUD = 2; $nonDefaultFD = 3; - New-AzureRMAvailabilitySet -ResourceGroupName $rgname -Name $asetName -Location $loc -PlatformUpdateDomainCount $nonDefaultUD -PlatformFaultDomainCount $nonDefaultFD; + New-AzureRmAvailabilitySet -ResourceGroupName $rgname -Name $asetName -Location $loc -PlatformUpdateDomainCount $nonDefaultUD -PlatformFaultDomainCount $nonDefaultFD; - $asets = Get-AzureRMAvailabilitySet -ResourceGroupName $rgname; + $asets = Get-AzureRmAvailabilitySet -ResourceGroupName $rgname; Assert-NotNull $asets; Assert-AreEqual $asetName $asets[0].Name; - $aset = Get-AzureRMAvailabilitySet -ResourceGroupName $rgname -Name $asetName; + $aset = Get-AzureRmAvailabilitySet -ResourceGroupName $rgname -Name $asetName; Assert-NotNull $aset; Assert-AreEqual $asetName $aset.Name; Assert-AreEqual $aset.PlatformUpdateDomainCount $nonDefaultUD; Assert-AreEqual $aset.PlatformFaultDomainCount $nonDefaultFD; - Remove-AzureRMAvailabilitySet -ResourceGroupName $rgname -Name $asetName -Force; + Remove-AzureRmAvailabilitySet -ResourceGroupName $rgname -Name $asetName -Force; - $asets = Get-AzureRMAvailabilitySet -ResourceGroupName $rgname; + $asets = Get-AzureRmAvailabilitySet -ResourceGroupName $rgname; Assert-AreEqual $asets $null; } finally diff --git a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/ComputeCloudExceptionTests.ps1 b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/ComputeCloudExceptionTests.ps1 index a8b2be553c8c..68eb934cc95b 100644 --- a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/ComputeCloudExceptionTests.ps1 +++ b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/ComputeCloudExceptionTests.ps1 @@ -21,12 +21,12 @@ function Run-ComputeCloudExceptionTests { # Common $loc = Get-ComputeVMLocation; - New-AzureRMResourceGroup -Name $rgname -Location $loc -Force; + New-AzureRmResourceGroup -Name $rgname -Location $loc -Force; $compare = "Resource*NotFound*OperationID : `'*`'"; - Assert-ThrowsLike { $s1 = Get-AzureRMVM -ResourceGroupName $rgname -Name 'test' } $compare; - Assert-ThrowsLike { $s2 = Get-AzureRMVM -ResourceGroupName 'foo' -Name 'bar' } $compare; - Assert-ThrowsLike { $s3 = Get-AzureRMAvailabilitySet -ResourceGroupName $rgname -Name 'test' } $compare; + Assert-ThrowsLike { $s1 = Get-AzureRmVM -ResourceGroupName $rgname -Name 'test' } $compare; + Assert-ThrowsLike { $s2 = Get-AzureRmVM -ResourceGroupName 'foo' -Name 'bar' } $compare; + Assert-ThrowsLike { $s3 = Get-AzureRmAvailabilitySet -ResourceGroupName $rgname -Name 'test' } $compare; } finally { diff --git a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/ComputeTestCommon.ps1 b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/ComputeTestCommon.ps1 index d34affffd0d4..bab3511dac61 100644 --- a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/ComputeTestCommon.ps1 +++ b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/ComputeTestCommon.ps1 @@ -109,7 +109,7 @@ function Get-ComputeDefaultLocation # Cleans the created resource group function Clean-ResourceGroup($rgname) { - Remove-AzureRMResourceGroup -Name $rgname -Force; + Remove-AzureRmResourceGroup -Name $rgname -Force; } # Get Compute Test Tag @@ -196,7 +196,7 @@ function Get-DefaultVMSize { param([string] $location = "westus") - $vmSizes = Get-AzureRMVMSize -Location $location | where { $_.NumberOfCores -ge 4 -and $_.MaxDataDiskCount -ge 8 }; + $vmSizes = Get-AzureRmVMSize -Location $location | where { $_.NumberOfCores -ge 4 -and $_.MaxDataDiskCount -ge 8 }; foreach ($sz in $vmSizes) { @@ -218,7 +218,7 @@ function Get-DefaultRDFEImage { param([string] $loca = "East Asia", [string] $query = '*Windows*Data*Center*') - $d = (Azure\Get-AzureRMVMImage | where {$_.ImageName -like $query -and ($_.Location -like "*;$loca;*" -or $_.Location -like "$loca;*" -or $_.Location -like "*;$loca" -or $_.Location -eq "$loca")}); + $d = (Azure\Get-AzureRmVMImage | where {$_.ImageName -like $query -and ($_.Location -like "*;$loca;*" -or $_.Location -like "$loca;*" -or $_.Location -like "*;$loca" -or $_.Location -eq "$loca")}); if ($d -eq $null) { @@ -247,7 +247,7 @@ function Get-DefaultCRPImage { param([string] $loc = "westus", [string] $query = '*Microsoft*Windows*Server') - $result = (Get-AzureRMVMImagePublisher -Location $loc) | select -ExpandProperty PublisherName | where { $_ -like $query }; + $result = (Get-AzureRmVMImagePublisher -Location $loc) | select -ExpandProperty PublisherName | where { $_ -like $query }; if ($result.Count -eq 1) { $defaultPublisher = $result; @@ -257,7 +257,7 @@ function Get-DefaultCRPImage $defaultPublisher = $result[0]; } - $result = (Get-AzureRMVMImageOffer -Location $loc -PublisherName $defaultPublisher) | select -ExpandProperty Offer | where { $_ -like '*Windows*' }; + $result = (Get-AzureRmVMImageOffer -Location $loc -PublisherName $defaultPublisher) | select -ExpandProperty Offer | where { $_ -like '*Windows*' }; if ($result.Count -eq 1) { $defaultOffer = $result; @@ -267,7 +267,7 @@ function Get-DefaultCRPImage $defaultOffer = $result[0]; } - $result = (Get-AzureRMVMImageSku -Location $loc -PublisherName $defaultPublisher -Offer $defaultOffer) | select -ExpandProperty Skus; + $result = (Get-AzureRmVMImageSku -Location $loc -PublisherName $defaultPublisher -Offer $defaultOffer) | select -ExpandProperty Skus; if ($result.Count -eq 1) { $defaultSku = $result; @@ -277,7 +277,7 @@ function Get-DefaultCRPImage $defaultSku = $result[0]; } - $result = (Get-AzureRMVMImage -Location $loc -Offer $defaultOffer -PublisherName $defaultPublisher -Skus $defaultSku) | select -ExpandProperty Version; + $result = (Get-AzureRmVMImage -Location $loc -Offer $defaultOffer -PublisherName $defaultPublisher -Skus $defaultSku) | select -ExpandProperty Version; if ($result.Count -eq 1) { $defaultVersion = $result; @@ -287,7 +287,7 @@ function Get-DefaultCRPImage $defaultVersion = $result[0]; } - $vmimg = Get-AzureRMVMImage -Location $loc -Offer $defaultOffer -PublisherName $defaultPublisher -Skus $defaultSku -Version $defaultVersion; + $vmimg = Get-AzureRmVMImage -Location $loc -Offer $defaultOffer -PublisherName $defaultPublisher -Skus $defaultSku -Version $defaultVersion; return $vmimg; } @@ -326,7 +326,7 @@ function Get-MarketplaceImage { param([string] $location = "westus", [string] $pubFilter = '*', [string] $offerFilter = '*') - $imgs = Get-AzureRMVMImagePublisher -Location $location | where { $_.PublisherName -like $pubFilter } | Get-AzureRMVMImageOffer | where { $_.Offer -like $offerFilter } | Get-AzureRMVMImageSku | Get-AzureRMVMImage | Get-AzureRMVMImage | where { $_.PurchasePlan -ne $null }; + $imgs = Get-AzureRmVMImagePublisher -Location $location | where { $_.PublisherName -like $pubFilter } | Get-AzureRmVMImageOffer | where { $_.Offer -like $offerFilter } | Get-AzureRmVMImageSku | Get-AzureRmVMImage | Get-AzureRmVMImage | where { $_.PurchasePlan -ne $null }; return $imgs; } @@ -343,7 +343,7 @@ function Get-DefaultVMConfig $vmsize = Get-DefaultVMSize $location; $vmname = Get-RandomItemName 'crptestps'; - $vm = New-AzureRMVMConfig -VMName $vmname -VMSize $vmsize; + $vm = New-AzureRmVMConfig -VMName $vmname -VMSize $vmsize; return $vm; } @@ -400,7 +400,7 @@ function Get-ResourceProviderLocation { param ([string] $name, [string] $default = "westus", [bool] $canonical = $true) - $loc = Get-AzureRMLocation | where { $_.Name.Equals($name) }; + $loc = Get-AzureRmLocation | where { $_.Name.Equals($name) }; if ($loc -eq $null) { diff --git a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/Generated/VirtualMachineDynamicTest1.ps1 b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/Generated/VirtualMachineDynamicTest1.ps1 index 6854275b363d..54e36f94f95b 100644 --- a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/Generated/VirtualMachineDynamicTest1.ps1 +++ b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/Generated/VirtualMachineDynamicTest1.ps1 @@ -25,7 +25,7 @@ function get_vm_config_object $st = Write-Verbose "Creating VM Config Object - Start"; $vmname = 'vm' + $rgname; - $p = New-AzureRMVMConfig -VMName $vmname -VMSize $vmsize; + $p = New-AzureRmVMConfig -VMName $vmname -VMSize $vmsize; $st = Write-Verbose "Creating VM Config Object - End"; @@ -44,8 +44,8 @@ function get_created_storage_account_name $st = Write-Verbose "Creating and getting storage account for '${loc}' and '${rgname}' - '${stotype}' & '${stoname}'"; - $st = New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - $st = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; + $st = New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + $st = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; $st = Write-Verbose "Creating and getting storage account for '${loc}' and '${rgname}' - End"; @@ -59,14 +59,14 @@ function create_and_setup_nic_ids $st = Write-Verbose "Creating and getting NICs for '${loc}' and '${rgname}' - Start"; - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; - $vnet = New-AzureRMVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; - $vnet = Get-AzureRMVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; + $vnet = New-AzureRmVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; + $vnet = Get-AzureRmVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; $subnetId = $vnet.Subnets[0].Id; $nic_ids = @($null) * 1; - $nic0 = New-AzureRMNetworkInterface -Force -Name ('nic0' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId; + $nic0 = New-AzureRmNetworkInterface -Force -Name ('nic0' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId; $nic_ids[0] = $nic0.Id; - $vmconfig = Add-AzureRMVMNetworkInterface -VM $vmconfig -Id $nic0.Id -Primary; + $vmconfig = Add-AzureRmVMNetworkInterface -VM $vmconfig -Id $nic0.Id -Primary; $st = Write-Verbose "Creating and getting NICs for '${loc}' and '${rgname}' - End"; return $nic_ids; @@ -85,7 +85,7 @@ function create_and_setup_vm_config_object $securePassword = ConvertTo-SecureString $password -AsPlainText -Force; $cred = New-Object System.Management.Automation.PSCredential ($user, $securePassword); $computerName = "cn" + $rgname; - $vmconfig = Set-AzureRMVMOperatingSystem -VM $vmconfig -Windows -ComputerName $computerName -Credential $cred; + $vmconfig = Set-AzureRmVMOperatingSystem -VM $vmconfig -Windows -ComputerName $computerName -Credential $cred; $st = Write-Verbose "Creating and setting up the VM config object for '${loc}', '${rgname}' and '${vmsize}' - End"; @@ -103,11 +103,11 @@ function setup_image_and_disks $osDiskVhdUri = "https://$stoname.blob.core.windows.net/test/os.vhd"; $osDiskCaching = 'ReadWrite'; - $vmconfig = Set-AzureRMVMOSDisk -VM $vmconfig -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; + $vmconfig = Set-AzureRmVMOSDisk -VM $vmconfig -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; # Image Reference $imgRef = Get-DefaultCRPImage -loc $loc; - $vmconfig = ($imgRef | Set-AzureRMVMSourceImage -VM $vmconfig); + $vmconfig = ($imgRef | Set-AzureRmVMSourceImage -VM $vmconfig); # Do not add any data disks $vmconfig.StorageProfile.DataDisks = $null; @@ -131,7 +131,7 @@ function ps_vm_dynamic_test_func_1_pstestrg592 $st = Write-Verbose "Running Test ps_vm_dynamic_test_func_1_pstestrg592 - Start ${rgname}, ${loc} & ${vmsize}"; $st = Write-Verbose 'Running Test ps_vm_dynamic_test_func_1_pstestrg592 - Creating Resource Group'; - $st = New-AzureRMResourceGroup -Location $loc -Name $rgname -Force; + $st = New-AzureRmResourceGroup -Location $loc -Name $rgname -Force; $vmconfig = create_and_setup_vm_config_object $loc $rgname $vmsize; @@ -148,15 +148,15 @@ function ps_vm_dynamic_test_func_1_pstestrg592 $st = Write-Verbose 'Running Test ps_vm_dynamic_test_func_1_pstestrg592 - Creating VM'; $vmname = 'vm' + $rgname; - $st = New-AzureRMVM -ResourceGroupName $rgname -Location $loc -VM $vmconfig; + $st = New-AzureRmVM -ResourceGroupName $rgname -Location $loc -VM $vmconfig; # Get VM $st = Write-Verbose 'Running Test ps_vm_dynamic_test_func_1_pstestrg592 - Getting VM'; - $vm1 = Get-AzureRMVM -Name $vmname -ResourceGroupName $rgname; + $vm1 = Get-AzureRmVM -Name $vmname -ResourceGroupName $rgname; # Remove $st = Write-Verbose 'Running Test ps_vm_dynamic_test_func_1_pstestrg592 - Removing VM'; - $st = Remove-AzureRMVM -Name $vmname -ResourceGroupName $rgname -Force; + $st = Remove-AzureRmVM -Name $vmname -ResourceGroupName $rgname -Force; $st = Write-Verbose 'Running Test ps_vm_dynamic_test_func_1_pstestrg592 - End'; } diff --git a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/Generated/VirtualMachineDynamicTest2.ps1 b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/Generated/VirtualMachineDynamicTest2.ps1 index b7fc985fed11..2ad2ee39fd1f 100644 --- a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/Generated/VirtualMachineDynamicTest2.ps1 +++ b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/Generated/VirtualMachineDynamicTest2.ps1 @@ -25,7 +25,7 @@ function get_vm_config_object $st = Write-Verbose "Creating VM Config Object - Start"; $vmname = 'vm' + $rgname; - $p = New-AzureRMVMConfig -VMName $vmname -VMSize $vmsize; + $p = New-AzureRmVMConfig -VMName $vmname -VMSize $vmsize; $st = Write-Verbose "Creating VM Config Object - End"; @@ -44,8 +44,8 @@ function get_created_storage_account_name $st = Write-Verbose "Creating and getting storage account for '${loc}' and '${rgname}' - '${stotype}' & '${stoname}'"; - $st = New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - $st = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; + $st = New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + $st = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; $st = Write-Verbose "Creating and getting storage account for '${loc}' and '${rgname}' - End"; @@ -59,14 +59,14 @@ function create_and_setup_nic_ids $st = Write-Verbose "Creating and getting NICs for '${loc}' and '${rgname}' - Start"; - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; - $vnet = New-AzureRMVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; - $vnet = Get-AzureRMVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; + $vnet = New-AzureRmVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; + $vnet = Get-AzureRmVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; $subnetId = $vnet.Subnets[0].Id; $nic_ids = @($null) * 1; - $nic0 = New-AzureRMNetworkInterface -Force -Name ('nic0' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId; + $nic0 = New-AzureRmNetworkInterface -Force -Name ('nic0' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId; $nic_ids[0] = $nic0.Id; - $vmconfig = Add-AzureRMVMNetworkInterface -VM $vmconfig -Id $nic0.Id -Primary; + $vmconfig = Add-AzureRmVMNetworkInterface -VM $vmconfig -Id $nic0.Id -Primary; $st = Write-Verbose "Creating and getting NICs for '${loc}' and '${rgname}' - End"; return $nic_ids; @@ -85,7 +85,7 @@ function create_and_setup_vm_config_object $securePassword = ConvertTo-SecureString $password -AsPlainText -Force; $cred = New-Object System.Management.Automation.PSCredential ($user, $securePassword); $computerName = "cn" + $rgname; - $vmconfig = Set-AzureRMVMOperatingSystem -VM $vmconfig -Windows -ComputerName $computerName -Credential $cred; + $vmconfig = Set-AzureRmVMOperatingSystem -VM $vmconfig -Windows -ComputerName $computerName -Credential $cred; $st = Write-Verbose "Creating and setting up the VM config object for '${loc}', '${rgname}' and '${vmsize}' - End"; @@ -103,11 +103,11 @@ function setup_image_and_disks $osDiskVhdUri = "https://$stoname.blob.core.windows.net/test/os.vhd"; $osDiskCaching = 'ReadWrite'; - $vmconfig = Set-AzureRMVMOSDisk -VM $vmconfig -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; + $vmconfig = Set-AzureRmVMOSDisk -VM $vmconfig -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; # Image Reference $imgRef = Get-DefaultCRPImage -loc $loc; - $vmconfig = ($imgRef | Set-AzureRMVMSourceImage -VM $vmconfig); + $vmconfig = ($imgRef | Set-AzureRmVMSourceImage -VM $vmconfig); # Do not add any data disks $vmconfig.StorageProfile.DataDisks = $null; @@ -131,7 +131,7 @@ function ps_vm_dynamic_test_func_2_pstestrg2115 $st = Write-Verbose "Running Test ps_vm_dynamic_test_func_2_pstestrg2115 - Start ${rgname}, ${loc} & ${vmsize}"; $st = Write-Verbose 'Running Test ps_vm_dynamic_test_func_2_pstestrg2115 - Creating Resource Group'; - $st = New-AzureRMResourceGroup -Location $loc -Name $rgname -Force; + $st = New-AzureRmResourceGroup -Location $loc -Name $rgname -Force; $vmconfig = create_and_setup_vm_config_object $loc $rgname $vmsize; @@ -148,15 +148,15 @@ function ps_vm_dynamic_test_func_2_pstestrg2115 $st = Write-Verbose 'Running Test ps_vm_dynamic_test_func_2_pstestrg2115 - Creating VM'; $vmname = 'vm' + $rgname; - $st = New-AzureRMVM -ResourceGroupName $rgname -Location $loc -VM $vmconfig; + $st = New-AzureRmVM -ResourceGroupName $rgname -Location $loc -VM $vmconfig; # Get VM $st = Write-Verbose 'Running Test ps_vm_dynamic_test_func_2_pstestrg2115 - Getting VM'; - $vm1 = Get-AzureRMVM -Name $vmname -ResourceGroupName $rgname; + $vm1 = Get-AzureRmVM -Name $vmname -ResourceGroupName $rgname; # Remove $st = Write-Verbose 'Running Test ps_vm_dynamic_test_func_2_pstestrg2115 - Removing VM'; - $st = Remove-AzureRMVM -Name $vmname -ResourceGroupName $rgname -Force; + $st = Remove-AzureRmVM -Name $vmname -ResourceGroupName $rgname -Force; $st = Write-Verbose 'Running Test ps_vm_dynamic_test_func_2_pstestrg2115 - End'; } diff --git a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/Generated/VirtualMachineDynamicTest3.ps1 b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/Generated/VirtualMachineDynamicTest3.ps1 index 04c425c7fd17..bf2e6681208a 100644 --- a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/Generated/VirtualMachineDynamicTest3.ps1 +++ b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/Generated/VirtualMachineDynamicTest3.ps1 @@ -25,7 +25,7 @@ function get_vm_config_object $st = Write-Verbose "Creating VM Config Object - Start"; $vmname = 'vm' + $rgname; - $p = New-AzureRMVMConfig -VMName $vmname -VMSize $vmsize; + $p = New-AzureRmVMConfig -VMName $vmname -VMSize $vmsize; $st = Write-Verbose "Creating VM Config Object - End"; @@ -44,8 +44,8 @@ function get_created_storage_account_name $st = Write-Verbose "Creating and getting storage account for '${loc}' and '${rgname}' - '${stotype}' & '${stoname}'"; - $st = New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - $st = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; + $st = New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + $st = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; $st = Write-Verbose "Creating and getting storage account for '${loc}' and '${rgname}' - End"; @@ -59,14 +59,14 @@ function create_and_setup_nic_ids $st = Write-Verbose "Creating and getting NICs for '${loc}' and '${rgname}' - Start"; - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; - $vnet = New-AzureRMVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; - $vnet = Get-AzureRMVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; + $vnet = New-AzureRmVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; + $vnet = Get-AzureRmVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; $subnetId = $vnet.Subnets[0].Id; $nic_ids = @($null) * 1; - $nic0 = New-AzureRMNetworkInterface -Force -Name ('nic0' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId; + $nic0 = New-AzureRmNetworkInterface -Force -Name ('nic0' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId; $nic_ids[0] = $nic0.Id; - $vmconfig = Add-AzureRMVMNetworkInterface -VM $vmconfig -Id $nic0.Id -Primary; + $vmconfig = Add-AzureRmVMNetworkInterface -VM $vmconfig -Id $nic0.Id -Primary; $st = Write-Verbose "Creating and getting NICs for '${loc}' and '${rgname}' - End"; return $nic_ids; @@ -85,7 +85,7 @@ function create_and_setup_vm_config_object $securePassword = ConvertTo-SecureString $password -AsPlainText -Force; $cred = New-Object System.Management.Automation.PSCredential ($user, $securePassword); $computerName = "cn" + $rgname; - $vmconfig = Set-AzureRMVMOperatingSystem -VM $vmconfig -Windows -ComputerName $computerName -Credential $cred; + $vmconfig = Set-AzureRmVMOperatingSystem -VM $vmconfig -Windows -ComputerName $computerName -Credential $cred; $st = Write-Verbose "Creating and setting up the VM config object for '${loc}', '${rgname}' and '${vmsize}' - End"; @@ -103,11 +103,11 @@ function setup_image_and_disks $osDiskVhdUri = "https://$stoname.blob.core.windows.net/test/os.vhd"; $osDiskCaching = 'ReadWrite'; - $vmconfig = Set-AzureRMVMOSDisk -VM $vmconfig -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; + $vmconfig = Set-AzureRmVMOSDisk -VM $vmconfig -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; # Image Reference $imgRef = Get-DefaultCRPImage -loc $loc; - $vmconfig = ($imgRef | Set-AzureRMVMSourceImage -VM $vmconfig); + $vmconfig = ($imgRef | Set-AzureRmVMSourceImage -VM $vmconfig); # Do not add any data disks $vmconfig.StorageProfile.DataDisks = $null; @@ -131,7 +131,7 @@ function ps_vm_dynamic_test_func_3_pstestrg4410 $st = Write-Verbose "Running Test ps_vm_dynamic_test_func_3_pstestrg4410 - Start ${rgname}, ${loc} & ${vmsize}"; $st = Write-Verbose 'Running Test ps_vm_dynamic_test_func_3_pstestrg4410 - Creating Resource Group'; - $st = New-AzureRMResourceGroup -Location $loc -Name $rgname -Force; + $st = New-AzureRmResourceGroup -Location $loc -Name $rgname -Force; $vmconfig = create_and_setup_vm_config_object $loc $rgname $vmsize; @@ -148,15 +148,15 @@ function ps_vm_dynamic_test_func_3_pstestrg4410 $st = Write-Verbose 'Running Test ps_vm_dynamic_test_func_3_pstestrg4410 - Creating VM'; $vmname = 'vm' + $rgname; - $st = New-AzureRMVM -ResourceGroupName $rgname -Location $loc -VM $vmconfig; + $st = New-AzureRmVM -ResourceGroupName $rgname -Location $loc -VM $vmconfig; # Get VM $st = Write-Verbose 'Running Test ps_vm_dynamic_test_func_3_pstestrg4410 - Getting VM'; - $vm1 = Get-AzureRMVM -Name $vmname -ResourceGroupName $rgname; + $vm1 = Get-AzureRmVM -Name $vmname -ResourceGroupName $rgname; # Remove $st = Write-Verbose 'Running Test ps_vm_dynamic_test_func_3_pstestrg4410 - Removing VM'; - $st = Remove-AzureRMVM -Name $vmname -ResourceGroupName $rgname -Force; + $st = Remove-AzureRmVM -Name $vmname -ResourceGroupName $rgname -Force; $st = Write-Verbose 'Running Test ps_vm_dynamic_test_func_3_pstestrg4410 - End'; } diff --git a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VMDynamicTests.ps1 b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VMDynamicTests.ps1 index 969df1558f10..15d5f167ede5 100644 --- a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VMDynamicTests.ps1 +++ b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VMDynamicTests.ps1 @@ -16,7 +16,7 @@ function get_all_vm_locations { $st = Write-Verbose 'Getting all Azure location - Start'; - $locations = Get-AzureRMLocation | where { $_.Name -eq 'Microsoft.Compute/virtualMachines' } | select -ExpandProperty Locations; + $locations = Get-AzureRmLocation | where { $_.Name -eq 'Microsoft.Compute/virtualMachines' } | select -ExpandProperty Locations; $st = Write-Verbose 'Getting all Azure location - End'; @@ -29,7 +29,7 @@ function get_all_standard_vm_sizes $st = Write-Verbose "Getting all VM sizes in location '${location}' - Start"; - $vmsizes = Get-AzureRMVMSize -Location $location | where { $_.Name -like 'Standard_A*' -and $_.NumberOfCores -le 4 } | select -ExpandProperty Name; + $vmsizes = Get-AzureRmVMSize -Location $location | where { $_.Name -like 'Standard_A*' -and $_.NumberOfCores -le 4 } | select -ExpandProperty Name; $st = Write-Verbose "Getting all VM sizes in location [${location}] - End"; @@ -92,7 +92,7 @@ function get_vm_config_object $st = Write-Verbose "Creating VM Config Object - Start"; $vmname = $rgname + 'vm'; - $p = New-AzureRMVMConfig -VMName $vmname -VMSize $vmsize; + $p = New-AzureRmVMConfig -VMName $vmname -VMSize $vmsize; $st = Write-Verbose "Creating VM Config Object - End"; @@ -115,9 +115,9 @@ function get_created_storage_account_name $st = Write-Verbose "Creating and getting storage account for '${loc}' and '${rgname}' - '${stotype}' & '${stoname}'"; - $st = New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - $st = Set-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Tags (Get-ComputeTestTag $global:ps_test_tag_name); - $st = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; + $st = New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + $st = Set-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Tags (Get-ComputeTestTag $global:ps_test_tag_name); + $st = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; $st = Write-Verbose "Creating and getting storage account for '${loc}' and '${rgname}' - End"; @@ -139,9 +139,9 @@ function create_and_setup_nic_ids $st = Write-Verbose "Creating and getting NICs for '${loc}' and '${rgname}' - Start"; - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name ($rgname + 'subnet') -AddressPrefix "10.0.0.0/24"; - $vnet = New-AzureRMVirtualNetwork -Force -Name ($rgname + 'vnet') -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet -Tag (Get-ComputeTestTag $global:ps_test_tag_name); - $vnet = Get-AzureRMVirtualNetwork -Name ($rgname + 'vnet') -ResourceGroupName $rgname; + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name ($rgname + 'subnet') -AddressPrefix "10.0.0.0/24"; + $vnet = New-AzureRmVirtualNetwork -Force -Name ($rgname + 'vnet') -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet -Tag (Get-ComputeTestTag $global:ps_test_tag_name); + $vnet = Get-AzureRmVirtualNetwork -Name ($rgname + 'vnet') -ResourceGroupName $rgname; $subnetId = $vnet.Subnets[0].Id; '@; @@ -175,9 +175,9 @@ function create_and_setup_nic_ids $fn_body += @" - ${nic_var_name} = New-AzureRMNetworkInterface -Force -Name ${nic_name_str} -ResourceGroupName `$rgname -Location `$loc -SubnetId `$subnetId -Tag (Get-ComputeTestTag `$global:ps_test_tag_name); + ${nic_var_name} = New-AzureRmNetworkInterface -Force -Name ${nic_name_str} -ResourceGroupName `$rgname -Location `$loc -SubnetId `$subnetId -Tag (Get-ComputeTestTag `$global:ps_test_tag_name); `$nic_ids[$i] = ${nic_var_name}.Id; - `$vmconfig = Add-AzureRMVMNetworkInterface -VM `$vmconfig -Id ${nic_var_name}.Id${primary_switch_text}; + `$vmconfig = Add-AzureRmVMNetworkInterface -VM `$vmconfig -Id ${nic_var_name}.Id${primary_switch_text}; "@; } @@ -211,7 +211,7 @@ function create_and_setup_vm_config_object $securePassword = ConvertTo-SecureString $password -AsPlainText -Force; $cred = New-Object System.Management.Automation.PSCredential ($user, $securePassword); $computerName = $rgname + "cn"; - $vmconfig = Set-AzureRMVMOperatingSystem -VM $vmconfig -Windows -ComputerName $computerName -Credential $cred; + $vmconfig = Set-AzureRmVMOperatingSystem -VM $vmconfig -Windows -ComputerName $computerName -Credential $cred; $st = Write-Verbose "Creating and setting up the VM config object for '${loc}', '${rgname}' and '${vmsize}' - End"; @@ -235,11 +235,11 @@ function setup_image_and_disks $osDiskVhdUri = "https://$stoname.blob.core.windows.net/test/os.vhd"; $osDiskCaching = 'ReadWrite'; - $vmconfig = Set-AzureRMVMOSDisk -VM $vmconfig -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; + $vmconfig = Set-AzureRmVMOSDisk -VM $vmconfig -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; # Image Reference $imgRef = Get-DefaultCRPImage -loc $loc; - $vmconfig = ($imgRef | Set-AzureRMVMSourceImage -VM $vmconfig); + $vmconfig = ($imgRef | Set-AzureRmVMSourceImage -VM $vmconfig); # Do not add any data disks $vmconfig.StorageProfile.DataDisks = $null; @@ -354,7 +354,7 @@ function ${generated_func_name} `$st = Write-Verbose `"Running Test ${generated_func_name} - Start `${rgname}, `${loc} & `${vmsize}`"; `$st = Write-Verbose 'Running Test ${generated_func_name} - Creating Resource Group'; - `$st = New-AzureRMResourceGroup -Location `$loc -Name `$rgname -Tag (Get-ComputeTestTag `$global:ps_test_tag_name) -Force; + `$st = New-AzureRmResourceGroup -Location `$loc -Name `$rgname -Tag (Get-ComputeTestTag `$global:ps_test_tag_name) -Force; `$vmconfig = create_and_setup_vm_config_object `$loc `$rgname `$vmsize; @@ -372,15 +372,15 @@ function ${generated_func_name} `$vmname = `$rgname + 'vm'; - `$st = New-AzureRMVM -ResourceGroupName `$rgname -Location `$loc -VM `$vmconfig -Tags (Get-ComputeTestTag `$global:ps_test_tag_name); + `$st = New-AzureRmVM -ResourceGroupName `$rgname -Location `$loc -VM `$vmconfig -Tags (Get-ComputeTestTag `$global:ps_test_tag_name); # Get VM `$st = Write-Verbose 'Running Test ${generated_func_name} - Getting VM'; - `$vm1 = Get-AzureRMVM -Name `$vmname -ResourceGroupName `$rgname; + `$vm1 = Get-AzureRmVM -Name `$vmname -ResourceGroupName `$rgname; # Remove `$st = Write-Verbose 'Running Test ${generated_func_name} - Removing VM'; - `$st = Remove-AzureRMVM -Name `$vmname -ResourceGroupName `$rgname -Force; + `$st = Remove-AzureRmVM -Name `$vmname -ResourceGroupName `$rgname -Force; `$st = Write-Verbose 'Running Test ${generated_func_name} - End'; } diff --git a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineExtensionTests.ps1 b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineExtensionTests.ps1 index 964e10b0c3f2..13bb21cb3229 100644 --- a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineExtensionTests.ps1 +++ b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineExtensionTests.ps1 @@ -25,36 +25,36 @@ function Test-VirtualMachineExtension { # Common $loc = Get-ComputeVMLocation; - New-AzureRMResourceGroup -Name $rgname -Location $loc -Force; + New-AzureRmResourceGroup -Name $rgname -Location $loc -Force; # VM Profile & Hardware $vmsize = 'Standard_A2'; $vmname = 'vm' + $rgname; - $p = New-AzureRMVMConfig -VMName $vmname -VMSize $vmsize; + $p = New-AzureRmVMConfig -VMName $vmname -VMSize $vmsize; Assert-AreEqual $p.HardwareProfile.VirtualMachineSize $vmsize; # NRP - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; - $vnet = New-AzureRMVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; - $vnet = Get-AzureRMVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; + $vnet = New-AzureRmVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; + $vnet = Get-AzureRmVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; $subnetId = $vnet.Subnets[0].Id; - $pubip = New-AzureRMPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); - $pubip = Get-AzureRMPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; + $pubip = New-AzureRmPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); + $pubip = Get-AzureRmPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; $pubipId = $pubip.Id; - $nic = New-AzureRMNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; - $nic = Get-AzureRMNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; + $nic = New-AzureRmNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; + $nic = Get-AzureRmNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; $nicId = $nic.Id; - $p = Add-AzureRMVMNetworkInterface -VM $p -Id $nicId; + $p = Add-AzureRmVMNetworkInterface -VM $p -Id $nicId; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicId; # Storage Account (SA) $stoname = 'sto' + $rgname; $stotype = 'Standard_GRS'; - New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - Retry-IfException { $global:stoaccount = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; } - $stokey = (Get-AzureRMStorageAccountKey -ResourceGroupName $rgname -Name $stoname).Key1; + New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + Retry-IfException { $global:stoaccount = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; } + $stokey = (Get-AzureRmStorageAccountKey -ResourceGroupName $rgname -Name $stoname).Key1; $osDiskName = 'osDisk'; $osDiskCaching = 'ReadWrite'; @@ -63,12 +63,12 @@ function Test-VirtualMachineExtension $dataDiskVhdUri2 = "https://$stoname.blob.core.windows.net/test/data2.vhd"; $dataDiskVhdUri3 = "https://$stoname.blob.core.windows.net/test/data3.vhd"; - $p = Set-AzureRMVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; + $p = Set-AzureRmVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 1 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 2 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk3' -Caching 'ReadOnly' -DiskSizeInGB 12 -Lun 3 -VhdUri $dataDiskVhdUri3 -CreateOption Empty; - $p = Remove-AzureRMVMDataDisk -VM $p -Name 'testDataDisk3'; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 1 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 2 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk3' -Caching 'ReadOnly' -DiskSizeInGB 12 -Lun 3 -VhdUri $dataDiskVhdUri3 -CreateOption Empty; + $p = Remove-AzureRmVMDataDisk -VM $p -Name 'testDataDisk3'; Assert-AreEqual $p.StorageProfile.OSDisk.Caching $osDiskCaching; Assert-AreEqual $p.StorageProfile.OSDisk.Name $osDiskName; @@ -91,10 +91,10 @@ function Test-VirtualMachineExtension $computerName = 'test'; $vhdContainer = "https://$stoname.blob.core.windows.net/test"; - $p = Set-AzureRMVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred -ProvisionVMAgent; + $p = Set-AzureRmVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred -ProvisionVMAgent; $imgRef = Get-DefaultCRPWindowsImageOffline; - $p = ($imgRef | Set-AzureRMVMSourceImage -VM $p); + $p = ($imgRef | Set-AzureRmVMSourceImage -VM $p); Assert-AreEqual $p.OSProfile.AdminUsername $user; Assert-AreEqual $p.OSProfile.ComputerName $computerName; @@ -107,7 +107,7 @@ function Test-VirtualMachineExtension Assert-AreEqual $p.StorageProfile.ImageReference.Version $imgRef.Version; # Virtual Machine - New-AzureRMVM -ResourceGroupName $rgname -Location $loc -VM $p; + New-AzureRmVM -ResourceGroupName $rgname -Location $loc -VM $p; # Virtual Machine Extension $extname = 'csetest'; @@ -118,10 +118,10 @@ function Test-VirtualMachineExtension # Set extension settings by raw strings $settingstr = '{"fileUris":[],"commandToExecute":""}'; $protectedsettingstr = '{"storageAccountName":"' + $stoname + '","storageAccountKey":"' + $stokey + '"}'; - Set-AzureRMVMExtension -ResourceGroupName $rgname -Location $loc -VMName $vmname -Name $extname -Publisher $publisher -ExtensionType $exttype -TypeHandlerVersion $extver -SettingString $settingstr -ProtectedSettingString $protectedsettingstr; + Set-AzureRmVMExtension -ResourceGroupName $rgname -Location $loc -VMName $vmname -Name $extname -Publisher $publisher -ExtensionType $exttype -TypeHandlerVersion $extver -SettingString $settingstr -ProtectedSettingString $protectedsettingstr; # Get VM Extension - $ext = Get-AzureRMVMExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname; + $ext = Get-AzureRmVMExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname; Assert-AreEqual $ext.ResourceGroupName $rgname; Assert-AreEqual $ext.Name $extname; Assert-AreEqual $ext.Publisher $publisher; @@ -130,7 +130,7 @@ function Test-VirtualMachineExtension Assert-AreEqual $ext.ResourceGroupName $rgname; Assert-NotNull $ext.ProvisioningState; - $ext = Get-AzureRMVMExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname -Status; + $ext = Get-AzureRmVMExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname -Status; Assert-AreEqual $ext.ResourceGroupName $rgname; Assert-AreEqual $ext.Name $extname; Assert-AreEqual $ext.Publisher $publisher; @@ -141,7 +141,7 @@ function Test-VirtualMachineExtension Assert-NotNull $ext.Statuses; # Remove Extension - Remove-AzureRMVMExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname -Force; + Remove-AzureRmVMExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname -Force; } finally { @@ -164,36 +164,36 @@ function Test-VirtualMachineExtensionUsingHashTable { # Common $loc = Get-ComputeVMLocation; - New-AzureRMResourceGroup -Name $rgname -Location $loc -Force; + New-AzureRmResourceGroup -Name $rgname -Location $loc -Force; # VM Profile & Hardware $vmsize = 'Standard_A2'; $vmname = 'vm' + $rgname; - $p = New-AzureRMVMConfig -VMName $vmname -VMSize $vmsize; + $p = New-AzureRmVMConfig -VMName $vmname -VMSize $vmsize; Assert-AreEqual $p.HardwareProfile.VirtualMachineSize $vmsize; # NRP - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; - $vnet = New-AzureRMVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; - $vnet = Get-AzureRMVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; + $vnet = New-AzureRmVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; + $vnet = Get-AzureRmVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; $subnetId = $vnet.Subnets[0].Id; - $pubip = New-AzureRMPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); - $pubip = Get-AzureRMPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; + $pubip = New-AzureRmPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); + $pubip = Get-AzureRmPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; $pubipId = $pubip.Id; - $nic = New-AzureRMNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; - $nic = Get-AzureRMNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; + $nic = New-AzureRmNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; + $nic = Get-AzureRmNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; $nicId = $nic.Id; - $p = Add-AzureRMVMNetworkInterface -VM $p -Id $nicId; + $p = Add-AzureRmVMNetworkInterface -VM $p -Id $nicId; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicId; # Storage Account (SA) $stoname = 'sto' + $rgname; $stotype = 'Standard_GRS'; - New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - Retry-IfException { $global:stoaccount = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; } - $stokey = (Get-AzureRMStorageAccountKey -ResourceGroupName $rgname -Name $stoname).Key1; + New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + Retry-IfException { $global:stoaccount = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; } + $stokey = (Get-AzureRmStorageAccountKey -ResourceGroupName $rgname -Name $stoname).Key1; $osDiskName = 'osDisk'; $osDiskCaching = 'ReadWrite'; @@ -202,12 +202,12 @@ function Test-VirtualMachineExtensionUsingHashTable $dataDiskVhdUri2 = "https://$stoname.blob.core.windows.net/test/data2.vhd"; $dataDiskVhdUri3 = "https://$stoname.blob.core.windows.net/test/data3.vhd"; - $p = Set-AzureRMVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; + $p = Set-AzureRmVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 1 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 2 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk3' -Caching 'ReadOnly' -DiskSizeInGB 12 -Lun 3 -VhdUri $dataDiskVhdUri3 -CreateOption Empty; - $p = Remove-AzureRMVMDataDisk -VM $p -Name 'testDataDisk3'; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 1 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 2 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk3' -Caching 'ReadOnly' -DiskSizeInGB 12 -Lun 3 -VhdUri $dataDiskVhdUri3 -CreateOption Empty; + $p = Remove-AzureRmVMDataDisk -VM $p -Name 'testDataDisk3'; Assert-AreEqual $p.StorageProfile.OSDisk.Caching $osDiskCaching; Assert-AreEqual $p.StorageProfile.OSDisk.Name $osDiskName; @@ -230,10 +230,10 @@ function Test-VirtualMachineExtensionUsingHashTable $computerName = 'test'; $vhdContainer = "https://$stoname.blob.core.windows.net/test"; - $p = Set-AzureRMVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred -ProvisionVMAgent; + $p = Set-AzureRmVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred -ProvisionVMAgent; $imgRef = Get-DefaultCRPWindowsImageOffline; - $p = ($imgRef | Set-AzureRMVMSourceImage -VM $p); + $p = ($imgRef | Set-AzureRmVMSourceImage -VM $p); Assert-AreEqual $p.OSProfile.AdminUsername $user; Assert-AreEqual $p.OSProfile.ComputerName $computerName; @@ -246,7 +246,7 @@ function Test-VirtualMachineExtensionUsingHashTable Assert-AreEqual $p.StorageProfile.ImageReference.Version $imgRef.Version; # Virtual Machine Create - New-AzureRMVM -ResourceGroupName $rgname -Location $loc -VM $p; + New-AzureRmVM -ResourceGroupName $rgname -Location $loc -VM $p; # Virtual Machine Extension $extname = $rgname + 'ext'; @@ -257,10 +257,10 @@ function Test-VirtualMachineExtensionUsingHashTable # Set extension settings by hash table $settings = @{"fileUris" = @(); "commandToExecute" = ""}; $protectedsettings = @{"storageAccountName" = $stoname; "storageAccountKey" = $stokey}; - Set-AzureRMVMExtension -ResourceGroupName $rgname -Location $loc -VMName $vmname -Name $extname -Publisher $publisher -ExtensionType $exttype -TypeHandlerVersion $extver -Settings $settings -ProtectedSettings $protectedsettings; + Set-AzureRmVMExtension -ResourceGroupName $rgname -Location $loc -VMName $vmname -Name $extname -Publisher $publisher -ExtensionType $exttype -TypeHandlerVersion $extver -Settings $settings -ProtectedSettings $protectedsettings; # Get VM Extension - $ext = Get-AzureRMVMExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname; + $ext = Get-AzureRmVMExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname; Assert-AreEqual $ext.ResourceGroupName $rgname; Assert-AreEqual $ext.Name $extname; Assert-AreEqual $ext.Publisher $publisher; @@ -269,7 +269,7 @@ function Test-VirtualMachineExtensionUsingHashTable Assert-AreEqual $ext.ResourceGroupName $rgname; Assert-NotNull $ext.ProvisioningState; - $ext = Get-AzureRMVMExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname -Status; + $ext = Get-AzureRmVMExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname -Status; Assert-AreEqual $ext.ResourceGroupName $rgname; Assert-AreEqual $ext.Name $extname; Assert-AreEqual $ext.Publisher $publisher; @@ -280,7 +280,7 @@ function Test-VirtualMachineExtensionUsingHashTable Assert-NotNull $ext.Statuses; # Get VM - $vm1 = Get-AzureRMVM -Name $vmname -ResourceGroupName $rgname; + $vm1 = Get-AzureRmVM -Name $vmname -ResourceGroupName $rgname; Assert-AreEqual $vm1.Name $vmname; Assert-AreEqual $vm1.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $vm1.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicId; @@ -304,7 +304,7 @@ function Test-VirtualMachineExtensionUsingHashTable Assert-NotNull $vm1.Extensions[0].Settings; # Remove Extension - Remove-AzureRMVMExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname -Force; + Remove-AzureRmVMExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname -Force; } finally { @@ -326,36 +326,36 @@ function Test-VirtualMachineCustomScriptExtension { # Common $loc = Get-ComputeVMLocation; - New-AzureRMResourceGroup -Name $rgname -Location $loc -Force; + New-AzureRmResourceGroup -Name $rgname -Location $loc -Force; # VM Profile & Hardware $vmsize = 'Standard_A4'; $vmname = 'vm' + $rgname; - $p = New-AzureRMVMConfig -VMName $vmname -VMSize $vmsize; + $p = New-AzureRmVMConfig -VMName $vmname -VMSize $vmsize; Assert-AreEqual $p.HardwareProfile.VirtualMachineSize $vmsize; # NRP - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; - $vnet = New-AzureRMVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; - $vnet = Get-AzureRMVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; + $vnet = New-AzureRmVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; + $vnet = Get-AzureRmVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; $subnetId = $vnet.Subnets[0].Id; - $pubip = New-AzureRMPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); - $pubip = Get-AzureRMPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; + $pubip = New-AzureRmPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); + $pubip = Get-AzureRmPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; $pubipId = $pubip.Id; - $nic = New-AzureRMNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; - $nic = Get-AzureRMNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; + $nic = New-AzureRmNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; + $nic = Get-AzureRmNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; $nicId = $nic.Id; - $p = Add-AzureRMVMNetworkInterface -VM $p -Id $nicId; + $p = Add-AzureRmVMNetworkInterface -VM $p -Id $nicId; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicId; # Storage Account (SA) $stoname = 'sto' + $rgname; $stotype = 'Standard_GRS'; - New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - Retry-IfException { $global:stoaccount = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; } - $stokey = (Get-AzureRMStorageAccountKey -ResourceGroupName $rgname -Name $stoname).Key1; + New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + Retry-IfException { $global:stoaccount = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; } + $stokey = (Get-AzureRmStorageAccountKey -ResourceGroupName $rgname -Name $stoname).Key1; $osDiskName = 'osDisk'; $osDiskCaching = 'ReadWrite'; @@ -363,10 +363,10 @@ function Test-VirtualMachineCustomScriptExtension $dataDiskVhdUri1 = "https://$stoname.blob.core.windows.net/test/data1.vhd"; $dataDiskVhdUri2 = "https://$stoname.blob.core.windows.net/test/data2.vhd"; - $p = Set-AzureRMVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; + $p = Set-AzureRmVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 1 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 2 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 1 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 2 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; Assert-AreEqual $p.StorageProfile.OSDisk.Caching $osDiskCaching; Assert-AreEqual $p.StorageProfile.OSDisk.Name $osDiskName; @@ -389,10 +389,10 @@ function Test-VirtualMachineCustomScriptExtension $computerName = 'test'; $vhdContainer = "https://$stoname.blob.core.windows.net/test"; - $p = Set-AzureRMVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred -ProvisionVMAgent; + $p = Set-AzureRmVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred -ProvisionVMAgent; $imgRef = Get-DefaultCRPWindowsImageOffline; - $p = ($imgRef | Set-AzureRMVMSourceImage -VM $p); + $p = ($imgRef | Set-AzureRmVMSourceImage -VM $p); Assert-AreEqual $p.OSProfile.AdminUsername $user; Assert-AreEqual $p.OSProfile.ComputerName $computerName; @@ -407,8 +407,8 @@ function Test-VirtualMachineCustomScriptExtension # Assert-AreEqual $p.StorageProfile.ImageReference.Version $imgRef.Version; # Virtual Machine - # TODO: Still need to do retry for New-AzureRMVM for SA, even it's returned in Get-. - New-AzureRMVM -ResourceGroupName $rgname -Location $loc -VM $p; + # TODO: Still need to do retry for New-AzureRmVM for SA, even it's returned in Get-. + New-AzureRmVM -ResourceGroupName $rgname -Location $loc -VM $p; # Virtual Machine Extension $extname = $rgname + 'ext'; @@ -419,10 +419,10 @@ function Test-VirtualMachineCustomScriptExtension $containerName = 'script'; # Set custom script extension - Set-AzureRMVMCustomScriptExtension -ResourceGroupName $rgname -Location $loc -VMName $vmname -Name $extname -TypeHandlerVersion $extver -StorageAccountName $stoname -StorageAccountKey $stokey -FileName $fileToExecute -ContainerName $containerName; + Set-AzureRmVMCustomScriptExtension -ResourceGroupName $rgname -Location $loc -VMName $vmname -Name $extname -TypeHandlerVersion $extver -StorageAccountName $stoname -StorageAccountKey $stokey -FileName $fileToExecute -ContainerName $containerName; # Get VM Extension - $ext = Get-AzureRMVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname; + $ext = Get-AzureRmVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname; $expCommand = 'powershell -ExecutionPolicy Unrestricted -file ' + $fileToExecute + ' '; $expUri = $stoname + '.blob.core.windows.net/' + $containerName + '/' + $fileToExecute; @@ -435,7 +435,7 @@ function Test-VirtualMachineCustomScriptExtension Assert-True {$ext.Uri[0].Contains($expUri)}; Assert-NotNull $ext.ProvisioningState; - $ext = Get-AzureRMVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname -Status; + $ext = Get-AzureRmVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname -Status; Assert-AreEqual $ext.ResourceGroupName $rgname; Assert-AreEqual $ext.Name $extname; Assert-AreEqual $ext.Publisher $publisher; @@ -447,7 +447,7 @@ function Test-VirtualMachineCustomScriptExtension Assert-NotNull $ext.Statuses; # Get VM - $vm1 = Get-AzureRMVM -Name $vmname -ResourceGroupName $rgname; + $vm1 = Get-AzureRmVM -Name $vmname -ResourceGroupName $rgname; Assert-AreEqual $vm1.Name $vmname; Assert-AreEqual $vm1.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $vm1.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicId; @@ -495,36 +495,36 @@ function Test-VirtualMachineCustomScriptExtensionFileUri { # Common $loc = Get-ComputeVMLocation; - New-AzureRMResourceGroup -Name $rgname -Location $loc -Force; + New-AzureRmResourceGroup -Name $rgname -Location $loc -Force; # VM Profile & Hardware $vmsize = 'Standard_A4'; $vmname = 'vm' + $rgname; - $p = New-AzureRMVMConfig -VMName $vmname -VMSize $vmsize; + $p = New-AzureRmVMConfig -VMName $vmname -VMSize $vmsize; Assert-AreEqual $p.HardwareProfile.VirtualMachineSize $vmsize; # NRP - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; - $vnet = New-AzureRMVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; - $vnet = Get-AzureRMVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; + $vnet = New-AzureRmVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; + $vnet = Get-AzureRmVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; $subnetId = $vnet.Subnets[0].Id; - $pubip = New-AzureRMPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); - $pubip = Get-AzureRMPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; + $pubip = New-AzureRmPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); + $pubip = Get-AzureRmPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; $pubipId = $pubip.Id; - $nic = New-AzureRMNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; - $nic = Get-AzureRMNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; + $nic = New-AzureRmNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; + $nic = Get-AzureRmNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; $nicId = $nic.Id; - $p = Add-AzureRMVMNetworkInterface -VM $p -Id $nicId; + $p = Add-AzureRmVMNetworkInterface -VM $p -Id $nicId; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicId; # Storage Account (SA) $stoname = 'sto' + $rgname; $stotype = 'Standard_GRS'; - New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - Retry-IfException { $global:stoaccount = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; } - $stokey = (Get-AzureRMStorageAccountKey -ResourceGroupName $rgname -Name $stoname).Key1; + New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + Retry-IfException { $global:stoaccount = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; } + $stokey = (Get-AzureRmStorageAccountKey -ResourceGroupName $rgname -Name $stoname).Key1; $osDiskName = 'osDisk'; $osDiskCaching = 'ReadWrite'; @@ -532,10 +532,10 @@ function Test-VirtualMachineCustomScriptExtensionFileUri $dataDiskVhdUri1 = "https://$stoname.blob.core.windows.net/test/data1.vhd"; $dataDiskVhdUri2 = "https://$stoname.blob.core.windows.net/test/data2.vhd"; - $p = Set-AzureRMVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; + $p = Set-AzureRmVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 1 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 2 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 1 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 2 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; Assert-AreEqual $p.StorageProfile.OSDisk.Caching $osDiskCaching; Assert-AreEqual $p.StorageProfile.OSDisk.Name $osDiskName; @@ -558,10 +558,10 @@ function Test-VirtualMachineCustomScriptExtensionFileUri $computerName = 'test'; $vhdContainer = "https://$stoname.blob.core.windows.net/test"; - $p = Set-AzureRMVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred -ProvisionVMAgent; + $p = Set-AzureRmVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred -ProvisionVMAgent; $imgRef = Get-DefaultCRPWindowsImageOffline; - $p = ($imgRef | Set-AzureRMVMSourceImage -VM $p); + $p = ($imgRef | Set-AzureRmVMSourceImage -VM $p); Assert-AreEqual $p.OSProfile.AdminUsername $user; Assert-AreEqual $p.OSProfile.ComputerName $computerName; @@ -569,7 +569,7 @@ function Test-VirtualMachineCustomScriptExtensionFileUri Assert-AreEqual $p.OSProfile.WindowsConfiguration.ProvisionVMAgent $true; # Virtual Machine - New-AzureRMVM -ResourceGroupName $rgname -Location $loc -VM $p; + New-AzureRmVM -ResourceGroupName $rgname -Location $loc -VM $p; # Virtual Machine Extension $extname = $rgname + 'ext'; @@ -585,10 +585,10 @@ function Test-VirtualMachineCustomScriptExtensionFileUri $sasFile2 = Get-SasUri $stoname $stokey $containerName $fileToExecute $duration $type; # Set custom script extension - Set-AzureRMVMCustomScriptExtension -ResourceGroupName $rgname -Location $loc -VMName $vmname -Name $extname -TypeHandlerVersion $extver -Run $fileToExecute -FileUri $sasFile1, $sasFile2; + Set-AzureRmVMCustomScriptExtension -ResourceGroupName $rgname -Location $loc -VMName $vmname -Name $extname -TypeHandlerVersion $extver -Run $fileToExecute -FileUri $sasFile1, $sasFile2; # Get VM Extension - $ext = Get-AzureRMVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname; + $ext = Get-AzureRmVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname; $expCommand = 'powershell -ExecutionPolicy Unrestricted -file ' + $fileToExecute+ ' '; $expUri = $stoname + '.blob.core.windows.net/' + $containerName + '/' + $fileToExecute; @@ -602,7 +602,7 @@ function Test-VirtualMachineCustomScriptExtensionFileUri Assert-True {$ext.Uri[1].Contains($expUri)}; Assert-NotNull $ext.ProvisioningState; - $ext = Get-AzureRMVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname -Status; + $ext = Get-AzureRmVMCustomScriptExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname -Status; Assert-AreEqual $ext.ResourceGroupName $rgname; Assert-AreEqual $ext.Name $extname; Assert-AreEqual $ext.Publisher $publisher; @@ -615,7 +615,7 @@ function Test-VirtualMachineCustomScriptExtensionFileUri Assert-NotNull $ext.Statuses; # Get VM - $vm1 = Get-AzureRMVM -Name $vmname -ResourceGroupName $rgname; + $vm1 = Get-AzureRmVM -Name $vmname -ResourceGroupName $rgname; Assert-AreEqual $vm1.Name $vmname; Assert-AreEqual $vm1.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $vm1.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicId; @@ -653,36 +653,36 @@ function Test-VirtualMachineAccessExtension { # Common $loc = Get-ComputeVMLocation; - New-AzureRMResourceGroup -Name $rgname -Location $loc -Force; + New-AzureRmResourceGroup -Name $rgname -Location $loc -Force; # VM Profile & Hardware $vmsize = 'Standard_A4'; $vmname = 'vm' + $rgname; - $p = New-AzureRMVMConfig -VMName $vmname -VMSize $vmsize; + $p = New-AzureRmVMConfig -VMName $vmname -VMSize $vmsize; Assert-AreEqual $p.HardwareProfile.VirtualMachineSize $vmsize; # NRP - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; - $vnet = New-AzureRMVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; - $vnet = Get-AzureRMVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; + $vnet = New-AzureRmVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; + $vnet = Get-AzureRmVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; $subnetId = $vnet.Subnets[0].Id; - $pubip = New-AzureRMPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); - $pubip = Get-AzureRMPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; + $pubip = New-AzureRmPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); + $pubip = Get-AzureRmPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; $pubipId = $pubip.Id; - $nic = New-AzureRMNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; - $nic = Get-AzureRMNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; + $nic = New-AzureRmNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; + $nic = Get-AzureRmNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; $nicId = $nic.Id; - $p = Add-AzureRMVMNetworkInterface -VM $p -Id $nicId; + $p = Add-AzureRmVMNetworkInterface -VM $p -Id $nicId; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicId; # Storage Account (SA) $stoname = 'sto' + $rgname; $stotype = 'Standard_GRS'; - New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - Retry-IfException { $global:stoaccount = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; } - $stokey = (Get-AzureRMStorageAccountKey -ResourceGroupName $rgname -Name $stoname).Key1; + New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + Retry-IfException { $global:stoaccount = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; } + $stokey = (Get-AzureRmStorageAccountKey -ResourceGroupName $rgname -Name $stoname).Key1; $osDiskName = 'osDisk'; $osDiskCaching = 'ReadWrite'; @@ -690,10 +690,10 @@ function Test-VirtualMachineAccessExtension $dataDiskVhdUri1 = "https://$stoname.blob.core.windows.net/test/data1.vhd"; $dataDiskVhdUri2 = "https://$stoname.blob.core.windows.net/test/data2.vhd"; - $p = Set-AzureRMVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; + $p = Set-AzureRmVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 1 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 2 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 1 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 2 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; Assert-AreEqual $p.StorageProfile.OSDisk.Caching $osDiskCaching; Assert-AreEqual $p.StorageProfile.OSDisk.Name $osDiskName; @@ -716,10 +716,10 @@ function Test-VirtualMachineAccessExtension $computerName = 'test'; $vhdContainer = "https://$stoname.blob.core.windows.net/test"; - $p = Set-AzureRMVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred -ProvisionVMAgent; + $p = Set-AzureRmVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred -ProvisionVMAgent; $imgRef = Get-DefaultCRPWindowsImageOffline; - $p = ($imgRef | Set-AzureRMVMSourceImage -VM $p); + $p = ($imgRef | Set-AzureRmVMSourceImage -VM $p); Assert-AreEqual $p.OSProfile.AdminUsername $user; Assert-AreEqual $p.OSProfile.ComputerName $computerName; @@ -727,8 +727,8 @@ function Test-VirtualMachineAccessExtension Assert-AreEqual $p.OSProfile.WindowsConfiguration.ProvisionVMAgent $true; # Virtual Machine - # TODO: Still need to do retry for New-AzureRMVM for SA, even it's returned in Get-. - New-AzureRMVM -ResourceGroupName $rgname -Location $loc -VM $p; + # TODO: Still need to do retry for New-AzureRmVM for SA, even it's returned in Get-. + New-AzureRmVM -ResourceGroupName $rgname -Location $loc -VM $p; # Virtual Machine Extension $extname = 'csetest'; @@ -737,13 +737,13 @@ function Test-VirtualMachineAccessExtension $password2 = 'FoO@123' + $rgname; # Set custom script extension - Set-AzureRMVMAccessExtension -ResourceGroupName $rgname -Location $loc -VMName $vmname -Name $extname -TypeHandlerVersion $extver -UserName $user2 -Password $password2; + Set-AzureRmVMAccessExtension -ResourceGroupName $rgname -Location $loc -VMName $vmname -Name $extname -TypeHandlerVersion $extver -UserName $user2 -Password $password2; $publisher = 'Microsoft.Compute'; $exttype = 'VMAccessAgent'; # Get VM Extension - $ext = Get-AzureRMVMAccessExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname; + $ext = Get-AzureRmVMAccessExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname; Assert-AreEqual $ext.ResourceGroupName $rgname; Assert-AreEqual $ext.Name $extname; Assert-AreEqual $ext.Publisher $publisher; @@ -753,7 +753,7 @@ function Test-VirtualMachineAccessExtension Assert-NotNull $ext.ProvisioningState; Assert-True {$ext.PublicSettings.Contains("UserName")}; - $ext = Get-AzureRMVMAccessExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname -Status; + $ext = Get-AzureRmVMAccessExtension -ResourceGroupName $rgname -VMName $vmname -Name $extname -Status; Assert-AreEqual $ext.ResourceGroupName $rgname; Assert-AreEqual $ext.Name $extname; Assert-AreEqual $ext.Publisher $publisher; @@ -764,7 +764,7 @@ function Test-VirtualMachineAccessExtension Assert-True {$ext.PublicSettings.Contains("UserName")}; # Get VM - $vm1 = Get-AzureRMVM -Name $vmname -ResourceGroupName $rgname; + $vm1 = Get-AzureRmVM -Name $vmname -ResourceGroupName $rgname; Assert-AreEqual $vm1.Name $vmname; Assert-AreEqual $vm1.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $vm1.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicId; diff --git a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineNetworkInterfaceTests.ps1 b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineNetworkInterfaceTests.ps1 index c647b6c6884f..d948e1b3553f 100644 --- a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineNetworkInterfaceTests.ps1 +++ b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineNetworkInterfaceTests.ps1 @@ -25,27 +25,27 @@ function Test-SingleNetworkInterface { # Common $loc = Get-ComputeVMLocation; - New-AzureRMResourceGroup -Name $rgname -Location $loc -Force; + New-AzureRmResourceGroup -Name $rgname -Location $loc -Force; # VM Profile & Hardware $vmsize = 'Standard_A2'; $vmname = 'vm' + $rgname; - $p = New-AzureRMVMConfig -VMName $vmname -VMSize $vmsize; + $p = New-AzureRmVMConfig -VMName $vmname -VMSize $vmsize; Assert-AreEqual $p.HardwareProfile.VirtualMachineSize $vmsize; # NRP - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; - $vnet = New-AzureRMVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; - $vnet = Get-AzureRMVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; + $vnet = New-AzureRmVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; + $vnet = Get-AzureRmVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; $subnetId = $vnet.Subnets[0].Id; - $pubip = New-AzureRMPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); - $pubip = Get-AzureRMPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; + $pubip = New-AzureRmPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); + $pubip = Get-AzureRmPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; $pubipId = $pubip.Id; - $nic = New-AzureRMNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; - $nic = Get-AzureRMNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; + $nic = New-AzureRmNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; + $nic = Get-AzureRmNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; $nicId = $nic.Id; - $p = Add-AzureRMVMNetworkInterface -VM $p -Id $nicId; + $p = Add-AzureRmVMNetworkInterface -VM $p -Id $nicId; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicId; Assert-Null $p.NetworkProfile.NetworkInterfaces[0].Primary; @@ -53,8 +53,8 @@ function Test-SingleNetworkInterface # Storage Account (SA) $stoname = 'sto' + $rgname; $stotype = 'Standard_GRS'; - New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - $stoaccount = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; + New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + $stoaccount = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; $osDiskName = 'osDisk'; $osDiskCaching = 'ReadWrite'; @@ -63,12 +63,12 @@ function Test-SingleNetworkInterface $dataDiskVhdUri2 = "https://$stoname.blob.core.windows.net/test/data2.vhd"; $dataDiskVhdUri3 = "https://$stoname.blob.core.windows.net/test/data3.vhd"; - $p = Set-AzureRMVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; + $p = Set-AzureRmVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 1 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 2 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk3' -Caching 'ReadOnly' -DiskSizeInGB 12 -Lun 3 -VhdUri $dataDiskVhdUri3 -CreateOption Empty; - $p = Remove-AzureRMVMDataDisk -VM $p -Name 'testDataDisk3'; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 1 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 2 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk3' -Caching 'ReadOnly' -DiskSizeInGB 12 -Lun 3 -VhdUri $dataDiskVhdUri3 -CreateOption Empty; + $p = Remove-AzureRmVMDataDisk -VM $p -Name 'testDataDisk3'; Assert-AreEqual $p.StorageProfile.OSDisk.Caching $osDiskCaching; Assert-AreEqual $p.StorageProfile.OSDisk.Name $osDiskName; @@ -93,7 +93,7 @@ function Test-SingleNetworkInterface $img = 'a699494373c04fc0bc8f2bb1389d6106__Windows-Server-2012-Datacenter-201503.01-en.us-127GB.vhd'; # $p.StorageProfile.OSDisk = $null; - $p = Set-AzureRMVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred; + $p = Set-AzureRmVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred; Assert-AreEqual $p.OSProfile.AdminUsername $user; Assert-AreEqual $p.OSProfile.ComputerName $computerName; @@ -101,7 +101,7 @@ function Test-SingleNetworkInterface # Image Reference $imgRef = Get-DefaultCRPImage; - $p = ($imgRef | Set-AzureRMVMSourceImage -VM $p); + $p = ($imgRef | Set-AzureRmVMSourceImage -VM $p); Assert-NotNull $p.StorageProfile.ImageReference; Assert-Null $p.StorageProfile.SourceImageId; @@ -109,23 +109,23 @@ function Test-SingleNetworkInterface $p.StorageProfile.DataDisks = $null; # Virtual Machine - # TODO: Still need to do retry for New-AzureRMVM for SA, even it's returned in Get-. - New-AzureRMVM -ResourceGroupName $rgname -Location $loc -VM $p; + # TODO: Still need to do retry for New-AzureRmVM for SA, even it's returned in Get-. + New-AzureRmVM -ResourceGroupName $rgname -Location $loc -VM $p; # Get VM - $vm1 = Get-AzureRMVM -Name $vmname -ResourceGroupName $rgname; + $vm1 = Get-AzureRmVM -Name $vmname -ResourceGroupName $rgname; Assert-AreEqual $vm1.Name $vmname; Assert-AreEqual $vm1.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $vm1.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicId; # Get NetworkInterface - $getnic = Get-AzureRMNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; + $getnic = Get-AzureRmNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; Assert-AreEqual $vm1.NetworkProfile.NetworkInterfaces[0].ReferenceUri $getnic.Id; Assert-AreEqual $getnic.Primary true; Assert-NotNull $getnic.MacAddress; # Remove - Remove-AzureRMVM -Name $vmname -ResourceGroupName $rgname -Force; + Remove-AzureRmVM -Name $vmname -ResourceGroupName $rgname -Force; } finally { @@ -147,27 +147,27 @@ function Test-SingleNetworkInterfaceDnsSettings { # Common $loc = Get-ComputeVMLocation; - New-AzureRMResourceGroup -Name $rgname -Location $loc -Force; + New-AzureRmResourceGroup -Name $rgname -Location $loc -Force; # VM Profile & Hardware $vmsize = 'Standard_A2'; $vmname = 'vm' + $rgname; - $p = New-AzureRMVMConfig -VMName $vmname -VMSize $vmsize; + $p = New-AzureRmVMConfig -VMName $vmname -VMSize $vmsize; Assert-AreEqual $p.HardwareProfile.VirtualMachineSize $vmsize; # NRP - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; - $vnet = New-AzureRMVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; - $vnet = Get-AzureRMVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; + $vnet = New-AzureRmVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; + $vnet = Get-AzureRmVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; $subnetId = $vnet.Subnets[0].Id; - $pubip = New-AzureRMPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); - $pubip = Get-AzureRMPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; + $pubip = New-AzureRmPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); + $pubip = Get-AzureRmPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; $pubipId = $pubip.Id; - $nic = New-AzureRMNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id -DnsServer "10.0.1.5"; - $nic = Get-AzureRMNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; + $nic = New-AzureRmNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id -DnsServer "10.0.1.5"; + $nic = Get-AzureRmNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; $nicId = $nic.Id; - $p = Add-AzureRMVMNetworkInterface -VM $p -Id $nicId; + $p = Add-AzureRmVMNetworkInterface -VM $p -Id $nicId; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicId; Assert-Null $p.NetworkProfile.NetworkInterfaces[0].Primary; @@ -175,8 +175,8 @@ function Test-SingleNetworkInterfaceDnsSettings # Storage Account (SA) $stoname = 'sto' + $rgname; $stotype = 'Standard_GRS'; - New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - $stoaccount = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; + New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + $stoaccount = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; $osDiskName = 'osDisk'; $osDiskCaching = 'ReadWrite'; @@ -185,12 +185,12 @@ function Test-SingleNetworkInterfaceDnsSettings $dataDiskVhdUri2 = "https://$stoname.blob.core.windows.net/test/data2.vhd"; $dataDiskVhdUri3 = "https://$stoname.blob.core.windows.net/test/data3.vhd"; - $p = Set-AzureRMVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; + $p = Set-AzureRmVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 1 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 2 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk3' -Caching 'ReadOnly' -DiskSizeInGB 12 -Lun 3 -VhdUri $dataDiskVhdUri3 -CreateOption Empty; - $p = Remove-AzureRMVMDataDisk -VM $p -Name 'testDataDisk3'; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 1 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 2 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk3' -Caching 'ReadOnly' -DiskSizeInGB 12 -Lun 3 -VhdUri $dataDiskVhdUri3 -CreateOption Empty; + $p = Remove-AzureRmVMDataDisk -VM $p -Name 'testDataDisk3'; # OS & Image $user = "Foo12"; @@ -202,11 +202,11 @@ function Test-SingleNetworkInterfaceDnsSettings $img = 'a699494373c04fc0bc8f2bb1389d6106__Windows-Server-2012-Datacenter-201503.01-en.us-127GB.vhd'; # $p.StorageProfile.OSDisk = $null; - $p = Set-AzureRMVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred; + $p = Set-AzureRmVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred; # Image Reference $imgRef = Get-DefaultCRPImage; - $p = ($imgRef | Set-AzureRMVMSourceImage -VM $p); + $p = ($imgRef | Set-AzureRmVMSourceImage -VM $p); Assert-NotNull $p.StorageProfile.ImageReference; Assert-Null $p.StorageProfile.SourceImageId; @@ -214,24 +214,24 @@ function Test-SingleNetworkInterfaceDnsSettings $p.StorageProfile.DataDisks = $null; # Virtual Machine - # TODO: Still need to do retry for New-AzureRMVM for SA, even it's returned in Get-. - New-AzureRMVM -ResourceGroupName $rgname -Location $loc -VM $p; + # TODO: Still need to do retry for New-AzureRmVM for SA, even it's returned in Get-. + New-AzureRmVM -ResourceGroupName $rgname -Location $loc -VM $p; # Get VM - $vm1 = Get-AzureRMVM -Name $vmname -ResourceGroupName $rgname; + $vm1 = Get-AzureRmVM -Name $vmname -ResourceGroupName $rgname; Assert-AreEqual $vm1.Name $vmname; Assert-AreEqual $vm1.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $vm1.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicId; # Get NetworkInterface - $getnic = Get-AzureRMNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; + $getnic = Get-AzureRmNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; Assert-AreEqual $vm1.NetworkProfile.NetworkInterfaces[0].ReferenceUri $getnic.Id; Assert-AreEqual $getnic.Primary true; Assert-NotNull $getnic.MacAddress; Assert-NotNull $getnic.DnsSettings.AppliedDnsServers; # Remove - Remove-AzureRMVM -Name $vmname -ResourceGroupName $rgname -Force; + Remove-AzureRmVM -Name $vmname -ResourceGroupName $rgname -Force; } finally { @@ -253,28 +253,28 @@ function Test-MultipleNetworkInterface { # Common $loc = Get-ComputeVMLocation; - New-AzureRMResourceGroup -Name $rgname -Location $loc -Force; + New-AzureRmResourceGroup -Name $rgname -Location $loc -Force; # VM Profile & Hardware $vmsize = 'Standard_A4'; $vmname = 'vm' + $rgname; - $p = New-AzureRMVMConfig -VMName $vmname -VMSize $vmsize; + $p = New-AzureRmVMConfig -VMName $vmname -VMSize $vmsize; Assert-AreEqual $p.HardwareProfile.VirtualMachineSize $vmsize; # NRP - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; - $vnet = New-AzureRMVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; - $vnet = Get-AzureRMVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; + $vnet = New-AzureRmVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; + $vnet = Get-AzureRmVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; $subnetId = $vnet.Subnets[0].Id; - $nic1 = New-AzureRMNetworkInterface -Force -Name ('nic1' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId; - $nic2 = New-AzureRMNetworkInterface -Force -Name ('nic2' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId; + $nic1 = New-AzureRmNetworkInterface -Force -Name ('nic1' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId; + $nic2 = New-AzureRmNetworkInterface -Force -Name ('nic2' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId; - $p = Add-AzureRMVMNetworkInterface -VM $p -Id $nic1.Id; + $p = Add-AzureRmVMNetworkInterface -VM $p -Id $nic1.Id; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nic1.Id; Assert-Null $p.NetworkProfile.NetworkInterfaces[0].Primary; - $p = Add-AzureRMVMNetworkInterface -VM $p -Id $nic2.Id -Primary; + $p = Add-AzureRmVMNetworkInterface -VM $p -Id $nic2.Id -Primary; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces.Count 2; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces[1].ReferenceUri $nic2.Id; @@ -284,8 +284,8 @@ function Test-MultipleNetworkInterface # Storage Account (SA) $stoname = 'sto' + $rgname; $stotype = 'Standard_GRS'; - New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - $stoaccount = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; + New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + $stoaccount = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; $osDiskName = 'osDisk'; $osDiskCaching = 'ReadWrite'; @@ -294,12 +294,12 @@ function Test-MultipleNetworkInterface $dataDiskVhdUri2 = "https://$stoname.blob.core.windows.net/test/data2.vhd"; $dataDiskVhdUri3 = "https://$stoname.blob.core.windows.net/test/data3.vhd"; - $p = Set-AzureRMVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; + $p = Set-AzureRmVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 1 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 2 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk3' -Caching 'ReadOnly' -DiskSizeInGB 12 -Lun 3 -VhdUri $dataDiskVhdUri3 -CreateOption Empty; - $p = Remove-AzureRMVMDataDisk -VM $p -Name 'testDataDisk3'; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 1 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 2 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk3' -Caching 'ReadOnly' -DiskSizeInGB 12 -Lun 3 -VhdUri $dataDiskVhdUri3 -CreateOption Empty; + $p = Remove-AzureRmVMDataDisk -VM $p -Name 'testDataDisk3'; # OS & Image $user = "Foo12"; @@ -311,11 +311,11 @@ function Test-MultipleNetworkInterface $img = 'a699494373c04fc0bc8f2bb1389d6106__Windows-Server-2012-Datacenter-201503.01-en.us-127GB.vhd'; # $p.StorageProfile.OSDisk = $null; - $p = Set-AzureRMVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred; + $p = Set-AzureRmVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred; # Image Reference $imgRef = Get-DefaultCRPImage; - $p = ($imgRef | Set-AzureRMVMSourceImage -VM $p); + $p = ($imgRef | Set-AzureRmVMSourceImage -VM $p); Assert-NotNull $p.StorageProfile.ImageReference; Assert-Null $p.StorageProfile.SourceImageId; @@ -323,29 +323,29 @@ function Test-MultipleNetworkInterface $p.StorageProfile.DataDisks = $null; # Virtual Machine - # TODO: Still need to do retry for New-AzureRMVM for SA, even it's returned in Get-. - New-AzureRMVM -ResourceGroupName $rgname -Location $loc -VM $p; + # TODO: Still need to do retry for New-AzureRmVM for SA, even it's returned in Get-. + New-AzureRmVM -ResourceGroupName $rgname -Location $loc -VM $p; # Get VM - $vm1 = Get-AzureRMVM -Name $vmname -ResourceGroupName $rgname; + $vm1 = Get-AzureRmVM -Name $vmname -ResourceGroupName $rgname; Assert-AreEqual $vm1.Name $vmname; Assert-AreEqual $vm1.NetworkProfile.NetworkInterfaces.Count 2; Assert-AreEqual $vm1.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nic1.Id; Assert-AreEqual $vm1.NetworkProfile.NetworkInterfaces[1].ReferenceUri $nic2.Id; # Get NetworkInterface - $getnic1 = Get-AzureRMNetworkInterface -Name ('nic1' + $rgname) -ResourceGroupName $rgname; + $getnic1 = Get-AzureRmNetworkInterface -Name ('nic1' + $rgname) -ResourceGroupName $rgname; Assert-AreEqual $vm1.NetworkProfile.NetworkInterfaces[0].ReferenceUri $getnic1.Id; Assert-AreNotEqual $getnic1.Primary true; Assert-NotNull $getnic1.MacAddress; - $getnic2 = Get-AzureRMNetworkInterface -Name ('nic2' + $rgname) -ResourceGroupName $rgname; + $getnic2 = Get-AzureRmNetworkInterface -Name ('nic2' + $rgname) -ResourceGroupName $rgname; Assert-AreEqual $vm1.NetworkProfile.NetworkInterfaces[1].ReferenceUri $getnic2.Id; Assert-AreEqual $getnic2.Primary true; Assert-NotNull $getnic2.MacAddress; # Remove - Remove-AzureRMVM -Name $vmname -ResourceGroupName $rgname -Force; + Remove-AzureRmVM -Name $vmname -ResourceGroupName $rgname -Force; } finally { @@ -367,28 +367,28 @@ function Test-AddNetworkInterface { # Common $loc = Get-ComputeVMLocation; - New-AzureRMResourceGroup -Name $rgname -Location $loc -Force; + New-AzureRmResourceGroup -Name $rgname -Location $loc -Force; # VM Profile & Hardware $vmsize = 'Standard_A2'; $vmname = 'vm' + $rgname; - $p = New-AzureRMVMConfig -VMName $vmname -VMSize $vmsize; + $p = New-AzureRmVMConfig -VMName $vmname -VMSize $vmsize; Assert-AreEqual $p.HardwareProfile.VirtualMachineSize $vmsize; # NRP - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; - $vnet = New-AzureRMVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; - $vnet = Get-AzureRMVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; + $vnet = New-AzureRmVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; + $vnet = Get-AzureRmVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; $subnetId = $vnet.Subnets[0].Id; - $pubip = New-AzureRMPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); - $pubip = Get-AzureRMPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; + $pubip = New-AzureRmPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); + $pubip = Get-AzureRmPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; $pubipId = $pubip.Id; - $nic = New-AzureRMNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; + $nic = New-AzureRmNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; $nicId = $nic.Id; - $nicList = Get-AzureRMNetworkInterface -ResourceGroupName $rgname; + $nicList = Get-AzureRmNetworkInterface -ResourceGroupName $rgname; $nicList[0].Primary = $true; - $p = Add-AzureRMVMNetworkInterface -VM $p -NetworkInterface $nicList; + $p = Add-AzureRmVMNetworkInterface -VM $p -NetworkInterface $nicList; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicList[0].Id; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces[0].Primary $true; @@ -396,8 +396,8 @@ function Test-AddNetworkInterface # Storage Account (SA) $stoname = 'sto' + $rgname; $stotype = 'Standard_GRS'; - New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - $stoaccount = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; + New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + $stoaccount = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; $osDiskName = 'osDisk'; $osDiskCaching = 'ReadWrite'; @@ -406,10 +406,10 @@ function Test-AddNetworkInterface $dataDiskVhdUri2 = "https://$stoname.blob.core.windows.net/test/data2.vhd"; $dataDiskVhdUri3 = "https://$stoname.blob.core.windows.net/test/data3.vhd"; - $p = Set-AzureRMVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; + $p = Set-AzureRmVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 1 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 2 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 1 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 2 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; Assert-AreEqual $p.StorageProfile.OSDisk.Caching $osDiskCaching; Assert-AreEqual $p.StorageProfile.OSDisk.Name $osDiskName; @@ -430,7 +430,7 @@ function Test-AddNetworkInterface $securePassword = ConvertTo-SecureString $password -AsPlainText -Force; $cred = New-Object System.Management.Automation.PSCredential ($user, $securePassword); $computerName = 'test'; - $p = Set-AzureRMVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred; + $p = Set-AzureRmVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred; Assert-AreEqual $p.OSProfile.AdminUsername $user; Assert-AreEqual $p.OSProfile.ComputerName $computerName; @@ -438,7 +438,7 @@ function Test-AddNetworkInterface # Image Reference $imgRef = Get-DefaultCRPImage; - $p = ($imgRef | Set-AzureRMVMSourceImage -VM $p); + $p = ($imgRef | Set-AzureRmVMSourceImage -VM $p); Assert-NotNull $p.StorageProfile.ImageReference; Assert-Null $p.StorageProfile.SourceImageId; @@ -446,10 +446,10 @@ function Test-AddNetworkInterface $p.StorageProfile.DataDisks = $null; # Virtual Machine - # TODO: Still need to do retry for New-AzureRMVM for SA, even it's returned in Get-. - New-AzureRMVM -ResourceGroupName $rgname -Location $loc -VM $p; + # TODO: Still need to do retry for New-AzureRmVM for SA, even it's returned in Get-. + New-AzureRmVM -ResourceGroupName $rgname -Location $loc -VM $p; - $vm1 = Get-AzureRMVM -Name $vmname -ResourceGroupName $rgname; + $vm1 = Get-AzureRmVM -Name $vmname -ResourceGroupName $rgname; Assert-AreEqual $vm1.Name $vmname; Assert-AreEqual $vm1.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $vm1.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicId; diff --git a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineProfileTests.cs b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineProfileTests.cs index d8592b0d8aa9..66d901739cbc 100644 --- a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineProfileTests.cs +++ b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineProfileTests.cs @@ -19,14 +19,14 @@ namespace Microsoft.Azure.Commands.Compute.Test.ScenarioTests { public class VirtualMachineProfileTests { - [Fact(Skip = "PSGet Migration: TODO: Get-AzureRMSubscription")] + [Fact(Skip = "PSGet Migration: TODO: Get-AzureRmSubscription")] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestVirtualMachineProfile() { ComputeTestController.NewInstance.RunPsTest("Test-VirtualMachineProfile"); } - [Fact(Skip = "PSGet Migration: TODO: Get-AzureRMSubscription")] + [Fact(Skip = "PSGet Migration: TODO: Get-AzureRmSubscription")] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestVirtualMachineProfileWithoutAUC() { diff --git a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineProfileTests.ps1 b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineProfileTests.ps1 index 357c15d663f6..86ce7d2aa07c 100644 --- a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineProfileTests.ps1 +++ b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineProfileTests.ps1 @@ -21,7 +21,7 @@ function Test-VirtualMachineProfile # VM Profile & Hardware $vmsize = 'Standard_A2'; $vmname = 'pstestvm' + ((Get-Random) % 10000); - $p = New-AzureRMVMConfig -VMName $vmname -VMSize $vmsize; + $p = New-AzureRmVMConfig -VMName $vmname -VMSize $vmsize; Assert-AreEqual $p.HardwareProfile.VirtualMachineSize $vmsize; # Network @@ -30,19 +30,19 @@ function Test-VirtualMachineProfile $nicName = $ipname + 'nic1'; $publicIPName = $ipname + 'name1'; - $p = Add-AzureRMVMNetworkInterface -VM $p -Id $ipRefUri1; + $p = Add-AzureRmVMNetworkInterface -VM $p -Id $ipRefUri1; $ipname = 'hpfip' + ((Get-Random) % 10000); $ipRefUri2 = "https://test.foo.bar/$ipname"; - $p = Add-AzureRMVMNetworkInterface -VM $p -Id $ipRefUri2; + $p = Add-AzureRmVMNetworkInterface -VM $p -Id $ipRefUri2; # Remove all NICs - $p = $p | Remove-AzureRMVMNetworkInterface; + $p = $p | Remove-AzureRmVMNetworkInterface; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces.Count 0; - $p = Add-AzureRMVMNetworkInterface -VM $p -Id $ipRefUri1 -Primary; - $p = Add-AzureRMVMNetworkInterface -VM $p -Id $ipRefUri2; - $p = Remove-AzureRMVMNetworkInterface -VM $p -Id $ipRefUri2; + $p = Add-AzureRmVMNetworkInterface -VM $p -Id $ipRefUri1 -Primary; + $p = Add-AzureRmVMNetworkInterface -VM $p -Id $ipRefUri2; + $p = Remove-AzureRmVMNetworkInterface -VM $p -Id $ipRefUri2; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces[0].ReferenceUri $ipRefUri1; @@ -59,13 +59,13 @@ function Test-VirtualMachineProfile $dataDiskVhdUri2 = "https://$stoname.blob.core.windows.net/test/data2.vhd"; $dataDiskVhdUri3 = "https://$stoname.blob.core.windows.net/test/data3.vhd"; - $p = Set-AzureRMVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption Empty; + $p = Set-AzureRmVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 0 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 1 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk3' -Caching 'ReadOnly' -DiskSizeInGB $null -Lun 2 -VhdUri $dataDiskVhdUri3 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 0 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 1 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk3' -Caching 'ReadOnly' -DiskSizeInGB $null -Lun 2 -VhdUri $dataDiskVhdUri3 -CreateOption Empty; Assert-Null $p.StorageProfile.DataDisks[2].DiskSizeGB; - $p = Remove-AzureRMVMDataDisk -VM $p -Name 'testDataDisk3'; + $p = Remove-AzureRmVMDataDisk -VM $p -Name 'testDataDisk3'; Assert-AreEqual $p.StorageProfile.OSDisk.Caching $osDiskCaching; Assert-AreEqual $p.StorageProfile.OSDisk.Name $osDiskName; @@ -81,11 +81,11 @@ function Test-VirtualMachineProfile Assert-AreEqual $p.StorageProfile.DataDisks[1].VirtualHardDisk.Uri $dataDiskVhdUri2; # Remove all data disks - $p = $p | Remove-AzureRMVMDataDisk; + $p = $p | Remove-AzureRmVMDataDisk; Assert-AreEqual $p.StorageProfile.DataDisks.Count 0; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 0 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 1 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 0 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 1 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; Assert-AreEqual $p.StorageProfile.DataDisks.Count 2; Assert-AreEqual $p.StorageProfile.DataDisks[0].Caching 'ReadOnly'; @@ -110,30 +110,30 @@ function Test-VirtualMachineProfile $custom = "echo 'Hello World'"; $encodedCustom = "ZWNobyAnSGVsbG8gV29ybGQn"; - $p = Set-AzureRMVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred -CustomData $custom -WinRMHttp -WinRMHttps -WinRMCertificateUrl $winRMCertUrl -ProvisionVMAgent -EnableAutoUpdate -TimeZone $timeZone; + $p = Set-AzureRmVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred -CustomData $custom -WinRMHttp -WinRMHttps -WinRMCertificateUrl $winRMCertUrl -ProvisionVMAgent -EnableAutoUpdate -TimeZone $timeZone; # Image Reference $imgRef = Get-DefaultCRPWindowsImageOffline -loc $loc; - $p = ($imgRef | Set-AzureRMVMSourceImage -VM $p); + $p = ($imgRef | Set-AzureRmVMSourceImage -VM $p); - $subid = (Get-AzureRMSubscription -Current).SubscriptionId; + $subid = (Get-AzureRmSubscription -Current).SubscriptionId; $referenceUri = "/subscriptions/" + $subid + "/resourceGroups/RgTest1/providers/Microsoft.KeyVault/vaults/TestVault123"; $certStore = "My"; $certUrl = "https://testvault123.vault.azure.net/secrets/Test1/514ceb769c984379a7e0230bdd703272"; - $p = Add-AzureRMVMSecret -VM $p -SourceVaultId $referenceUri -CertificateStore $certStore -CertificateUrl $certUrl; + $p = Add-AzureRmVMSecret -VM $p -SourceVaultId $referenceUri -CertificateStore $certStore -CertificateUrl $certUrl; $referenceUri2 = "/subscriptions/" + $subid + "/resourceGroups/RgTest1/providers/Microsoft.KeyVault/vaults/TestVault456"; - $p = Add-AzureRMVMSecret -VM $p -SourceVaultId $referenceUri2 -CertificateStore $certStore -CertificateUrl $certUrl; + $p = Add-AzureRmVMSecret -VM $p -SourceVaultId $referenceUri2 -CertificateStore $certStore -CertificateUrl $certUrl; $certStore2 = "My2"; $certUrl2 = "https://testvault123.vault.azure.net/secrets/Test1/514ceb769c984379a7e0230bddaaaaaa"; - $p = Add-AzureRMVMSecret -VM $p -SourceVaultId $referenceUri -CertificateStore $certStore2 -CertificateUrl $certUrl2; + $p = Add-AzureRmVMSecret -VM $p -SourceVaultId $referenceUri -CertificateStore $certStore2 -CertificateUrl $certUrl2; $aucSetting = "AutoLogon"; $aucContent = "" + $password + "true</PlainText></AdministratorPassword></UserAccounts>"; - $p = Add-AzureRMVMAdditionalUnattendContent -VM $p -Content $aucContent -SettingName $aucSetting; - $p = Add-AzureRMVMAdditionalUnattendContent -VM $p -Content $aucContent -SettingName $aucSetting; + $p = Add-AzureRmVMAdditionalUnattendContent -VM $p -Content $aucContent -SettingName $aucSetting; + $p = Add-AzureRmVMAdditionalUnattendContent -VM $p -Content $aucContent -SettingName $aucSetting; Assert-AreEqual $p.OSProfile.AdminUsername $user; Assert-AreEqual $p.OSProfile.ComputerName $computerName; @@ -177,16 +177,16 @@ function Test-VirtualMachineProfile # Linux OS $img = "b4590d9e3ed742e4a1d46e5424aa335e__SUSE-Linux-Enterprise-Server-11-SP3-v206"; - $p = Set-AzureRMVMOperatingSystem -VM $p -Linux -ComputerName $computerName -Credential $cred -CustomData $custom -DisablePasswordAuthentication; + $p = Set-AzureRmVMOperatingSystem -VM $p -Linux -ComputerName $computerName -Credential $cred -CustomData $custom -DisablePasswordAuthentication; $imgRef = Get-DefaultCRPLinuxImageOffline -loc $loc; - $p = ($imgRef | Set-AzureRMVMSourceImage -VM $p); + $p = ($imgRef | Set-AzureRmVMSourceImage -VM $p); $sshPath = "/home/pstestuser/.ssh/authorized_keys"; $sshPublicKey = "MIIDszCCApugAwIBAgIJALBV9YJCF/tAMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV"; - $p = Add-AzureRMVMSshPublicKey -VM $p -KeyData $sshPublicKey -Path $sshPath; - $p = Add-AzureRMVMSshPublicKey -VM $p -KeyData $sshPublicKey -Path $sshPath; - $p = Add-AzureRMVMSecret -VM $p -SourceVaultId $referenceUri -CertificateStore $certStore -CertificateUrl $certUrl; + $p = Add-AzureRmVMSshPublicKey -VM $p -KeyData $sshPublicKey -Path $sshPath; + $p = Add-AzureRmVMSshPublicKey -VM $p -KeyData $sshPublicKey -Path $sshPath; + $p = Add-AzureRmVMSecret -VM $p -SourceVaultId $referenceUri -CertificateStore $certStore -CertificateUrl $certUrl; Assert-AreEqual $p.OSProfile.AdminUsername $user; Assert-AreEqual $p.OSProfile.ComputerName $computerName; @@ -219,7 +219,7 @@ function Test-VirtualMachineProfileWithoutAUC # VM Profile & Hardware $vmsize = 'Standard_A2'; $vmname = 'pstestvm' + ((Get-Random) % 10000); - $p = New-AzureRMVMConfig -VMName $vmname -VMSize $vmsize; + $p = New-AzureRmVMConfig -VMName $vmname -VMSize $vmsize; Assert-AreEqual $p.HardwareProfile.VirtualMachineSize $vmsize; # Network @@ -228,7 +228,7 @@ function Test-VirtualMachineProfileWithoutAUC $nicName = $ipname + 'nic1'; $publicIPName = $ipname + 'name1'; - $p = Add-AzureRMVMNetworkInterface -VM $p -Id $ipRefUri; + $p = Add-AzureRmVMNetworkInterface -VM $p -Id $ipRefUri; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces[0].ReferenceUri $ipRefUri; @@ -244,12 +244,12 @@ function Test-VirtualMachineProfileWithoutAUC $dataDiskVhdUri2 = "https://$stoname.blob.core.windows.net/test/data2.vhd"; $dataDiskVhdUri3 = "https://$stoname.blob.core.windows.net/test/data3.vhd"; - $p = Set-AzureRMVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption Empty; + $p = Set-AzureRmVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 0 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 1 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk3' -Caching 'ReadOnly' -DiskSizeInGB 12 -Lun 2 -VhdUri $dataDiskVhdUri3 -CreateOption Empty; - $p = Remove-AzureRMVMDataDisk -VM $p -Name 'testDataDisk3'; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 0 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 1 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk3' -Caching 'ReadOnly' -DiskSizeInGB 12 -Lun 2 -VhdUri $dataDiskVhdUri3 -CreateOption Empty; + $p = Remove-AzureRmVMDataDisk -VM $p -Name 'testDataDisk3'; Assert-AreEqual $p.StorageProfile.OSDisk.Caching $osDiskCaching; Assert-AreEqual $p.StorageProfile.OSDisk.Name $osDiskName; @@ -278,24 +278,24 @@ function Test-VirtualMachineProfileWithoutAUC $custom = "echo 'Hello World'"; $encodedCustom = "ZWNobyAnSGVsbG8gV29ybGQn"; - $p = Set-AzureRMVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred -CustomData $custom -WinRMHttp -WinRMHttps -WinRMCertificateUrl $winRMCertUrl -ProvisionVMAgent -EnableAutoUpdate -TimeZone $timeZone; + $p = Set-AzureRmVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred -CustomData $custom -WinRMHttp -WinRMHttps -WinRMCertificateUrl $winRMCertUrl -ProvisionVMAgent -EnableAutoUpdate -TimeZone $timeZone; $imgRef = Get-DefaultCRPWindowsImageOffline -loc $loc; - $p = ($imgRef | Set-AzureRMVMSourceImage -VM $p); + $p = ($imgRef | Set-AzureRmVMSourceImage -VM $p); - $subid = (Get-AzureRMSubscription -Current).SubscriptionId; + $subid = (Get-AzureRmSubscription -Current).SubscriptionId; $referenceUri = "/subscriptions/" + $subid + "/resourceGroups/RgTest1/providers/Microsoft.KeyVault/vaults/TestVault123"; $certStore = "My"; $certUrl = "https://testvault123.vault.azure.net/secrets/Test1/514ceb769c984Assert-True379a7e0230bdd703272"; - $p = Add-AzureRMVMSecret -VM $p -SourceVaultId $referenceUri -CertificateStore $certStore -CertificateUrl $certUrl; + $p = Add-AzureRmVMSecret -VM $p -SourceVaultId $referenceUri -CertificateStore $certStore -CertificateUrl $certUrl; $referenceUri2 = "/subscriptions/" + $subid + "/resourceGroups/RgTest1/providers/Microsoft.KeyVault/vaults/TestVault456"; - $p = Add-AzureRMVMSecret -VM $p -SourceVaultId $referenceUri2 -CertificateStore $certStore -CertificateUrl $certUrl; + $p = Add-AzureRmVMSecret -VM $p -SourceVaultId $referenceUri2 -CertificateStore $certStore -CertificateUrl $certUrl; $certStore2 = "My2"; $certUrl2 = "https://testvault123.vault.azure.net/secrets/Test1/514ceb769c984379a7e0230bddaaaaaa"; - $p = Add-AzureRMVMSecret -VM $p -SourceVaultId $referenceUri -CertificateStore $certStore2 -CertificateUrl $certUrl2; + $p = Add-AzureRmVMSecret -VM $p -SourceVaultId $referenceUri -CertificateStore $certStore2 -CertificateUrl $certUrl2; Assert-AreEqual $p.OSProfile.AdminUsername $user; Assert-AreEqual $p.OSProfile.ComputerName $computerName; diff --git a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineTests.cs b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineTests.cs index 3b3bbe973bfe..700cab5f3a43 100644 --- a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineTests.cs +++ b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineTests.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.Compute.Test.ScenarioTests { public partial class VirtualMachineTests { - [Fact(Skip = "PSGet Migration: TODO: Get-AzureRMSubscription")] + [Fact(Skip = "PSGet Migration: TODO: Get-AzureRmSubscription")] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestVirtualMachine() { diff --git a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineTests.ps1 b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineTests.ps1 index 5865a22bbcac..dbb828cec90f 100644 --- a/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineTests.ps1 +++ b/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineTests.ps1 @@ -25,32 +25,32 @@ function Test-VirtualMachine { # Common $loc = Get-ComputeVMLocation; - New-AzureRMResourceGroup -Name $rgname -Location $loc -Force; + New-AzureRmResourceGroup -Name $rgname -Location $loc -Force; # VM Profile & Hardware $vmsize = 'Standard_A4'; $vmname = 'vm' + $rgname; - $p = New-AzureRMVMConfig -VMName $vmname -VMSize $vmsize; + $p = New-AzureRmVMConfig -VMName $vmname -VMSize $vmsize; Assert-AreEqual $p.HardwareProfile.VirtualMachineSize $vmsize; # NRP - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; - $vnet = New-AzureRMVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; - $vnet = Get-AzureRMVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; + $vnet = New-AzureRmVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; + $vnet = Get-AzureRmVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; $subnetId = $vnet.Subnets[0].Id; - $pubip = New-AzureRMPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); - $pubip = Get-AzureRMPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; + $pubip = New-AzureRmPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); + $pubip = Get-AzureRmPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; $pubipId = $pubip.Id; - $nic = New-AzureRMNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; - $nic = Get-AzureRMNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; + $nic = New-AzureRmNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; + $nic = Get-AzureRmNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; $nicId = $nic.Id; - $p = Add-AzureRMVMNetworkInterface -VM $p -Id $nicId; + $p = Add-AzureRmVMNetworkInterface -VM $p -Id $nicId; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicId; # Adding the same Nic but not set it Primary - $p = Add-AzureRMVMNetworkInterface -VM $p -Id $nicId -Primary; + $p = Add-AzureRmVMNetworkInterface -VM $p -Id $nicId -Primary; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicId; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces[0].Primary $true; @@ -58,8 +58,8 @@ function Test-VirtualMachine # Storage Account (SA) $stoname = 'sto' + $rgname; $stotype = 'Standard_GRS'; - New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - $stoaccount = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; + New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + $stoaccount = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; $osDiskName = 'osDisk'; $osDiskCaching = 'ReadWrite'; @@ -68,12 +68,12 @@ function Test-VirtualMachine $dataDiskVhdUri2 = "https://$stoname.blob.core.windows.net/test/data2.vhd"; $dataDiskVhdUri3 = "https://$stoname.blob.core.windows.net/test/data3.vhd"; - $p = Set-AzureRMVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; + $p = Set-AzureRmVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 1 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 2 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk3' -Caching 'ReadOnly' -DiskSizeInGB 12 -Lun 3 -VhdUri $dataDiskVhdUri3 -CreateOption Empty; - $p = Remove-AzureRMVMDataDisk -VM $p -Name 'testDataDisk3'; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 1 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 2 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk3' -Caching 'ReadOnly' -DiskSizeInGB 12 -Lun 3 -VhdUri $dataDiskVhdUri3 -CreateOption Empty; + $p = Remove-AzureRmVMDataDisk -VM $p -Name 'testDataDisk3'; Assert-AreEqual $p.StorageProfile.OSDisk.Caching $osDiskCaching; Assert-AreEqual $p.StorageProfile.OSDisk.Name $osDiskName; @@ -97,10 +97,10 @@ function Test-VirtualMachine $vhdContainer = "https://$stoname.blob.core.windows.net/test"; # $p.StorageProfile.OSDisk = $null; - $p = Set-AzureRMVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred; + $p = Set-AzureRmVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred; $imgRef = Get-DefaultCRPImage -loc $loc; - $p = ($imgRef | Set-AzureRMVMSourceImage -VM $p); + $p = ($imgRef | Set-AzureRmVMSourceImage -VM $p); Assert-AreEqual $p.OSProfile.AdminUsername $user; Assert-AreEqual $p.OSProfile.ComputerName $computerName; @@ -115,11 +115,11 @@ function Test-VirtualMachine $p.StorageProfile.DataDisks = $null; # Virtual Machine - # TODO: Still need to do retry for New-AzureRMVM for SA, even it's returned in Get-. - New-AzureRMVM -ResourceGroupName $rgname -Location $loc -VM $p; + # TODO: Still need to do retry for New-AzureRmVM for SA, even it's returned in Get-. + New-AzureRmVM -ResourceGroupName $rgname -Location $loc -VM $p; # Get VM - $vm1 = Get-AzureRMVM -Name $vmname -ResourceGroupName $rgname; + $vm1 = Get-AzureRmVM -Name $vmname -ResourceGroupName $rgname; Assert-AreEqual $vm1.Name $vmname; Assert-AreEqual $vm1.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $vm1.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicId; @@ -133,15 +133,15 @@ function Test-VirtualMachine Assert-AreEqual $vm1.OSProfile.ComputerName $computerName; Assert-AreEqual $vm1.HardwareProfile.VirtualMachineSize $vmsize; - Start-AzureRMVM -Name $vmname -ResourceGroupName $rgname; - Restart-AzureRMVM -Name $vmname -ResourceGroupName $rgname; - Stop-AzureRMVM -Name $vmname -ResourceGroupName $rgname -Force -StayProvisioned; + Start-AzureRmVM -Name $vmname -ResourceGroupName $rgname; + Restart-AzureRmVM -Name $vmname -ResourceGroupName $rgname; + Stop-AzureRmVM -Name $vmname -ResourceGroupName $rgname -Force -StayProvisioned; # Update $p.Location = $vm1.Location; - Update-AzureRMVM -ResourceGroupName $rgname -VM $p; + Update-AzureRmVM -ResourceGroupName $rgname -VM $p; - $vm2 = Get-AzureRMVM -Name $vmname -ResourceGroupName $rgname; + $vm2 = Get-AzureRmVM -Name $vmname -ResourceGroupName $rgname; Assert-AreEqual $vm2.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $vm2.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicId; @@ -155,46 +155,46 @@ function Test-VirtualMachine Assert-AreEqual $vm2.HardwareProfile.VirtualMachineSize $vmsize; Assert-NotNull $vm2.Location; - $vms = Get-AzureRMVM -ResourceGroupName $rgname; + $vms = Get-AzureRmVM -ResourceGroupName $rgname; Assert-AreNotEqual $vms $null; # Remove All VMs - Get-AzureRMVM -ResourceGroupName $rgname | Remove-AzureRMVM -ResourceGroupName $rgname -Force; - $vms = Get-AzureRMVM -ResourceGroupName $rgname; + Get-AzureRmVM -ResourceGroupName $rgname | Remove-AzureRmVM -ResourceGroupName $rgname -Force; + $vms = Get-AzureRmVM -ResourceGroupName $rgname; Assert-AreEqual $vms $null; # Availability Set $asetName = 'aset' + $rgname; - $st = New-AzureRMAvailabilitySet -ResourceGroupName $rgname -Name $asetName -Location $loc; + $st = New-AzureRmAvailabilitySet -ResourceGroupName $rgname -Name $asetName -Location $loc; Assert-NotNull $st.RequestId; Assert-NotNull $st.StatusCode; - $asets = Get-AzureRMAvailabilitySet -ResourceGroupName $rgname; + $asets = Get-AzureRmAvailabilitySet -ResourceGroupName $rgname; Assert-NotNull $asets; Assert-AreEqual $asetName $asets[0].Name; Assert-NotNull $asets[0].RequestId; Assert-NotNull $asets[0].StatusCode; - $aset = Get-AzureRMAvailabilitySet -ResourceGroupName $rgname -Name $asetName; + $aset = Get-AzureRmAvailabilitySet -ResourceGroupName $rgname -Name $asetName; Assert-NotNull $aset; Assert-AreEqual $asetName $aset.Name; - $asetId = ('/subscriptions/' + (Get-AzureRMSubscription -Current).SubscriptionId + '/resourceGroups/' + $rgname + '/providers/Microsoft.Compute/availabilitySets/' + $asetName); + $asetId = ('/subscriptions/' + (Get-AzureRmSubscription -Current).SubscriptionId + '/resourceGroups/' + $rgname + '/providers/Microsoft.Compute/availabilitySets/' + $asetName); $vmname2 = $vmname + '2'; - $p2 = New-AzureRMVMConfig -VMName $vmname2 -VMSize $vmsize -AvailabilitySetId $asetId; + $p2 = New-AzureRmVMConfig -VMName $vmname2 -VMSize $vmsize -AvailabilitySetId $asetId; $p2.HardwareProfile = $p.HardwareProfile; $p2.OSProfile = $p.OSProfile; $p2.NetworkProfile = $p.NetworkProfile; $p2.StorageProfile = $p.StorageProfile; - New-AzureRMVM -ResourceGroupName $rgname -Location $loc -VM $p2; + New-AzureRmVM -ResourceGroupName $rgname -Location $loc -VM $p2; - $vm2 = Get-AzureRMVM -Name $vmname2 -ResourceGroupName $rgname; + $vm2 = Get-AzureRmVM -Name $vmname2 -ResourceGroupName $rgname; Assert-NotNull $vm2; # Assert-AreEqual $vm2.AvailabilitySetReference.ReferenceUri $asetId; # Assert-True { $vm2.ResourceGroupName -eq $rgname } # Remove - Remove-AzureRMVM -Name $vmname2 -ResourceGroupName $rgname -Force; + Remove-AzureRmVM -Name $vmname2 -ResourceGroupName $rgname -Force; } finally { @@ -216,32 +216,32 @@ function Test-VirtualMachinePiping { # Common $loc = Get-ComputeVMLocation; - New-AzureRMResourceGroup -Name $rgname -Location $loc -Force; + New-AzureRmResourceGroup -Name $rgname -Location $loc -Force; # VM Profile & Hardware $vmsize = 'Standard_A4'; $vmname = 'vm' + $rgname; - $p = New-AzureRMVMConfig -VMName $vmname -VMSize $vmsize; + $p = New-AzureRmVMConfig -VMName $vmname -VMSize $vmsize; Assert-AreEqual $p.HardwareProfile.VirtualMachineSize $vmsize; # NRP - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; - $vnet = New-AzureRMVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; - $vnet = Get-AzureRMVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; + $vnet = New-AzureRmVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; + $vnet = Get-AzureRmVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; $subnetId = $vnet.Subnets[0].Id; - $pubip = New-AzureRMPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); - $pubip = Get-AzureRMPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; + $pubip = New-AzureRmPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); + $pubip = Get-AzureRmPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; $pubipId = $pubip.Id; - $nic = New-AzureRMNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; - $nic = Get-AzureRMNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; + $nic = New-AzureRmNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; + $nic = Get-AzureRmNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; $nicId = $nic.Id; - $p = Add-AzureRMVMNetworkInterface -VM $p -Id $nicId; + $p = Add-AzureRmVMNetworkInterface -VM $p -Id $nicId; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicId; # Adding the same Nic but not set it Primary - $p = Add-AzureRMVMNetworkInterface -VM $p -Id $nicId -Primary; + $p = Add-AzureRmVMNetworkInterface -VM $p -Id $nicId -Primary; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicId; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces[0].Primary $true; @@ -249,8 +249,8 @@ function Test-VirtualMachinePiping # Storage Account (SA) $stoname = 'sto' + $rgname; $stotype = 'Standard_GRS'; - New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - $stoaccount = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; + New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + $stoaccount = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; $osDiskName = 'osDisk'; $osDiskCaching = 'ReadWrite'; @@ -259,9 +259,9 @@ function Test-VirtualMachinePiping $dataDiskVhdUri2 = "https://$stoname.blob.core.windows.net/test/data2.vhd"; $dataDiskVhdUri3 = "https://$stoname.blob.core.windows.net/test/data3.vhd"; - $p = Set-AzureRMVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 1 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 2 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; + $p = Set-AzureRmVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 1 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 2 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; Assert-AreEqual $p.StorageProfile.OSDisk.Caching $osDiskCaching; Assert-AreEqual $p.StorageProfile.OSDisk.Name $osDiskName; @@ -284,10 +284,10 @@ function Test-VirtualMachinePiping $computerName = 'test'; $vhdContainer = "https://$stoname.blob.core.windows.net/test"; - $p = Set-AzureRMVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred; + $p = Set-AzureRmVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred; $imgRef = Get-DefaultCRPImage -loc $loc; - $p = ($imgRef | Set-AzureRMVMSourceImage -VM $p); + $p = ($imgRef | Set-AzureRmVMSourceImage -VM $p); Assert-AreEqual $p.OSProfile.AdminUsername $user; Assert-AreEqual $p.OSProfile.ComputerName $computerName; @@ -299,11 +299,11 @@ function Test-VirtualMachinePiping Assert-AreEqual $p.StorageProfile.ImageReference.Version $imgRef.Version; # Virtual Machine - # TODO: Still need to do retry for New-AzureRMVM for SA, even it's returned in Get-. - New-AzureRMVM -ResourceGroupName $rgname -Location $loc -VM $p; + # TODO: Still need to do retry for New-AzureRmVM for SA, even it's returned in Get-. + New-AzureRmVM -ResourceGroupName $rgname -Location $loc -VM $p; # Get VM - $vm1 = Get-AzureRMVM -Name $vmname -ResourceGroupName $rgname; + $vm1 = Get-AzureRmVM -Name $vmname -ResourceGroupName $rgname; Assert-AreEqual $vm1.Name $vmname; Assert-AreEqual $vm1.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $vm1.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicId; @@ -318,16 +318,16 @@ function Test-VirtualMachinePiping Assert-AreEqual $vm1.OSProfile.ComputerName $computerName; Assert-AreEqual $vm1.HardwareProfile.VirtualMachineSize $vmsize; - Get-AzureRMVM -ResourceGroupName $rgname | Start-AzureRMVM; - Get-AzureRMVM -ResourceGroupName $rgname | Restart-AzureRMVM; - Get-AzureRMVM -ResourceGroupName $rgname | Stop-AzureRMVM -Force -StayProvisioned; + Get-AzureRmVM -ResourceGroupName $rgname | Start-AzureRmVM; + Get-AzureRmVM -ResourceGroupName $rgname | Restart-AzureRmVM; + Get-AzureRmVM -ResourceGroupName $rgname | Stop-AzureRmVM -Force -StayProvisioned; # Update VM - Get-AzureRMVM -ResourceGroupName $rgname -Name $vmname ` - | Add-AzureRMVMDataDisk -Name 'testDataDisk3' -Caching 'ReadOnly' -DiskSizeInGB 12 -Lun 3 -VhdUri $dataDiskVhdUri3 -CreateOption Empty ` - | Update-AzureRMVM; + Get-AzureRmVM -ResourceGroupName $rgname -Name $vmname ` + | Add-AzureRmVMDataDisk -Name 'testDataDisk3' -Caching 'ReadOnly' -DiskSizeInGB 12 -Lun 3 -VhdUri $dataDiskVhdUri3 -CreateOption Empty ` + | Update-AzureRmVM; - $vm2 = Get-AzureRMVM -Name $vmname -ResourceGroupName $rgname; + $vm2 = Get-AzureRmVM -Name $vmname -ResourceGroupName $rgname; Assert-AreEqual $vm2.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $vm2.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicId; @@ -343,19 +343,19 @@ function Test-VirtualMachinePiping Assert-AreEqual $vm2.HardwareProfile.VirtualMachineSize $vmsize; Assert-NotNull $vm2.Location; - Get-AzureRMVM -ResourceGroupName $rgname | Stop-AzureRMVM -Force; - Get-AzureRMVM -ResourceGroupName $rgname | Set-AzureRMVM -Generalize; + Get-AzureRmVM -ResourceGroupName $rgname | Stop-AzureRmVM -Force; + Get-AzureRmVM -ResourceGroupName $rgname | Set-AzureRmVM -Generalize; $dest = Get-ComputeTestResourceName; $templatePath = ".\template.txt"; - Get-AzureRMVM -ResourceGroupName $rgname | Save-AzureRMVMImage -DestinationContainerName $dest -VHDNamePrefix 'pslib' -Overwrite -Path $templatePath; + Get-AzureRmVM -ResourceGroupName $rgname | Save-AzureRmVMImage -DestinationContainerName $dest -VHDNamePrefix 'pslib' -Overwrite -Path $templatePath; $template = Get-Content $templatePath; Assert-True { $template[1].Contains("$schema"); } # Remove All VMs - Get-AzureRMVM -ResourceGroupName $rgname | Remove-AzureRMVM -Force; - $vms = Get-AzureRMVM -ResourceGroupName $rgname; + Get-AzureRmVM -ResourceGroupName $rgname | Remove-AzureRmVM -Force; + $vms = Get-AzureRmVM -ResourceGroupName $rgname; Assert-AreEqual $vms $null; } finally @@ -376,15 +376,15 @@ function Test-VirtualMachineList try { - $s1 = Get-AzureRMVM; - $s2 = Get-AzureRMVM; + $s1 = Get-AzureRmVM; + $s2 = Get-AzureRmVM; if ($s2 -ne $null) { Assert-NotNull $s2[0].Id; } - Assert-ThrowsContains { $s3 = Get-AzureRMVM -NextLink "http://www.test.com/test"; } "Unexpected character" + Assert-ThrowsContains { $s3 = Get-AzureRmVM -NextLink "http://www.test.com/test"; } "Unexpected character" $passed = $true; } @@ -409,7 +409,7 @@ function Test-VirtualMachineImageList # List Tests $foundAnyImage = $false; - $pubNames = Get-AzureRMVMImagePublisher -Location $locStr | select -ExpandProperty PublisherName; + $pubNames = Get-AzureRmVMImagePublisher -Location $locStr | select -ExpandProperty PublisherName; $maxPubCheck = 3; $numPubCheck = 1; $pubNameFilter = '*Windows*'; @@ -418,7 +418,7 @@ function Test-VirtualMachineImageList # Filter Windows Images if (-not ($pub -like $pubNameFilter)) { continue; } - $s2 = Get-AzureRMVMImageOffer -Location $locStr -PublisherName $pub; + $s2 = Get-AzureRmVMImageOffer -Location $locStr -PublisherName $pub; if ($s2.Count -gt 0) { # Check "$maxPubCheck" publishers at most @@ -428,18 +428,18 @@ function Test-VirtualMachineImageList $offerNames = $s2 | select -ExpandProperty Offer; foreach ($offer in $offerNames) { - $s3 = Get-AzureRMVMImageSku -Location $locStr -PublisherName $pub -Offer $offer; + $s3 = Get-AzureRmVMImageSku -Location $locStr -PublisherName $pub -Offer $offer; if ($s3.Count -gt 0) { $skus = $s3 | select -ExpandProperty Skus; foreach ($sku in $skus) { - $s4 = Get-AzureRMVMImage -Location $locStr -PublisherName $pub -Offer $offer -Sku $sku; + $s4 = Get-AzureRmVMImage -Location $locStr -PublisherName $pub -Offer $offer -Sku $sku; if ($s4.Count -gt 0) { $versions = $s4 | select -ExpandProperty Version; - $s5 = Get-AzureRMVMImage -Location $locStr -PublisherName $pub -Offer $offer -Sku $sku -FilterExpression ('name -eq *'); + $s5 = Get-AzureRmVMImage -Location $locStr -PublisherName $pub -Offer $offer -Sku $sku -FilterExpression ('name -eq *'); Assert-NotNull $s5; Assert-NotNull $s5.Count -gt 0; $verNames = $s5 | select -ExpandProperty Version; @@ -447,7 +447,7 @@ function Test-VirtualMachineImageList foreach ($ver in $versions) { if ($ver -eq $null -or $ver -eq '') { continue; } - $s6 = Get-AzureRMVMImage -Location $locStr -PublisherName $pub -Offer $offer -Sku $sku -Version $ver; + $s6 = Get-AzureRmVMImage -Location $locStr -PublisherName $pub -Offer $offer -Sku $sku -Version $ver; Assert-NotNull $s6; $s6; @@ -476,17 +476,17 @@ function Test-VirtualMachineImageList # Filter Windows Images if (-not ($pub -like $pubNameFilter)) { continue; } - $s1 = Get-AzureRMVMExtensionImageType -Location $locStr -PublisherName $pub; + $s1 = Get-AzureRmVMExtensionImageType -Location $locStr -PublisherName $pub; $types = $s1 | select -ExpandProperty Type; if ($types.Count -gt 0) { foreach ($type in $types) { - $s2 = Get-AzureRMVMExtensionImage -Location $locStr -PublisherName $pub -Type $type -FilterExpression '*'; + $s2 = Get-AzureRmVMExtensionImage -Location $locStr -PublisherName $pub -Type $type -FilterExpression '*'; $versions = $s2 | select -ExpandProperty Version; foreach ($ver in $versions) { - $s3 = Get-AzureRMVMExtensionImage -Location $locStr -PublisherName $pub -Type $type -Version $ver -FilterExpression '*'; + $s3 = Get-AzureRmVMExtensionImage -Location $locStr -PublisherName $pub -Type $type -Version $ver -FilterExpression '*'; Assert-NotNull $s3; Assert-True { $s3.Version -eq $ver; } @@ -503,40 +503,40 @@ function Test-VirtualMachineImageList # Test Piping $pubNameFilter = '*Microsoft*Windows*Server*'; - $imgs = Get-AzureRMVMImagePublisher -Location $locStr | where { $_.PublisherName -like $pubNameFilter } | Get-AzureRMVMImageOffer | Get-AzureRMVMImageSku | Get-AzureRMVMImage | Get-AzureRMVMImage; + $imgs = Get-AzureRmVMImagePublisher -Location $locStr | where { $_.PublisherName -like $pubNameFilter } | Get-AzureRmVMImageOffer | Get-AzureRmVMImageSku | Get-AzureRmVMImage | Get-AzureRmVMImage; Assert-True { $imgs.Count -gt 0 }; $pubNameFilter = '*Microsoft.Compute*'; - $extimgs = Get-AzureRMVMImagePublisher -Location $locStr | where { $_.PublisherName -like $pubNameFilter } | Get-AzureRMVMExtensionImageType | Get-AzureRMVMExtensionImage | Get-AzureRMVMExtensionImage; + $extimgs = Get-AzureRmVMImagePublisher -Location $locStr | where { $_.PublisherName -like $pubNameFilter } | Get-AzureRmVMExtensionImageType | Get-AzureRmVMExtensionImage | Get-AzureRmVMExtensionImage; Assert-True { $extimgs.Count -gt 0 }; # Negative Tests # VM Images - $s1 = Get-AzureRMVMImagePublisher -Location $locStr; + $s1 = Get-AzureRmVMImagePublisher -Location $locStr; Assert-NotNull $s1; $publisherName = Get-ComputeTestResourceName; - Assert-ThrowsContains { $s2 = Get-AzureRMVMImageOffer -Location $locStr -PublisherName $publisherName; } "$publisherName was not found"; + Assert-ThrowsContains { $s2 = Get-AzureRmVMImageOffer -Location $locStr -PublisherName $publisherName; } "$publisherName was not found"; $offerName = Get-ComputeTestResourceName; - Assert-ThrowsContains { $s3 = Get-AzureRMVMImageSku -Location $locStr -PublisherName $publisherName -Offer $offerName; } "was not found"; + Assert-ThrowsContains { $s3 = Get-AzureRmVMImageSku -Location $locStr -PublisherName $publisherName -Offer $offerName; } "was not found"; $skusName = Get-ComputeTestResourceName; - Assert-ThrowsContains { $s4 = Get-AzureRMVMImage -Location $locStr -PublisherName $publisherName -Offer $offerName -Skus $skusName; } "was not found"; + Assert-ThrowsContains { $s4 = Get-AzureRmVMImage -Location $locStr -PublisherName $publisherName -Offer $offerName -Skus $skusName; } "was not found"; $filter = "name eq 'latest'"; - Assert-ThrowsContains { $s5 = Get-AzureRMVMImage -Location $locStr -PublisherName $publisherName -Offer $offerName -Skus $skusName -FilterExpression $filter; } "was not found"; + Assert-ThrowsContains { $s5 = Get-AzureRmVMImage -Location $locStr -PublisherName $publisherName -Offer $offerName -Skus $skusName -FilterExpression $filter; } "was not found"; $version = '1.0.0'; - Assert-ThrowsContains { $s6 = Get-AzureRMVMImage -Location $locStr -PublisherName $publisherName -Offer $offerName -Skus $skusName -Version $version; } "was not found"; + Assert-ThrowsContains { $s6 = Get-AzureRmVMImage -Location $locStr -PublisherName $publisherName -Offer $offerName -Skus $skusName -Version $version; } "was not found"; # Extension Images $type = Get-ComputeTestResourceName; - Assert-ThrowsContains { $s7 = Get-AzureRMVMExtensionImage -Location $locStr -PublisherName $publisherName -Type $type -FilterExpression $filter -Version $version; } "was not found"; + Assert-ThrowsContains { $s7 = Get-AzureRmVMExtensionImage -Location $locStr -PublisherName $publisherName -Type $type -FilterExpression $filter -Version $version; } "was not found"; - Assert-ThrowsContains { $s8 = Get-AzureRMVMExtensionImageType -Location $locStr -PublisherName $publisherName; } "was not found"; + Assert-ThrowsContains { $s8 = Get-AzureRmVMExtensionImageType -Location $locStr -PublisherName $publisherName; } "was not found"; - Assert-ThrowsContains { $s9 = Get-AzureRMVMExtensionImage -Location $locStr -PublisherName $publisherName -Type $type -FilterExpression $filter; } "was not found"; + Assert-ThrowsContains { $s9 = Get-AzureRmVMExtensionImage -Location $locStr -PublisherName $publisherName -Type $type -FilterExpression $filter; } "was not found"; $passed = $true; } @@ -560,40 +560,40 @@ function Test-VirtualMachineSizeAndUsage { # Common $loc = Get-ComputeVMLocation; - New-AzureRMResourceGroup -Name $rgname -Location $loc -Force; + New-AzureRmResourceGroup -Name $rgname -Location $loc -Force; # Availability Set $asetName = 'aset' + $rgname; - New-AzureRMAvailabilitySet -ResourceGroupName $rgname -Name $asetName -Location $loc; - $aset = Get-AzureRMAvailabilitySet -ResourceGroupName $rgname -Name $asetName; + New-AzureRmAvailabilitySet -ResourceGroupName $rgname -Name $asetName -Location $loc; + $aset = Get-AzureRmAvailabilitySet -ResourceGroupName $rgname -Name $asetName; # VM Profile & Hardware $vmsize = 'Standard_A1'; $vmname = 'vm' + $rgname; - $p = New-AzureRMVMConfig -VMName $vmname -VMSize $vmsize -AvailabilitySetId $aset.Id; + $p = New-AzureRmVMConfig -VMName $vmname -VMSize $vmsize -AvailabilitySetId $aset.Id; Assert-AreEqual $p.HardwareProfile.VirtualMachineSize $vmsize; # NRP - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; - $vnet = New-AzureRMVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; - $vnet = Get-AzureRMVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; + $vnet = New-AzureRmVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; + $vnet = Get-AzureRmVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; $subnetId = $vnet.Subnets[0].Id; - $pubip = New-AzureRMPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); - $pubip = Get-AzureRMPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; + $pubip = New-AzureRmPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); + $pubip = Get-AzureRmPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; $pubipId = $pubip.Id; - $nic = New-AzureRMNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; - $nic = Get-AzureRMNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; + $nic = New-AzureRmNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; + $nic = Get-AzureRmNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; $nicId = $nic.Id; - $p = Add-AzureRMVMNetworkInterface -VM $p -Id $nicId; + $p = Add-AzureRmVMNetworkInterface -VM $p -Id $nicId; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicId; # Storage Account (SA) $stoname = 'sto' + $rgname; $stotype = 'Standard_GRS'; - New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - $stoaccount = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; + New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + $stoaccount = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; $osDiskName = 'osDisk'; $osDiskCaching = 'ReadWrite'; @@ -602,12 +602,12 @@ function Test-VirtualMachineSizeAndUsage $dataDiskVhdUri2 = "https://$stoname.blob.core.windows.net/test/data2.vhd"; $dataDiskVhdUri3 = "https://$stoname.blob.core.windows.net/test/data3.vhd"; - $p = Set-AzureRMVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; + $p = Set-AzureRmVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 1 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 2 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk3' -Caching 'ReadOnly' -DiskSizeInGB 12 -Lun 3 -VhdUri $dataDiskVhdUri3 -CreateOption Empty; - $p = Remove-AzureRMVMDataDisk -VM $p -Name 'testDataDisk3'; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 1 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 2 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk3' -Caching 'ReadOnly' -DiskSizeInGB 12 -Lun 3 -VhdUri $dataDiskVhdUri3 -CreateOption Empty; + $p = Remove-AzureRmVMDataDisk -VM $p -Name 'testDataDisk3'; Assert-AreEqual $p.StorageProfile.OSDisk.Caching $osDiskCaching; Assert-AreEqual $p.StorageProfile.OSDisk.Name $osDiskName; @@ -632,7 +632,7 @@ function Test-VirtualMachineSizeAndUsage $img = 'a699494373c04fc0bc8f2bb1389d6106__Windows-Server-2012-Datacenter-201503.01-en.us-127GB.vhd'; # $p.StorageProfile.OSDisk = $null; - $p = Set-AzureRMVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred; + $p = Set-AzureRmVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred; Assert-AreEqual $p.OSProfile.AdminUsername $user; Assert-AreEqual $p.OSProfile.ComputerName $computerName; @@ -640,7 +640,7 @@ function Test-VirtualMachineSizeAndUsage # Image Reference $imgRef = Get-DefaultCRPImage -loc $loc; - $p = Set-AzureRMVMSourceImage -VM $p -PublisherName $imgRef.PublisherName -Offer $imgRef.Offer -Skus $imgRef.Skus -Version $imgRef.Version; + $p = Set-AzureRmVMSourceImage -VM $p -PublisherName $imgRef.PublisherName -Offer $imgRef.Offer -Skus $imgRef.Skus -Version $imgRef.Version; Assert-NotNull $p.StorageProfile.ImageReference; Assert-Null $p.StorageProfile.SourceImageId; @@ -648,27 +648,27 @@ function Test-VirtualMachineSizeAndUsage $p.StorageProfile.DataDisks = $null; # Virtual Machine - # TODO: Still need to do retry for New-AzureRMVM for SA, even it's returned in Get-. - New-AzureRMVM -ResourceGroupName $rgname -Location $loc -VM $p; + # TODO: Still need to do retry for New-AzureRmVM for SA, even it's returned in Get-. + New-AzureRmVM -ResourceGroupName $rgname -Location $loc -VM $p; # Test Sizes - $s1 = Get-AzureRMVMSize -Location ($loc -replace ' '); + $s1 = Get-AzureRmVMSize -Location ($loc -replace ' '); Assert-NotNull $s1; Assert-NotNull $s1.RequestId; Assert-NotNull $s1.StatusCode; Validate-VirtualMachineSize $vmsize $s1; - $s2 = Get-AzureRMVMSize -ResourceGroupName $rgname -VMName $vmname; + $s2 = Get-AzureRmVMSize -ResourceGroupName $rgname -VMName $vmname; Assert-NotNull $s2; Validate-VirtualMachineSize $vmsize $s2; $asetName = $aset.Name; - $s3 = Get-AzureRMVMSize -ResourceGroupName $rgname -AvailabilitySetName $asetName; + $s3 = Get-AzureRmVMSize -ResourceGroupName $rgname -AvailabilitySetName $asetName; Assert-NotNull $s3; Validate-VirtualMachineSize $vmsize $s3; # Test Usage - $u1 = Get-AzureRMVMUsage -Location ($loc -replace ' '); + $u1 = Get-AzureRmVMUsage -Location ($loc -replace ' '); Validate-VirtualMachineUsage $u1; $passed = $true; @@ -734,35 +734,35 @@ function Test-VirtualMachinePIRv2 { # Common $loc = Get-ComputeVMLocation; - New-AzureRMResourceGroup -Name $rgname -Location $loc -Force; + New-AzureRmResourceGroup -Name $rgname -Location $loc -Force; # VM Profile & Hardware $vmsize = 'Standard_A4'; $vmname = 'vm' + $rgname; - $p = New-AzureRMVMConfig -VMName $vmname -VMSize $vmsize; + $p = New-AzureRmVMConfig -VMName $vmname -VMSize $vmsize; Assert-AreEqual $p.HardwareProfile.VirtualMachineSize $vmsize; # NRP - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; - $vnet = New-AzureRMVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; - $vnet = Get-AzureRMVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; + $vnet = New-AzureRmVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; + $vnet = Get-AzureRmVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; $subnetId = $vnet.Subnets[0].Id; - $pubip = New-AzureRMPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); - $pubip = Get-AzureRMPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; + $pubip = New-AzureRmPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); + $pubip = Get-AzureRmPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; $pubipId = $pubip.Id; - $nic = New-AzureRMNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; - $nic = Get-AzureRMNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; + $nic = New-AzureRmNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; + $nic = Get-AzureRmNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; $nicId = $nic.Id; - $p = Add-AzureRMVMNetworkInterface -VM $p -Id $nicId; + $p = Add-AzureRmVMNetworkInterface -VM $p -Id $nicId; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicId; # Storage Account (SA) $stoname = 'sto' + $rgname; $stotype = 'Standard_GRS'; - New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - $stoaccount = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; + New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + $stoaccount = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; $osDiskName = 'osDisk'; $osDiskCaching = 'ReadWrite'; @@ -771,12 +771,12 @@ function Test-VirtualMachinePIRv2 $dataDiskVhdUri2 = "https://$stoname.blob.core.windows.net/test/data2.vhd"; $dataDiskVhdUri3 = "https://$stoname.blob.core.windows.net/test/data3.vhd"; - $p = Set-AzureRMVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; + $p = Set-AzureRmVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 1 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 2 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk3' -Caching 'ReadOnly' -DiskSizeInGB 12 -Lun 3 -VhdUri $dataDiskVhdUri3 -CreateOption Empty; - $p = Remove-AzureRMVMDataDisk -VM $p -Name 'testDataDisk3'; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 1 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 2 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk3' -Caching 'ReadOnly' -DiskSizeInGB 12 -Lun 3 -VhdUri $dataDiskVhdUri3 -CreateOption Empty; + $p = Remove-AzureRmVMDataDisk -VM $p -Name 'testDataDisk3'; Assert-AreEqual $p.StorageProfile.OSDisk.Caching $osDiskCaching; Assert-AreEqual $p.StorageProfile.OSDisk.Name $osDiskName; @@ -801,7 +801,7 @@ function Test-VirtualMachinePIRv2 $img = 'a699494373c04fc0bc8f2bb1389d6106__Windows-Server-2012-Datacenter-201503.01-en.us-127GB.vhd'; # $p.StorageProfile.OSDisk = $null; - $p = Set-AzureRMVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred; + $p = Set-AzureRmVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred; Assert-AreEqual $p.OSProfile.AdminUsername $user; Assert-AreEqual $p.OSProfile.ComputerName $computerName; @@ -809,7 +809,7 @@ function Test-VirtualMachinePIRv2 # Image Reference $imgRef = Get-DefaultCRPImage -loc $loc; - $p = ($imgRef | Set-AzureRMVMSourceImage -VM $p); + $p = ($imgRef | Set-AzureRmVMSourceImage -VM $p); Assert-NotNull $p.StorageProfile.ImageReference; Assert-Null $p.StorageProfile.SourceImageId; @@ -817,11 +817,11 @@ function Test-VirtualMachinePIRv2 $p.StorageProfile.DataDisks = $null; # Virtual Machine - # TODO: Still need to do retry for New-AzureRMVM for SA, even it's returned in Get-. - New-AzureRMVM -ResourceGroupName $rgname -Location $loc -VM $p; + # TODO: Still need to do retry for New-AzureRmVM for SA, even it's returned in Get-. + New-AzureRmVM -ResourceGroupName $rgname -Location $loc -VM $p; # Remove - # Remove-AzureRMVM -ResourceGroupName $rgname -Name $vmname -Force; + # Remove-AzureRmVM -ResourceGroupName $rgname -Name $vmname -Force; } finally { @@ -843,35 +843,35 @@ function Test-VirtualMachineCapture { # Common $loc = Get-ComputeVMLocation; - New-AzureRMResourceGroup -Name $rgname -Location $loc -Force; + New-AzureRmResourceGroup -Name $rgname -Location $loc -Force; # VM Profile & Hardware $vmsize = 'Standard_A4'; $vmname = 'vm' + $rgname; - $p = New-AzureRMVMConfig -VMName $vmname -VMSize $vmsize; + $p = New-AzureRmVMConfig -VMName $vmname -VMSize $vmsize; Assert-AreEqual $p.HardwareProfile.VirtualMachineSize $vmsize; # NRP - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; - $vnet = New-AzureRMVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; - $vnet = Get-AzureRMVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; + $vnet = New-AzureRmVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; + $vnet = Get-AzureRmVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; $subnetId = $vnet.Subnets[0].Id; - $pubip = New-AzureRMPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); - $pubip = Get-AzureRMPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; + $pubip = New-AzureRmPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); + $pubip = Get-AzureRmPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; $pubipId = $pubip.Id; - $nic = New-AzureRMNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; - $nic = Get-AzureRMNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; + $nic = New-AzureRmNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; + $nic = Get-AzureRmNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; $nicId = $nic.Id; - $p = Add-AzureRMVMNetworkInterface -VM $p -Id $nicId; + $p = Add-AzureRmVMNetworkInterface -VM $p -Id $nicId; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicId; # Storage Account (SA) $stoname = 'sto' + $rgname; $stotype = 'Standard_GRS'; - New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - $stoaccount = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; + New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + $stoaccount = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; $osDiskName = 'osDisk'; $osDiskCaching = 'ReadWrite'; @@ -880,12 +880,12 @@ function Test-VirtualMachineCapture $dataDiskVhdUri2 = "https://$stoname.blob.core.windows.net/test/data2.vhd"; $dataDiskVhdUri3 = "https://$stoname.blob.core.windows.net/test/data3.vhd"; - $p = Set-AzureRMVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; + $p = Set-AzureRmVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 1 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 2 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk3' -Caching 'ReadOnly' -DiskSizeInGB 12 -Lun 3 -VhdUri $dataDiskVhdUri3 -CreateOption Empty; - $p = Remove-AzureRMVMDataDisk -VM $p -Name 'testDataDisk3'; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 1 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 2 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk3' -Caching 'ReadOnly' -DiskSizeInGB 12 -Lun 3 -VhdUri $dataDiskVhdUri3 -CreateOption Empty; + $p = Remove-AzureRmVMDataDisk -VM $p -Name 'testDataDisk3'; Assert-AreEqual $p.StorageProfile.OSDisk.Caching $osDiskCaching; Assert-AreEqual $p.StorageProfile.OSDisk.Name $osDiskName; @@ -910,7 +910,7 @@ function Test-VirtualMachineCapture $img = 'a699494373c04fc0bc8f2bb1389d6106__Windows-Server-2012-Datacenter-201503.01-en.us-127GB.vhd'; # $p.StorageProfile.OSDisk = $null; - $p = Set-AzureRMVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred; + $p = Set-AzureRmVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred; Assert-AreEqual $p.OSProfile.AdminUsername $user; Assert-AreEqual $p.OSProfile.ComputerName $computerName; @@ -918,28 +918,28 @@ function Test-VirtualMachineCapture # Image Reference $imgRef = Get-DefaultCRPImage -loc $loc; - $p = ($imgRef | Set-AzureRMVMSourceImage -VM $p); + $p = ($imgRef | Set-AzureRmVMSourceImage -VM $p); # TODO: Remove Data Disks for now $p.StorageProfile.DataDisks = $null; # Virtual Machine - # TODO: Still need to do retry for New-AzureRMVM for SA, even it's returned in Get-. - New-AzureRMVM -ResourceGroupName $rgname -Location $loc -VM $p; + # TODO: Still need to do retry for New-AzureRmVM for SA, even it's returned in Get-. + New-AzureRmVM -ResourceGroupName $rgname -Location $loc -VM $p; # Stop the VM before Capture - Stop-AzureRMVM -ResourceGroupName $rgname -Name $vmname -Force; + Stop-AzureRmVM -ResourceGroupName $rgname -Name $vmname -Force; - Set-AzureRMVM -Generalize -ResourceGroupName $rgname -Name $vmname; + Set-AzureRmVM -Generalize -ResourceGroupName $rgname -Name $vmname; $dest = Get-ComputeTestResourceName; $templatePath = ".\template.txt"; - Save-AzureRMVMImage -ResourceGroupName $rgname -VMName $vmname -DestinationContainerName $dest -VHDNamePrefix 'pslib' -Overwrite -Path $templatePath; + Save-AzureRmVMImage -ResourceGroupName $rgname -VMName $vmname -DestinationContainerName $dest -VHDNamePrefix 'pslib' -Overwrite -Path $templatePath; $template = Get-Content $templatePath; Assert-True { $template[1].Contains("$schema"); } # Remove - Remove-AzureRMVM -ResourceGroupName $rgname -Name $vmname -Force; + Remove-AzureRmVM -ResourceGroupName $rgname -Name $vmname -Force; } finally { @@ -957,32 +957,32 @@ function Test-VirtualMachineDataDisk { # Common $loc = Get-ComputeVMLocation; - New-AzureRMResourceGroup -Name $rgname -Location $loc -Force; + New-AzureRmResourceGroup -Name $rgname -Location $loc -Force; # VM Profile & Hardware $vmsize = 'Standard_A4'; $vmname = 'vm' + $rgname; - $p = New-AzureRMVMConfig -VMName $vmname -VMSize $vmsize; + $p = New-AzureRmVMConfig -VMName $vmname -VMSize $vmsize; Assert-AreEqual $p.HardwareProfile.VirtualMachineSize $vmsize; # NRP - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; - $vnet = New-AzureRMVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; - $vnet = Get-AzureRMVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; + $vnet = New-AzureRmVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; + $vnet = Get-AzureRmVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; $subnetId = $vnet.Subnets[0].Id; - $pubip = New-AzureRMPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); - $pubip = Get-AzureRMPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; + $pubip = New-AzureRmPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); + $pubip = Get-AzureRmPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; $pubipId = $pubip.Id; - $nic = New-AzureRMNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; - $nic = Get-AzureRMNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; + $nic = New-AzureRmNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; + $nic = Get-AzureRmNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; $nicId = $nic.Id; - $p = Add-AzureRMVMNetworkInterface -VM $p -Id $nicId; + $p = Add-AzureRmVMNetworkInterface -VM $p -Id $nicId; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicId; # Adding the same Nic but not set it Primary - $p = Add-AzureRMVMNetworkInterface -VM $p -Id $nicId -Primary; + $p = Add-AzureRmVMNetworkInterface -VM $p -Id $nicId -Primary; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicId; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces[0].Primary $true; @@ -990,8 +990,8 @@ function Test-VirtualMachineDataDisk # Storage Account (SA) $stoname = 'sto' + $rgname; $stotype = 'Standard_GRS'; - New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - $stoaccount = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; + New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + $stoaccount = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; $osDiskName = 'osDisk'; $osDiskCaching = 'ReadWrite'; @@ -1003,15 +1003,15 @@ function Test-VirtualMachineDataDisk $dataDiskName2 = 'testDataDisk2'; $dataDiskName3 = 'testDataDisk3'; - $p = Set-AzureRMVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; + $p = Set-AzureRmVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; - $p = Add-AzureRMVMDataDisk -VM $p -Name $dataDiskName1 -Caching 'ReadOnly' -DiskSizeInGB 5 -Lun 1 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name $dataDiskName2 -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 2 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name $dataDiskName3 -Caching 'ReadOnly' -DiskSizeInGB 12 -Lun 3 -VhdUri $dataDiskVhdUri3 -CreateOption Empty; - $p = Remove-AzureRMVMDataDisk -VM $p -Name $dataDiskName3; + $p = Add-AzureRmVMDataDisk -VM $p -Name $dataDiskName1 -Caching 'ReadOnly' -DiskSizeInGB 5 -Lun 1 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name $dataDiskName2 -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 2 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name $dataDiskName3 -Caching 'ReadOnly' -DiskSizeInGB 12 -Lun 3 -VhdUri $dataDiskVhdUri3 -CreateOption Empty; + $p = Remove-AzureRmVMDataDisk -VM $p -Name $dataDiskName3; - $p = Set-AzureRMVMDataDisk -VM $p -Name $dataDiskName1 -DiskSizeInGB 10; - Assert-ThrowsContains { Set-AzureRMVMDataDisk -VM $p -Name $dataDiskName3 -Caching 'ReadWrite'; } "not currently assigned for this VM"; + $p = Set-AzureRmVMDataDisk -VM $p -Name $dataDiskName1 -DiskSizeInGB 10; + Assert-ThrowsContains { Set-AzureRmVMDataDisk -VM $p -Name $dataDiskName3 -Caching 'ReadWrite'; } "not currently assigned for this VM"; Assert-AreEqual $p.StorageProfile.OSDisk.Caching $osDiskCaching; Assert-AreEqual $p.StorageProfile.OSDisk.Name $osDiskName; @@ -1040,10 +1040,10 @@ function Test-VirtualMachineDataDisk $computerName = 'test'; $vhdContainer = "https://$stoname.blob.core.windows.net/test"; - $p = Set-AzureRMVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred; + $p = Set-AzureRmVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred; $imgRef = Get-DefaultCRPImage -loc $loc; - $p = ($imgRef | Set-AzureRMVMSourceImage -VM $p); + $p = ($imgRef | Set-AzureRmVMSourceImage -VM $p); Assert-AreEqual $p.OSProfile.AdminUsername $user; Assert-AreEqual $p.OSProfile.ComputerName $computerName; @@ -1055,11 +1055,11 @@ function Test-VirtualMachineDataDisk Assert-AreEqual $p.StorageProfile.ImageReference.Version $imgRef.Version; # Virtual Machine - # TODO: Still need to do retry for New-AzureRMVM for SA, even it's returned in Get-. - New-AzureRMVM -ResourceGroupName $rgname -Location $loc -VM $p; + # TODO: Still need to do retry for New-AzureRmVM for SA, even it's returned in Get-. + New-AzureRmVM -ResourceGroupName $rgname -Location $loc -VM $p; # Get VM - $vm1 = Get-AzureRMVM -Name $vmname -ResourceGroupName $rgname; + $vm1 = Get-AzureRmVM -Name $vmname -ResourceGroupName $rgname; Assert-AreEqual $vm1.Name $vmname; Assert-AreEqual $vm1.NetworkProfile.NetworkInterfaces.Count 1; @@ -1089,14 +1089,14 @@ function Test-VirtualMachineDataDisk Assert-AreEqual $vm1.OSProfile.ComputerName $computerName; Assert-AreEqual $vm1.HardwareProfile.VirtualMachineSize $vmsize; - $vm1 = Set-AzureRMVMDataDisk -VM $vm1 -Caching 'ReadWrite' -Lun 1; - $vm1 = Set-AzureRMVMDataDisk -VM $vm1 -Name $dataDiskName2 -Caching 'ReadWrite'; - $vm1 = Add-AzureRMVMDataDisk -VM $vm1 -Name $dataDiskName3 -Caching 'ReadOnly' -DiskSizeInGB 12 -Lun 3 -VhdUri $dataDiskVhdUri3 -CreateOption Empty; + $vm1 = Set-AzureRmVMDataDisk -VM $vm1 -Caching 'ReadWrite' -Lun 1; + $vm1 = Set-AzureRmVMDataDisk -VM $vm1 -Name $dataDiskName2 -Caching 'ReadWrite'; + $vm1 = Add-AzureRmVMDataDisk -VM $vm1 -Name $dataDiskName3 -Caching 'ReadOnly' -DiskSizeInGB 12 -Lun 3 -VhdUri $dataDiskVhdUri3 -CreateOption Empty; # Update - Update-AzureRMVM -ResourceGroupName $rgname -VM $vm1; + Update-AzureRmVM -ResourceGroupName $rgname -VM $vm1; - $vm2 = Get-AzureRMVM -Name $vmname -ResourceGroupName $rgname; + $vm2 = Get-AzureRmVM -Name $vmname -ResourceGroupName $rgname; Assert-AreEqual $vm2.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $vm2.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicId; @@ -1132,12 +1132,12 @@ function Test-VirtualMachineDataDisk Assert-AreEqual $vm2.HardwareProfile.VirtualMachineSize $vmsize; Assert-NotNull $vm2.Location; - $vms = Get-AzureRMVM -ResourceGroupName $rgname; + $vms = Get-AzureRmVM -ResourceGroupName $rgname; Assert-AreNotEqual $vms $null; # Remove All VMs - Get-AzureRMVM -ResourceGroupName $rgname | Remove-AzureRMVM -ResourceGroupName $rgname -Force; - $vms = Get-AzureRMVM -ResourceGroupName $rgname; + Get-AzureRmVM -ResourceGroupName $rgname | Remove-AzureRmVM -ResourceGroupName $rgname -Force; + $vms = Get-AzureRmVM -ResourceGroupName $rgname; Assert-AreEqual $vms $null; } finally @@ -1160,31 +1160,31 @@ function Test-VirtualMachineDataDiskNegative { # Common $loc = Get-ComputeVMLocation; - New-AzureRMResourceGroup -Name $rgname -Location $loc -Force; + New-AzureRmResourceGroup -Name $rgname -Location $loc -Force; # VM Profile & Hardware $vmsize = 'Standard_A0'; $vmname = 'vm' + $rgname; - $p = New-AzureRMVMConfig -VMName $vmname -VMSize $vmsize; + $p = New-AzureRmVMConfig -VMName $vmname -VMSize $vmsize; # NRP - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; - $vnet = New-AzureRMVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; - $vnet = Get-AzureRMVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; + $vnet = New-AzureRmVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; + $vnet = Get-AzureRmVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; $subnetId = $vnet.Subnets[0].Id; - $pubip = New-AzureRMPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); - $pubip = Get-AzureRMPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; + $pubip = New-AzureRmPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); + $pubip = Get-AzureRmPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; $pubipId = $pubip.Id; - $nic = New-AzureRMNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; - $nic = Get-AzureRMNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; + $nic = New-AzureRmNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; + $nic = Get-AzureRmNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; $nicId = $nic.Id; - $p = Add-AzureRMVMNetworkInterface -VM $p -Id $nicId; + $p = Add-AzureRmVMNetworkInterface -VM $p -Id $nicId; # Storage Account (SA) $stoname = 'sto' + $rgname; $stotype = 'Standard_GRS'; - New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - $stoaccount = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; + New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + $stoaccount = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; $osDiskName = 'osDisk'; $osDiskCaching = 'ReadWrite'; @@ -1193,12 +1193,12 @@ function Test-VirtualMachineDataDiskNegative $dataDiskVhdUri2 = "https://$stoname.blob.core.windows.net/test/data2.vhd"; $dataDiskVhdUri3 = "https://$stoname.blob.core.windows.net/test/data3.vhd"; - $p = Set-AzureRMVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; + $p = Set-AzureRmVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 1 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 2 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; - $p = Add-AzureRMVMDataDisk -VM $p -Name 'testDataDisk3' -Caching 'ReadOnly' -DiskSizeInGB 12 -Lun 3 -VhdUri $dataDiskVhdUri3 -CreateOption Empty; - $p = Remove-AzureRMVMDataDisk -VM $p -Name 'testDataDisk3'; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 1 -VhdUri $dataDiskVhdUri1 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 2 -VhdUri $dataDiskVhdUri2 -CreateOption Empty; + $p = Add-AzureRmVMDataDisk -VM $p -Name 'testDataDisk3' -Caching 'ReadOnly' -DiskSizeInGB 12 -Lun 3 -VhdUri $dataDiskVhdUri3 -CreateOption Empty; + $p = Remove-AzureRmVMDataDisk -VM $p -Name 'testDataDisk3'; # OS & Image $user = "Foo12"; @@ -1210,14 +1210,14 @@ function Test-VirtualMachineDataDiskNegative $img = 'a699494373c04fc0bc8f2bb1389d6106__Windows-Server-2012-Datacenter-201503.01-en.us-127GB.vhd'; # $p.StorageProfile.OSDisk = $null; - $p = Set-AzureRMVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred; + $p = Set-AzureRmVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred; # Image Reference $imgRef = Get-DefaultCRPImage -loc $loc; - $p = ($imgRef | Set-AzureRMVMSourceImage -VM $p); + $p = ($imgRef | Set-AzureRmVMSourceImage -VM $p); # Negative Tests on A0 Size + 2 Data Disks - Assert-ThrowsContains { New-AzureRMVM -ResourceGroupName $rgname -Location $loc -VM $p; } "The maximum number of data disks allowed to be attached to a VM is 1."; + Assert-ThrowsContains { New-AzureRmVM -ResourceGroupName $rgname -Location $loc -VM $p; } "The maximum number of data disks allowed to be attached to a VM is 1."; } finally { @@ -1239,31 +1239,31 @@ function Test-VirtualMachinePlan { # Common $loc = Get-ComputeVMLocation; - New-AzureRMResourceGroup -Name $rgname -Location $loc -Force; + New-AzureRmResourceGroup -Name $rgname -Location $loc -Force; # VM Profile & Hardware $vmsize = 'Standard_A0'; $vmname = 'vm' + $rgname; - $p = New-AzureRMVMConfig -VMName $vmname -VMSize $vmsize; + $p = New-AzureRmVMConfig -VMName $vmname -VMSize $vmsize; # NRP - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; - $vnet = New-AzureRMVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; - $vnet = Get-AzureRMVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; + $vnet = New-AzureRmVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; + $vnet = Get-AzureRmVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; $subnetId = $vnet.Subnets[0].Id; - $pubip = New-AzureRMPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); - $pubip = Get-AzureRMPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; + $pubip = New-AzureRmPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); + $pubip = Get-AzureRmPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; $pubipId = $pubip.Id; - $nic = New-AzureRMNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; - $nic = Get-AzureRMNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; + $nic = New-AzureRmNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; + $nic = Get-AzureRmNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; $nicId = $nic.Id; - $p = Add-AzureRMVMNetworkInterface -VM $p -Id $nicId; + $p = Add-AzureRmVMNetworkInterface -VM $p -Id $nicId; # Storage Account (SA) $stoname = 'sto' + $rgname; $stotype = 'Standard_GRS'; - New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - $stoaccount = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; + New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + $stoaccount = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; $osDiskName = 'osDisk'; $osDiskCaching = 'ReadWrite'; @@ -1272,7 +1272,7 @@ function Test-VirtualMachinePlan $dataDiskVhdUri2 = "https://$stoname.blob.core.windows.net/test/data2.vhd"; $dataDiskVhdUri3 = "https://$stoname.blob.core.windows.net/test/data3.vhd"; - $p = Set-AzureRMVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; + $p = Set-AzureRmVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; # OS & Image $user = "Foo12"; @@ -1284,11 +1284,11 @@ function Test-VirtualMachinePlan $img = 'a699494373c04fc0bc8f2bb1389d6106__Windows-Server-2012-Datacenter-201503.01-en.us-127GB.vhd'; # $p.StorageProfile.OSDisk = $null; - $p = Set-AzureRMVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred; + $p = Set-AzureRmVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred; # Image Reference $imgRef = Get-DefaultCRPImage -loc $loc; - $p = ($imgRef | Set-AzureRMVMSourceImage -VM $p); + $p = ($imgRef | Set-AzureRmVMSourceImage -VM $p); $plan = Get-ComputeTestResourceName; $p.Plan = New-Object Microsoft.Azure.Management.Compute.Models.Plan; @@ -1298,7 +1298,7 @@ function Test-VirtualMachinePlan $p.Plan.PromotionCode = $plan; # Negative Tests on non-existing Plan - Assert-ThrowsContains { New-AzureRMVM -ResourceGroupName $rgname -Location $loc -VM $p; } "User failed validation to purchase resources"; + Assert-ThrowsContains { New-AzureRmVM -ResourceGroupName $rgname -Location $loc -VM $p; } "User failed validation to purchase resources"; } finally { @@ -1323,37 +1323,37 @@ function Test-VirtualMachinePlan2 # Common $loc = Get-ComputeVMLocation; - New-AzureRMResourceGroup -Name $rgname -Location $loc -Force; + New-AzureRmResourceGroup -Name $rgname -Location $loc -Force; # VM Profile & Hardware $vmsize = Get-DefaultVMSize; $vmname = 'vm' + $rgname; - $p = New-AzureRMVMConfig -VMName $vmname -VMSize $vmsize; + $p = New-AzureRmVMConfig -VMName $vmname -VMSize $vmsize; # NRP - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; - $vnet = New-AzureRMVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; - $vnet = Get-AzureRMVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; + $vnet = New-AzureRmVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; + $vnet = Get-AzureRmVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; $subnetId = $vnet.Subnets[0].Id; - $pubip = New-AzureRMPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); - $pubip = Get-AzureRMPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; + $pubip = New-AzureRmPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); + $pubip = Get-AzureRmPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; $pubipId = $pubip.Id; - $nic = New-AzureRMNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; - $nic = Get-AzureRMNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; + $nic = New-AzureRmNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; + $nic = Get-AzureRmNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; $nicId = $nic.Id; - $p = Add-AzureRMVMNetworkInterface -VM $p -Id $nicId; + $p = Add-AzureRmVMNetworkInterface -VM $p -Id $nicId; # Storage Account (SA) $stoname = 'sto' + $rgname; $stotype = Get-DefaultStorageType; - New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - $stoaccount = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; + New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + $stoaccount = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; $osDiskName = 'osDisk'; $osDiskCaching = 'ReadWrite'; $osDiskVhdUri = "https://$stoname.blob.core.windows.net/test/os.vhd"; - $p = Set-AzureRMVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; + $p = Set-AzureRmVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; # OS & Image $user = "Foo12"; @@ -1364,13 +1364,13 @@ function Test-VirtualMachinePlan2 $vhdContainer = "https://$stoname.blob.core.windows.net/test"; # $p.StorageProfile.OSDisk = $null; - $p = Set-AzureRMVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred; + $p = Set-AzureRmVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred; # Image Reference # Pick a VMM Image $imgRef = (Get-MarketplaceImage)[0]; $plan = $imgRef.PurchasePlan; - $p = Set-AzureRMVMSourceImage -VM $p -PublisherName $imgRef.PublisherName -Offer $imgRef.Offer -Skus $imgRef.Skus -Version $imgRef.Version; + $p = Set-AzureRmVMSourceImage -VM $p -PublisherName $imgRef.PublisherName -Offer $imgRef.Offer -Skus $imgRef.Skus -Version $imgRef.Version; $p.Plan = New-Object Microsoft.Azure.Management.Compute.Models.Plan; $p.Plan.Name = $plan.Name; $p.Plan.Publisher = $plan.Publisher; @@ -1379,7 +1379,7 @@ function Test-VirtualMachinePlan2 $p.OSProfile.WindowsConfiguration = $null; # Negative Tests on non-purchased Plan - Assert-ThrowsContains { New-AzureRMVM -ResourceGroupName $rgname -Location $loc -VM $p; } "Legal terms have not been accepted for this item on this subscription"; + Assert-ThrowsContains { New-AzureRmVM -ResourceGroupName $rgname -Location $loc -VM $p; } "Legal terms have not been accepted for this item on this subscription"; } finally { @@ -1402,37 +1402,37 @@ function Test-VirtualMachineTags { # Common $loc = Get-ComputeVMLocation; - New-AzureRMResourceGroup -Name $rgname -Location $loc -Force; + New-AzureRmResourceGroup -Name $rgname -Location $loc -Force; # VM Profile & Hardware $vmsize = 'Standard_A0'; $vmname = 'vm' + $rgname; - $p = New-AzureRMVMConfig -VMName $vmname -VMSize $vmsize; + $p = New-AzureRmVMConfig -VMName $vmname -VMSize $vmsize; # NRP - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; - $vnet = New-AzureRMVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; - $vnet = Get-AzureRMVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; + $vnet = New-AzureRmVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; + $vnet = Get-AzureRmVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; $subnetId = $vnet.Subnets[0].Id; - $pubip = New-AzureRMPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); - $pubip = Get-AzureRMPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; + $pubip = New-AzureRmPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); + $pubip = Get-AzureRmPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; $pubipId = $pubip.Id; - $nic = New-AzureRMNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; - $nic = Get-AzureRMNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; + $nic = New-AzureRmNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; + $nic = Get-AzureRmNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; $nicId = $nic.Id; - $p = Add-AzureRMVMNetworkInterface -VM $p -Id $nicId; + $p = Add-AzureRmVMNetworkInterface -VM $p -Id $nicId; # Storage Account (SA) $stoname = 'sto' + $rgname; $stotype = 'Standard_GRS'; - New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - $stoaccount = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; + New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + $stoaccount = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; $osDiskName = 'osDisk'; $osDiskCaching = 'ReadWrite'; $osDiskVhdUri = "https://$stoname.blob.core.windows.net/test/os.vhd"; - $p = Set-AzureRMVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; + $p = Set-AzureRmVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; # OS & Image $user = "Foo12"; @@ -1441,18 +1441,18 @@ function Test-VirtualMachineTags $cred = New-Object System.Management.Automation.PSCredential ($user, $securePassword); $computerName = 'test'; - $p = Set-AzureRMVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred; + $p = Set-AzureRmVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred; # Image Reference $imgRef = Get-DefaultCRPImage -loc $loc; - $p = ($imgRef | Set-AzureRMVMSourceImage -VM $p); + $p = ($imgRef | Set-AzureRmVMSourceImage -VM $p); # Test Tags $tags = @{Name = "test1"; Value = "testval1"}, @{ Name = "test2"; Value = "testval2" }; - $st = New-AzureRMVM -ResourceGroupName $rgname -Location $loc -VM $p -Tags $tags; + $st = New-AzureRmVM -ResourceGroupName $rgname -Location $loc -VM $p -Tags $tags; Assert-NotNull $st.RequestId; Assert-NotNull $st.StatusCode; - $vm = Get-AzureRMVM -ResourceGroupName $rgname -Name $vmname; + $vm = Get-AzureRmVM -ResourceGroupName $rgname -Name $vmname; Assert-NotNull $vm.RequestId; Assert-NotNull $vm.StatusCode; @@ -1480,40 +1480,40 @@ function Test-VirtualMachineWithVMAgentAutoUpdate { # Common $loc = Get-ComputeVMLocation; - New-AzureRMResourceGroup -Name $rgname -Location $loc -Force; + New-AzureRmResourceGroup -Name $rgname -Location $loc -Force; # VM Profile & Hardware $vmsize = 'Standard_A4'; $vmname = 'vm' + $rgname; - $p = New-AzureRMVMConfig -VMName $vmname -VMSize $vmsize; + $p = New-AzureRmVMConfig -VMName $vmname -VMSize $vmsize; Assert-AreEqual $p.HardwareProfile.VirtualMachineSize $vmsize; # NRP - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; - $vnet = New-AzureRMVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; - $vnet = Get-AzureRMVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; + $vnet = New-AzureRmVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; + $vnet = Get-AzureRmVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; $subnetId = $vnet.Subnets[0].Id; - $pubip = New-AzureRMPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); - $pubip = Get-AzureRMPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; + $pubip = New-AzureRmPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); + $pubip = Get-AzureRmPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; $pubipId = $pubip.Id; - $nic = New-AzureRMNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; - $nic = Get-AzureRMNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; + $nic = New-AzureRmNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; + $nic = Get-AzureRmNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; $nicId = $nic.Id; - $p = Add-AzureRMVMNetworkInterface -VM $p -Id $nicId; + $p = Add-AzureRmVMNetworkInterface -VM $p -Id $nicId; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicId; # Storage Account (SA) $stoname = 'sto' + $rgname; $stotype = 'Standard_GRS'; - New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - $stoaccount = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; + New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + $stoaccount = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; $osDiskName = 'osDisk'; $osDiskCaching = 'ReadWrite'; $osDiskVhdUri = "https://$stoname.blob.core.windows.net/test/os.vhd"; - $p = Set-AzureRMVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; + $p = Set-AzureRmVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; Assert-AreEqual $p.StorageProfile.OSDisk.Caching $osDiskCaching; Assert-AreEqual $p.StorageProfile.OSDisk.Name $osDiskName; @@ -1528,8 +1528,8 @@ function Test-VirtualMachineWithVMAgentAutoUpdate $vhdContainer = "https://$stoname.blob.core.windows.net/test"; $imgRef = Get-DefaultCRPWindowsImageOffline; - $p = Set-AzureRMVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred -ProvisionVMAgent -EnableAutoUpdate; - $p = ($imgRef | Set-AzureRMVMSourceImage -VM $p); + $p = Set-AzureRmVMOperatingSystem -VM $p -Windows -ComputerName $computerName -Credential $cred -ProvisionVMAgent -EnableAutoUpdate; + $p = ($imgRef | Set-AzureRmVMSourceImage -VM $p); Assert-AreEqual $p.OSProfile.AdminUsername $user; Assert-AreEqual $p.OSProfile.ComputerName $computerName; @@ -1543,11 +1543,11 @@ function Test-VirtualMachineWithVMAgentAutoUpdate Assert-Null $p.OSProfile.WindowsConfiguration.AdditionalUnattendContents "NULL"; # Virtual Machine - # TODO: Still need to do retry for New-AzureRMVM for SA, even it's returned in Get-. - New-AzureRMVM -ResourceGroupName $rgname -Location $loc -VM $p; + # TODO: Still need to do retry for New-AzureRmVM for SA, even it's returned in Get-. + New-AzureRmVM -ResourceGroupName $rgname -Location $loc -VM $p; # Get VM - $vm1 = Get-AzureRMVM -Name $vmname -ResourceGroupName $rgname; + $vm1 = Get-AzureRmVM -Name $vmname -ResourceGroupName $rgname; Assert-AreEqual $vm1.Name $vmname; Assert-AreEqual $vm1.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $vm1.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicId; @@ -1562,7 +1562,7 @@ function Test-VirtualMachineWithVMAgentAutoUpdate Assert-AreEqual $vm1.HardwareProfile.VirtualMachineSize $vmsize; # Remove - Remove-AzureRMVM -Name $vmname -ResourceGroupName $rgname -Force; + Remove-AzureRmVM -Name $vmname -ResourceGroupName $rgname -Force; } finally { @@ -1584,40 +1584,40 @@ function Test-LinuxVirtualMachine { # Common $loc = Get-ComputeVMLocation; - New-AzureRMResourceGroup -Name $rgname -Location $loc -Force; + New-AzureRmResourceGroup -Name $rgname -Location $loc -Force; # VM Profile & Hardware $vmsize = 'Standard_A4'; $vmname = 'vm' + $rgname; - $p = New-AzureRMVMConfig -VMName $vmname -VMSize $vmsize; + $p = New-AzureRmVMConfig -VMName $vmname -VMSize $vmsize; Assert-AreEqual $p.HardwareProfile.VirtualMachineSize $vmsize; # NRP - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; - $vnet = New-AzureRMVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; - $vnet = Get-AzureRMVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name ('subnet' + $rgname) -AddressPrefix "10.0.0.0/24"; + $vnet = New-AzureRmVirtualNetwork -Force -Name ('vnet' + $rgname) -ResourceGroupName $rgname -Location $loc -AddressPrefix "10.0.0.0/16" -DnsServer "10.1.1.1" -Subnet $subnet; + $vnet = Get-AzureRmVirtualNetwork -Name ('vnet' + $rgname) -ResourceGroupName $rgname; $subnetId = $vnet.Subnets[0].Id; - $pubip = New-AzureRMPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); - $pubip = Get-AzureRMPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; + $pubip = New-AzureRmPublicIpAddress -Force -Name ('pubip' + $rgname) -ResourceGroupName $rgname -Location $loc -AllocationMethod Dynamic -DomainNameLabel ('pubip' + $rgname); + $pubip = Get-AzureRmPublicIpAddress -Name ('pubip' + $rgname) -ResourceGroupName $rgname; $pubipId = $pubip.Id; - $nic = New-AzureRMNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; - $nic = Get-AzureRMNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; + $nic = New-AzureRmNetworkInterface -Force -Name ('nic' + $rgname) -ResourceGroupName $rgname -Location $loc -SubnetId $subnetId -PublicIpAddressId $pubip.Id; + $nic = Get-AzureRmNetworkInterface -Name ('nic' + $rgname) -ResourceGroupName $rgname; $nicId = $nic.Id; - $p = Add-AzureRMVMNetworkInterface -VM $p -Id $nicId; + $p = Add-AzureRmVMNetworkInterface -VM $p -Id $nicId; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $p.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicId; # Storage Account (SA) $stoname = 'sto' + $rgname; $stotype = 'Standard_GRS'; - New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - $stoaccount = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; + New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + $stoaccount = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; $osDiskName = 'osDisk'; $osDiskCaching = 'ReadWrite'; $osDiskVhdUri = "https://$stoname.blob.core.windows.net/test/os.vhd"; - $p = Set-AzureRMVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; + $p = Set-AzureRmVMOSDisk -VM $p -Name $osDiskName -VhdUri $osDiskVhdUri -Caching $osDiskCaching -CreateOption FromImage; Assert-AreEqual $p.StorageProfile.OSDisk.Caching $osDiskCaching; Assert-AreEqual $p.StorageProfile.OSDisk.Name $osDiskName; @@ -1633,8 +1633,8 @@ function Test-LinuxVirtualMachine $imgRef = Get-DefaultCRPLinuxImageOffline; - $p = Set-AzureRMVMOperatingSystem -VM $p -Linux -ComputerName $computerName -Credential $cred - $p = ($imgRef | Set-AzureRMVMSourceImage -VM $p); + $p = Set-AzureRmVMOperatingSystem -VM $p -Linux -ComputerName $computerName -Credential $cred + $p = ($imgRef | Set-AzureRmVMSourceImage -VM $p); Assert-AreEqual $p.OSProfile.AdminUsername $user; Assert-AreEqual $p.OSProfile.ComputerName $computerName; @@ -1646,11 +1646,11 @@ function Test-LinuxVirtualMachine Assert-AreEqual $p.StorageProfile.ImageReference.Version $imgRef.Version; # Virtual Machine - # TODO: Still need to do retry for New-AzureRMVM for SA, even it's returned in Get-. - New-AzureRMVM -ResourceGroupName $rgname -Location $loc -VM $p; + # TODO: Still need to do retry for New-AzureRmVM for SA, even it's returned in Get-. + New-AzureRmVM -ResourceGroupName $rgname -Location $loc -VM $p; # Get VM - $vm1 = Get-AzureRMVM -Name $vmname -ResourceGroupName $rgname; + $vm1 = Get-AzureRmVM -Name $vmname -ResourceGroupName $rgname; Assert-AreEqual $vm1.Name $vmname; Assert-AreEqual $vm1.NetworkProfile.NetworkInterfaces.Count 1; Assert-AreEqual $vm1.NetworkProfile.NetworkInterfaces[0].ReferenceUri $nicId; @@ -1665,7 +1665,7 @@ function Test-LinuxVirtualMachine Assert-AreEqual $vm1.HardwareProfile.VirtualMachineSize $vmsize; # Remove - Remove-AzureRMVM -Name $vmname -ResourceGroupName $rgname -Force; + Remove-AzureRmVM -Name $vmname -ResourceGroupName $rgname -Force; } finally { @@ -1684,28 +1684,28 @@ function Test-VMImageCmdletOutputFormat $sku = $imgRef.Skus; $ver = $imgRef.Version; - Assert-OutputContains " Get-AzureRMVMImagePublisher -Location $locStr" @('Id', 'Location', 'PublisherName'); + Assert-OutputContains " Get-AzureRmVMImagePublisher -Location $locStr" @('Id', 'Location', 'PublisherName'); - Assert-OutputContains " Get-AzureRMVMImagePublisher -Location $locStr | ? { `$_.PublisherName -eq `'$publisher`' } " @('Id', 'Location', 'PublisherName'); + Assert-OutputContains " Get-AzureRmVMImagePublisher -Location $locStr | ? { `$_.PublisherName -eq `'$publisher`' } " @('Id', 'Location', 'PublisherName'); - Assert-OutputContains " Get-AzureRMVMImagePublisher -Location $locStr | ? { `$_.PublisherName -eq `'$publisher`' } | Get-AzureRMVMImageOffer " @('Id', 'Location', 'PublisherName', 'Offer'); + Assert-OutputContains " Get-AzureRmVMImagePublisher -Location $locStr | ? { `$_.PublisherName -eq `'$publisher`' } | Get-AzureRmVMImageOffer " @('Id', 'Location', 'PublisherName', 'Offer'); - Assert-OutputContains " Get-AzureRMVMImagePublisher -Location $locStr | ? { `$_.PublisherName -eq `'$publisher`' } | Get-AzureRMVMImageOffer | Get-AzureRMVMImageSku " @('Id', 'Location', 'PublisherName', 'Offer', 'Sku'); + Assert-OutputContains " Get-AzureRmVMImagePublisher -Location $locStr | ? { `$_.PublisherName -eq `'$publisher`' } | Get-AzureRmVMImageOffer | Get-AzureRmVMImageSku " @('Id', 'Location', 'PublisherName', 'Offer', 'Sku'); - Assert-OutputContains " Get-AzureRMVMImagePublisher -Location $locStr | ? { `$_.PublisherName -eq `'$publisher`' } | Get-AzureRMVMImageOffer | Get-AzureRMVMImageSku | Get-AzureRMVMImage " @('Id', 'Location', 'PublisherName', 'Offer', 'Sku', 'Version', 'FilterExpression'); + Assert-OutputContains " Get-AzureRmVMImagePublisher -Location $locStr | ? { `$_.PublisherName -eq `'$publisher`' } | Get-AzureRmVMImageOffer | Get-AzureRmVMImageSku | Get-AzureRmVMImage " @('Id', 'Location', 'PublisherName', 'Offer', 'Sku', 'Version', 'FilterExpression'); - Assert-OutputContains " Get-AzureRMVMImage -Location $locStr -PublisherName $publisher -Offer $offer -Skus $sku -Version $ver " @('Id', 'Location', 'PublisherName', 'Offer', 'Sku', 'Version', 'FilterExpression', 'Name', 'DataDiskImages', 'OSDiskImage', 'PurchasePlan'); + Assert-OutputContains " Get-AzureRmVMImage -Location $locStr -PublisherName $publisher -Offer $offer -Skus $sku -Version $ver " @('Id', 'Location', 'PublisherName', 'Offer', 'Sku', 'Version', 'FilterExpression', 'Name', 'DataDiskImages', 'OSDiskImage', 'PurchasePlan'); - Assert-OutputContains " Get-AzureRMVMImage -Location $locStr -PublisherName $publisher -Offer $offer -Skus $sku -Version $ver " @('Id', 'Location', 'PublisherName', 'Offer', 'Sku', 'Version', 'FilterExpression', 'Name', 'DataDiskImages', 'OSDiskImage', 'PurchasePlan'); + Assert-OutputContains " Get-AzureRmVMImage -Location $locStr -PublisherName $publisher -Offer $offer -Skus $sku -Version $ver " @('Id', 'Location', 'PublisherName', 'Offer', 'Sku', 'Version', 'FilterExpression', 'Name', 'DataDiskImages', 'OSDiskImage', 'PurchasePlan'); } # Test Get VM Size from All Locations function Test-GetVMSizeFromAllLocations { - $locations = Get-AzureRMLocation | where { $_.Name -like 'Microsoft.Compute/virtualMachines' } | select -ExpandProperty Locations; + $locations = Get-AzureRmLocation | where { $_.Name -like 'Microsoft.Compute/virtualMachines' } | select -ExpandProperty Locations; foreach ($loc in $locations) { - $vmsizes = Get-AzureRMVMSize -Location $loc; + $vmsizes = Get-AzureRmVMSize -Location $loc; Assert-True { $vmsizes.Count -gt 0 } Assert-True { ($vmsizes | where { $_.Name -eq 'Standard_A3' }).Count -eq 1 } @@ -1726,7 +1726,7 @@ function Test-VirtualMachineListWithPaging { # Common $loc = Get-ComputeDefaultLocation; - $st = New-AzureRMResourceGroup -Name $rgname -Location $loc -Force; + $st = New-AzureRmResourceGroup -Name $rgname -Location $loc -Force; $numberOfInstances = 51; $vmSize = 'Standard_A0'; @@ -1759,12 +1759,12 @@ function Test-VirtualMachineListWithPaging $st = Set-Content -Path $paramFile -Value $paramContent -Force; - $st = New-AzureRMResourceGroupDeployment -Name "${rgname}dp" -ResourceGroupName $rgname -TemplateFile $templateFile -TemplateParameterFile $paramFile; + $st = New-AzureRmResourceGroupDeployment -Name "${rgname}dp" -ResourceGroupName $rgname -TemplateFile $templateFile -TemplateParameterFile $paramFile; - $vms = Get-AzureRMVM -ResourceGroupName $rgname; + $vms = Get-AzureRmVM -ResourceGroupName $rgname; Assert-True { $vms.Count -eq $numberOfInstances }; - $vms = Get-AzureRMVM; + $vms = Get-AzureRmVM; Assert-True { $vms.Count -ge $numberOfInstances }; } finally diff --git a/src/ResourceManager/Compute/Commands.Compute/Common/ConstantStringTypes.cs b/src/ResourceManager/Compute/Commands.Compute/Common/ConstantStringTypes.cs index 2f5eabcae1dc..7eda1594b52f 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Common/ConstantStringTypes.cs +++ b/src/ResourceManager/Compute/Commands.Compute/Common/ConstantStringTypes.cs @@ -51,56 +51,56 @@ public static class ValidateSetValues public static class ProfileNouns { - public const string VirtualMachineProfile = "AzureRMVMProfile"; + public const string VirtualMachineProfile = "AzureRmVMProfile"; - public const string OSProfile = "AzureRMVMOSProfile"; - public const string StorageProfile = "AzureRMVMStorageProfile"; - public const string HardwareProfile = "AzureRMVMHardwareProfile"; - public const string NetworkProfile = "AzureRMVMNetworkProfile"; + public const string OSProfile = "AzureRmVMOSProfile"; + public const string StorageProfile = "AzureRmVMStorageProfile"; + public const string HardwareProfile = "AzureRmVMHardwareProfile"; + public const string NetworkProfile = "AzureRmVMNetworkProfile"; - public const string OperatingSystem = "AzureRMVMOperatingSystem"; + public const string OperatingSystem = "AzureRmVMOperatingSystem"; - public const string DataDisk = "AzureRMVMDataDisk"; - public const string OSDisk = "AzureRMVMOSDisk"; - public const string SourceImage = "AzureRMVMSourceImage"; + public const string DataDisk = "AzureRmVMDataDisk"; + public const string OSDisk = "AzureRmVMOSDisk"; + public const string SourceImage = "AzureRmVMSourceImage"; - public const string NetworkInterface = "AzureRMVMNetworkInterface"; + public const string NetworkInterface = "AzureRmVMNetworkInterface"; - public const string VirtualMachine = "AzureRMVM"; - public const string VirtualMachineExtension = "AzureRMVMExtension"; - public const string VirtualMachineCustomScriptExtension = "AzureRMVMCustomScriptExtension"; - public const string VirtualMachineAccessExtension = "AzureRMVMAccessExtension"; - public const string VirtualMachineDiagnosticsExtension = "AzureRMVMDiagnosticsExtension"; - public const string VirtualMachineExtensionImage = "AzureRMVMExtensionImage"; - public const string VirtualMachineExtensionImageVersion = "AzureRMVMExtensionImageVersion"; - public const string VirtualMachineExtensionImageType = "AzureRMVMExtensionImageType"; + public const string VirtualMachine = "AzureRmVM"; + public const string VirtualMachineExtension = "AzureRmVMExtension"; + public const string VirtualMachineCustomScriptExtension = "AzureRmVMCustomScriptExtension"; + public const string VirtualMachineAccessExtension = "AzureRmVMAccessExtension"; + public const string VirtualMachineDiagnosticsExtension = "AzureRmVMDiagnosticsExtension"; + public const string VirtualMachineExtensionImage = "AzureRmVMExtensionImage"; + public const string VirtualMachineExtensionImageVersion = "AzureRmVMExtensionImageVersion"; + public const string VirtualMachineExtensionImageType = "AzureRmVMExtensionImageType"; - public const string AvailabilitySet = "AzureRMAvailabilitySet"; - public const string VirtualMachineConfig = "AzureRMVMConfig"; - public const string VirtualMachinePlan = "AzureRMVMPlan"; + public const string AvailabilitySet = "AzureRmAvailabilitySet"; + public const string VirtualMachineConfig = "AzureRmVMConfig"; + public const string VirtualMachinePlan = "AzureRmVMPlan"; - public const string VirtualMachineSize = "AzureRMVMSize"; + public const string VirtualMachineSize = "AzureRmVMSize"; - public const string VirtualMachineImage = "AzureRMVMImage"; - public const string VirtualMachineImagePublisher = "AzureRMVMImagePublisher"; - public const string VirtualMachineImageOffer = "AzureRMVMImageOffer"; - public const string VirtualMachineImageSku = "AzureRMVMImageSku"; - public const string VirtualMachineImageVersion = "AzureRMVMImageVersion"; + public const string VirtualMachineImage = "AzureRmVMImage"; + public const string VirtualMachineImagePublisher = "AzureRmVMImagePublisher"; + public const string VirtualMachineImageOffer = "AzureRmVMImageOffer"; + public const string VirtualMachineImageSku = "AzureRmVMImageSku"; + public const string VirtualMachineImageVersion = "AzureRmVMImageVersion"; - public const string VirtualMachineUsage = "AzureRMVMUsage"; + public const string VirtualMachineUsage = "AzureRmVMUsage"; - public const string SshPublicKey = "AzureRMVMSshPublicKey"; - public const string AdditionalUnattendContent = "AzureRMVMAdditionalUnattendContent"; - public const string VaultSecretGroup = "AzureRMVMSecret"; - public const string RemoteDesktopFile = "AzureRMRemoteDesktopFile"; + public const string SshPublicKey = "AzureRmVMSshPublicKey"; + public const string AdditionalUnattendContent = "AzureRmVMAdditionalUnattendContent"; + public const string VaultSecretGroup = "AzureRmVMSecret"; + public const string RemoteDesktopFile = "AzureRmRemoteDesktopFile"; //DSC - public const string VirtualMachineDscExtension = "AzureRMVMDscExtension"; - public const string VirtualMachineDscConfiguration = "AzureRMVMDscConfiguration"; + public const string VirtualMachineDscExtension = "AzureRmVMDscExtension"; + public const string VirtualMachineDscConfiguration = "AzureRmVMDscConfiguration"; - public const string Vhd = "AzureRMVhd"; + public const string Vhd = "AzureRmVhd"; // Sql Server - public const string VirtualMachineSqlServerExtension = "AzureRMVMSqlServerExtension"; + public const string VirtualMachineSqlServerExtension = "AzureRmVMSqlServerExtension"; } } diff --git a/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/GetAzureVMDscExtensionCommand.cs b/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/GetAzureVMDscExtensionCommand.cs index 1d94d1acae02..a83ff0f4207b 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/GetAzureVMDscExtensionCommand.cs +++ b/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/GetAzureVMDscExtensionCommand.cs @@ -40,8 +40,8 @@ public class GetAzureVMDscExtensionCommand : VirtualMachineExtensionBaseCmdlet [Parameter( Position = 2, ValueFromPipelineByPropertyName = true, - HelpMessage = "Name of the ARM resource that represents the extension. The Set-AzureRMVMDscExtension cmdlet sets this name to " + - "'Microsoft.Powershell.DSC', which is the same value used by Get-AzureRMVMDscExtension. Specify this parameter only if you changed " + + HelpMessage = "Name of the ARM resource that represents the extension. The Set-AzureRmVMDscExtension cmdlet sets this name to " + + "'Microsoft.Powershell.DSC', which is the same value used by Get-AzureRmVMDscExtension. Specify this parameter only if you changed " + "the default name in the Set cmdlet or used a different resource name in an ARM template.")] [ValidateNotNullOrEmpty] public string Name { get; set; } diff --git a/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/PublishAzureVMDscConfigurationCommand.cs b/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/PublishAzureVMDscConfigurationCommand.cs index d9edd8a084b9..0b15e2773df1 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/PublishAzureVMDscConfigurationCommand.cs +++ b/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/PublishAzureVMDscConfigurationCommand.cs @@ -11,7 +11,7 @@ namespace Microsoft.Azure.Commands.Compute.Extension.DSC /// <summary> /// Uploads a Desired State Configuration script to Azure blob storage, which /// later can be applied to Azure Virtual Machines using the - /// Set-AzureRMVMDscExtension cmdlet. + /// Set-AzureRmVMDscExtension cmdlet. /// </summary> [Cmdlet( VerbsData.Publish, @@ -73,7 +73,7 @@ public class PublishAzureVMDscConfigurationCommand : DscExtensionPublishCmdletCo /// <summary> /// Path to a local ZIP file to write the configuration archive to. - /// When using this parameter, Publish-AzureRMVMDscConfiguration creates a + /// When using this parameter, Publish-AzureRmVMDscConfiguration creates a /// local ZIP archive instead of uploading it to blob storage.. /// </summary> [Alias("ConfigurationArchivePath")] @@ -96,10 +96,10 @@ public class PublishAzureVMDscConfigurationCommand : DscExtensionPublishCmdletCo public string StorageEndpointSuffix { get; set; } /// <summary> - /// By default Publish-AzureRMVMDscConfiguration will not overwrite any existing blobs. + /// By default Publish-AzureRmVMDscConfiguration will not overwrite any existing blobs. /// Use -Force to overwrite them. /// </summary> - [Parameter(HelpMessage = "By default Publish-AzureRMVMDscConfiguration will not overwrite any existing blobs")] + [Parameter(HelpMessage = "By default Publish-AzureRmVMDscConfiguration will not overwrite any existing blobs")] public SwitchParameter Force { get; set; } /// <summary> @@ -117,7 +117,7 @@ public class PublishAzureVMDscConfigurationCommand : DscExtensionPublishCmdletCo ValueFromPipelineByPropertyName = true, HelpMessage = "Path to a .psd1 file that specifies the data for the Configuration. This is added to the configuration " + "archive and then passed to the configuration function. It gets overwritten by the configuration data path " + - "provided through the Set-AzureRMVMDscExtension cmdlet")] + "provided through the Set-AzureRmVMDscExtension cmdlet")] [ValidateNotNullOrEmpty] public string ConfigurationDataPath { get; set; } diff --git a/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/RemoveAzureVMDscExtensionCommand.cs b/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/RemoveAzureVMDscExtensionCommand.cs index 7c6cfdafa52b..62a11dc7039c 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/RemoveAzureVMDscExtensionCommand.cs +++ b/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/RemoveAzureVMDscExtensionCommand.cs @@ -39,8 +39,8 @@ public class RemoveAzureVMDscExtensionCommand : VirtualMachineExtensionBaseCmdle [Parameter( Position = 2, ValueFromPipelineByPropertyName = true, - HelpMessage = "Name of the ARM resource that represents the extension. The Set-AzureRMVMDscExtension cmdlet sets this name to " + - "'Microsoft.Powershell.DSC', which is the same value used by Get-AzureRMVMDscExtension. Specify this parameter only if you changed " + + HelpMessage = "Name of the ARM resource that represents the extension. The Set-AzureRmVMDscExtension cmdlet sets this name to " + + "'Microsoft.Powershell.DSC', which is the same value used by Get-AzureRmVMDscExtension. Specify this parameter only if you changed " + "the default name in the Set cmdlet or used a different resource name in an ARM template.")] [ValidateNotNullOrEmpty] public string Name { get; set; } diff --git a/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/SetAzureVMDscExtensionCommand.cs b/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/SetAzureVMDscExtensionCommand.cs index 063b809aafd3..5377a8b43572 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/SetAzureVMDscExtensionCommand.cs +++ b/src/ResourceManager/Compute/Commands.Compute/Extension/DSC/SetAzureVMDscExtensionCommand.cs @@ -51,7 +51,7 @@ public class SetAzureVMDscExtensionCommand : VirtualMachineExtensionBaseCmdlet /// <summary> /// The name of the configuration archive that was previously uploaded by - /// Publish-AzureRMVMDSCConfiguration. This parameter must specify only the name + /// Publish-AzureRmVMDSCConfiguration. This parameter must specify only the name /// of the file, without any path. /// A null value or empty string indicate that the VM extension should install DSC, /// but not start any configuration @@ -62,7 +62,7 @@ public class SetAzureVMDscExtensionCommand : VirtualMachineExtensionBaseCmdlet Position = 5, ValueFromPipelineByPropertyName = true, ParameterSetName = AzureBlobDscExtensionParamSet, - HelpMessage = "The name of the configuration file that was previously uploaded by Publish-AzureRMVMDSCConfiguration")] + HelpMessage = "The name of the configuration file that was previously uploaded by Publish-AzureRmVMDSCConfiguration")] [AllowEmptyString] [AllowNull] public string ArchiveBlobName { get; set; } @@ -146,7 +146,7 @@ public class SetAzureVMDscExtensionCommand : VirtualMachineExtensionBaseCmdlet public string ConfigurationData { get; set; } /// <summary> - /// The specific version of the DSC extension that Set-AzureRMVMDSCExtension will + /// The specific version of the DSC extension that Set-AzureRmVMDSCExtension will /// apply the settings to. /// </summary> [Alias("HandlerVersion")] @@ -154,13 +154,13 @@ public class SetAzureVMDscExtensionCommand : VirtualMachineExtensionBaseCmdlet Mandatory = true, Position = 1, ValueFromPipelineByPropertyName = true, - HelpMessage = "The version of the DSC extension that Set-AzureRMVMDSCExtension will apply the settings to. " + + HelpMessage = "The version of the DSC extension that Set-AzureRmVMDSCExtension will apply the settings to. " + "Allowed format N.N")] [ValidateNotNullOrEmpty] public string Version { get; set; } /// <summary> - /// By default Set-AzureRMVMDscExtension will not overwrite any existing blobs. Use -Force to overwrite them. + /// By default Set-AzureRmVMDscExtension will not overwrite any existing blobs. Use -Force to overwrite them. /// </summary> [Parameter( HelpMessage = "Use this parameter to overwrite any existing blobs")] diff --git a/src/ResourceManager/Compute/Commands.Compute/Extension/SqlServer/GetAzureVMSqlServerExtensionCommand.cs b/src/ResourceManager/Compute/Commands.Compute/Extension/SqlServer/GetAzureVMSqlServerExtensionCommand.cs index 50a3454e86b8..c0f83fcb25dc 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Extension/SqlServer/GetAzureVMSqlServerExtensionCommand.cs +++ b/src/ResourceManager/Compute/Commands.Compute/Extension/SqlServer/GetAzureVMSqlServerExtensionCommand.cs @@ -51,8 +51,8 @@ public class GetAzureVMSqlServerExtensionCommand : VirtualMachineExtensionBaseCm [Parameter( Position = 2, ValueFromPipelineByPropertyName = true, - HelpMessage = "Name of the ARM resource that represents the extension. The Set-AzureRMVMSqlServerExtension cmdlet sets this name to " + - "'Microsoft.SqlServer.Management.SqlIaaSAgent', which is the same value used by Get-AzureRMVMSqlServerExtension. Specify this parameter only if you changed " + + HelpMessage = "Name of the ARM resource that represents the extension. The Set-AzureRmVMSqlServerExtension cmdlet sets this name to " + + "'Microsoft.SqlServer.Management.SqlIaaSAgent', which is the same value used by Get-AzureRmVMSqlServerExtension. Specify this parameter only if you changed " + "the default name in the Set cmdlet or used a different resource name in an ARM template.")] [ValidateNotNullOrEmpty] public string Name { get; set; } diff --git a/src/ResourceManager/Compute/Commands.Compute/Extension/SqlServer/SetAzureVMSqlServerExtensionCommand.cs b/src/ResourceManager/Compute/Commands.Compute/Extension/SqlServer/SetAzureVMSqlServerExtensionCommand.cs index e0a62f538fa6..f497678e09d9 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Extension/SqlServer/SetAzureVMSqlServerExtensionCommand.cs +++ b/src/ResourceManager/Compute/Commands.Compute/Extension/SqlServer/SetAzureVMSqlServerExtensionCommand.cs @@ -27,14 +27,14 @@ namespace Microsoft.Azure.Commands.Compute public class SetAzureSqlServerExtensionCommand : VirtualMachineExtensionBaseCmdlet { /// <summary> - /// The specific version of the SqlServer extension that Set-AzureRMVMSqlServerExtension will + /// The specific version of the SqlServer extension that Set-AzureRmVMSqlServerExtension will /// apply the settings to. /// </summary> [Alias("HandlerVersion")] [Parameter( Position = 1, ValueFromPipelineByPropertyName = true, - HelpMessage = "The version of the SqlServer extension that Set-AzureRMVMSqlServerExtension will apply the settings to. " + + HelpMessage = "The version of the SqlServer extension that Set-AzureRmVMSqlServerExtension will apply the settings to. " + "Allowed format N.N")] [ValidateNotNullOrEmpty] public string Version { get; set; } diff --git a/src/ResourceManager/Compute/Commands.Compute/Extension/SqlServer/VirtualMachineSqlServerExtensionContext.cs b/src/ResourceManager/Compute/Commands.Compute/Extension/SqlServer/VirtualMachineSqlServerExtensionContext.cs index 3b7f37fd88bb..1fe203b9d74e 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Extension/SqlServer/VirtualMachineSqlServerExtensionContext.cs +++ b/src/ResourceManager/Compute/Commands.Compute/Extension/SqlServer/VirtualMachineSqlServerExtensionContext.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Compute { /// <summary> - /// SQL VM Extension's context object used by Get-AzureRMVMSqlServerExtension + /// SQL VM Extension's context object used by Get-AzureRmVMSqlServerExtension /// </summary> public class VirtualMachineSqlServerExtensionContext : PSVirtualMachineExtension { diff --git a/src/ResourceManager/Compute/Commands.Compute/Microsoft.Azure.Commands.Compute.dll-Help.xml b/src/ResourceManager/Compute/Commands.Compute/Microsoft.Azure.Commands.Compute.dll-Help.xml index 50f41e5e8578..808c60a27217 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Microsoft.Azure.Commands.Compute.dll-Help.xml +++ b/src/ResourceManager/Compute/Commands.Compute/Microsoft.Azure.Commands.Compute.dll-Help.xml @@ -4,7 +4,7 @@ <!-- Updatable Help Version 1.0.0.0 --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Add-AzureRMVMAdditionalUnattendContent</command:name> + <command:name>Add-AzureRmVMAdditionalUnattendContent</command:name> <maml:description> <maml:para>Adds information to the unattended Windows Setup answer file.</maml:para> </maml:description> @@ -16,15 +16,15 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Add-AzureRMVMAdditionalUnattendContent cmdlet adds information to the unattended Windows Setup answer file. Specify additional base 64 encoded XML formatted information that this cmdlet adds to the unattend.xml file.</maml:para> + <maml:para>The Add-AzureRmVMAdditionalUnattendContent cmdlet adds information to the unattended Windows Setup answer file. Specify additional base 64 encoded XML formatted information that this cmdlet adds to the unattend.xml file.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Add-AzureRMVMAdditionalUnattendContent</maml:name> + <maml:name>Add-AzureRmVMAdditionalUnattendContent</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="1" aliases="VMProfile"> <maml:name>VM</maml:name> <maml:description> - <maml:para>Specifies the virtual machine object that this cmdlet modifies. To obtain a virtual machine object, use the Get-AzureRMVM cmdlet. Create a virtual machine object by using the New-AzureRMVMConfig cmdlet. </maml:para> + <maml:para>Specifies the virtual machine object that this cmdlet modifies. To obtain a virtual machine object, use the Get-AzureRmVM cmdlet. Create a virtual machine object by using the New-AzureRmVMConfig cmdlet. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">PSVirtualMachine</command:parameterValue> </command:parameter> @@ -97,7 +97,7 @@ <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="1" aliases="VMProfile"> <maml:name>VM</maml:name> <maml:description> - <maml:para>Specifies the virtual machine object that this cmdlet modifies. To obtain a virtual machine object, use the Get-AzureRMVM cmdlet. Create a virtual machine object by using the New-AzureRMVMConfig cmdlet. </maml:para> + <maml:para>Specifies the virtual machine object that this cmdlet modifies. To obtain a virtual machine object, use the Get-AzureRmVM cmdlet. Create a virtual machine object by using the New-AzureRmVMConfig cmdlet. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">PSVirtualMachine</command:parameterValue> <dev:type> @@ -150,18 +150,18 @@ <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$AvailabilitySet = Get-AzureRMAvailabilitySet -ResourceGroupName "ResourceGroup11" -Name "AvailabilitySet03" -PS C:\&gt; $VirtualMachine = New-AzureRMVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1" -AvailabilitySetID $AvailabilitySet.Id + <dev:code>PS C:\&gt;$AvailabilitySet = Get-AzureRmAvailabilitySet -ResourceGroupName "ResourceGroup11" -Name "AvailabilitySet03" +PS C:\&gt; $VirtualMachine = New-AzureRmVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1" -AvailabilitySetID $AvailabilitySet.Id PS C:\&gt; $Credential = Get-Credential -PS C:\&gt; $VirtualMachine = Set-AzureRMVMOperatingSystem -VM $VirtualMachine -Windows -ComputerName "Contoso26" -Credential $Credential +PS C:\&gt; $VirtualMachine = Set-AzureRmVMOperatingSystem -VM $VirtualMachine -Windows -ComputerName "Contoso26" -Credential $Credential PS C:\&gt; $AucContent = "&lt;UserAccounts&gt;&lt;AdministratorPassword&gt;&lt;Value&gt;" + "Password" + "&lt;/Value&gt;&lt;PlainText&gt;true&lt;/PlainText&gt;&lt;/AdministratorPassword&gt;&lt;/UserAccounts&gt;"; -PS C:\&gt; $VirtualMachine = Add-AzureRMVMAdditionalUnattendContent -VM $VirtualMachine -Content $AucContent -SettingName "AutoLogon" +PS C:\&gt; $VirtualMachine = Add-AzureRmVMAdditionalUnattendContent -VM $VirtualMachine -Content $AucContent -SettingName "AutoLogon" </dev:code> <dev:remarks> <maml:para>The first command gets the availability set named AvailablitySet03 in the resource group named ResourceGroup11, and then stores that object in the $AvailabilitySet variable.</maml:para> <maml:para>The second command creates a virtual machine object, and then stores it in the $VirtualMachine variable. The command assigns a name and size to the virtual machine. The virtual machine belongs to the availability set stored in $AvailabilitySet.</maml:para> <maml:para>The third command creates a credential object by using the Get-Credential cmdlet, and then stores the result in the $Credential variable. The command prompts you for a user name and password. For more information, type Get-Help Get-Credential. </maml:para> - <maml:para>The fourth command uses the Set-AzureRMVMOperatingSystem cmdlet to configure the virtual machine stored in $VirtualMachine.</maml:para> + <maml:para>The fourth command uses the Set-AzureRmVMOperatingSystem cmdlet to configure the virtual machine stored in $VirtualMachine.</maml:para> <maml:para>The fifth command assigns content to the $AucContent variable. The content includes a password. </maml:para> <maml:para>The final command adds the content stored in $AucContent to the unattend.xml file.</maml:para> <maml:para /> @@ -176,22 +176,22 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMAdditionalUnattendContent -VM $Virtual </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMAvailabilitySet</maml:linkText> + <maml:linkText>Get-AzureRmAvailabilitySet</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMVMOperatingSystem</maml:linkText> + <maml:linkText>Set-AzureRmVMOperatingSystem</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMVMConfig</maml:linkText> + <maml:linkText>New-AzureRmVMConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Add-AzureRMVMDataDisk</command:name> + <command:name>Add-AzureRmVMDataDisk</command:name> <maml:description> <maml:para>Adds a data disk to a virtual machine. </maml:para> </maml:description> @@ -203,15 +203,15 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMAdditionalUnattendContent -VM $Virtual <dev:version /> </command:details> <maml:description> - <maml:para>The Add-AzureRMVMDataDisk cmdlet adds a data disk to a virtual machine. You can add a data disk when you create a virtual machine, or you can add a data disk to an existing virtual machine.</maml:para> + <maml:para>The Add-AzureRmVMDataDisk cmdlet adds a data disk to a virtual machine. You can add a data disk when you create a virtual machine, or you can add a data disk to an existing virtual machine.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Add-AzureRMVMDataDisk</maml:name> + <maml:name>Add-AzureRmVMDataDisk</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue,ByPropertyName)" position="1" aliases="VMProfile"> <maml:name>VM</maml:name> <maml:description> - <maml:para>Specifies the local virtual machine object to which to add a data disk. To obtain a virtual machine object, use the Get-AzureRMVM cmdlet. Create a virtual machine object by using the New-AzureRMVMConfig cmdlet.</maml:para> + <maml:para>Specifies the local virtual machine object to which to add a data disk. To obtain a virtual machine object, use the Get-AzureRmVM cmdlet. Create a virtual machine object by using the New-AzureRmVMConfig cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">PSVirtualMachine</command:parameterValue> </command:parameter> @@ -400,7 +400,7 @@ The default value is ReadWrite. Changing this value causes the virtual machine t <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue,ByPropertyName)" position="1" aliases="VMProfile"> <maml:name>VM</maml:name> <maml:description> - <maml:para>Specifies the local virtual machine object to which to add a data disk. To obtain a virtual machine object, use the Get-AzureRMVM cmdlet. Create a virtual machine object by using the New-AzureRMVMConfig cmdlet.</maml:para> + <maml:para>Specifies the local virtual machine object to which to add a data disk. To obtain a virtual machine object, use the Get-AzureRmVM cmdlet. Create a virtual machine object by using the New-AzureRmVMConfig cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">PSVirtualMachine</command:parameterValue> <dev:type> @@ -453,13 +453,13 @@ The default value is ReadWrite. Changing this value causes the virtual machine t <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$VirtualMachine = New-AzureRMVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1" + <dev:code>PS C:\&gt;$VirtualMachine = New-AzureRmVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1" PS C:\&gt; $DataDiskVhdUri01 = "https://contoso.blob.core.windows.net/test/data1.vhd" PS C:\&gt; $DataDiskVhdUri02 = "https://contoso.blob.core.windows.net/test/data2.vhd" PS C:\&gt; $DataDiskVhdUri03 = "https://contoso.blob.core.windows.net/test/data3.vhd" -PS C:\&gt; $VirtualMachine = Add-AzureRMVMDataDisk -VM $VirtualMachine -Name 'DataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 0 -VhdUri $DataDiskVhdUri1 -CreateOption Empty -PS C:\&gt; $VirtualMachine = Add-AzureRMVMDataDisk -VM $VirtualMachine -Name 'DataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 1 -VhdUri $DataDiskVhdUri2 -CreateOption Empty -PS C:\&gt; $VirtualMachine = Add-AzureRMVMDataDisk -VM $VirtualMachine -Name 'DataDisk3' -Caching 'ReadOnly' -DiskSizeInGB 12 -Lun 2 -VhdUri $DataDiskVhdUri3 -CreateOption Empty +PS C:\&gt; $VirtualMachine = Add-AzureRmVMDataDisk -VM $VirtualMachine -Name 'DataDisk1' -Caching 'ReadOnly' -DiskSizeInGB 10 -Lun 0 -VhdUri $DataDiskVhdUri1 -CreateOption Empty +PS C:\&gt; $VirtualMachine = Add-AzureRmVMDataDisk -VM $VirtualMachine -Name 'DataDisk2' -Caching 'ReadOnly' -DiskSizeInGB 11 -Lun 1 -VhdUri $DataDiskVhdUri2 -CreateOption Empty +PS C:\&gt; $VirtualMachine = Add-AzureRmVMDataDisk -VM $VirtualMachine -Name 'DataDisk3' -Caching 'ReadOnly' -DiskSizeInGB 12 -Lun 2 -VhdUri $DataDiskVhdUri3 -CreateOption Empty </dev:code> <dev:remarks> @@ -481,13 +481,13 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMDataDisk -VM $VirtualMachine -Name 'Da <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$VirtualMachine = Get-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" -PS C:\&gt; Add-AzureRMVMDataDisk -VM $VirtualMachine -Name "disk1" -VhdUri "https://contoso.blob.core.windows.net/vhds/diskstandard03.vhd" -LUN 0 -Caching ReadOnly -DiskSizeinGB 1 -CreateOption Empty -PS C:\&gt; Update-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" -VM $VirtualMachine + <dev:code>PS C:\&gt;$VirtualMachine = Get-AzureRmVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" +PS C:\&gt; Add-AzureRmVMDataDisk -VM $VirtualMachine -Name "disk1" -VhdUri "https://contoso.blob.core.windows.net/vhds/diskstandard03.vhd" -LUN 0 -Caching ReadOnly -DiskSizeinGB 1 -CreateOption Empty +PS C:\&gt; Update-AzureRmVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" -VM $VirtualMachine </dev:code> <dev:remarks> - <maml:para>The first command gets the virtual machine named VirtualMachine07 by using the Get-AzureRMVM cmdlet. The command stores the virtual machine in the $VirtualMachine variable. </maml:para> + <maml:para>The first command gets the virtual machine named VirtualMachine07 by using the Get-AzureRmVM cmdlet. The command stores the virtual machine in the $VirtualMachine variable. </maml:para> <maml:para>The second command adds a data disk to the virtual machine stored in $VirtualMachine. </maml:para> <maml:para>The final command updates the state of the virtual machine stored in $VirtualMachine in ResourceGroup11. </maml:para> <maml:para /> @@ -502,22 +502,22 @@ PS C:\&gt; Update-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualM </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Remove-AzureRMVMDataDisk</maml:linkText> + <maml:linkText>Remove-AzureRmVMDataDisk</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMVM</maml:linkText> + <maml:linkText>Get-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMVMConfig</maml:linkText> + <maml:linkText>New-AzureRmVMConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Add-AzureRMVMNetworkInterface</command:name> + <command:name>Add-AzureRmVMNetworkInterface</command:name> <maml:description> <maml:para>Adds a network interface to a virtual machine.</maml:para> </maml:description> @@ -529,22 +529,22 @@ PS C:\&gt; Update-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualM <dev:version /> </command:details> <maml:description> - <maml:para>The Add-AzureRMVMNetworkInterface cmdlet adds a network interface to a virtual machine. You can add an interface when you create a virtual machine or add one to an existing virtual machine.</maml:para> + <maml:para>The Add-AzureRmVMNetworkInterface cmdlet adds a network interface to a virtual machine. You can add an interface when you create a virtual machine or add one to an existing virtual machine.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Add-AzureRMVMNetworkInterface</maml:name> + <maml:name>Add-AzureRmVMNetworkInterface</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue,ByPropertyName)" position="1" aliases="VMProfile"> <maml:name>VM</maml:name> <maml:description> - <maml:para>Specifies a local virtual machine object to which to add a network interface. To create a virtual machine, use the New-AzureRMVMConfig cmdlet. To obtain an existing virtual machine, use the Get-AzureRMVM cmdlet.</maml:para> + <maml:para>Specifies a local virtual machine object to which to add a network interface. To create a virtual machine, use the New-AzureRmVMConfig cmdlet. To obtain an existing virtual machine, use the Get-AzureRmVM cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">PSVirtualMachine</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="2" aliases="NicId,NetworkInterfaceId"> <maml:name>Id</maml:name> <maml:description> - <maml:para>Specifies the ID of a network interface to add to a virtual machine. To obtain a network interface, use the Get-AzureRMNetworkInterface cmdlet.</maml:para> + <maml:para>Specifies the ID of a network interface to add to a virtual machine. To obtain a network interface, use the Get-AzureRmNetworkInterface cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -567,7 +567,7 @@ PS C:\&gt; Update-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualM <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="2" aliases="NicId,NetworkInterfaceId"> <maml:name>Id</maml:name> <maml:description> - <maml:para>Specifies the ID of a network interface to add to a virtual machine. To obtain a network interface, use the Get-AzureRMNetworkInterface cmdlet.</maml:para> + <maml:para>Specifies the ID of a network interface to add to a virtual machine. To obtain a network interface, use the Get-AzureRmNetworkInterface cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -603,7 +603,7 @@ PS C:\&gt; Update-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualM <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue,ByPropertyName)" position="1" aliases="VMProfile"> <maml:name>VM</maml:name> <maml:description> - <maml:para>Specifies a local virtual machine object to which to add a network interface. To create a virtual machine, use the New-AzureRMVMConfig cmdlet. To obtain an existing virtual machine, use the Get-AzureRMVM cmdlet.</maml:para> + <maml:para>Specifies a local virtual machine object to which to add a network interface. To create a virtual machine, use the New-AzureRmVMConfig cmdlet. To obtain an existing virtual machine, use the Get-AzureRmVM cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">PSVirtualMachine</command:parameterValue> <dev:type> @@ -656,8 +656,8 @@ PS C:\&gt; Update-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualM <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$VirtualMachine = New-AzureRMVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1" -PS C:\&gt; Add-AzureRMVMNetworkInterface -VM $VirtualMachine -Id "/subscriptions/46fc8ea4-2de6-4179-8ab1-365da4121af4/resourceGroups/contoso/providers/Microsoft.Network/networkInterfaces/sshNIC" + <dev:code>PS C:\&gt;$VirtualMachine = New-AzureRmVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1" +PS C:\&gt; Add-AzureRmVMNetworkInterface -VM $VirtualMachine -Id "/subscriptions/46fc8ea4-2de6-4179-8ab1-365da4121af4/resourceGroups/contoso/providers/Microsoft.Network/networkInterfaces/sshNIC" </dev:code> <dev:remarks> <maml:para>The first command creates a virtual machine object, and then stores it in the $VirtualMachine variable. The command assigns a name and size to the virtual machine. </maml:para> @@ -677,12 +677,12 @@ PS C:\&gt; Add-AzureRMVMNetworkInterface -VM $VirtualMachine -Id "/subscriptions <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$VirtualMachine = Get-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" -PS C:\&gt; Add-AzureRMVMNetworkInterface -VM $VirtualMachine -Id "/subscriptions/46fc8ea4-2de6-4179-8ab1-365da4121af4/resourceGroups/contoso/providers/Microsoft.Network/networkInterfaces/sshNIC" -PS C:\&gt; Update-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name " VirtualMachine07" -VM $VirtualMachine + <dev:code>PS C:\&gt;$VirtualMachine = Get-AzureRmVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" +PS C:\&gt; Add-AzureRmVMNetworkInterface -VM $VirtualMachine -Id "/subscriptions/46fc8ea4-2de6-4179-8ab1-365da4121af4/resourceGroups/contoso/providers/Microsoft.Network/networkInterfaces/sshNIC" +PS C:\&gt; Update-AzureRmVM -ResourceGroupName "ResourceGroup11" -Name " VirtualMachine07" -VM $VirtualMachine </dev:code> <dev:remarks> - <maml:para>The first command gets the virtual machine named VirtualMachine07 by using the Get-AzureRMVM cmldet. The command stores the virtual machine in the $VirtualMachine variable. </maml:para> + <maml:para>The first command gets the virtual machine named VirtualMachine07 by using the Get-AzureRmVM cmldet. The command stores the virtual machine in the $VirtualMachine variable. </maml:para> <maml:para>The second command adds a network interface to the virtual machine stored in $VirtualMachine. </maml:para> <maml:para>The final command updates the state of the virtual machine stored in $VirtualMachine in ResourceGroup11.</maml:para> <maml:para /> @@ -697,22 +697,22 @@ PS C:\&gt; Update-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name " Virtual </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>New-AzureRMVMConfig</maml:linkText> + <maml:linkText>New-AzureRmVMConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMVM</maml:linkText> + <maml:linkText>Get-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMAvailabilitySet</maml:linkText> + <maml:linkText>Get-AzureRmAvailabilitySet</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Add-AzureRMVMSecret</command:name> + <command:name>Add-AzureRmVMSecret</command:name> <maml:description> <maml:para>Adds a secret to a virtual machine.</maml:para> </maml:description> @@ -724,15 +724,15 @@ PS C:\&gt; Update-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name " Virtual <dev:version /> </command:details> <maml:description> - <maml:para>The Add-AzureRMVMSecret cmdlet adds a secret to a virtual machine. This value lets you add a certificate to the virtual machine. The secret needs to be stored in a Key Vault. For more information about Key Vault, see <maml:navigationLink><maml:linkText>What is Azure Key Vault?</maml:linkText><maml:uri></maml:uri></maml:navigationLink> (https://azure.microsoft.com/en-us/documentation/articles/key-vault-whatis/) in the Azure library. For more information about the cmdlets, see <maml:navigationLink><maml:linkText>Azure Key Vault Cmdlets</maml:linkText><maml:uri></maml:uri></maml:navigationLink> (https://msdn.microsoft.com/library/azure/dn868052.aspx) in the Microsoft Developer Network library or type Get-Help Set-AzureRMKeyVaultSecret.</maml:para> + <maml:para>The Add-AzureRmVMSecret cmdlet adds a secret to a virtual machine. This value lets you add a certificate to the virtual machine. The secret needs to be stored in a Key Vault. For more information about Key Vault, see <maml:navigationLink><maml:linkText>What is Azure Key Vault?</maml:linkText><maml:uri></maml:uri></maml:navigationLink> (https://azure.microsoft.com/en-us/documentation/articles/key-vault-whatis/) in the Azure library. For more information about the cmdlets, see <maml:navigationLink><maml:linkText>Azure Key Vault Cmdlets</maml:linkText><maml:uri></maml:uri></maml:navigationLink> (https://msdn.microsoft.com/library/azure/dn868052.aspx) in the Microsoft Developer Network library or type Get-Help Set-AzureKeyVaultSecret.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Add-AzureRMVMSecret</maml:name> + <maml:name>Add-AzureRmVMSecret</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="1" aliases="VMProfile"> <maml:name>VM</maml:name> <maml:description> - <maml:para>Specifies the virtual machine object that this cmdlet modifies. To obtain a virtual machine object, use the Get-AzureRMVM cmdlet. Create a virtual machine object by using the New-AzureRMVMConfig cmdlet. </maml:para> + <maml:para>Specifies the virtual machine object that this cmdlet modifies. To obtain a virtual machine object, use the Get-AzureRmVM cmdlet. Create a virtual machine object by using the New-AzureRmVMConfig cmdlet. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">PSVirtualMachine</command:parameterValue> </command:parameter> @@ -832,7 +832,7 @@ PS C:\&gt; Update-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name " Virtual <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="1" aliases="VMProfile"> <maml:name>VM</maml:name> <maml:description> - <maml:para>Specifies the virtual machine object that this cmdlet modifies. To obtain a virtual machine object, use the Get-AzureRMVM cmdlet. Create a virtual machine object by using the New-AzureRMVMConfig cmdlet. </maml:para> + <maml:para>Specifies the virtual machine object that this cmdlet modifies. To obtain a virtual machine object, use the Get-AzureRmVM cmdlet. Create a virtual machine object by using the New-AzureRmVMConfig cmdlet. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">PSVirtualMachine</command:parameterValue> <dev:type> @@ -885,24 +885,24 @@ PS C:\&gt; Update-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name " Virtual <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$VirtualMachine = New-AzureRMVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1" -AvailabilitySetID $AvailabilitySet.Id + <dev:code>PS C:\&gt;$VirtualMachine = New-AzureRmVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1" -AvailabilitySetID $AvailabilitySet.Id PS C:\&gt; $Credential = Get-Credential -PS C:\&gt; $VirtualMachine = Set-AzureRMVMOperatingSystem -VM $VirtualMachine -Windows -ComputerName "Contoso26" -Credential $Credential +PS C:\&gt; $VirtualMachine = Set-AzureRmVMOperatingSystem -VM $VirtualMachine -Windows -ComputerName "Contoso26" -Credential $Credential PS C:\&gt; $SourceVaultId = "/subscriptions/46f8cea4-2de6-4179-8ab1-365da4211af4/resourceGroups/vault/providers/Microsoft.KeyVault/vaults/keyvault" PS C:\&gt; $CertificateStore01 = "My" PS C:\&gt; $CertificateUrl01 = "https://contosovault.vault.azure.net/secrets/514ceb769c984379a7e0230bdd703272" -PS C:\&gt; $VirtualMachine = Add-AzureRMVMSecret -VM $VirtualMachine -SourceVaultId $SourceVaultId -CertificateStore $CertificateStore01 -CertificateUrl $CertificateUrl01 +PS C:\&gt; $VirtualMachine = Add-AzureRmVMSecret -VM $VirtualMachine -SourceVaultId $SourceVaultId -CertificateStore $CertificateStore01 -CertificateUrl $CertificateUrl01 </dev:code> <dev:remarks> <maml:para>The first command creates a virtual machine object, and then stores it in the $VirtualMachine variable. The command assigns a name and size to the virtual machine. </maml:para> <maml:para>The third command creates a credential object by using the Get-Credential cmdlet, and then stores the result in the $Credential variable. The command prompts you for a user name and password. For more information, type Get-Help Get-Credential. </maml:para> - <maml:para>The fourth command uses the Set-AzureRMVMOperatingSystem cmdlet to configure the virtual machine stored in $VirtualMachine.</maml:para> + <maml:para>The fourth command uses the Set-AzureRmVMOperatingSystem cmdlet to configure the virtual machine stored in $VirtualMachine.</maml:para> <maml:para>The fifth command assigns a source vault ID to the $SourceVaultId variable for later use. The command assumes that the $SubscriptionId variable has an appropriate value.</maml:para> <maml:para>The sixth command assigns a value to the $CertificateStore01 variable for later use. </maml:para> <maml:para>The seventh command assigns a URL for a certificate store. </maml:para> - <maml:para>The eighth command adds a secret to the virtual machine stored in $VirtualMachine. The SourceVaultId parameter specifies the Key Vault. The command specifies the name of the certificate store and the URL of the certificate. You can run the Add-AzureRMVMSecret repeatedly to add secrets for other certificates.</maml:para> + <maml:para>The eighth command adds a secret to the virtual machine stored in $VirtualMachine. The SourceVaultId parameter specifies the Key Vault. The command specifies the name of the certificate store and the URL of the certificate. You can run the Add-AzureRmVMSecret repeatedly to add secrets for other certificates.</maml:para> <maml:para /> <maml:para /> </dev:remarks> @@ -918,7 +918,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSecret -VM $VirtualMachine -SourceVaul </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Add-AzureRMVMSshPublicKey</command:name> + <command:name>Add-AzureRmVMSshPublicKey</command:name> <maml:description> <maml:para>Adds the public keys for SSH for a virtual machine.</maml:para> </maml:description> @@ -930,15 +930,15 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSecret -VM $VirtualMachine -SourceVaul <dev:version /> </command:details> <maml:description> - <maml:para>The Add-AzureRMVMSshPublicKey cmdlet adds the public keys that you can use to connect to a virtual machine over Secure Shell (SSH). </maml:para> + <maml:para>The Add-AzureRmVMSshPublicKey cmdlet adds the public keys that you can use to connect to a virtual machine over Secure Shell (SSH). </maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Add-AzureRMVMSshPublicKey</maml:name> + <maml:name>Add-AzureRmVMSshPublicKey</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="1" aliases="VMProfile"> <maml:name>VM</maml:name> <maml:description> - <maml:para>Specifies the virtual machine object that this cmdlet modifies. To obtain a virtual machine object, use the Get-AzureRMVM cmdlet. Create a virtual machine object by using the New-AzureRMVMConfig cmdlet. </maml:para> + <maml:para>Specifies the virtual machine object that this cmdlet modifies. To obtain a virtual machine object, use the Get-AzureRmVM cmdlet. Create a virtual machine object by using the New-AzureRmVMConfig cmdlet. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">PSVirtualMachine</command:parameterValue> </command:parameter> @@ -1005,7 +1005,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSecret -VM $VirtualMachine -SourceVaul <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="1" aliases="VMProfile"> <maml:name>VM</maml:name> <maml:description> - <maml:para>Specifies the virtual machine object that this cmdlet modifies. To obtain a virtual machine object, use the Get-AzureRMVM cmdlet. Create a virtual machine object by using the New-AzureRMVMConfig cmdlet. </maml:para> + <maml:para>Specifies the virtual machine object that this cmdlet modifies. To obtain a virtual machine object, use the Get-AzureRmVM cmdlet. Create a virtual machine object by using the New-AzureRmVMConfig cmdlet. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">PSVirtualMachine</command:parameterValue> <dev:type> @@ -1058,11 +1058,11 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSecret -VM $VirtualMachine -SourceVaul <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$VirtualMachine = Get-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" -PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyData "MIIDszCCApugAwIBAgIJALBV9YJCF/tAMA0GCSq12Ib3DQEB21QUAMEUxCzAJBgNV" -Path "/home/admin/.ssh/authorized_keys" + <dev:code>PS C:\&gt;$VirtualMachine = Get-AzureRmVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" +PS C:\&gt; $VirtualMachine = Add-AzureRmVMSshPublicKey -VM $VirtualMachine -KeyData "MIIDszCCApugAwIBAgIJALBV9YJCF/tAMA0GCSq12Ib3DQEB21QUAMEUxCzAJBgNV" -Path "/home/admin/.ssh/authorized_keys" </dev:code> <dev:remarks> - <maml:para>The first command gets the virtual machine named VirtualMachine07 by using the Get-AzureRMVM cmdlet. The command stores the virtual machine in the $VirtualMachine variable.</maml:para> + <maml:para>The first command gets the virtual machine named VirtualMachine07 by using the Get-AzureRmVM cmdlet. The command stores the virtual machine in the $VirtualMachine variable.</maml:para> <maml:para>The second command adds the public key to the location on VirtualMachine07 that the Path parameter specifies. </maml:para> <maml:para /> <maml:para /> @@ -1076,14 +1076,14 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMVM</maml:linkText> + <maml:linkText>Get-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMAvailabilitySet</command:name> + <command:name>Get-AzureRmAvailabilitySet</command:name> <maml:description> <maml:para>Gets Azure availability sets in a resource group.</maml:para> </maml:description> @@ -1095,11 +1095,11 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMAvailabilitySet cmdlet gets Azure availability sets in a resource group. Specify the name of a specific availability set to get. </maml:para> + <maml:para>The Get-AzureRmAvailabilitySet cmdlet gets Azure availability sets in a resource group. Specify the name of a specific availability set to get. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMAvailabilitySet</maml:name> + <maml:name>Get-AzureRmAvailabilitySet</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -1204,7 +1204,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMAvailabilitySet -ResourceGroupName "ResourceGroup11" -Name "AvailabilitySet03" + <dev:code>PS C:\&gt;Get-AzureRmAvailabilitySet -ResourceGroupName "ResourceGroup11" -Name "AvailabilitySet03" </dev:code> <dev:remarks> <maml:para>This command gets the availability set named AvailablitySet03 in the resource group named ResourceGroup11. </maml:para> @@ -1223,7 +1223,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMAvailabilitySet -ResourceGroupName "ResourceGroup11" + <dev:code>PS C:\&gt;Get-AzureRmAvailabilitySet -ResourceGroupName "ResourceGroup11" </dev:code> <dev:remarks> <maml:para>This command gets all the availability sets in the resource group named ResourceGroup11. </maml:para> @@ -1239,18 +1239,18 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>New-AzureRMAvailabilitySet</maml:linkText> + <maml:linkText>New-AzureRmAvailabilitySet</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMAvailabilitySet</maml:linkText> + <maml:linkText>Remove-AzureRmAvailabilitySet</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMRemoteDesktopFile</command:name> + <command:name>Get-AzureRmRemoteDesktopFile</command:name> <maml:description> <maml:para>Gets an .rdp file.</maml:para> </maml:description> @@ -1262,11 +1262,11 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMRemoteDesktopFile cmdlet gets a Remote Desktop Protocol (.rdp) file.</maml:para> + <maml:para>The Get-AzureRmRemoteDesktopFile cmdlet gets a Remote Desktop Protocol (.rdp) file.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMRemoteDesktopFile</maml:name> + <maml:name>Get-AzureRmRemoteDesktopFile</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -1386,7 +1386,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMRemoteDesktopFile -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" -LocalPath "D:\RemoteDesktopFile07.rdp" + <dev:code>PS C:\&gt;Get-AzureRmRemoteDesktopFile -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" -LocalPath "D:\RemoteDesktopFile07.rdp" </dev:code> <dev:remarks> <maml:para>This command gets the Remote Desktop file for the virtual machine named VirtualMachine07. The command stores the result in the file named D:\RemoteDesktopFile07.rdp.</maml:para> @@ -1405,7 +1405,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMVMAccessExtension</command:name> + <command:name>Get-AzureRmVMAccessExtension</command:name> <maml:description> <maml:para>Gets information about the VMAccess extension.</maml:para> </maml:description> @@ -1417,11 +1417,11 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMVMAccessExtension cmdlet gets information about the Virtual Machine Access (VMAccess) Virtual Machine Extension.</maml:para> + <maml:para>The Get-AzureRmVMAccessExtension cmdlet gets information about the Virtual Machine Access (VMAccess) Virtual Machine Extension.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMVMAccessExtension</maml:name> + <maml:name>Get-AzureRmVMAccessExtension</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1" aliases="none"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -1563,7 +1563,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$VMAccessExtension = Get-AzureRMVMAccessExtension -ResourceGroupName "ResourceGroup11" -VMName "VirtualMachine07" -Name "ContosoTest" + <dev:code>PS C:\&gt;$VMAccessExtension = Get-AzureRmVMAccessExtension -ResourceGroupName "ResourceGroup11" -VMName "VirtualMachine07" -Name "ContosoTest" </dev:code> <dev:remarks> <maml:para>This command gets the VMAccess extension named ContosoTest for the virtual machine named VirtualMachine07.</maml:para> @@ -1582,7 +1582,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$VMAccessExtension = Get-AzureRMVMAccessExtension -ResourceGroupName "ResourceGroup11" -VMName "VirtualMachine0" -Name "ContosoTest" -Status + <dev:code>PS C:\&gt;$VMAccessExtension = Get-AzureRmVMAccessExtension -ResourceGroupName "ResourceGroup11" -VMName "VirtualMachine0" -Name "ContosoTest" -Status </dev:code> <dev:remarks> <maml:para>This command gets the instance view of the VMAccess extension named ContosoTest for the virtual machine named VirtualMachine07.</maml:para> @@ -1598,22 +1598,22 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Remove-AzureRMVMAccessExtension</maml:linkText> + <maml:linkText>Remove-AzureRmVMAccessExtension</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMVMAccessExtension</maml:linkText> + <maml:linkText>Set-AzureRmVMAccessExtension</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMExtension</maml:linkText> + <maml:linkText>Get-AzureRmVMExtension</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMVMCustomScriptExtension</command:name> + <command:name>Get-AzureRmVMCustomScriptExtension</command:name> <maml:description> <maml:para>Gets information about a custom script extension.</maml:para> </maml:description> @@ -1625,11 +1625,11 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMVMCustomScriptExtension cmdlet gets information about a custom script Virtual Machine Extension on a virtual machine. </maml:para> + <maml:para>The Get-AzureRmVMCustomScriptExtension cmdlet gets information about a custom script Virtual Machine Extension on a virtual machine. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMVMCustomScriptExtension</maml:name> + <maml:name>Get-AzureRmVMCustomScriptExtension</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1" aliases="none"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -1771,7 +1771,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$VMCustomScriptExtension = Get-AzureRMVMCustomScriptExtension -ResourceGroupName "ResourceGroup11" -VMName "VirtualMachine07" -Name "ContosoCustomScript" + <dev:code>PS C:\&gt;$VMCustomScriptExtension = Get-AzureRmVMCustomScriptExtension -ResourceGroupName "ResourceGroup11" -VMName "VirtualMachine07" -Name "ContosoCustomScript" </dev:code> <dev:remarks> <maml:para>This command gets the custom script extension named ContosoCustomScript for the virtual machine named VirtualMachine07.</maml:para> @@ -1790,7 +1790,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$VMCustomScriptExtension = Get-AzureRMVMCustomScriptExtension -ResourceGroupName "ResourceGroup11" -VMName "VirtualMachine07" -Name "ContosoCustomScript" -Status + <dev:code>PS C:\&gt;$VMCustomScriptExtension = Get-AzureRmVMCustomScriptExtension -ResourceGroupName "ResourceGroup11" -VMName "VirtualMachine07" -Name "ContosoCustomScript" -Status </dev:code> <dev:remarks> <maml:para>This command gets the instance view of the custom script extension named ContosoCustomScript for the virtual machine named VirtualMachine07. </maml:para> @@ -1806,22 +1806,22 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMExtension</maml:linkText> + <maml:linkText>Get-AzureRmVMExtension</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMExtensionImage</maml:linkText> + <maml:linkText>Get-AzureRmVMExtensionImage</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMAccessExtension</maml:linkText> + <maml:linkText>Get-AzureRmVMAccessExtension</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMVMExtensionImageDetail</command:name> + <command:name>Get-AzureRmVMExtensionImageDetail</command:name> <maml:description> <maml:para>This cmdlet has been deprecated.</maml:para> </maml:description> @@ -1833,11 +1833,11 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <dev:version /> </command:details> <maml:description> - <maml:para>This Get-AzureRMVMExtensionImageDetail cmdlet has been deprecated. </maml:para> + <maml:para>This Get-AzureRmVMExtensionImageDetail cmdlet has been deprecated. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMVMExtensionImageDetail</maml:name> + <maml:name>Get-AzureRmVMExtensionImageDetail</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>FilterExpression</maml:name> <maml:description> @@ -2003,7 +2003,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMVMExtensionImageType</command:name> + <command:name>Get-AzureRmVMExtensionImageType</command:name> <maml:description> <maml:para>Gets the type of an Azure extension.</maml:para> </maml:description> @@ -2015,11 +2015,11 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMVMExtensionImageType cmdlet gets the type of an Azure extension.</maml:para> + <maml:para>The Get-AzureRmVMExtensionImageType cmdlet gets the type of an Azure extension.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMVMExtensionImageType</maml:name> + <maml:name>Get-AzureRmVMExtensionImageType</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -2037,7 +2037,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named" aliases="none"> <maml:name>PublisherName</maml:name> <maml:description> - <maml:para>Specifies the name of a publisher of an extension. To obtain an extension publisher, use the Get-AzureRMVMImagePublisher cmdlet. This cmdlet gets the type for an extension from the publisher that this parameter specifies.</maml:para> + <maml:para>Specifies the name of a publisher of an extension. To obtain an extension publisher, use the Get-AzureRmVMImagePublisher cmdlet. This cmdlet gets the type for an extension from the publisher that this parameter specifies.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -2071,7 +2071,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named" aliases="none"> <maml:name>PublisherName</maml:name> <maml:description> - <maml:para>Specifies the name of a publisher of an extension. To obtain an extension publisher, use the Get-AzureRMVMImagePublisher cmdlet. This cmdlet gets the type for an extension from the publisher that this parameter specifies.</maml:para> + <maml:para>Specifies the name of a publisher of an extension. To obtain an extension publisher, use the Get-AzureRmVMImagePublisher cmdlet. This cmdlet gets the type for an extension from the publisher that this parameter specifies.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -2124,7 +2124,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMVMExtensionImageType -Location "Central US" -PublisherName "Fabrikam" + <dev:code>PS C:\&gt;Get-AzureRmVMExtensionImageType -Location "Central US" -PublisherName "Fabrikam" </dev:code> <dev:remarks> <maml:para>This command gets the extension image type for the specified publisher and location. </maml:para> @@ -2140,14 +2140,14 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMExtensionImage</maml:linkText> + <maml:linkText>Get-AzureRmVMExtensionImage</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMVMExtensionImage</command:name> + <command:name>Get-AzureRmVMExtensionImage</command:name> <maml:description> <maml:para>Gets all versions for an Azure extension.</maml:para> </maml:description> @@ -2159,11 +2159,11 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMVMExtensionImage cmdlet gets all versions for an Azure extension.</maml:para> + <maml:para>The Get-AzureRmVMExtensionImage cmdlet gets all versions for an Azure extension.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMVMExtensionImage</maml:name> + <maml:name>Get-AzureRmVMExtensionImage</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>FilterExpression</maml:name> <maml:description> @@ -2196,14 +2196,14 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named" aliases="none"> <maml:name>PublisherName</maml:name> <maml:description> - <maml:para>Specifies the name of an extension publisher. To obtain an extension publisher, use the Get-AzureRMVMImagePublisher cmdlet.</maml:para> + <maml:para>Specifies the name of an extension publisher. To obtain an extension publisher, use the Get-AzureRmVMImagePublisher cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named" aliases="none"> <maml:name>Type</maml:name> <maml:description> - <maml:para>Specifies the type of the extension. To obtain an extension type, use the Get-AzureRMVMExtensionImageType cmdlet.</maml:para> + <maml:para>Specifies the type of the extension. To obtain an extension type, use the Get-AzureRmVMExtensionImageType cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -2249,7 +2249,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named" aliases="none"> <maml:name>PublisherName</maml:name> <maml:description> - <maml:para>Specifies the name of an extension publisher. To obtain an extension publisher, use the Get-AzureRMVMImagePublisher cmdlet.</maml:para> + <maml:para>Specifies the name of an extension publisher. To obtain an extension publisher, use the Get-AzureRmVMImagePublisher cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -2261,7 +2261,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named" aliases="none"> <maml:name>Type</maml:name> <maml:description> - <maml:para>Specifies the type of the extension. To obtain an extension type, use the Get-AzureRMVMExtensionImageType cmdlet.</maml:para> + <maml:para>Specifies the type of the extension. To obtain an extension type, use the Get-AzureRmVMExtensionImageType cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -2327,7 +2327,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMVMExtensionImage -Location "Central US" -PublisherName "Fabrikam" -Type "FabrikamEndpointProtection" + <dev:code>PS C:\&gt;Get-AzureRmVMExtensionImage -Location "Central US" -PublisherName "Fabrikam" -Type "FabrikamEndpointProtection" </dev:code> <dev:remarks> <maml:para>This command gets all the versions of the extension image for the specified location, publisher, and type. </maml:para> @@ -2343,26 +2343,26 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMExtensionImageType</maml:linkText> + <maml:linkText>Get-AzureRmVMExtensionImageType</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMImage</maml:linkText> + <maml:linkText>Get-AzureRmVMImage</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMImagePublisher</maml:linkText> + <maml:linkText>Get-AzureRmVMImagePublisher</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMExtensionImageType</maml:linkText> + <maml:linkText>Get-AzureRmVMExtensionImageType</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMVMExtension</command:name> + <command:name>Get-AzureRmVMExtension</command:name> <maml:description> <maml:para>Gets properties of Virtual Machine Extensions installed on a virtual machine.</maml:para> </maml:description> @@ -2374,11 +2374,11 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMVMExtension cmdlet gets properties of Virtual Machine Extensions installed on a virtual machine. Specify the name of an extension for which to get properties. To get only the instance view of an extension, specify the Status parameter.</maml:para> + <maml:para>The Get-AzureRmVMExtension cmdlet gets properties of Virtual Machine Extensions installed on a virtual machine. Specify the name of an extension for which to get properties. To get only the instance view of an extension, specify the Status parameter.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMVMExtension</maml:name> + <maml:name>Get-AzureRmVMExtension</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -2520,7 +2520,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMVMExtension -ResourceGroupName "ResourceGroup11" -VMName "VirtualMachine22" -Name "CustomScriptExtension" + <dev:code>PS C:\&gt;Get-AzureRmVMExtension -ResourceGroupName "ResourceGroup11" -VMName "VirtualMachine22" -Name "CustomScriptExtension" </dev:code> <dev:remarks> <maml:para>This command gets properties for the extension named CustomScriptExtension on the virtual machine named VirtualMachine22 in the resource group ResourceGroup11.</maml:para> @@ -2539,7 +2539,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMVMExtension -ResourceGroupName "ResourceGroup11" -VMName "VirtualMachine22" -Name "CustomScriptExtension" -Status + <dev:code>PS C:\&gt;Get-AzureRmVMExtension -ResourceGroupName "ResourceGroup11" -VMName "VirtualMachine22" -Name "CustomScriptExtension" -Status </dev:code> <dev:remarks> <maml:para>This command gets the instance view for the extension named CustomScriptExtension on the virtual machine named VirtualMachine22 in the resource group ResourceGroup11. </maml:para> @@ -2555,18 +2555,18 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Remove-AzureRMVMExtension</maml:linkText> + <maml:linkText>Remove-AzureRmVMExtension</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMVMExtension</maml:linkText> + <maml:linkText>Set-AzureRmVMExtension</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMVMImageDetail</command:name> + <command:name>Get-AzureRmVMImageDetail</command:name> <maml:description> <maml:para>This cmdlet has been deprecated.</maml:para> </maml:description> @@ -2578,11 +2578,11 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMVMImageDetail cmdlet has been deprecated.</maml:para> + <maml:para>The Get-AzureRmVMImageDetail cmdlet has been deprecated.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMVMImageDetail</maml:name> + <maml:name>Get-AzureRmVMImageDetail</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -2748,7 +2748,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMVMImageOffer</command:name> + <command:name>Get-AzureRmVMImageOffer</command:name> <maml:description> <maml:para>Gets VMImage offer types.</maml:para> </maml:description> @@ -2760,11 +2760,11 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMVMImageOffer cmdlet gets the VMImage offer types.</maml:para> + <maml:para>The Get-AzureRmVMImageOffer cmdlet gets the VMImage offer types.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMVMImageOffer</maml:name> + <maml:name>Get-AzureRmVMImageOffer</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -2782,7 +2782,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named" aliases="none"> <maml:name>PublisherName</maml:name> <maml:description> - <maml:para>Specifies the name of a publisher of a VMImage. To obtain a publisher, use the Get-AzureRMVMImagePublisher cmdlet.</maml:para> + <maml:para>Specifies the name of a publisher of a VMImage. To obtain a publisher, use the Get-AzureRmVMImagePublisher cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -2816,7 +2816,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named" aliases="none"> <maml:name>PublisherName</maml:name> <maml:description> - <maml:para>Specifies the name of a publisher of a VMImage. To obtain a publisher, use the Get-AzureRMVMImagePublisher cmdlet.</maml:para> + <maml:para>Specifies the name of a publisher of a VMImage. To obtain a publisher, use the Get-AzureRmVMImagePublisher cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -2869,7 +2869,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMVMImageOffer -Location "Central US" -PublisherName "Fabrikam" + <dev:code>PS C:\&gt;Get-AzureRmVMImageOffer -Location "Central US" -PublisherName "Fabrikam" </dev:code> <dev:remarks> <maml:para>This command gets the offer types for the specified publisher in the Central US region. </maml:para> @@ -2885,26 +2885,26 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMImage</maml:linkText> + <maml:linkText>Get-AzureRmVMImage</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMImagePublisher</maml:linkText> + <maml:linkText>Get-AzureRmVMImagePublisher</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMImageSku</maml:linkText> + <maml:linkText>Get-AzureRmVMImageSku</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Save-AzureRMVMImage</maml:linkText> + <maml:linkText>Save-AzureRmVMImage</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMVMImagePublisher</command:name> + <command:name>Get-AzureRmVMImagePublisher</command:name> <maml:description> <maml:para>Gets the VMImage publishers.</maml:para> </maml:description> @@ -2916,11 +2916,11 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMVMImagePublisher cmdlet gets the VMImage publishers.</maml:para> + <maml:para>The Get-AzureRmVMImagePublisher cmdlet gets the VMImage publishers.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMVMImagePublisher</maml:name> + <maml:name>Get-AzureRmVMImagePublisher</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -3006,7 +3006,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMVMImagePublisher -Location "Central US" + <dev:code>PS C:\&gt;Get-AzureRmVMImagePublisher -Location "Central US" </dev:code> <dev:remarks> <maml:para>This command gets the publishers of VMImage instances for the Central US region within your profile.</maml:para> @@ -3022,26 +3022,26 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMImage</maml:linkText> + <maml:linkText>Get-AzureRmVMImage</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMImageOffer</maml:linkText> + <maml:linkText>Get-AzureRmVMImageOffer</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMImageSku</maml:linkText> + <maml:linkText>Get-AzureRmVMImageSku</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Save-AzureRMVMImage</maml:linkText> + <maml:linkText>Save-AzureRmVMImage</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMVMImageSku</command:name> + <command:name>Get-AzureRmVMImageSku</command:name> <maml:description> <maml:para>Gets VMImage SKUs.</maml:para> </maml:description> @@ -3053,11 +3053,11 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMVMImageSku cmdlet gets VMImage SKUs.</maml:para> + <maml:para>The Get-AzureRmVMImageSku cmdlet gets VMImage SKUs.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMVMImageSku</maml:name> + <maml:name>Get-AzureRmVMImageSku</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -3181,7 +3181,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMVMImageSku -Location "Central US" -PublisherName "Fabrikam" -Offer "LinuxServer" + <dev:code>PS C:\&gt;Get-AzureRmVMImageSku -Location "Central US" -PublisherName "Fabrikam" -Offer "LinuxServer" </dev:code> <dev:remarks> <maml:para>This command gets the SKUs for the specified publisher and offer. </maml:para> @@ -3197,26 +3197,26 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMImage</maml:linkText> + <maml:linkText>Get-AzureRmVMImage</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMImageOffer</maml:linkText> + <maml:linkText>Get-AzureRmVMImageOffer</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMImagePublisher</maml:linkText> + <maml:linkText>Get-AzureRmVMImagePublisher</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Save-AzureRMVMImage</maml:linkText> + <maml:linkText>Save-AzureRmVMImage</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMVMImage</command:name> + <command:name>Get-AzureRmVMImage</command:name> <maml:description> <maml:para>Gets all the versions of a VMImage.</maml:para> </maml:description> @@ -3228,11 +3228,11 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMVMImage cmdlet gets all the versions of a VMImage.</maml:para> + <maml:para>The Get-AzureRmVMImage cmdlet gets all the versions of a VMImage.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMVMImage</maml:name> + <maml:name>Get-AzureRmVMImage</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>FilterExpression</maml:name> <maml:description> @@ -3257,27 +3257,27 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="none"> <maml:name>Offer</maml:name> <maml:description> - <maml:para>Specifies the type of VMImage offer. To obtain an image offer, use the Get-AzureRMVMImageOffer cmdlet.</maml:para> + <maml:para>Specifies the type of VMImage offer. To obtain an image offer, use the Get-AzureRmVMImageOffer cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="none"> <maml:name>PublisherName</maml:name> <maml:description> - <maml:para>Specifies the publisher of a VMImage. To obtain an image publisher, use the Get-AzureRMVMImagePublisher cmdlet.</maml:para> + <maml:para>Specifies the publisher of a VMImage. To obtain an image publisher, use the Get-AzureRmVMImagePublisher cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="none"> <maml:name>Skus</maml:name> <maml:description> - <maml:para>Specifies a VMImage SKU. To obtain an SKU, use the Get-AzureRMVMImageSku cmdlet. </maml:para> + <maml:para>Specifies a VMImage SKU. To obtain an SKU, use the Get-AzureRmVMImageSku cmdlet. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMVMImage</maml:name> + <maml:name>Get-AzureRmVMImage</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -3295,21 +3295,21 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="none"> <maml:name>Offer</maml:name> <maml:description> - <maml:para>Specifies the type of VMImage offer. To obtain an image offer, use the Get-AzureRMVMImageOffer cmdlet.</maml:para> + <maml:para>Specifies the type of VMImage offer. To obtain an image offer, use the Get-AzureRmVMImageOffer cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="none"> <maml:name>PublisherName</maml:name> <maml:description> - <maml:para>Specifies the publisher of a VMImage. To obtain an image publisher, use the Get-AzureRMVMImagePublisher cmdlet.</maml:para> + <maml:para>Specifies the publisher of a VMImage. To obtain an image publisher, use the Get-AzureRmVMImagePublisher cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="none"> <maml:name>Skus</maml:name> <maml:description> - <maml:para>Specifies a VMImage SKU. To obtain an SKU, use the Get-AzureRMVMImageSku cmdlet. </maml:para> + <maml:para>Specifies a VMImage SKU. To obtain an SKU, use the Get-AzureRmVMImageSku cmdlet. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> </command:parameter> @@ -3351,7 +3351,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="none"> <maml:name>Offer</maml:name> <maml:description> - <maml:para>Specifies the type of VMImage offer. To obtain an image offer, use the Get-AzureRMVMImageOffer cmdlet.</maml:para> + <maml:para>Specifies the type of VMImage offer. To obtain an image offer, use the Get-AzureRmVMImageOffer cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> <dev:type> @@ -3375,7 +3375,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="none"> <maml:name>PublisherName</maml:name> <maml:description> - <maml:para>Specifies the publisher of a VMImage. To obtain an image publisher, use the Get-AzureRMVMImagePublisher cmdlet.</maml:para> + <maml:para>Specifies the publisher of a VMImage. To obtain an image publisher, use the Get-AzureRmVMImagePublisher cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> <dev:type> @@ -3387,7 +3387,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="none"> <maml:name>Skus</maml:name> <maml:description> - <maml:para>Specifies a VMImage SKU. To obtain an SKU, use the Get-AzureRMVMImageSku cmdlet. </maml:para> + <maml:para>Specifies a VMImage SKU. To obtain an SKU, use the Get-AzureRmVMImageSku cmdlet. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> <dev:type> @@ -3453,7 +3453,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMVMImage -Location "Central US" -PublisherName "Canonical" -Offer "UbuntuServer" -Skus "15.04-DAILY" + <dev:code>PS C:\&gt;Get-AzureRmVMImage -Location "Central US" -PublisherName "Canonical" -Offer "UbuntuServer" -Skus "15.04-DAILY" </dev:code> <dev:remarks> <maml:para>This command gets all the versions of VMImage that match the specified values. </maml:para> @@ -3469,26 +3469,26 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMImageOffer</maml:linkText> + <maml:linkText>Get-AzureRmVMImageOffer</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMImagePublisher</maml:linkText> + <maml:linkText>Get-AzureRmVMImagePublisher</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMImageSku</maml:linkText> + <maml:linkText>Get-AzureRmVMImageSku</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Save-AzureRMVMImage</maml:linkText> + <maml:linkText>Save-AzureRmVMImage</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMVMSize</command:name> + <command:name>Get-AzureRmVMSize</command:name> <maml:description> <maml:para>Gets available virtual machine sizes.</maml:para> </maml:description> @@ -3500,11 +3500,11 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMVMSize cmdlet gets available virtual machine sizes. </maml:para> + <maml:para>The Get-AzureRmVMSize cmdlet gets available virtual machine sizes. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMVMSize</maml:name> + <maml:name>Get-AzureRmVMSize</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -3528,7 +3528,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMVMSize</maml:name> + <maml:name>Get-AzureRmVMSize</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>Location</maml:name> <maml:description> @@ -3545,7 +3545,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMVMSize</maml:name> + <maml:name>Get-AzureRmVMSize</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -3670,7 +3670,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMVMSize -Location "Central US" + <dev:code>PS C:\&gt;Get-AzureRmVMSize -Location "Central US" </dev:code> <dev:remarks> @@ -3690,7 +3690,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMVMSize -ResourceGroupName "ResourceGroup03" -AvailabilitySetName "AvailabilitySet17" + <dev:code>PS C:\&gt;Get-AzureRmVMSize -ResourceGroupName "ResourceGroup03" -AvailabilitySetName "AvailabilitySet17" </dev:code> <dev:remarks> @@ -3710,7 +3710,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMVMSize -ResourceGroupName "ResourceGroup03" -VMName "VirtualMachine12" + <dev:code>PS C:\&gt;Get-AzureRmVMSize -ResourceGroupName "ResourceGroup03" -VMName "VirtualMachine12" </dev:code> <dev:remarks> @@ -3727,14 +3727,14 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMVM</maml:linkText> + <maml:linkText>Get-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMVMUsage</command:name> + <command:name>Get-AzureRmVMUsage</command:name> <maml:description> <maml:para>Gets the virtual machine core count usage for a location. </maml:para> </maml:description> @@ -3746,11 +3746,11 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMVMUsage cmdlet gets the virtual machine core count usage for a location.</maml:para> + <maml:para>The Get-AzureRmVMUsage cmdlet gets the virtual machine core count usage for a location.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMVMUsage</maml:name> + <maml:name>Get-AzureRmVMUsage</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1" aliases="none"> <maml:name>Location</maml:name> <maml:description> @@ -3836,7 +3836,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMVMUsage -Location "Central US" + <dev:code>PS C:\&gt;Get-AzureRmVMUsage -Location "Central US" </dev:code> <dev:remarks> <maml:para>This command gets the virtual machine core count usage for the location Central US.</maml:para> @@ -3855,7 +3855,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMVM</command:name> + <command:name>Get-AzureRmVM</command:name> <maml:description> <maml:para>Gets the properties of a virtual machine.</maml:para> </maml:description> @@ -3867,11 +3867,11 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMVM cmdlet gets the model view and instance view of an Azure virtual machine. The model view is the user specified properties of the virtual machine. The instance view is the instance level status of the virtual machine. To get only the instance view of a virtual machine, specify the Status parameter.</maml:para> + <maml:para>The Get-AzureRmVM cmdlet gets the model view and instance view of an Azure virtual machine. The model view is the user specified properties of the virtual machine. The instance view is the instance level status of the virtual machine. To get only the instance view of a virtual machine, specify the Status parameter.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMVM</maml:name> + <maml:name>Get-AzureRmVM</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -3901,7 +3901,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMVM</maml:name> + <maml:name>Get-AzureRmVM</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="2" aliases="none"> <maml:name>NextLink</maml:name> <maml:description> @@ -3918,7 +3918,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMVM</maml:name> + <maml:name>Get-AzureRmVM</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -3928,7 +3928,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMVM</maml:name> + <maml:name>Get-AzureRmVM</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -4050,7 +4050,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" + <dev:code>PS C:\&gt;Get-AzureRmVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" </dev:code> <dev:remarks> <maml:para>This command gets the model view and instance view properties of the virtual machine named VirtualMachine07. </maml:para> @@ -4069,7 +4069,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" -Status + <dev:code>PS C:\&gt;Get-AzureRmVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" -Status </dev:code> <dev:remarks> <maml:para>This command gets properties of the virtual machine named VirtualMachine07. This command specifies the Status parameter. Therefore, the command gets only the instance view properties.</maml:para> @@ -4088,7 +4088,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMVM -ResourceGroupName "ResourceGroup11" + <dev:code>PS C:\&gt; Get-AzureRmVM -ResourceGroupName "ResourceGroup11" </dev:code> <dev:remarks> <maml:para>This command gets properties for all the virtual machines in the resource group named ResourceGroup11. </maml:para> @@ -4107,7 +4107,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMVM + <dev:code>PS C:\&gt;Get-AzureRmVM </dev:code> <dev:remarks> @@ -4124,34 +4124,34 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>New-AzureRMVM</maml:linkText> + <maml:linkText>New-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMVM</maml:linkText> + <maml:linkText>Remove-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Restart-AzureRMVM</maml:linkText> + <maml:linkText>Restart-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Start-AzureRMVM</maml:linkText> + <maml:linkText>Start-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Stop-AzureRMVM</maml:linkText> + <maml:linkText>Stop-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Update-AzureRMVM</maml:linkText> + <maml:linkText>Update-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMAvailabilitySet</command:name> + <command:name>New-AzureRmAvailabilitySet</command:name> <maml:description> <maml:para>Creates an Azure availability set.</maml:para> </maml:description> @@ -4163,11 +4163,11 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMAvailabilitySet cmdlet creates an Azure availability set.</maml:para> + <maml:para>The New-AzureRmAvailabilitySet cmdlet creates an Azure availability set.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMAvailabilitySet</maml:name> + <maml:name>New-AzureRmAvailabilitySet</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -4329,7 +4329,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;New-AzureRMAvailabilitySet -ResourceGroupName "ResourceGroup11" -Name "AvailabilitySet03" -Location "West US" + <dev:code>PS C:\&gt;New-AzureRmAvailabilitySet -ResourceGroupName "ResourceGroup11" -Name "AvailabilitySet03" -Location "West US" </dev:code> <dev:remarks> <maml:para>This command creates an availability set named AvailablitySet03 in the resource group named ResourceGroup11. </maml:para> @@ -4345,18 +4345,18 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMAvailabilitySet</maml:linkText> + <maml:linkText>Get-AzureRmAvailabilitySet</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMAvailabilitySet</maml:linkText> + <maml:linkText>Remove-AzureRmAvailabilitySet</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMVMConfig</command:name> + <command:name>New-AzureRmVMConfig</command:name> <maml:description> <maml:para>Creates a configurable virtual machine object.</maml:para> </maml:description> @@ -4368,11 +4368,11 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMVMConfig cmdlet creates a configurable local virtual machine object for Azure. Configure a virtual machine object by using other cmdlets, such as Set-AzureRMVMOperatingSystem, Set-AzureRMVMSourceImage, Add-AzureRMVMNetworkInterface, and Set-AzureRMVMOSDisk. </maml:para> + <maml:para>The New-AzureRmVMConfig cmdlet creates a configurable local virtual machine object for Azure. Configure a virtual machine object by using other cmdlets, such as Set-AzureRmVMOperatingSystem, Set-AzureRmVMSourceImage, Add-AzureRmVMNetworkInterface, and Set-AzureRmVMOSDisk. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMVMConfig</maml:name> + <maml:name>New-AzureRmVMConfig</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="ResourceName,Name"> <maml:name>VMName</maml:name> <maml:description> @@ -4390,7 +4390,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="3" aliases="none"> <maml:name>AvailabilitySetId</maml:name> <maml:description> - <maml:para>Specifies the ID of an availability set. To obtain an availability set object, use the Get-AzureRMAvailabilitySet cmdlet. The availability set object contains an ID property.</maml:para> + <maml:para>Specifies the ID of an availability set. To obtain an availability set object, use the Get-AzureRmAvailabilitySet cmdlet. The availability set object contains an ID property.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> @@ -4407,7 +4407,7 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="3" aliases="none"> <maml:name>AvailabilitySetId</maml:name> <maml:description> - <maml:para>Specifies the ID of an availability set. To obtain an availability set object, use the Get-AzureRMAvailabilitySet cmdlet. The availability set object contains an ID property.</maml:para> + <maml:para>Specifies the ID of an availability set. To obtain an availability set object, use the Get-AzureRmAvailabilitySet cmdlet. The availability set object contains an ID property.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> @@ -4496,8 +4496,8 @@ PS C:\&gt; $VirtualMachine = Add-AzureRMVMSshPublicKey -VM $VirtualMachine -KeyD <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$AvailabilitySet = Get-AzureRMAvailabilitySet -ResourceGroupName "ResourceGroup11" -Name "AvailabilitySet03" -PS C:\&gt; $VirtualMachine = New-AzureRMVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1" -AvailabilitySetID $AvailabilitySet.Id + <dev:code>PS C:\&gt;$AvailabilitySet = Get-AzureRmAvailabilitySet -ResourceGroupName "ResourceGroup11" -Name "AvailabilitySet03" +PS C:\&gt; $VirtualMachine = New-AzureRmVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1" -AvailabilitySetID $AvailabilitySet.Id </dev:code> <dev:remarks> <maml:para>The first command gets the availability set named AvailablitySet03 in the resource group named ResourceGroup11, and then stores that object in the $AvailabilitySet variable.</maml:para> @@ -4514,26 +4514,26 @@ PS C:\&gt; $VirtualMachine = New-AzureRMVMConfig -VMName "VirtualMachine07" -VMS </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Update-AzureRMVM</maml:linkText> + <maml:linkText>Update-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMVMOperatingSystem</maml:linkText> + <maml:linkText>Set-AzureRmVMOperatingSystem</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMVMSourceImage</maml:linkText> + <maml:linkText>Set-AzureRmVMSourceImage</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMAvailabilitySet</maml:linkText> + <maml:linkText>Get-AzureRmAvailabilitySet</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMVM</command:name> + <command:name>New-AzureRmVM</command:name> <maml:description> <maml:para>Creates a virtual machine.</maml:para> </maml:description> @@ -4545,11 +4545,11 @@ PS C:\&gt; $VirtualMachine = New-AzureRMVMConfig -VMName "VirtualMachine07" -VMS <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMVM cmdlet creates a virtual machine in Azure. This cmdlet takes a virtual machine object as input. Use the New-AzureRMVMConfig cmdlet to create a virtual machine object. Configure the virtual machine object by using other cmdlets, such as Set-AzureRMVMOperatingSystem, Set-AzureRMVMSourceImage, Add-AzureRMVMNetworkInterface, and Set-AzureRMVMOSDisk. </maml:para> + <maml:para>The New-AzureRmVM cmdlet creates a virtual machine in Azure. This cmdlet takes a virtual machine object as input. Use the New-AzureRmVMConfig cmdlet to create a virtual machine object. Configure the virtual machine object by using other cmdlets, such as Set-AzureRmVMOperatingSystem, Set-AzureRmVMSourceImage, Add-AzureRmVMNetworkInterface, and Set-AzureRmVMOSDisk. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMVM</maml:name> + <maml:name>New-AzureRmVM</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="ResourceName,VMName"> <maml:name>Name</maml:name> <maml:description> @@ -4589,7 +4589,7 @@ PS C:\&gt; $VirtualMachine = New-AzureRMVMConfig -VMName "VirtualMachine07" -VMS <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue,ByPropertyName)" position="named" aliases="VMProfile"> <maml:name>VM</maml:name> <maml:description> - <maml:para>Specifies a local virtual machine to create. To obtain a virtual machine object, use the New-AzureRMVMConfig cmdlet. Configure the virtual machine by using other cmdlets, such as Set-AzureRMVMOperatingSystem, Set-AzureRMVMSourceImage, and Add-AzureRMVMNetworkInterface. </maml:para> + <maml:para>Specifies a local virtual machine to create. To obtain a virtual machine object, use the New-AzureRmVMConfig cmdlet. Configure the virtual machine by using other cmdlets, such as Set-AzureRmVMOperatingSystem, Set-AzureRmVMSourceImage, and Add-AzureRmVMNetworkInterface. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">PSVirtualMachine</command:parameterValue> </command:parameter> @@ -4660,7 +4660,7 @@ PS C:\&gt; $VirtualMachine = New-AzureRMVMConfig -VMName "VirtualMachine07" -VMS <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue,ByPropertyName)" position="named" aliases="VMProfile"> <maml:name>VM</maml:name> <maml:description> - <maml:para>Specifies a local virtual machine to create. To obtain a virtual machine object, use the New-AzureRMVMConfig cmdlet. Configure the virtual machine by using other cmdlets, such as Set-AzureRMVMOperatingSystem, Set-AzureRMVMSourceImage, and Add-AzureRMVMNetworkInterface. </maml:para> + <maml:para>Specifies a local virtual machine to create. To obtain a virtual machine object, use the New-AzureRmVMConfig cmdlet. Configure the virtual machine by using other cmdlets, such as Set-AzureRmVMOperatingSystem, Set-AzureRmVMSourceImage, and Add-AzureRmVMNetworkInterface. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">PSVirtualMachine</command:parameterValue> <dev:type> @@ -4736,30 +4736,30 @@ $VMSize = "Standard_A2" $OSDiskName = $VMName + "osDisk" # Resource Group -New-AzureRMResourceGroup -Name $ResourceGroupName -Location $Location +New-AzureRmResourceGroup -Name $ResourceGroupName -Location $Location # Storage -$StorageAccount = New-AzureRMStorageAccount -ResourceGroupName $ResourceGroupName -Name $StorageName -Type $StorageType -Location $Location +$StorageAccount = New-AzureRmStorageAccount -ResourceGroupName $ResourceGroupName -Name $StorageName -Type $StorageType -Location $Location # Network -$PIp = New-AzureRMPublicIpAddress -Name $InterfaceName -ResourceGroupName $ResourceGroupName -Location $Location -AllocationMethod Dynamic -$SubnetConfig = New-AzureRMVirtualNetworkSubnetConfig -Name $Subnet1Name -AddressPrefix $VNetSubnetAddressPrefix -$VNet = New-AzureRMVirtualNetwork -Name $VNetName -ResourceGroupName $ResourceGroupName -Location $Location -AddressPrefix $VNetAddressPrefix -Subnet $SubnetConfig -$Interface = New-AzureRMNetworkInterface -Name $InterfaceName -ResourceGroupName $ResourceGroupName -Location $Location -SubnetId $VNet.Subnets[0].Id -PublicIpAddressId $PIp.Id +$PIp = New-AzureRmPublicIpAddress -Name $InterfaceName -ResourceGroupName $ResourceGroupName -Location $Location -AllocationMethod Dynamic +$SubnetConfig = New-AzureRmVirtualNetworkSubnetConfig -Name $Subnet1Name -AddressPrefix $VNetSubnetAddressPrefix +$VNet = New-AzureRmVirtualNetwork -Name $VNetName -ResourceGroupName $ResourceGroupName -Location $Location -AddressPrefix $VNetAddressPrefix -Subnet $SubnetConfig +$Interface = New-AzureRmNetworkInterface -Name $InterfaceName -ResourceGroupName $ResourceGroupName -Location $Location -SubnetId $VNet.Subnets[0].Id -PublicIpAddressId $PIp.Id # Compute ## Setup local VM object $Credential = Get-Credential -$VirtualMachine = New-AzureRMVMConfig -VMName $VMName -VMSize $VMSize -$VirtualMachine = Set-AzureRMVMOperatingSystem -VM $VirtualMachine -Windows -ComputerName $ComputerName -Credential $Credential -ProvisionVMAgent -EnableAutoUpdate -$VirtualMachine = Set-AzureRMVMSourceImage -VM $VirtualMachine -PublisherName MicrosoftWindowsServer -Offer WindowsServer -Skus 2012-R2-Datacenter -Version "latest" -$VirtualMachine = Add-AzureRMVMNetworkInterface -VM $VirtualMachine -Id $Interface.Id +$VirtualMachine = New-AzureRmVMConfig -VMName $VMName -VMSize $VMSize +$VirtualMachine = Set-AzureRmVMOperatingSystem -VM $VirtualMachine -Windows -ComputerName $ComputerName -Credential $Credential -ProvisionVMAgent -EnableAutoUpdate +$VirtualMachine = Set-AzureRmVMSourceImage -VM $VirtualMachine -PublisherName MicrosoftWindowsServer -Offer WindowsServer -Skus 2012-R2-Datacenter -Version "latest" +$VirtualMachine = Add-AzureRmVMNetworkInterface -VM $VirtualMachine -Id $Interface.Id $OSDiskUri = $StorageAccount.PrimaryEndpoints.Blob.ToString() + "vhds/" + $OSDiskName + ".vhd" -$VirtualMachine = Set-AzureRMVMOSDisk -VM $VirtualMachine -Name $OSDiskName -VhdUri $OSDiskUri -CreateOption FromImage +$VirtualMachine = Set-AzureRmVMOSDisk -VM $VirtualMachine -Name $OSDiskName -VhdUri $OSDiskUri -CreateOption FromImage ## Create the VM in Azure -New-AzureRMVM -ResourceGroupName $ResourceGroupName -Location $Location -VM $VirtualMachine +New-AzureRmVM -ResourceGroupName $ResourceGroupName -Location $Location -VM $VirtualMachine </dev:code> @@ -4777,58 +4777,58 @@ New-AzureRMVM -ResourceGroupName $ResourceGroupName -Location $Location -VM $Vir </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMVM</maml:linkText> + <maml:linkText>Get-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMVM</maml:linkText> + <maml:linkText>Remove-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Restart-AzureRMVM</maml:linkText> + <maml:linkText>Restart-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Start-AzureRMVM</maml:linkText> + <maml:linkText>Start-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Stop-AzureRMVM</maml:linkText> + <maml:linkText>Stop-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Update-AzureRMVM</maml:linkText> + <maml:linkText>Update-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Add-AzureRMVMDataDisk</maml:linkText> + <maml:linkText>Add-AzureRmVMDataDisk</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Add-AzureRMVMNetworkInterface</maml:linkText> + <maml:linkText>Add-AzureRmVMNetworkInterface</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMVMConfig</maml:linkText> + <maml:linkText>New-AzureRmVMConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMVMOperatingSystem</maml:linkText> + <maml:linkText>Set-AzureRmVMOperatingSystem</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMVMSourceImage</maml:linkText> + <maml:linkText>Set-AzureRmVMSourceImage</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMVMOSDisk</maml:linkText> + <maml:linkText>Set-AzureRmVMOSDisk</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMAvailabilitySet</command:name> + <command:name>Remove-AzureRmAvailabilitySet</command:name> <maml:description> <maml:para>Removes an availability set from Azure. </maml:para> </maml:description> @@ -4840,11 +4840,11 @@ New-AzureRMVM -ResourceGroupName $ResourceGroupName -Location $Location -VM $Vir <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMAvailabilitySet cmdlet removes an availability set from Azure.</maml:para> + <maml:para>The Remove-AzureRmAvailabilitySet cmdlet removes an availability set from Azure.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMAvailabilitySet</maml:name> + <maml:name>Remove-AzureRmAvailabilitySet</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -4967,7 +4967,7 @@ New-AzureRMVM -ResourceGroupName $ResourceGroupName -Location $Location -VM $Vir <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Remove-AzureRMAvailabilitySet -Name "AvailabilitySet03" -ResourceGroupName "ResourceGroup11" + <dev:code>PS C:\&gt;Remove-AzureRmAvailabilitySet -Name "AvailabilitySet03" -ResourceGroupName "ResourceGroup11" </dev:code> <dev:remarks> <maml:para>This command removes an availability set named AvailablitySet03 in the resource group named ResourceGroup11. </maml:para> @@ -4983,18 +4983,18 @@ New-AzureRMVM -ResourceGroupName $ResourceGroupName -Location $Location -VM $Vir </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMAvailabilitySet</maml:linkText> + <maml:linkText>Get-AzureRmAvailabilitySet</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMAvailabilitySet</maml:linkText> + <maml:linkText>New-AzureRmAvailabilitySet</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMVMAccessExtension</command:name> + <command:name>Remove-AzureRmVMAccessExtension</command:name> <maml:description> <maml:para>Removes the VMAccess extension from a virtual machine.</maml:para> </maml:description> @@ -5006,11 +5006,11 @@ New-AzureRMVM -ResourceGroupName $ResourceGroupName -Location $Location -VM $Vir <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMVMAccessExtension cmdlet removes the Virtual Machine Access (VMAccess) Virtual Machine Extension from a virtual machine.</maml:para> + <maml:para>The Remove-AzureRmVMAccessExtension cmdlet removes the Virtual Machine Access (VMAccess) Virtual Machine Extension from a virtual machine.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMVMAccessExtension</maml:name> + <maml:name>Remove-AzureRmVMAccessExtension</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1" aliases="none"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -5165,22 +5165,22 @@ New-AzureRMVM -ResourceGroupName $ResourceGroupName -Location $Location -VM $Vir </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMAccessExtension</maml:linkText> + <maml:linkText>Get-AzureRmVMAccessExtension</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMVMAccessExtension</maml:linkText> + <maml:linkText>Set-AzureRmVMAccessExtension</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMVMExtension</maml:linkText> + <maml:linkText>Remove-AzureRmVMExtension</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMVMCustomScriptExtension</command:name> + <command:name>Remove-AzureRmVMCustomScriptExtension</command:name> <maml:description> <maml:para>Removes a custom script extension from a virtual machine. </maml:para> </maml:description> @@ -5192,11 +5192,11 @@ New-AzureRMVM -ResourceGroupName $ResourceGroupName -Location $Location -VM $Vir <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMVMCustomScriptExtension cmdlet removes a custom script Virtual Machine Extension from a virtual machine. </maml:para> + <maml:para>The Remove-AzureRmVMCustomScriptExtension cmdlet removes a custom script Virtual Machine Extension from a virtual machine. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMVMCustomScriptExtension</maml:name> + <maml:name>Remove-AzureRmVMCustomScriptExtension</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1" aliases="none"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -5351,18 +5351,18 @@ New-AzureRMVM -ResourceGroupName $ResourceGroupName -Location $Location -VM $Vir </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMCustomScriptExtension</maml:linkText> + <maml:linkText>Get-AzureRmVMCustomScriptExtension</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMVMCustomScriptExtension</maml:linkText> + <maml:linkText>Set-AzureRmVMCustomScriptExtension</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMVMDataDisk</command:name> + <command:name>Remove-AzureRmVMDataDisk</command:name> <maml:description> <maml:para>Removes a data disk from a virtual machine.</maml:para> </maml:description> @@ -5374,15 +5374,15 @@ New-AzureRMVM -ResourceGroupName $ResourceGroupName -Location $Location -VM $Vir <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMVMDataDisk cmdlet removes a data disk from a virtual machine.</maml:para> + <maml:para>The Remove-AzureRmVMDataDisk cmdlet removes a data disk from a virtual machine.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMVMDataDisk</maml:name> + <maml:name>Remove-AzureRmVMDataDisk</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue,ByPropertyName)" position="1" aliases="VMProfile"> <maml:name>VM</maml:name> <maml:description> - <maml:para>Specifies the local virtual machine object from which to remove a data disk. To obtain a virtual machine object, use the Get-AzureRMVM cmdlet. </maml:para> + <maml:para>Specifies the local virtual machine object from which to remove a data disk. To obtain a virtual machine object, use the Get-AzureRmVM cmdlet. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">PSVirtualMachine</command:parameterValue> </command:parameter> @@ -5430,7 +5430,7 @@ New-AzureRMVM -ResourceGroupName $ResourceGroupName -Location $Location -VM $Vir <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue,ByPropertyName)" position="1" aliases="VMProfile"> <maml:name>VM</maml:name> <maml:description> - <maml:para>Specifies the local virtual machine object from which to remove a data disk. To obtain a virtual machine object, use the Get-AzureRMVM cmdlet. </maml:para> + <maml:para>Specifies the local virtual machine object from which to remove a data disk. To obtain a virtual machine object, use the Get-AzureRmVM cmdlet. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">PSVirtualMachine</command:parameterValue> <dev:type> @@ -5483,12 +5483,12 @@ New-AzureRMVM -ResourceGroupName $ResourceGroupName -Location $Location -VM $Vir <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$VirtualMachine = Get-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" -PS C:\&gt; Remove-AzureRMVMDataDisk -VM $VirtualMachine -Name "disk3" -PS C:\&gt; Update-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" -VM $VirtualMachine + <dev:code>PS C:\&gt;$VirtualMachine = Get-AzureRmVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" +PS C:\&gt; Remove-AzureRmVMDataDisk -VM $VirtualMachine -Name "disk3" +PS C:\&gt; Update-AzureRmVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" -VM $VirtualMachine </dev:code> <dev:remarks> - <maml:para>The first command gets the virtual machine named VirtualMachine07 by using the Get-AzureRMVM cmdlet. The command stores the virtual machine in the $VirtualMachine variable.</maml:para> + <maml:para>The first command gets the virtual machine named VirtualMachine07 by using the Get-AzureRmVM cmdlet. The command stores the virtual machine in the $VirtualMachine variable.</maml:para> <maml:para>The second command removes the data disk named disk3 from the virtual machine stored in $VirtualMachine.</maml:para> <maml:para>The final command updates the state of the virtual machine stored in $VirtualMachine in ResourceGroup11.</maml:para> <maml:para /> @@ -5503,18 +5503,18 @@ PS C:\&gt; Update-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualM </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMVMDataDisk</maml:linkText> + <maml:linkText>Add-AzureRmVMDataDisk</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMVM</maml:linkText> + <maml:linkText>Get-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMVMExtension</command:name> + <command:name>Remove-AzureRmVMExtension</command:name> <maml:description> <maml:para>Removes an extension from a virtual machine.</maml:para> </maml:description> @@ -5526,11 +5526,11 @@ PS C:\&gt; Update-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualM <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMVMExtension cmdlet removes an extension from the Virtual Machine Extensions of a virtual machine.</maml:para> + <maml:para>The Remove-AzureRmVMExtension cmdlet removes an extension from the Virtual Machine Extensions of a virtual machine.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMVMExtension</maml:name> + <maml:name>Remove-AzureRmVMExtension</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -5672,7 +5672,7 @@ PS C:\&gt; Update-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualM <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Remove-AzureRMVMExtension -ResourceGroupName "ResourceGroup11" -Name "ContosoTest" -VMName "VirtualMachine22" + <dev:code>PS C:\&gt;Remove-AzureRmVMExtension -ResourceGroupName "ResourceGroup11" -Name "ContosoTest" -VMName "VirtualMachine22" </dev:code> <dev:remarks> <maml:para>This command removes the extension named ContosoTest from the virtual machine named VirtualMachine22 in ResourceGroup11. </maml:para> @@ -5688,18 +5688,18 @@ PS C:\&gt; Update-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualM </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMExtension</maml:linkText> + <maml:linkText>Get-AzureRmVMExtension</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMVMExtension</maml:linkText> + <maml:linkText>Set-AzureRmVMExtension</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMVMNetworkInterface</command:name> + <command:name>Remove-AzureRmVMNetworkInterface</command:name> <maml:description> <maml:para>Removes a network interface from a virtual machine.</maml:para> </maml:description> @@ -5711,15 +5711,15 @@ PS C:\&gt; Update-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualM <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMVMNetworkInterface cmdlet removes a network interface from a virtual machine. </maml:para> + <maml:para>The Remove-AzureRmVMNetworkInterface cmdlet removes a network interface from a virtual machine. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMVMNetworkInterface</maml:name> + <maml:name>Remove-AzureRmVMNetworkInterface</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue,ByPropertyName)" position="1" aliases="VMProfile"> <maml:name>VM</maml:name> <maml:description> - <maml:para>Specifies the virtual machine from which this cmdlet removes a network interface. To obtain a virtual machine object, use the Get-AzureRMVM cmdlet.</maml:para> + <maml:para>Specifies the virtual machine from which this cmdlet removes a network interface. To obtain a virtual machine object, use the Get-AzureRmVM cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">PSVirtualMachine</command:parameterValue> </command:parameter> @@ -5767,7 +5767,7 @@ PS C:\&gt; Update-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualM <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue,ByPropertyName)" position="1" aliases="VMProfile"> <maml:name>VM</maml:name> <maml:description> - <maml:para>Specifies the virtual machine from which this cmdlet removes a network interface. To obtain a virtual machine object, use the Get-AzureRMVM cmdlet.</maml:para> + <maml:para>Specifies the virtual machine from which this cmdlet removes a network interface. To obtain a virtual machine object, use the Get-AzureRmVM cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">PSVirtualMachine</command:parameterValue> <dev:type> @@ -5829,14 +5829,14 @@ PS C:\&gt; Update-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualM </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMVM</maml:linkText> + <maml:linkText>Get-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMVM</command:name> + <command:name>Remove-AzureRmVM</command:name> <maml:description> <maml:para>Removes a virtual machine from Azure.</maml:para> </maml:description> @@ -5848,11 +5848,11 @@ PS C:\&gt; Update-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualM <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMVM cmdlet removes a virtual machine from Azure. </maml:para> + <maml:para>The Remove-AzureRmVM cmdlet removes a virtual machine from Azure. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMVM</maml:name> + <maml:name>Remove-AzureRmVM</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -5975,7 +5975,7 @@ PS C:\&gt; Update-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualM <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Remove-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" + <dev:code>PS C:\&gt;Remove-AzureRmVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" </dev:code> <dev:remarks> <maml:para>This command removes the virtual machine named VirtualMachine07 in the resource group ResourceGroup11.</maml:para> @@ -5991,34 +5991,34 @@ PS C:\&gt; Update-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualM </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMVM</maml:linkText> + <maml:linkText>Get-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMVM</maml:linkText> + <maml:linkText>New-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Restart-AzureRMVM</maml:linkText> + <maml:linkText>Restart-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Start-AzureRMVM</maml:linkText> + <maml:linkText>Start-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Stop-AzureRMVM</maml:linkText> + <maml:linkText>Stop-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Update-AzureRMVM</maml:linkText> + <maml:linkText>Update-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Restart-AzureRMVM</command:name> + <command:name>Restart-AzureRmVM</command:name> <maml:description> <maml:para>Restarts an Azure virtual machine. </maml:para> </maml:description> @@ -6030,11 +6030,11 @@ PS C:\&gt; Update-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualM <dev:version /> </command:details> <maml:description> - <maml:para>The Restart-AzureRMVM cmdlet restarts an Azure virtual machine.</maml:para> + <maml:para>The Restart-AzureRmVM cmdlet restarts an Azure virtual machine.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Restart-AzureRMVM</maml:name> + <maml:name>Restart-AzureRmVM</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -6139,7 +6139,7 @@ PS C:\&gt; Update-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualM <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Restart-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" + <dev:code>PS C:\&gt;Restart-AzureRmVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" </dev:code> <dev:remarks> <maml:para>This command restarts the virtual machine named VirtualMachine07 in ResourceGroup11.</maml:para> @@ -6155,34 +6155,34 @@ PS C:\&gt; Update-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualM </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMVM</maml:linkText> + <maml:linkText>Get-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMVM</maml:linkText> + <maml:linkText>New-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMVM</maml:linkText> + <maml:linkText>Remove-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Start-AzureRMVM</maml:linkText> + <maml:linkText>Start-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Stop-AzureRMVM</maml:linkText> + <maml:linkText>Stop-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Update-AzureRMVM</maml:linkText> + <maml:linkText>Update-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Save-AzureRMVMImage</command:name> + <command:name>Save-AzureRmVMImage</command:name> <maml:description> <maml:para>Captures a virtual machine as a VMImage.</maml:para> </maml:description> @@ -6194,12 +6194,12 @@ PS C:\&gt; Update-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualM <dev:version /> </command:details> <maml:description> - <maml:para>The Save-AzureRMVMImage cmdlet captures a virtual machine as a VMImage. Before you create a virtual machine image, sysprep the virtual machine, and then mark it as generalized by using the Set-AzureRMVM cmdlet.</maml:para> + <maml:para>The Save-AzureRmVMImage cmdlet captures a virtual machine as a VMImage. Before you create a virtual machine image, sysprep the virtual machine, and then mark it as generalized by using the Set-AzureRmVM cmdlet.</maml:para> <maml:para>The output of this cmdlet is a JavaScript Object Notation (JSON) template. You can deploy virtual machines from your captured image.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Save-AzureRMVMImage</maml:name> + <maml:name>Save-AzureRmVMImage</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1" aliases="none"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -6360,8 +6360,8 @@ PS C:\&gt; Update-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualM <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Set-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" -Generalized -PS C:\&gt; Save-AzureRMVMImage -ResourceGroupName "ResourceGroup11" -VMName "VirtualMachine07" -DestinationContainerName "VMContainer01" -VHDNamePrefix "VM07" + <dev:code>PS C:\&gt;Set-AzureRmVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" -Generalized +PS C:\&gt; Save-AzureRmVMImage -ResourceGroupName "ResourceGroup11" -VMName "VirtualMachine07" -DestinationContainerName "VMContainer01" -VHDNamePrefix "VM07" </dev:code> <dev:remarks> <maml:para>The first marks the virtual machine named VirtualMachine07 as generalized.</maml:para> @@ -6378,30 +6378,30 @@ PS C:\&gt; Save-AzureRMVMImage -ResourceGroupName "ResourceGroup11" -VMName "Vir </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMImage</maml:linkText> + <maml:linkText>Get-AzureRmVMImage</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMImageOffer</maml:linkText> + <maml:linkText>Get-AzureRmVMImageOffer</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMImagePublisher</maml:linkText> + <maml:linkText>Get-AzureRmVMImagePublisher</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMImageSku</maml:linkText> + <maml:linkText>Get-AzureRmVMImageSku</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMVM</maml:linkText> + <maml:linkText>Set-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMVMAccessExtension</command:name> + <command:name>Set-AzureRmVMAccessExtension</command:name> <maml:description> <maml:para>Adds the VMAccess extension to a virtual machine.</maml:para> </maml:description> @@ -6413,11 +6413,11 @@ PS C:\&gt; Save-AzureRMVMImage -ResourceGroupName "ResourceGroup11" -VMName "Vir <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMVMAccessExtension cmdlet adds the Virtual Machine Access (VMAccess) Virtual Machine Extension to a virtual machine. VMAccess can reset the virtual machine user name and password.</maml:para> + <maml:para>The Set-AzureRmVMAccessExtension cmdlet adds the Virtual Machine Access (VMAccess) Virtual Machine Extension to a virtual machine. VMAccess can reset the virtual machine user name and password.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMVMAccessExtension</maml:name> + <maml:name>Set-AzureRmVMAccessExtension</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1" aliases="none"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -6442,7 +6442,7 @@ PS C:\&gt; Save-AzureRMVMImage -ResourceGroupName "ResourceGroup11" -VMName "Vir <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="4" aliases="HandlerVersion,Version"> <maml:name>TypeHandlerVersion</maml:name> <maml:description> - <maml:para>Specifies the version of the extension to use for this virtual machine. To obtain the version, run the Get-AzureRMVMExtensionImage cmdlet with a value of Microsoft.Compute for the PublisherName parameter and VMAccessAgent for the Type parameter. </maml:para> + <maml:para>Specifies the version of the extension to use for this virtual machine. To obtain the version, run the Get-AzureRmVMExtensionImage cmdlet with a value of Microsoft.Compute for the PublisherName parameter and VMAccessAgent for the Type parameter. </maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> @@ -6540,7 +6540,7 @@ PS C:\&gt; Save-AzureRMVMImage -ResourceGroupName "ResourceGroup11" -VMName "Vir <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="4" aliases="HandlerVersion,Version"> <maml:name>TypeHandlerVersion</maml:name> <maml:description> - <maml:para>Specifies the version of the extension to use for this virtual machine. To obtain the version, run the Get-AzureRMVMExtensionImage cmdlet with a value of Microsoft.Compute for the PublisherName parameter and VMAccessAgent for the Type parameter. </maml:para> + <maml:para>Specifies the version of the extension to use for this virtual machine. To obtain the version, run the Get-AzureRmVMExtensionImage cmdlet with a value of Microsoft.Compute for the PublisherName parameter and VMAccessAgent for the Type parameter. </maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> @@ -6617,7 +6617,7 @@ PS C:\&gt; Save-AzureRMVMImage -ResourceGroupName "ResourceGroup11" -VMName "Vir <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt; Set-AzureRMVMAccessExtension -ResourceGroupName "ResrouceGroup11" -Location "Central US" -VMName "VirtualMachine07" -Name "ContosoTest" -TypeHandlerVersion "2.0" -UserName "PFuller" -Password "Password" + <dev:code>PS C:\&gt; Set-AzureRmVMAccessExtension -ResourceGroupName "ResrouceGroup11" -Location "Central US" -VMName "VirtualMachine07" -Name "ContosoTest" -TypeHandlerVersion "2.0" -UserName "PFuller" -Password "Password" </dev:code> <dev:remarks> <maml:para>This command adds a VMAccess extension for the virtual machine named VirtualMachine07 in ResrouceGroup11. The command specifies the name and type handler version for VMAccess.</maml:para> @@ -6633,26 +6633,26 @@ PS C:\&gt; Save-AzureRMVMImage -ResourceGroupName "ResourceGroup11" -VMName "Vir </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMAccessExtension</maml:linkText> + <maml:linkText>Get-AzureRmVMAccessExtension</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMVMAccessExtension</maml:linkText> + <maml:linkText>Remove-AzureRmVMAccessExtension</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMVMExtension</maml:linkText> + <maml:linkText>Set-AzureRmVMExtension</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMExtensionImage</maml:linkText> + <maml:linkText>Get-AzureRmVMExtensionImage</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMVMCustomScriptExtension</command:name> + <command:name>Set-AzureRmVMCustomScriptExtension</command:name> <maml:description> <maml:para>Adds a custom script extension to a virtual machine. </maml:para> </maml:description> @@ -6664,11 +6664,11 @@ PS C:\&gt; Save-AzureRMVMImage -ResourceGroupName "ResourceGroup11" -VMName "Vir <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMVMCustomScriptExtension cmdlet adds a custom script Virtual Machine Extension to a virtual machine. This extension allows you to run your own scripts on the virtual machine.</maml:para> + <maml:para>The Set-AzureRmVMCustomScriptExtension cmdlet adds a custom script Virtual Machine Extension to a virtual machine. This extension allows you to run your own scripts on the virtual machine.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMVMCustomScriptExtension</maml:name> + <maml:name>Set-AzureRmVMCustomScriptExtension</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1" aliases="none"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -6714,7 +6714,7 @@ PS C:\&gt; Save-AzureRMVMImage -ResourceGroupName "ResourceGroup11" -VMName "Vir <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="4" aliases="HandlerVersion,Version"> <maml:name>TypeHandlerVersion</maml:name> <maml:description> - <maml:para>Specifies the version of the extension to use for this virtual machine. To obtain the version, run the Get-AzureRMVMExtensionImage cmdlet with a value of Microsoft.Compute for the PublisherName parameter and VMAccessAgent for the Type parameter.</maml:para> + <maml:para>Specifies the version of the extension to use for this virtual machine. To obtain the version, run the Get-AzureRmVMExtensionImage cmdlet with a value of Microsoft.Compute for the PublisherName parameter and VMAccessAgent for the Type parameter.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> @@ -6762,7 +6762,7 @@ PS C:\&gt; Save-AzureRMVMImage -ResourceGroupName "ResourceGroup11" -VMName "Vir </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMVMCustomScriptExtension</maml:name> + <maml:name>Set-AzureRmVMCustomScriptExtension</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1" aliases="none"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -6794,7 +6794,7 @@ PS C:\&gt; Save-AzureRMVMImage -ResourceGroupName "ResourceGroup11" -VMName "Vir <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="4" aliases="HandlerVersion,Version"> <maml:name>TypeHandlerVersion</maml:name> <maml:description> - <maml:para>Specifies the version of the extension to use for this virtual machine. To obtain the version, run the Get-AzureRMVMExtensionImage cmdlet with a value of Microsoft.Compute for the PublisherName parameter and VMAccessAgent for the Type parameter.</maml:para> + <maml:para>Specifies the version of the extension to use for this virtual machine. To obtain the version, run the Get-AzureRmVMExtensionImage cmdlet with a value of Microsoft.Compute for the PublisherName parameter and VMAccessAgent for the Type parameter.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> @@ -6976,7 +6976,7 @@ PS C:\&gt; Save-AzureRMVMImage -ResourceGroupName "ResourceGroup11" -VMName "Vir <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="4" aliases="HandlerVersion,Version"> <maml:name>TypeHandlerVersion</maml:name> <maml:description> - <maml:para>Specifies the version of the extension to use for this virtual machine. To obtain the version, run the Get-AzureRMVMExtensionImage cmdlet with a value of Microsoft.Compute for the PublisherName parameter and VMAccessAgent for the Type parameter.</maml:para> + <maml:para>Specifies the version of the extension to use for this virtual machine. To obtain the version, run the Get-AzureRmVMExtensionImage cmdlet with a value of Microsoft.Compute for the PublisherName parameter and VMAccessAgent for the Type parameter.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> @@ -7041,7 +7041,7 @@ PS C:\&gt; Save-AzureRMVMImage -ResourceGroupName "ResourceGroup11" -VMName "Vir <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Set-AzureRMVMCustomScriptExtension -ResourceGroupName "ResourceGroup11" -Location "Central US" -VMName "VirtualMachine07" -Name "contosotest" -TypeHandlerVersion "1.1" -StorageAccountName "contoso" -StorageAccountKey &lt;StorageKey&gt; -FileName "contososcript.exe" -ContainerName "scripts" + <dev:code>PS C:\&gt;Set-AzureRmVMCustomScriptExtension -ResourceGroupName "ResourceGroup11" -Location "Central US" -VMName "VirtualMachine07" -Name "contosotest" -TypeHandlerVersion "1.1" -StorageAccountName "contoso" -StorageAccountKey &lt;StorageKey&gt; -FileName "contososcript.exe" -ContainerName "scripts" </dev:code> <dev:remarks> <maml:para>This command adds a custom script to the virtual machine named VirtualMachine07. The script file is contososcript.exe.</maml:para> @@ -7057,18 +7057,18 @@ PS C:\&gt; Save-AzureRMVMImage -ResourceGroupName "ResourceGroup11" -VMName "Vir </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMCustomScriptExtension</maml:linkText> + <maml:linkText>Get-AzureRmVMCustomScriptExtension</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMVMCustomScriptExtension</maml:linkText> + <maml:linkText>Remove-AzureRmVMCustomScriptExtension</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMVMExtension</command:name> + <command:name>Set-AzureRmVMExtension</command:name> <maml:description> <maml:para>Updates extension properties or adds an extension to a virtual machine.</maml:para> </maml:description> @@ -7080,11 +7080,11 @@ PS C:\&gt; Save-AzureRMVMImage -ResourceGroupName "ResourceGroup11" -VMName "Vir <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMVMExtension cmdlet updates properties for existing Virtual Machine Extensions or adds an extension to a virtual machine. </maml:para> + <maml:para>The Set-AzureRmVMExtension cmdlet updates properties for existing Virtual Machine Extensions or adds an extension to a virtual machine. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMVMExtension</maml:name> + <maml:name>Set-AzureRmVMExtension</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -7157,7 +7157,7 @@ PS C:\&gt; Save-AzureRMVMImage -ResourceGroupName "ResourceGroup11" -VMName "Vir </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMVMExtension</maml:name> + <maml:name>Set-AzureRmVMExtension</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -7421,7 +7421,7 @@ PS C:\&gt; Save-AzureRMVMImage -ResourceGroupName "ResourceGroup11" -VMName "Vir </maml:introduction> <dev:code>PS C:\&gt;$Settings = @{"fileUris" = "[]"; "commandToExecute" = ""}; PS C:\&gt; $ProtectedSettings = @{"storageAccountName" = $stoname; "storageAccountKey" = $stokey}; -PS C:\&gt; Set-AzureRMVMExtension -ResourceGroupName "ResourceGroup11" -Location "West US" -VMName "VirtualMachine22" -Name "ContosoTest" -Publisher "Contoso.Compute" -Type "CustomScriptExtension" -TypeHandlerVersion "1.1" -Settings $Settings -ProtectedSettings $ProtectedSettings; +PS C:\&gt; Set-AzureRmVMExtension -ResourceGroupName "ResourceGroup11" -Location "West US" -VMName "VirtualMachine22" -Name "ContosoTest" -Publisher "Contoso.Compute" -Type "CustomScriptExtension" -TypeHandlerVersion "1.1" -Settings $Settings -ProtectedSettings $ProtectedSettings; </dev:code> <dev:remarks> <maml:para>The first two commands use standard Windows PowerShell® syntax to create hash tables, and then stores those hash tables in the $Settings and $ProtectedSettings variables. For more information, type Get-Help about_Hash_Tables. The second command includes two values previously created and stored in variables. </maml:para> @@ -7443,7 +7443,7 @@ PS C:\&gt; Set-AzureRMVMExtension -ResourceGroupName "ResourceGroup11" -Location </maml:introduction> <dev:code>PS C:\&gt;$SettingsString = '{"fileUris":[],"commandToExecute":""}'; PS C:\&gt; $ProtectedSettingsString = '{"storageAccountName":"' + $stoname + '","storageAccountKey":"' + $stokey + '"}'; -PS C:\&gt; Set-AzureRMVMExtension -ResourceGroupName "ResourceGroup11" -Location "West US" -VMName "VirtualMachine22" -Name "CustomScriptExtension" -Publisher "Contoso.Compute" -Type "CustomScriptExtension" -TypeHandlerVersion "1.1" -SettingString $SettingsString -ProtectedSettingString $ProtectedSettingsString ; +PS C:\&gt; Set-AzureRmVMExtension -ResourceGroupName "ResourceGroup11" -Location "West US" -VMName "VirtualMachine22" -Name "CustomScriptExtension" -Publisher "Contoso.Compute" -Type "CustomScriptExtension" -TypeHandlerVersion "1.1" -SettingString $SettingsString -ProtectedSettingString $ProtectedSettingsString ; </dev:code> <dev:remarks> <maml:para>The first two commands create strings that contain settings, and then stores them in the $SettingsString and $ProtectedSettingsString variables. </maml:para> @@ -7460,18 +7460,18 @@ PS C:\&gt; Set-AzureRMVMExtension -ResourceGroupName "ResourceGroup11" -Location </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMExtension</maml:linkText> + <maml:linkText>Get-AzureRmVMExtension</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMVMExtension</maml:linkText> + <maml:linkText>Remove-AzureRmVMExtension</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMVMOperatingSystem</command:name> + <command:name>Set-AzureRmVMOperatingSystem</command:name> <maml:description> <maml:para>Sets operating system properties for a virtual machine.</maml:para> </maml:description> @@ -7483,15 +7483,15 @@ PS C:\&gt; Set-AzureRMVMExtension -ResourceGroupName "ResourceGroup11" -Location <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMVMOperatingSystem cmdlet sets operating system properties for a virtual machine. You can specify logon credentials computer name, and operating system type.</maml:para> + <maml:para>The Set-AzureRmVMOperatingSystem cmdlet sets operating system properties for a virtual machine. You can specify logon credentials computer name, and operating system type.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMVMOperatingSystem</maml:name> + <maml:name>Set-AzureRmVMOperatingSystem</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="1" aliases="VMProfile"> <maml:name>VM</maml:name> <maml:description> - <maml:para>Specifies the local virtual machine object on which to set operating system properties. To obtain a virtual machine object, use the Get-AzureRMVM cmdlet. Create a virtual machine object by using the New-AzureRMVMConfig cmdlet.</maml:para> + <maml:para>Specifies the local virtual machine object on which to set operating system properties. To obtain a virtual machine object, use the Get-AzureRmVM cmdlet. Create a virtual machine object by using the New-AzureRmVMConfig cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">PSVirtualMachine</command:parameterValue> </command:parameter> @@ -7569,11 +7569,11 @@ PS C:\&gt; Set-AzureRMVMExtension -ResourceGroupName "ResourceGroup11" -Location </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMVMOperatingSystem</maml:name> + <maml:name>Set-AzureRmVMOperatingSystem</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue,ByPropertyName)" position="1" aliases="VMProfile"> <maml:name>VM</maml:name> <maml:description> - <maml:para>Specifies the local virtual machine object on which to set operating system properties. To obtain a virtual machine object, use the Get-AzureRMVM cmdlet. Create a virtual machine object by using the New-AzureRMVMConfig cmdlet.</maml:para> + <maml:para>Specifies the local virtual machine object on which to set operating system properties. To obtain a virtual machine object, use the Get-AzureRmVM cmdlet. Create a virtual machine object by using the New-AzureRmVMConfig cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">PSVirtualMachine</command:parameterValue> </command:parameter> @@ -7731,7 +7731,7 @@ PS C:\&gt; Set-AzureRMVMExtension -ResourceGroupName "ResourceGroup11" -Location <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="1" aliases="VMProfile"> <maml:name>VM</maml:name> <maml:description> - <maml:para>Specifies the local virtual machine object on which to set operating system properties. To obtain a virtual machine object, use the Get-AzureRMVM cmdlet. Create a virtual machine object by using the New-AzureRMVMConfig cmdlet.</maml:para> + <maml:para>Specifies the local virtual machine object on which to set operating system properties. To obtain a virtual machine object, use the Get-AzureRmVM cmdlet. Create a virtual machine object by using the New-AzureRmVMConfig cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">PSVirtualMachine</command:parameterValue> <dev:type> @@ -7834,20 +7834,20 @@ PS C:\&gt; Set-AzureRMVMExtension -ResourceGroupName "ResourceGroup11" -Location </maml:introduction> <dev:code>PS C:\&gt;$SecurePassword = ConvertTo-SecureString "password" -AsPlainText -Force PS C:\&gt; $Credential = New-Object System.Management.Automation.PSCredential ("FullerP", $SecurePassword); -PS C:\&gt; $AvailabilitySet = Get-AzureRMAvailabilitySet -ResourceGroupName "ResourceGroup11" -Name "AvailabilitySet03" -PS C:\&gt; $VirtualMachine = New-AzureRMVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1" -AvailabilitySetID $AvailabilitySet.Id +PS C:\&gt; $AvailabilitySet = Get-AzureRmAvailabilitySet -ResourceGroupName "ResourceGroup11" -Name "AvailabilitySet03" +PS C:\&gt; $VirtualMachine = New-AzureRmVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1" -AvailabilitySetID $AvailabilitySet.Id PS C:\&gt; $ComputerName = "ContosoVM122" PS C:\&gt; $WinRMCertUrl = "http://keyVaultName.vault.azure.net/secrets/secretName/secretVersion" PS C:\&gt; $TimeZone = "Pacific Standard Time" PS C:\&gt; $CustomData = "echo 'Hello World'" -PS C:\&gt; $VirtualMachine = Set-AzureRMVMOperatingSystem -VM $$VirtualMachine -Windows -ComputerName $ComputerName -Credential $Credential -CustomData $CustomData -WinRMHttp -WinRMHttps -WinRMCertificateUrl $WinRMCertUrl -ProvisionVMAgent -EnableAutoUpdate -TimeZone $TimeZone +PS C:\&gt; $VirtualMachine = Set-AzureRmVMOperatingSystem -VM $$VirtualMachine -Windows -ComputerName $ComputerName -Credential $Credential -CustomData $CustomData -WinRMHttp -WinRMHttps -WinRMCertificateUrl $WinRMCertUrl -ProvisionVMAgent -EnableAutoUpdate -TimeZone $TimeZone </dev:code> <dev:remarks> <maml:para>The first command converts a password to a secure string, and then stores it in the $SecurePassword variable. For more information, type Get-Help ConvertTo-SecureString.</maml:para> <maml:para>The second command creates a credential for the user FullerP and the password stored in $SecurePassword, and then stores the credential in the $Credential variable. For more information, type Get-Help New-Object.</maml:para> <maml:para>The third command gets the availability set named AvailablitySet03 in the resource group named ResourceGroup11, and then stores that object in the $AvailabilitySet variable. </maml:para> <maml:para>The fourth command creates a virtual machine object, and then stores it in the $VirtualMachine variable. The command assigns a name and size to the virtual machine. The virtual machine belongs to the availability set stored in $AvailabilitySet. </maml:para> - <maml:para>The next four commands assign values to variables to use in the following command. Because you could specify these strings directly in the Set-AzureRMVMOperatingSystem command, this approach is used only for readability. However, you might use an approach such as this in scripts. </maml:para> + <maml:para>The next four commands assign values to variables to use in the following command. Because you could specify these strings directly in the Set-AzureRmVMOperatingSystem command, this approach is used only for readability. However, you might use an approach such as this in scripts. </maml:para> <maml:para>The final command sets operating system properties for the virtual machine stored in $VirtualMachine. The command uses the credentials stored in $Credential. The command uses variables assigned in previous commands for some parameters. </maml:para> <maml:para /> <maml:para /> @@ -7861,18 +7861,18 @@ PS C:\&gt; $VirtualMachine = Set-AzureRMVMOperatingSystem -VM $$VirtualMachine - </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMVM</maml:linkText> + <maml:linkText>Get-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMVMConfig</maml:linkText> + <maml:linkText>New-AzureRmVMConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMVMOSDisk</command:name> + <command:name>Set-AzureRmVMOSDisk</command:name> <maml:description> <maml:para>Sets the operating system disk properties on a virtual machine.</maml:para> </maml:description> @@ -7884,15 +7884,15 @@ PS C:\&gt; $VirtualMachine = Set-AzureRMVMOperatingSystem -VM $$VirtualMachine - <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMVMOSDisk cmdlet set the operating system disk properties on a virtual machine.</maml:para> + <maml:para>The Set-AzureRmVMOSDisk cmdlet set the operating system disk properties on a virtual machine.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMVMOSDisk</maml:name> + <maml:name>Set-AzureRmVMOSDisk</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue,ByPropertyName)" position="1" aliases="VMProfile"> <maml:name>VM</maml:name> <maml:description> - <maml:para>Specifies the local virtual machine object on which to set operating system disk properties. To obtain a virtual machine object, use the Get-AzureRMVM cmdlet. </maml:para> + <maml:para>Specifies the local virtual machine object on which to set operating system disk properties. To obtain a virtual machine object, use the Get-AzureRmVM cmdlet. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">PSVirtualMachine</command:parameterValue> </command:parameter> @@ -7968,11 +7968,11 @@ The default value is ReadWrite. Changing the caching value causes the virtual ma </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMVMOSDisk</maml:name> + <maml:name>Set-AzureRmVMOSDisk</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue,ByPropertyName)" position="1" aliases="VMProfile"> <maml:name>VM</maml:name> <maml:description> - <maml:para>Specifies the local virtual machine object on which to set operating system disk properties. To obtain a virtual machine object, use the Get-AzureRMVM cmdlet. </maml:para> + <maml:para>Specifies the local virtual machine object on which to set operating system disk properties. To obtain a virtual machine object, use the Get-AzureRmVM cmdlet. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">PSVirtualMachine</command:parameterValue> </command:parameter> @@ -8151,7 +8151,7 @@ The default value is ReadWrite. Changing the caching value causes the virtual ma <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue,ByPropertyName)" position="1" aliases="VMProfile"> <maml:name>VM</maml:name> <maml:description> - <maml:para>Specifies the local virtual machine object on which to set operating system disk properties. To obtain a virtual machine object, use the Get-AzureRMVM cmdlet. </maml:para> + <maml:para>Specifies the local virtual machine object on which to set operating system disk properties. To obtain a virtual machine object, use the Get-AzureRmVM cmdlet. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">PSVirtualMachine</command:parameterValue> <dev:type> @@ -8216,9 +8216,9 @@ The default value is ReadWrite. Changing the caching value causes the virtual ma <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$AvailabilitySet = Get-AzureRMAvailabilitySet -ResourceGroupName "ResourceGroup11" -Name "AvailabilitySet03" -PS C:\&gt; $VirtualMachine = New-AzureRMVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1" -AvailabilitySetID $AvailabilitySet.Id -PS C:\&gt; Set-AzureRMVMOSDisk -VM $VirtualMachine -Name "OsDisk02" -VhdUri "os.vhd" -Caching ReadWrite + <dev:code>PS C:\&gt;$AvailabilitySet = Get-AzureRmAvailabilitySet -ResourceGroupName "ResourceGroup11" -Name "AvailabilitySet03" +PS C:\&gt; $VirtualMachine = New-AzureRmVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1" -AvailabilitySetID $AvailabilitySet.Id +PS C:\&gt; Set-AzureRmVMOSDisk -VM $VirtualMachine -Name "OsDisk02" -VhdUri "os.vhd" -Caching ReadWrite </dev:code> <dev:remarks> <maml:para>The first command gets the availability set named AvailablitySet03 in the resource group named ResourceGroup11, and then stores that object in the $AvailabilitySet variable. </maml:para> @@ -8236,22 +8236,22 @@ PS C:\&gt; Set-AzureRMVMOSDisk -VM $VirtualMachine -Name "OsDisk02" -VhdUri "os. </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMVM</maml:linkText> + <maml:linkText>Get-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMAvailabilitySet</maml:linkText> + <maml:linkText>Get-AzureRmAvailabilitySet</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMVMConfig</maml:linkText> + <maml:linkText>New-AzureRmVMConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMVMSourceImage</command:name> + <command:name>Set-AzureRmVMSourceImage</command:name> <maml:description> <maml:para>Specifies the platform image for a virtual machine.</maml:para> </maml:description> @@ -8263,11 +8263,11 @@ PS C:\&gt; Set-AzureRMVMOSDisk -VM $VirtualMachine -Name "OsDisk02" -VhdUri "os. <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMVMSourceImage cmdlet specifies the platform image to use for a virtual machine.</maml:para> + <maml:para>The Set-AzureRmVMSourceImage cmdlet specifies the platform image to use for a virtual machine.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMVMSourceImage</maml:name> + <maml:name>Set-AzureRmVMSourceImage</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue,ByPropertyName)" position="1" aliases="VMProfile"> <maml:name>VM</maml:name> <maml:description> @@ -8291,7 +8291,7 @@ PS C:\&gt; Set-AzureRMVMOSDisk -VM $VirtualMachine -Name "OsDisk02" -VhdUri "os. </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMVMSourceImage</maml:name> + <maml:name>Set-AzureRmVMSourceImage</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue,ByPropertyName)" position="1" aliases="VMProfile"> <maml:name>VM</maml:name> <maml:description> @@ -8302,21 +8302,21 @@ PS C:\&gt; Set-AzureRMVMOSDisk -VM $VirtualMachine -Name "OsDisk02" -VhdUri "os. <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="2" aliases="none"> <maml:name>PublisherName</maml:name> <maml:description> - <maml:para>Specifies the name of a publisher of a VMImage. To obtain a publisher, use the Get-AzureRMVMImagePublisher cmdlet.</maml:para> + <maml:para>Specifies the name of a publisher of a VMImage. To obtain a publisher, use the Get-AzureRmVMImagePublisher cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="3" aliases="none"> <maml:name>Offer</maml:name> <maml:description> - <maml:para>Specifies the type of VMImage offer. To obtain an image offer, use the Get-AzureRMVMImageOffer cmdlet.</maml:para> + <maml:para>Specifies the type of VMImage offer. To obtain an image offer, use the Get-AzureRmVMImageOffer cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="4" aliases="none"> <maml:name>Skus</maml:name> <maml:description> - <maml:para>Specfies a VMImage SKU. To obtain SKUs, use the Get-AzureRMVMImageSku cmdlet.</maml:para> + <maml:para>Specfies a VMImage SKU. To obtain SKUs, use the Get-AzureRmVMImageSku cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> </command:parameter> @@ -8352,7 +8352,7 @@ PS C:\&gt; Set-AzureRMVMOSDisk -VM $VirtualMachine -Name "OsDisk02" -VhdUri "os. <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="3" aliases="none"> <maml:name>Offer</maml:name> <maml:description> - <maml:para>Specifies the type of VMImage offer. To obtain an image offer, use the Get-AzureRMVMImageOffer cmdlet.</maml:para> + <maml:para>Specifies the type of VMImage offer. To obtain an image offer, use the Get-AzureRmVMImageOffer cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> <dev:type> @@ -8376,7 +8376,7 @@ PS C:\&gt; Set-AzureRMVMOSDisk -VM $VirtualMachine -Name "OsDisk02" -VhdUri "os. <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="2" aliases="none"> <maml:name>PublisherName</maml:name> <maml:description> - <maml:para>Specifies the name of a publisher of a VMImage. To obtain a publisher, use the Get-AzureRMVMImagePublisher cmdlet.</maml:para> + <maml:para>Specifies the name of a publisher of a VMImage. To obtain a publisher, use the Get-AzureRmVMImagePublisher cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> <dev:type> @@ -8388,7 +8388,7 @@ PS C:\&gt; Set-AzureRMVMOSDisk -VM $VirtualMachine -Name "OsDisk02" -VhdUri "os. <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="4" aliases="none"> <maml:name>Skus</maml:name> <maml:description> - <maml:para>Specfies a VMImage SKU. To obtain SKUs, use the Get-AzureRMVMImageSku cmdlet.</maml:para> + <maml:para>Specfies a VMImage SKU. To obtain SKUs, use the Get-AzureRmVMImageSku cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> <dev:type> @@ -8465,15 +8465,15 @@ PS C:\&gt; Set-AzureRMVMOSDisk -VM $VirtualMachine -Name "OsDisk02" -VhdUri "os. <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;AvailabilitySet = Get-AzureRMAvailabilitySet -ResourceGroupName "ResourceGroup11" -Name "AvailabilitySet03" -PS C:\&gt; $VirtualMachine = New-AzureRMVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1" -AvailabilitySetID $AvailabilitySet.Id -PS C:\&gt; Set-AzureRMVMSourceImage -VM $VirtualMachine -PublisherName "MicrosoftWindowsServer" -Offer "WindowsServer" -Skus "2012-R2-Datacenter" -Version "latest" + <dev:code>PS C:\&gt;AvailabilitySet = Get-AzureRmAvailabilitySet -ResourceGroupName "ResourceGroup11" -Name "AvailabilitySet03" +PS C:\&gt; $VirtualMachine = New-AzureRmVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1" -AvailabilitySetID $AvailabilitySet.Id +PS C:\&gt; Set-AzureRmVMSourceImage -VM $VirtualMachine -PublisherName "MicrosoftWindowsServer" -Offer "WindowsServer" -Skus "2012-R2-Datacenter" -Version "latest" </dev:code> <dev:remarks> <maml:para>The first command gets the availability set named AvailablitySet03 in the resource group named ResourceGroup11, and then stores that object in the $AvailabilitySet variable. </maml:para> <maml:para>The second command creates a virtual machine object, and then stores it in the $VirtualMachine variable. The command assigns a name and size to the virtual machine. The virtual machine belongs to the availability set stored in $AvailabilitySet. </maml:para> - <maml:para>The final command sets values for publisher name, offer, SKU, and version. The Get-AzureRMVMImagePublisher, Get-AzureRMVMImageOffer, Get-AzureRMVMImageSku, and Get-AzureRMVMImage cmdlets can discover these settings.</maml:para> + <maml:para>The final command sets values for publisher name, offer, SKU, and version. The Get-AzureRmVMImagePublisher, Get-AzureRmVMImageOffer, Get-AzureRmVMImageSku, and Get-AzureRmVMImage cmdlets can discover these settings.</maml:para> <maml:para /> <maml:para /> </dev:remarks> @@ -8489,12 +8489,12 @@ PS C:\&gt; Set-AzureRMVMSourceImage -VM $VirtualMachine -PublisherName "Microsof <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$Publisher = (Get-AzureRMVMImagePublisher -Location "Central US") | select -ExpandProperty PublisherName | where { $_ -like '*Microsoft*Windows*Server' } -PS C:\&gt; $Offer = (Get-AzureRMVMImageOffer -Location "Central US" -PublisherName $Publisher[0]) | select -ExpandProperty Offer | where { $_ -like '*Windows*' } -PS C:\&gt; $Sku = (Get-AzureRMVMImageSku -Location "Central US" -PublisherName $Publisher[0] -Offer $Offer[0]) | select -ExpandProperty Skus -PS C:\&gt; $Versions = (Get-AzureRMVMImage -Location "Central US" -Offer -Offer $Offer[0] -PublisherName $Publisher[0] -Skus $Sku[0]) | select -ExpandProperty Version -PS C:\&gt; $VMImage = Get-AzureRMVMImage -Location "Central US" -Offer -Offer $Offer[0] -PublisherName $Publisher[0] -Skus $Sku[0] -Version $Versions[0] -PS C:\&gt; $VirtualMachine07 = Set-AzureRMVMSourceImage -VM $VirtualMachine07 -ImageReference $VMImage + <dev:code>PS C:\&gt;$Publisher = (Get-AzureRmVMImagePublisher -Location "Central US") | select -ExpandProperty PublisherName | where { $_ -like '*Microsoft*Windows*Server' } +PS C:\&gt; $Offer = (Get-AzureRmVMImageOffer -Location "Central US" -PublisherName $Publisher[0]) | select -ExpandProperty Offer | where { $_ -like '*Windows*' } +PS C:\&gt; $Sku = (Get-AzureRmVMImageSku -Location "Central US" -PublisherName $Publisher[0] -Offer $Offer[0]) | select -ExpandProperty Skus +PS C:\&gt; $Versions = (Get-AzureRmVMImage -Location "Central US" -Offer -Offer $Offer[0] -PublisherName $Publisher[0] -Skus $Sku[0]) | select -ExpandProperty Version +PS C:\&gt; $VMImage = Get-AzureRmVMImage -Location "Central US" -Offer -Offer $Offer[0] -PublisherName $Publisher[0] -Skus $Sku[0] -Version $Versions[0] +PS C:\&gt; $VirtualMachine07 = Set-AzureRmVMSourceImage -VM $VirtualMachine07 -ImageReference $VMImage </dev:code> <dev:remarks> <maml:para>This example sets source image settings by using the image reference method.</maml:para> @@ -8510,34 +8510,34 @@ PS C:\&gt; $VirtualMachine07 = Set-AzureRMVMSourceImage -VM $VirtualMachine07 -I </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMAvailabilitySet</maml:linkText> + <maml:linkText>Get-AzureRmAvailabilitySet</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMVMConfig</maml:linkText> + <maml:linkText>New-AzureRmVMConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMImagePublisher</maml:linkText> + <maml:linkText>Get-AzureRmVMImagePublisher</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMImageOffer</maml:linkText> + <maml:linkText>Get-AzureRmVMImageOffer</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMImageSku</maml:linkText> + <maml:linkText>Get-AzureRmVMImageSku</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMVMImage</maml:linkText> + <maml:linkText>Get-AzureRmVMImage</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMVM</command:name> + <command:name>Set-AzureRmVM</command:name> <maml:description> <maml:para>Marks a virtual machine as generalized.</maml:para> </maml:description> @@ -8549,11 +8549,11 @@ PS C:\&gt; $VirtualMachine07 = Set-AzureRMVMSourceImage -VM $VirtualMachine07 -I <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMVM cmdlet marks a virtual machine as generalized. Before you run this cmdlet, log on to the virtual machine and use Sysprep to prepare the hard disk. </maml:para> + <maml:para>The Set-AzureRmVM cmdlet marks a virtual machine as generalized. Before you run this cmdlet, log on to the virtual machine and use Sysprep to prepare the hard disk. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMVM</maml:name> + <maml:name>Set-AzureRmVM</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1" aliases="none"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -8676,7 +8676,7 @@ PS C:\&gt; $VirtualMachine07 = Set-AzureRMVMSourceImage -VM $VirtualMachine07 -I <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Set-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" -Generalized + <dev:code>PS C:\&gt;Set-AzureRmVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" -Generalized </dev:code> <dev:remarks> <maml:para>This command marks the virtual machine named VirtualMachine07 as generalized.</maml:para> @@ -8692,14 +8692,14 @@ PS C:\&gt; $VirtualMachine07 = Set-AzureRMVMSourceImage -VM $VirtualMachine07 -I </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMVM</maml:linkText> + <maml:linkText>Get-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Start-AzureRMVM</command:name> + <command:name>Start-AzureRmVM</command:name> <maml:description> <maml:para>Starts an Azure virtual machine.</maml:para> </maml:description> @@ -8711,11 +8711,11 @@ PS C:\&gt; $VirtualMachine07 = Set-AzureRMVMSourceImage -VM $VirtualMachine07 -I <dev:version /> </command:details> <maml:description> - <maml:para>The Start-AzureRMVM cmdlet starts an Azure virtual machine.</maml:para> + <maml:para>The Start-AzureRmVM cmdlet starts an Azure virtual machine.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Start-AzureRMVM</maml:name> + <maml:name>Start-AzureRmVM</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -8820,7 +8820,7 @@ PS C:\&gt; $VirtualMachine07 = Set-AzureRMVMSourceImage -VM $VirtualMachine07 -I <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Start-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" + <dev:code>PS C:\&gt;Start-AzureRmVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" </dev:code> <dev:remarks> <maml:para>This command starts the virtual machine named VirtualMachine07 in ResourceGroup11.</maml:para> @@ -8836,34 +8836,34 @@ PS C:\&gt; $VirtualMachine07 = Set-AzureRMVMSourceImage -VM $VirtualMachine07 -I </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMVM</maml:linkText> + <maml:linkText>Get-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMVM</maml:linkText> + <maml:linkText>New-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMVM</maml:linkText> + <maml:linkText>Remove-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Restart-AzureRMVM</maml:linkText> + <maml:linkText>Restart-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Stop-AzureRMVM</maml:linkText> + <maml:linkText>Stop-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Update-AzureRMVM</maml:linkText> + <maml:linkText>Update-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Stop-AzureRMVM</command:name> + <command:name>Stop-AzureRmVM</command:name> <maml:description> <maml:para>Stops an Azure virtual machine.</maml:para> </maml:description> @@ -8875,11 +8875,11 @@ PS C:\&gt; $VirtualMachine07 = Set-AzureRMVMSourceImage -VM $VirtualMachine07 -I <dev:version /> </command:details> <maml:description> - <maml:para>The Stop-AzureRMVM cmdlet stops an Azure virtual machine.</maml:para> + <maml:para>The Stop-AzureRmVM cmdlet stops an Azure virtual machine.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Stop-AzureRMVM</maml:name> + <maml:name>Stop-AzureRmVM</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -9020,7 +9020,7 @@ PS C:\&gt; $VirtualMachine07 = Set-AzureRMVMSourceImage -VM $VirtualMachine07 -I <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Stop-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" + <dev:code>PS C:\&gt;Stop-AzureRmVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" </dev:code> <dev:remarks> <maml:para>This command stops the virtual machine named VirtualMachine07 in ResourceGroup11.</maml:para> @@ -9036,34 +9036,34 @@ PS C:\&gt; $VirtualMachine07 = Set-AzureRMVMSourceImage -VM $VirtualMachine07 -I </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMVM</maml:linkText> + <maml:linkText>Get-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMVM</maml:linkText> + <maml:linkText>New-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMVM</maml:linkText> + <maml:linkText>Remove-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Restart-AzureRMVM</maml:linkText> + <maml:linkText>Restart-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Start-AzureRMVM</maml:linkText> + <maml:linkText>Start-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Update-AzureRMVM</maml:linkText> + <maml:linkText>Update-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Update-AzureRMVM</command:name> + <command:name>Update-AzureRmVM</command:name> <maml:description> <maml:para>Updates the state of an Azure virtual machine. </maml:para> </maml:description> @@ -9075,11 +9075,11 @@ PS C:\&gt; $VirtualMachine07 = Set-AzureRMVMSourceImage -VM $VirtualMachine07 -I <dev:version /> </command:details> <maml:description> - <maml:para>The Update-AzureRMVM cmdlet updates the state of an Azure virtual machine to the state of a virtual machine object.</maml:para> + <maml:para>The Update-AzureRmVM cmdlet updates the state of an Azure virtual machine to the state of a virtual machine object.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Update-AzureRMVM</maml:name> + <maml:name>Update-AzureRmVM</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="ResourceName,VMName"> <maml:name>Name</maml:name> <maml:description> @@ -9112,7 +9112,7 @@ PS C:\&gt; $VirtualMachine07 = Set-AzureRMVMSourceImage -VM $VirtualMachine07 -I <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue,ByPropertyName)" position="named" aliases="VMProfile"> <maml:name>VM</maml:name> <maml:description> - <maml:para>Specifies a local virtual machine object. To obtain a virtual machine object, use the Get-AzureRMVM cmdlet. This virtual machine object contains the updated state for the virtual machine. </maml:para> + <maml:para>Specifies a local virtual machine object. To obtain a virtual machine object, use the Get-AzureRmVM cmdlet. This virtual machine object contains the updated state for the virtual machine. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">PSVirtualMachine</command:parameterValue> </command:parameter> @@ -9171,7 +9171,7 @@ PS C:\&gt; $VirtualMachine07 = Set-AzureRMVMSourceImage -VM $VirtualMachine07 -I <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue,ByPropertyName)" position="named" aliases="VMProfile"> <maml:name>VM</maml:name> <maml:description> - <maml:para>Specifies a local virtual machine object. To obtain a virtual machine object, use the Get-AzureRMVM cmdlet. This virtual machine object contains the updated state for the virtual machine. </maml:para> + <maml:para>Specifies a local virtual machine object. To obtain a virtual machine object, use the Get-AzureRmVM cmdlet. This virtual machine object contains the updated state for the virtual machine. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">PSVirtualMachine</command:parameterValue> <dev:type> @@ -9224,10 +9224,10 @@ PS C:\&gt; $VirtualMachine07 = Set-AzureRMVMSourceImage -VM $VirtualMachine07 -I <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Update-AzureRMVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" -VM $VirtualMachine + <dev:code>PS C:\&gt;Update-AzureRmVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" -VM $VirtualMachine </dev:code> <dev:remarks> - <maml:para>This command updates the virtual machine named VirtualMachine07 in ResourceGroup11. The command updates it by using another virtual machine object, stored in the $VirtualMachine variable. To obtain a virtual machine object, use the Get-AzureRMVM cmdlet.</maml:para> + <maml:para>This command updates the virtual machine named VirtualMachine07 in ResourceGroup11. The command updates it by using another virtual machine object, stored in the $VirtualMachine variable. To obtain a virtual machine object, use the Get-AzureRmVM cmdlet.</maml:para> <maml:para /> <maml:para /> </dev:remarks> @@ -9240,31 +9240,31 @@ PS C:\&gt; $VirtualMachine07 = Set-AzureRMVMSourceImage -VM $VirtualMachine07 -I </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMVM</maml:linkText> + <maml:linkText>Get-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMVM</maml:linkText> + <maml:linkText>New-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMVM</maml:linkText> + <maml:linkText>Remove-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Restart-AzureRMVM</maml:linkText> + <maml:linkText>Restart-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Start-AzureRMVM</maml:linkText> + <maml:linkText>Start-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Stop-AzureRMVM</maml:linkText> + <maml:linkText>Stop-AzureRmVM</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMVMConfig</maml:linkText> + <maml:linkText>New-AzureRmVMConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> @@ -9274,7 +9274,7 @@ PS C:\&gt; $VirtualMachine07 = Set-AzureRMVMSourceImage -VM $VirtualMachine07 -I <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Remove-AzureRMVMDscExtension</command:name> + <command:name>Remove-AzureRmVMDscExtension</command:name> <maml:description> <maml:para>Removes DSC extension handler from a VM in a resource group</maml:para> </maml:description> @@ -9290,7 +9290,7 @@ PS C:\&gt; $VirtualMachine07 = Set-AzureRMVMSourceImage -VM $VirtualMachine07 -I </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMVMDscExtension</maml:name> + <maml:name>Remove-AzureRmVMDscExtension</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -9308,7 +9308,7 @@ PS C:\&gt; $VirtualMachine07 = Set-AzureRMVMSourceImage -VM $VirtualMachine07 -I <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> <maml:name>Name</maml:name> <maml:description> - <maml:para>Name of the ARM resource that represents the extension. The Set-AzureRMVMDscExtension cmdlet sets this name to 'Microsoft.Powershell.DSC', which is the same value used by Remove-AzureRMVMDscExtension. Specify this parameter only if you changed the default name in the Set cmdlet or used a different resource name in an ARM template</maml:para> + <maml:para>Name of the ARM resource that represents the extension. The Set-AzureRmVMDscExtension cmdlet sets this name to 'Microsoft.Powershell.DSC', which is the same value used by Remove-AzureRmVMDscExtension. Specify this parameter only if you changed the default name in the Set cmdlet or used a different resource name in an ARM template</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -9342,7 +9342,7 @@ PS C:\&gt; $VirtualMachine07 = Set-AzureRMVMSourceImage -VM $VirtualMachine07 -I <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> <maml:name>Name</maml:name> <maml:description> - <maml:para>Name of the ARM resource that represents the extension. The Set-AzureRMVMDscExtension cmdlet sets this name to 'Microsoft.Powershell.DSC', which is the same value used by Remove-AzureRMVMDscExtension. Specify this parameter only if you changed the default name in the Set cmdlet or used a different resource name in an ARM template</maml:para> + <maml:para>Name of the ARM resource that represents the extension. The Set-AzureRmVMDscExtension cmdlet sets this name to 'Microsoft.Powershell.DSC', which is the same value used by Remove-AzureRmVMDscExtension. Specify this parameter only if you changed the default name in the Set cmdlet or used a different resource name in an ARM template</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -9392,11 +9392,11 @@ PS C:\&gt; $VirtualMachine07 = Set-AzureRMVMSourceImage -VM $VirtualMachine07 -I <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; Remove-AzureRMVMDscExtension –ResouceGroupName Name -VMName VM -Name DSC</dev:code> + <dev:code>PS C:\&gt; Remove-AzureRmVMDscExtension –ResouceGroupName Name -VMName VM -Name DSC</dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> - <maml:para>Removes the extension (Name - 'DSC') on virtual machine 'VM'. Specify Name parameter only when you changed its default value 'Microsoft.Powershell.DSC' to something else ('DSC' in this case) either through Set-AzureRMVMDscExtension cmdlet or an ARM template.</maml:para> + <maml:para>Removes the extension (Name - 'DSC') on virtual machine 'VM'. Specify Name parameter only when you changed its default value 'Microsoft.Powershell.DSC' to something else ('DSC' in this case) either through Set-AzureRmVMDscExtension cmdlet or an ARM template.</maml:para> <maml:para></maml:para> <maml:para></maml:para> <maml:para></maml:para> @@ -9417,7 +9417,7 @@ PS C:\&gt; $VirtualMachine07 = Set-AzureRMVMSourceImage -VM $VirtualMachine07 -I <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> - Get-AzureRMVMDscExtension + Get-AzureRmVMDscExtension </command:name> <maml:description> <maml:para>Gets the settings of the DSC extension on a particular VM</maml:para> @@ -9435,7 +9435,7 @@ PS C:\&gt; $VirtualMachine07 = Set-AzureRMVMSourceImage -VM $VirtualMachine07 -I <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMVMDscExtension</maml:name> + <maml:name>Get-AzureRmVMDscExtension</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -9453,7 +9453,7 @@ PS C:\&gt; $VirtualMachine07 = Set-AzureRMVMSourceImage -VM $VirtualMachine07 -I <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> <maml:name>Name</maml:name> <maml:description> - <maml:para>Name of the ARM resource that represents the extension. The Set-AzureRMVMDscExtension cmdlet sets this name to 'Microsoft.Powershell.DSC', which is the same value used by Get-AzureRMVMDscExtension. Specify this parameter only if you changed the default name in the Set cmdlet or used a different resource name in an ARM template.</maml:para> + <maml:para>Name of the ARM resource that represents the extension. The Set-AzureRmVMDscExtension cmdlet sets this name to 'Microsoft.Powershell.DSC', which is the same value used by Get-AzureRmVMDscExtension. Specify this parameter only if you changed the default name in the Set cmdlet or used a different resource name in an ARM template.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -9496,7 +9496,7 @@ PS C:\&gt; $VirtualMachine07 = Set-AzureRMVMSourceImage -VM $VirtualMachine07 -I <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> <maml:name>Name</maml:name> <maml:description> - <maml:para>Name of the ARM resource that represents the extension. The Set-AzureRMVMDscExtension cmdlet sets this name to 'Microsoft.Powershell.DSC', which is the same value used by Get-AzureRMVMDscExtension. Specify this parameter only if you changed the default name in the Set cmdlet or used a different resource name in an ARM template.</maml:para> + <maml:para>Name of the ARM resource that represents the extension. The Set-AzureRmVMDscExtension cmdlet sets this name to 'Microsoft.Powershell.DSC', which is the same value used by Get-AzureRmVMDscExtension. Specify this parameter only if you changed the default name in the Set cmdlet or used a different resource name in an ARM template.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -9574,11 +9574,11 @@ PS C:\&gt; $VirtualMachine07 = Set-AzureRMVMSourceImage -VM $VirtualMachine07 -I <maml:para>C:\PS&gt;</maml:para> </maml:introduction> <dev:code> -Get-AzureRMVMDscExtension -ResourceGroupName Name -VMName VM -Name 'DSC' </dev:code> +Get-AzureRmVMDscExtension -ResourceGroupName Name -VMName VM -Name 'DSC' </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> - <maml:para>Retrieves the settings of extension (Name - 'DSC') on virtual machine 'VM'. Specify Name parameter only when you changed its default value 'Microsoft.Powershell.DSC' to something else ('DSC' in this case) either through Set-AzureRMVMDscExtension cmdlet or an ARM template.</maml:para> + <maml:para>Retrieves the settings of extension (Name - 'DSC') on virtual machine 'VM'. Specify Name parameter only when you changed its default value 'Microsoft.Powershell.DSC' to something else ('DSC' in this case) either through Set-AzureRmVMDscExtension cmdlet or an ARM template.</maml:para> <maml:para></maml:para> <maml:para></maml:para> <maml:para></maml:para> @@ -9602,7 +9602,7 @@ Get-AzureRMVMDscExtension -ResourceGroupName Name -VMName VM -Name 'DSC' </dev:c <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name> - Set-AzureRMVMDSCExtension + Set-AzureRmVMDSCExtension </command:name> <maml:description> <maml:para>Configure the Windows PowerShell Desired State Configuration extension on a VM.</maml:para> @@ -9620,11 +9620,11 @@ Get-AzureRMVMDscExtension -ResourceGroupName Name -VMName VM -Name 'DSC' </dev:c <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMVMDSCExtension</maml:name> + <maml:name>Set-AzureRmVMDSCExtension</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="5"> <maml:name>ArchiveBlobName</maml:name> <maml:description> - <maml:para>The name of the configuration file that was previously uploaded by Publish-AzureRMVMDSCConfiguration</maml:para> + <maml:para>The name of the configuration file that was previously uploaded by Publish-AzureRmVMDSCConfiguration</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> @@ -9652,7 +9652,7 @@ Get-AzureRMVMDscExtension -ResourceGroupName Name -VMName VM -Name 'DSC' </dev:c <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> <maml:name>Version</maml:name> <maml:description> - <maml:para>The version of the DSC extension that Set-AzureRMVMDSCExtension will apply the settings to. Allowed format N.N</maml:para> + <maml:para>The version of the DSC extension that Set-AzureRmVMDSCExtension will apply the settings to. Allowed format N.N</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> @@ -9694,7 +9694,7 @@ Get-AzureRMVMDscExtension -ResourceGroupName Name -VMName VM -Name 'DSC' </dev:c <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> - <maml:para>By default Set-AzureRMVMDscExtension will not overwrite any existing blobs. Use -Force to overwrite them</maml:para> + <maml:para>By default Set-AzureRmVMDscExtension will not overwrite any existing blobs. Use -Force to overwrite them</maml:para> </maml:description> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> @@ -9743,7 +9743,7 @@ Get-AzureRMVMDscExtension -ResourceGroupName Name -VMName VM -Name 'DSC' </dev:c <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="5"> <maml:name>ArchiveBlobName</maml:name> <maml:description> - <maml:para>The name of the configuration file that was previously uploaded by Publish-AzureRMVMDSCConfiguration</maml:para> + <maml:para>The name of the configuration file that was previously uploaded by Publish-AzureRmVMDSCConfiguration</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> @@ -9803,7 +9803,7 @@ Get-AzureRMVMDscExtension -ResourceGroupName Name -VMName VM -Name 'DSC' </dev:c <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> - <maml:para>By default Set-AzureRMVMDscExtension will not overwrite any existing blobs. Use -Force to overwrite them</maml:para> + <maml:para>By default Set-AzureRmVMDscExtension will not overwrite any existing blobs. Use -Force to overwrite them</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> @@ -9887,7 +9887,7 @@ Get-AzureRMVMDscExtension -ResourceGroupName Name -VMName VM -Name 'DSC' </dev:c <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> <maml:name>Version</maml:name> <maml:description> - <maml:para>The version of the DSC extension that Set-AzureRMVMDSCExtension will apply the settings to. Allowed format N.N</maml:para> + <maml:para>The version of the DSC extension that Set-AzureRmVMDSCExtension will apply the settings to. Allowed format N.N</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> @@ -10000,13 +10000,13 @@ Get-AzureRMVMDscExtension -ResourceGroupName Name -VMName VM -Name 'DSC' </dev:c <maml:para>C:\PS&gt;</maml:para> </maml:introduction> <dev:code> - Set-AzureRMVMDscExtension -ResourceGroupName Name -VMName VM -ArchiveBlobName Sample.ps1.zip -ArchiveStorageAccountName Stg -ConfigurationName ConfigName -Version 1.10 -Location 'West US' + Set-AzureRmVMDscExtension -ResourceGroupName Name -VMName VM -ArchiveBlobName Sample.ps1.zip -ArchiveStorageAccountName Stg -ConfigurationName ConfigName -Version 1.10 -Location 'West US' </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> - Sets the extension on the 'VM' to download Sample.ps1.zip (from the 'Stg' storage account and the default container 'windows-powershell-dsc') that was previously uploaded using Publish-AzureRMVMDscConfiguration cmdlet and invokes configuration 'ConfigName'.</maml:para> + Sets the extension on the 'VM' to download Sample.ps1.zip (from the 'Stg' storage account and the default container 'windows-powershell-dsc') that was previously uploaded using Publish-AzureRmVMDscConfiguration cmdlet and invokes configuration 'ConfigName'.</maml:para> <maml:para></maml:para> <maml:para></maml:para> <maml:para></maml:para> @@ -10027,12 +10027,12 @@ Get-AzureRMVMDscExtension -ResourceGroupName Name -VMName VM -Name 'DSC' </dev:c <maml:para>C:\PS&gt;</maml:para> </maml:introduction> <dev:code> - Set-AzureRMVMDscExtension -ResourceGroupName Name -VMName vm -ArchiveBlobName Sample.ps1.zip -ArchiveStorageAccountName Stg -ConfigurationName ConfigName -ConfigurationArgument @{arg=&quot;val&quot;} -ArchiveContainerName WindowsPowerShellDSC -ConfigurationData SampleData.psd1 -Version 1.10 -Location 'West US' + Set-AzureRmVMDscExtension -ResourceGroupName Name -VMName vm -ArchiveBlobName Sample.ps1.zip -ArchiveStorageAccountName Stg -ConfigurationName ConfigName -ConfigurationArgument @{arg=&quot;val&quot;} -ArchiveContainerName WindowsPowerShellDSC -ConfigurationData SampleData.psd1 -Version 1.10 -Location 'West US' </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> - <maml:para>Sets the extension on the VM to download Sample.ps1.zip (from the 'Stg' storage account and container 'WindowsPowerShellDSC' ) that was previously uploaded using Publish-AzureRMVMDscConfiguration cmdlet and invokes configuration 'ConfigName' with configuration data and arguments.</maml:para> + <maml:para>Sets the extension on the VM to download Sample.ps1.zip (from the 'Stg' storage account and container 'WindowsPowerShellDSC' ) that was previously uploaded using Publish-AzureRmVMDscConfiguration cmdlet and invokes configuration 'ConfigName' with configuration data and arguments.</maml:para> <maml:para></maml:para> <maml:para></maml:para> <maml:para></maml:para> @@ -10053,12 +10053,12 @@ Get-AzureRMVMDscExtension -ResourceGroupName Name -VMName VM -Name 'DSC' </dev:c <maml:para>C:\PS&gt;</maml:para> </maml:introduction> <dev:code> - Set-AzureRMVMDscExtension -ResourceGroupName Name -VMName vm -ArchiveBlobName Sample.ps1.zip -ArchiveStorageAccountName Stg -ConfigurationName ConfigName -ConfigurationArgument @{arg=&quot;val&quot;} -ArchiveContainerName WindowsPowerShellDSC -ConfigurationData SampleData.psd1 -Version 1.10 -Location 'West US' -AutoUpdate + Set-AzureRmVMDscExtension -ResourceGroupName Name -VMName vm -ArchiveBlobName Sample.ps1.zip -ArchiveStorageAccountName Stg -ConfigurationName ConfigName -ConfigurationArgument @{arg=&quot;val&quot;} -ArchiveContainerName WindowsPowerShellDSC -ConfigurationData SampleData.psd1 -Version 1.10 -Location 'West US' -AutoUpdate </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> - <maml:para>Sets the extension on the VM to download Sample.ps1.zip (from the 'Stg' storage account and container 'WindowsPowerShellDSC' ) that was previously uploaded using Publish-AzureRMVMDscConfiguration cmdlet and invokes configuration 'ConfigName' with configuration data and arguments. Also, enables auto update of extension handler to the latest version as and when it is available.</maml:para> + <maml:para>Sets the extension on the VM to download Sample.ps1.zip (from the 'Stg' storage account and container 'WindowsPowerShellDSC' ) that was previously uploaded using Publish-AzureRmVMDscConfiguration cmdlet and invokes configuration 'ConfigName' with configuration data and arguments. Also, enables auto update of extension handler to the latest version as and when it is available.</maml:para> <maml:para></maml:para> <maml:para></maml:para> <maml:para></maml:para> @@ -10082,10 +10082,10 @@ Get-AzureRMVMDscExtension -ResourceGroupName Name -VMName VM -Name 'DSC' </dev:c <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> - Publish-AzureRMVMDscConfiguration + Publish-AzureRmVMDscConfiguration </command:name> <maml:description> - <maml:para>Uploads a Desired State Configuration script to Azure blob storage, which later can be applied to Azure Virtual Machines using the Set-AzureRMVMDscExtension cmdlet.</maml:para> + <maml:para>Uploads a Desired State Configuration script to Azure blob storage, which later can be applied to Azure Virtual Machines using the Set-AzureRmVMDscExtension cmdlet.</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> @@ -10095,12 +10095,12 @@ Get-AzureRMVMDscExtension -ResourceGroupName Name -VMName VM -Name 'DSC' </dev:c <dev:version></dev:version> </command:details> <maml:description> - <maml:para>Uploads a Desired State Configuration script to Azure blob storage, which later can be applied to Azure Virtual Machines using the Set-AzureRMVMDscExtension cmdlet.</maml:para> + <maml:para>Uploads a Desired State Configuration script to Azure blob storage, which later can be applied to Azure Virtual Machines using the Set-AzureRmVMDscExtension cmdlet.</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> - <maml:name>Publish-AzureRMVMDscConfiguration</maml:name> + <maml:name>Publish-AzureRmVMDscConfiguration</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="2"> <maml:name>ConfigurationPath</maml:name> <maml:description> @@ -10125,14 +10125,14 @@ Get-AzureRMVMDscExtension -ResourceGroupName Name -VMName VM -Name 'DSC' </dev:c <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ConfigurationDataPath</maml:name> <maml:description> - <maml:para>Path to a .psd1 file that specifies the data for the Configuration. This is added to the configuration archive and then passed to the configuration function. It gets overwritten by the configuration data path provided through the Set-AzureRMVMDscExtension cmdlet</maml:para> + <maml:para>Path to a .psd1 file that specifies the data for the Configuration. This is added to the configuration archive and then passed to the configuration function. It gets overwritten by the configuration data path provided through the Set-AzureRmVMDscExtension cmdlet</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> - <maml:para>By default Publish-AzureRMVMDscConfiguration will not overwrite any existing blobs or files. Use -Force to overwrite them.</maml:para> + <maml:para>By default Publish-AzureRmVMDscConfiguration will not overwrite any existing blobs or files. Use -Force to overwrite them.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> @@ -10155,7 +10155,7 @@ Get-AzureRMVMDscExtension -ResourceGroupName Name -VMName VM -Name 'DSC' </dev:c </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Publish-AzureRMVMDscConfiguration</maml:name> + <maml:name>Publish-AzureRmVMDscConfiguration</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="2"> <maml:name>ConfigurationPath</maml:name> <maml:description> @@ -10194,14 +10194,14 @@ Get-AzureRMVMDscExtension -ResourceGroupName Name -VMName VM -Name 'DSC' </dev:c <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ConfigurationDataPath</maml:name> <maml:description> - <maml:para>Path to a .psd1 file that specifies the data for the Configuration. This is added to the configuration archive and then passed to the configuration function. It gets overwritten by the configuration data path provided through the Set-AzureRMVMDscExtension cmdlet</maml:para> + <maml:para>Path to a .psd1 file that specifies the data for the Configuration. This is added to the configuration archive and then passed to the configuration function. It gets overwritten by the configuration data path provided through the Set-AzureRmVMDscExtension cmdlet</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> - <maml:para>By default Publish-AzureRMVMDscConfiguration will not overwrite any existing blobs or files. Use -Force to overwrite them.</maml:para> + <maml:para>By default Publish-AzureRmVMDscConfiguration will not overwrite any existing blobs or files. Use -Force to overwrite them.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> @@ -10248,7 +10248,7 @@ Get-AzureRMVMDscExtension -ResourceGroupName Name -VMName VM -Name 'DSC' </dev:c <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ConfigurationDataPath</maml:name> <maml:description> - <maml:para>Path to a .psd1 file that specifies the data for the Configuration. This is added to the configuration archive and then passed to the configuration function. It gets overwritten by the configuration data path provided through the Set-AzureRMVMDscExtension cmdlet</maml:para> + <maml:para>Path to a .psd1 file that specifies the data for the Configuration. This is added to the configuration archive and then passed to the configuration function. It gets overwritten by the configuration data path provided through the Set-AzureRmVMDscExtension cmdlet</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> @@ -10284,7 +10284,7 @@ Get-AzureRMVMDscExtension -ResourceGroupName Name -VMName VM -Name 'DSC' </dev:c <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> - <maml:para>By default Publish-AzureRMVMDscConfiguration will not overwrite any existing blobs or files. Use -Force to overwrite them.</maml:para> + <maml:para>By default Publish-AzureRmVMDscConfiguration will not overwrite any existing blobs or files. Use -Force to overwrite them.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> @@ -10435,7 +10435,7 @@ Get-AzureRMVMDscExtension -ResourceGroupName Name -VMName VM -Name 'DSC' </dev:c <maml:para>C:\PS&gt;</maml:para> </maml:introduction> <dev:code> -Publish-AzureRMVMDscConfiguration .\MyConfiguration.ps1 </dev:code> +Publish-AzureRmVMDscConfiguration .\MyConfiguration.ps1 </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> @@ -10460,7 +10460,7 @@ Publish-AzureRMVMDscConfiguration .\MyConfiguration.ps1 < <maml:para>C:\PS&gt;</maml:para> </maml:introduction> <dev:code> -Publish-AzureRMVMDscConfiguration .\MyConfiguration.ps1 -OutputArchivePath .\MyConfiguration.ps1.zip </dev:code> +Publish-AzureRmVMDscConfiguration .\MyConfiguration.ps1 -OutputArchivePath .\MyConfiguration.ps1.zip </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> @@ -10485,7 +10485,7 @@ Publish-AzureRMVMDscConfiguration .\MyConfiguration.ps1 -OutputArchivePath .\MyC <maml:para>C:\PS&gt;</maml:para> </maml:introduction> <dev:code> -Publish-AzureRMVMDscConfiguration -ConfigurationPath 'C:\Sample.ps1 -SkipDependencyDetection </dev:code> +Publish-AzureRmVMDscConfiguration -ConfigurationPath 'C:\Sample.ps1 -SkipDependencyDetection </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> @@ -10510,7 +10510,7 @@ Publish-AzureRMVMDscConfiguration -ConfigurationPath 'C:\Sample.ps1 -SkipDepende <maml:para>C:\PS&gt;</maml:para> </maml:introduction> <dev:code> -Publish-AzureRMVMDscConfiguration -ConfigurationPath C:\Sample.ps1 -ConfigurationDataPath 'C:\SampleData.psd1' </dev:code> +Publish-AzureRmVMDscConfiguration -ConfigurationPath C:\Sample.ps1 -ConfigurationDataPath 'C:\SampleData.psd1' </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> @@ -10535,7 +10535,7 @@ Publish-AzureRMVMDscConfiguration -ConfigurationPath C:\Sample.ps1 -Configuratio <maml:para>C:\PS&gt;</maml:para> </maml:introduction> <dev:code> -Publish-AzureRMVMDscConfiguration -ConfigurationPath &quot;C:\Sample.ps1&quot; -AdditionalPath @(&quot;C:\ContentDir1&quot;, &quot;C:\File.txt&quot;) -ConfigurationDataPath &quot;C:\SampleData.psd1&quot; </dev:code> +Publish-AzureRmVMDscConfiguration -ConfigurationPath &quot;C:\Sample.ps1&quot; -AdditionalPath @(&quot;C:\ContentDir1&quot;, &quot;C:\File.txt&quot;) -ConfigurationDataPath &quot;C:\SampleData.psd1&quot; </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> diff --git a/src/ResourceManager/Compute/Commands.Compute/Properties/Resources.Designer.cs b/src/ResourceManager/Compute/Commands.Compute/Properties/Resources.Designer.cs index 0bf1ce4c84f4..6f033404db7b 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Properties/Resources.Designer.cs +++ b/src/ResourceManager/Compute/Commands.Compute/Properties/Resources.Designer.cs @@ -133,7 +133,7 @@ public static string AzureVMDscCreateArchiveAction { } /// <summary> - /// Looks up a localized string similar to Can not find your azure storage credential. Please specify an storage context using the -StorageContext parameter, or set the current storage account using &quot;Set-AzureRMSubscription&quot;, or set the &quot;AZURE_STORAGE_CONNECTION_STRING&quot; environment variable.. + /// Looks up a localized string similar to Can not find your azure storage credential. Please specify an storage context using the -StorageContext parameter, or set the current storage account using &quot;Set-AzureRmSubscription&quot;, or set the &quot;AZURE_STORAGE_CONNECTION_STRING&quot; environment variable.. /// </summary> public static string AzureVMDscDefaultStorageCredentialsNotFound { get { @@ -252,7 +252,7 @@ public static string CustomScriptExtensionTryToUseTheFirstSpecifiedFileAsRunScri } /// <summary> - /// Looks up a localized string similar to A data disk, {0}, is not currently assigned for this VM. Use Add-AzureRMVMDataDisk to add it.. + /// Looks up a localized string similar to A data disk, {0}, is not currently assigned for this VM. Use Add-AzureRmVMDataDisk to add it.. /// </summary> public static string DataDiskNotAssignedForVM { get { @@ -779,7 +779,7 @@ public static string PublishVMDscExtensionUploadArchiveConfigFileNotExist1 { } /// <summary> - /// Looks up a localized string similar to No current subscription has been designated. Use Select-AzureRMSubscription -Current &lt;subscriptionName&gt; to set the current subscription.. + /// Looks up a localized string similar to No current subscription has been designated. Use Select-AzureRmSubscription -Current &lt;subscriptionName&gt; to set the current subscription.. /// </summary> public static string StorageCredentialsFactoryCurrentSubscriptionNotSet { get { diff --git a/src/ResourceManager/Compute/Commands.Compute/Properties/Resources.resx b/src/ResourceManager/Compute/Commands.Compute/Properties/Resources.resx index 5e45726e6a8e..09372695d418 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Properties/Resources.resx +++ b/src/ResourceManager/Compute/Commands.Compute/Properties/Resources.resx @@ -236,7 +236,7 @@ The file needs to be a PowerShell script (.ps1 or .psm1).</value> <comment>{0} = minimal required PS version, {1} = current PS version</comment> </data> <data name="AzureVMDscDefaultStorageCredentialsNotFound" xml:space="preserve"> - <value>Can not find your azure storage credential. Please specify an storage context using the -StorageContext parameter, or set the current storage account using "Set-AzureRMSubscription", or set the "AZURE_STORAGE_CONNECTION_STRING" environment variable.</value> + <value>Can not find your azure storage credential. Please specify an storage context using the -StorageContext parameter, or set the current storage account using "Set-AzureRmSubscription", or set the "AZURE_STORAGE_CONNECTION_STRING" environment variable.</value> </data> <data name="PublishVMDscExtensionRequiredModulesVerbose" xml:space="preserve"> <value>List of required modules: [{0}].</value> @@ -357,10 +357,10 @@ The file needs to be a PowerShell script (.ps1 or .psm1).</value> <value>Uploading</value> </data> <data name="StorageCredentialsFactoryCurrentSubscriptionNotSet" xml:space="preserve"> - <value>No current subscription has been designated. Use Select-AzureRMSubscription -Current &lt;subscriptionName&gt; to set the current subscription.</value> + <value>No current subscription has been designated. Use Select-AzureRmSubscription -Current &lt;subscriptionName&gt; to set the current subscription.</value> </data> <data name="DataDiskNotAssignedForVM" xml:space="preserve"> - <value>A data disk, {0}, is not currently assigned for this VM. Use Add-AzureRMVMDataDisk to add it.</value> + <value>A data disk, {0}, is not currently assigned for this VM. Use Add-AzureRmVMDataDisk to add it.</value> </data> <data name="AzureVMSqlServerWrongSettingsFormat" xml:space="preserve"> <value>Cannot deserialize settings string from Sql Server extension. Updating your Azure PowerShell SDK to the latest version may solve this problem. Settings string: diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/Common.ps1 b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/Common.ps1 index 1c2812720e94..15542ffd1312 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/Common.ps1 +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/Common.ps1 @@ -47,7 +47,7 @@ Cleans the created data factory function Clean-DataFactory($rgname, $dfname) { if ([Microsoft.Azure.Test.HttpRecorder.HttpMockServer]::Mode -ne [Microsoft.Azure.Test.HttpRecorder.HttpRecorderMode]::Playback) { - Remove-AzureRMDataFactory -ResourceGroupName $rgname -Name $dfname -Force + Remove-AzureRmDataFactory -ResourceGroupName $rgname -Name $dfname -Force } } @@ -57,5 +57,5 @@ Cleans the created tags #> function Clean-Tags { - Get-AzureRMTag | Remove-AzureRMTag -Force + Get-AzureRmTag | Remove-AzureRmTag -Force } diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoryGatewayTests.ps1 b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoryGatewayTests.ps1 index 1e729153f8ee..d223e4c30bb3 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoryGatewayTests.ps1 +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoryGatewayTests.ps1 @@ -22,11 +22,11 @@ function Test-GetNonExistingDataFactoryGateway $rgname = Get-ResourceGroupName $rglocation = Get-ProviderLocation ResourceManagement - New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Force - New-AzureRMDataFactory -Name $dfname -Location $rglocation -ResourceGroup $rgname -Force + New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Force + New-AzureRmDataFactory -Name $dfname -Location $rglocation -ResourceGroup $rgname -Force # Test - Assert-ThrowsContains { Get-AzureRMDataFactoryGateway -ResourceGroupName $rgname -DataFactoryName $dfname -Name "gwname" } "GatewayNotFound" + Assert-ThrowsContains { Get-AzureRmDataFactoryGateway -ResourceGroupName $rgname -DataFactoryName $dfname -Name "gwname" } "GatewayNotFound" } <# @@ -41,27 +41,27 @@ function Test-DataFactoryGateway $rglocation = Get-ProviderLocation ResourceManagement $dflocation = Get-ProviderLocation DataFactoryManagement - New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Force + New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Force try { - New-AzureRMDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force + New-AzureRmDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force $gwname = "foo" $description = "description" - $actual = New-AzureRMDataFactoryGateway -ResourceGroupName $rgname -DataFactoryName $dfname -Name $gwname - $expected = Get-AzureRMDataFactoryGateway -ResourceGroupName $rgname -DataFactoryName $dfname -Name $gwname + $actual = New-AzureRmDataFactoryGateway -ResourceGroupName $rgname -DataFactoryName $dfname -Name $gwname + $expected = Get-AzureRmDataFactoryGateway -ResourceGroupName $rgname -DataFactoryName $dfname -Name $gwname Assert-AreEqual $actual.Name $expected.Name - $key = New-AzureRMDataFactoryGatewayKey -ResourceGroupName $rgname -DataFactoryName $dfname -GatewayName $gwname + $key = New-AzureRmDataFactoryGatewayKey -ResourceGroupName $rgname -DataFactoryName $dfname -GatewayName $gwname Assert-NotNull $key Assert-NotNull $key.Gatewaykey - $result = Set-AzureRMDataFactoryGateway -ResourceGroupName $rgname -DataFactoryName $dfname -Name $gwname -Description $description + $result = Set-AzureRmDataFactoryGateway -ResourceGroupName $rgname -DataFactoryName $dfname -Name $gwname -Description $description Assert-AreEqual $result.Description $description - Remove-AzureRMDataFactoryGateway -ResourceGroupName $rgname -DataFactoryName $dfname -Name $gwname -Force + Remove-AzureRmDataFactoryGateway -ResourceGroupName $rgname -DataFactoryName $dfname -Name $gwname -Force } finally { @@ -81,27 +81,27 @@ function Test-DataFactoryGatewayWithDataFactoryParameter $rglocation = Get-ProviderLocation ResourceManagement $dflocation = Get-ProviderLocation DataFactoryManagement - New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Force + New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Force try { - $datafactory = New-AzureRMDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force + $datafactory = New-AzureRmDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force $gwname = "foo" $description = "description" - $actual = New-AzureRMDataFactoryGateway -DataFactory $datafactory -Name $gwname - $expected = Get-AzureRMDataFactoryGateway -DataFactory $datafactory -Name $gwname + $actual = New-AzureRmDataFactoryGateway -DataFactory $datafactory -Name $gwname + $expected = Get-AzureRmDataFactoryGateway -DataFactory $datafactory -Name $gwname Assert-AreEqual $actual.Name $expected.Name - $key = New-AzureRMDataFactoryGatewayKey -DataFactory $datafactory -GatewayName $gwname + $key = New-AzureRmDataFactoryGatewayKey -DataFactory $datafactory -GatewayName $gwname Assert-NotNull $key Assert-NotNull $key.Gatewaykey - $result = Set-AzureRMDataFactoryGateway -DataFactory $datafactory -Name $gwname -Description $description + $result = Set-AzureRmDataFactoryGateway -DataFactory $datafactory -Name $gwname -Description $description Assert-AreEqual $result.Description $description - Remove-AzureRMDataFactoryGateway -DataFactory $datafactory -Name $gwname -Force + Remove-AzureRmDataFactoryGateway -DataFactory $datafactory -Name $gwname -Force } finally { diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoryTests.ps1 b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoryTests.ps1 index f9f32de08bf3..6adb73e80c02 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoryTests.ps1 +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoryTests.ps1 @@ -22,10 +22,10 @@ function Test-GetNonExistingDataFactory $rgname = Get-ResourceGroupName $rglocation = Get-ProviderLocation ResourceManagement - New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Force + New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Force # Test - Assert-ThrowsContains { Get-AzureRMDataFactory -ResourceGroupName $rgname -Name $dfname } "ResourceNotFound" + Assert-ThrowsContains { Get-AzureRmDataFactory -ResourceGroupName $rgname -Name $dfname } "ResourceNotFound" } <# @@ -40,12 +40,12 @@ function Test-CreateDataFactory $rglocation = Get-ProviderLocation ResourceManagement $dflocation = Get-ProviderLocation DataFactoryManagement - New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Force + New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Force try { - $actual = New-AzureRMDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force - $expected = Get-AzureRMDataFactory -ResourceGroupName $rgname -Name $dfname + $actual = New-AzureRmDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force + $expected = Get-AzureRmDataFactory -ResourceGroupName $rgname -Name $dfname Assert-AreEqual $expected.ResourceGroupName $actual.ResourceGroupName Assert-AreEqual $expected.DataFactoryName $actual.DataFactoryName @@ -67,10 +67,10 @@ function Test-DeleteDataFactoryWithDataFactoryParameter $rglocation = Get-ProviderLocation ResourceManagement $dflocation = Get-ProviderLocation DataFactoryManagement - New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Force + New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Force - $df = New-AzureRMDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force - Remove-AzureRMDataFactory -DataFactory $df -Force + $df = New-AzureRmDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force + Remove-AzureRmDataFactory -DataFactory $df -Force } <# @@ -84,12 +84,12 @@ function Test-DataFactoryPiping $rglocation = Get-ProviderLocation ResourceManagement $dflocation = Get-ProviderLocation DataFactoryManagement - New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Force + New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Force - New-AzureRMDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force + New-AzureRmDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force - Get-AzureRMDataFactory -ResourceGroupName $rgname | Remove-AzureRMDataFactory -Force + Get-AzureRmDataFactory -ResourceGroupName $rgname | Remove-AzureRmDataFactory -Force # Test the data factory no longer exists - Assert-ThrowsContains { Get-AzureRMDataFactory -ResourceGroupName $rgname -Name $dfname } "ResourceNotFound" + Assert-ThrowsContains { Get-AzureRmDataFactory -ResourceGroupName $rgname -Name $dfname } "ResourceNotFound" } \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/HubTests.ps1 b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/HubTests.ps1 index 782b98bc38bd..86fdaf7ff425 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/HubTests.ps1 +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/HubTests.ps1 @@ -24,22 +24,22 @@ function Test-Hub $rglocation = Get-ProviderLocation ResourceManagement $dflocation = Get-ProviderLocation DataFactoryManagement - New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Force + New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Force try { - New-AzureRMDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force + New-AzureRmDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force $hubname = "SampleHub" - $actual = New-AzureRMDataFactoryHub -ResourceGroupName $rgname -DataFactoryName $dfname -Name $hubname -File .\Resources\hub.json -Force - $expected = Get-AzureRMDataFactoryHub -ResourceGroupName $rgname -DataFactoryName $dfname -Name $hubname + $actual = New-AzureRmDataFactoryHub -ResourceGroupName $rgname -DataFactoryName $dfname -Name $hubname -File .\Resources\hub.json -Force + $expected = Get-AzureRmDataFactoryHub -ResourceGroupName $rgname -DataFactoryName $dfname -Name $hubname Assert-AreEqual $expected.ResourceGroupName $actual.ResourceGroupName Assert-AreEqual $expected.DataFactoryName $actual.DataFactoryName Assert-AreEqual $expected.HubName $actual.HubName - Remove-AzureRMDataFactoryHub -ResourceGroupName $rgname -DataFactoryName $dfname -Name $hubname -Force + Remove-AzureRmDataFactoryHub -ResourceGroupName $rgname -DataFactoryName $dfname -Name $hubname -Force } finally { @@ -60,22 +60,22 @@ function Test-HubWithDataFactoryParameter $rglocation = Get-ProviderLocation ResourceManagement $dflocation = Get-ProviderLocation DataFactoryManagement - New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Force + New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Force try { - $df = New-AzureRMDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force + $df = New-AzureRmDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force $hubname = "SampleHub" - $actual = New-AzureRMDataFactoryHub -DataFactory $df -Name $hubname -File .\Resources\hub.json -Force - $expected = Get-AzureRMDataFactoryHub -DataFactory $df -Name $hubname + $actual = New-AzureRmDataFactoryHub -DataFactory $df -Name $hubname -File .\Resources\hub.json -Force + $expected = Get-AzureRmDataFactoryHub -DataFactory $df -Name $hubname Assert-AreEqual $expected.ResourceGroupName $actual.ResourceGroupName Assert-AreEqual $expected.DataFactoryName $actual.DataFactoryName Assert-AreEqual $expected.HubName $actual.HubName - Remove-AzureRMDataFactoryHub -DataFactory $df -Name $hubname -Force + Remove-AzureRmDataFactoryHub -DataFactory $df -Name $hubname -Force } finally { @@ -94,20 +94,20 @@ function Test-HubPiping $rglocation = Get-ProviderLocation ResourceManagement $dflocation = Get-ProviderLocation DataFactoryManagement - New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Force + New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Force try { - New-AzureRMDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force + New-AzureRmDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force $hubname = "SampleHub" - New-AzureRMDataFactoryHub -ResourceGroupName $rgname -DataFactoryName $dfname -Name $hubname -File .\Resources\hub.json -Force + New-AzureRmDataFactoryHub -ResourceGroupName $rgname -DataFactoryName $dfname -Name $hubname -File .\Resources\hub.json -Force - Get-AzureRMDataFactoryHub -ResourceGroupName $rgname -DataFactoryName $dfname -Name $hubname | Remove-AzureRMDataFactoryHub -Force + Get-AzureRmDataFactoryHub -ResourceGroupName $rgname -DataFactoryName $dfname -Name $hubname | Remove-AzureRmDataFactoryHub -Force # Test the hub no longer exists - Assert-ThrowsContains { Get-AzureRMDataFactoryHub -ResourceGroupName $rgname -DataFactoryName $dfname -Name $hubname } "HubNotFound" + Assert-ThrowsContains { Get-AzureRmDataFactoryHub -ResourceGroupName $rgname -DataFactoryName $dfname -Name $hubname } "HubNotFound" } finally { diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/LinkedServiceTests.ps1 b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/LinkedServiceTests.ps1 index e618ec85e9ce..69ba5b2f1bcd 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/LinkedServiceTests.ps1 +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/LinkedServiceTests.ps1 @@ -24,22 +24,22 @@ function Test-LinkedService $rglocation = Get-ProviderLocation ResourceManagement $dflocation = Get-ProviderLocation DataFactoryManagement - New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Force + New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Force try { - New-AzureRMDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force + New-AzureRmDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force $lsname = "foo" - $actual = New-AzureRMDataFactoryLinkedService -ResourceGroupName $rgname -DataFactoryName $dfname -Name $lsname -File .\Resources\linkedService.json -Force - $expected = Get-AzureRMDataFactoryLinkedService -ResourceGroupName $rgname -DataFactoryName $dfname -Name $lsname + $actual = New-AzureRmDataFactoryLinkedService -ResourceGroupName $rgname -DataFactoryName $dfname -Name $lsname -File .\Resources\linkedService.json -Force + $expected = Get-AzureRmDataFactoryLinkedService -ResourceGroupName $rgname -DataFactoryName $dfname -Name $lsname Assert-AreEqual $expected.ResourceGroupName $actual.ResourceGroupName Assert-AreEqual $expected.DataFactoryName $actual.DataFactoryName Assert-AreEqual $expected.LinkedServiceName $actual.LinkedServiceName - Remove-AzureRMDataFactoryLinkedService -ResourceGroupName $rgname -DataFactoryName $dfname -Name $lsname -Force + Remove-AzureRmDataFactoryLinkedService -ResourceGroupName $rgname -DataFactoryName $dfname -Name $lsname -Force } finally { @@ -60,22 +60,22 @@ function Test-LinkedServiceWithDataFactoryParameter $rglocation = Get-ProviderLocation ResourceManagement $dflocation = Get-ProviderLocation DataFactoryManagement - New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Force + New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Force try { - $df = New-AzureRMDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force + $df = New-AzureRmDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force $lsname = "foo" - $actual = New-AzureRMDataFactoryLinkedService -DataFactory $df -Name $lsname -File .\Resources\linkedService.json -Force - $expected = Get-AzureRMDataFactoryLinkedService -DataFactory $df -Name $lsname + $actual = New-AzureRmDataFactoryLinkedService -DataFactory $df -Name $lsname -File .\Resources\linkedService.json -Force + $expected = Get-AzureRmDataFactoryLinkedService -DataFactory $df -Name $lsname Assert-AreEqual $expected.ResourceGroupName $actual.ResourceGroupName Assert-AreEqual $expected.DataFactoryName $actual.DataFactoryName Assert-AreEqual $expected.LinkedServiceName $actual.LinkedServiceName - Remove-AzureRMDataFactoryLinkedService -DataFactory $df -Name $lsname -Force + Remove-AzureRmDataFactoryLinkedService -DataFactory $df -Name $lsname -Force } finally { @@ -94,20 +94,20 @@ function Test-LinkedServicePiping $rglocation = Get-ProviderLocation ResourceManagement $dflocation = Get-ProviderLocation DataFactoryManagement - New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Force + New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Force try { - New-AzureRMDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force + New-AzureRmDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force $lsname = "foo" - New-AzureRMDataFactoryLinkedService -ResourceGroupName $rgname -DataFactoryName $dfname -Name $lsname -File .\Resources\linkedService.json -Force + New-AzureRmDataFactoryLinkedService -ResourceGroupName $rgname -DataFactoryName $dfname -Name $lsname -File .\Resources\linkedService.json -Force - Get-AzureRMDataFactoryLinkedService -ResourceGroupName $rgname -DataFactoryName $dfname -Name $lsname | Remove-AzureRMDataFactoryLinkedService -Force + Get-AzureRmDataFactoryLinkedService -ResourceGroupName $rgname -DataFactoryName $dfname -Name $lsname | Remove-AzureRmDataFactoryLinkedService -Force # Test the linked service no longer exists - Assert-ThrowsContains { Get-AzureRMDataFactoryLinkedService -ResourceGroupName $rgname -DataFactoryName $dfname -Name $lsname } "LinkedServiceNotFound" + Assert-ThrowsContains { Get-AzureRmDataFactoryLinkedService -ResourceGroupName $rgname -DataFactoryName $dfname -Name $lsname } "LinkedServiceNotFound" } finally { diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/TableTests.ps1 b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/TableTests.ps1 index 8275f0a60b34..86d2e07e17f1 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/TableTests.ps1 +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/TableTests.ps1 @@ -24,23 +24,23 @@ function Test-Table $rglocation = Get-ProviderLocation ResourceManagement $dflocation = Get-ProviderLocation DataFactoryManagement - New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Force + New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Force try { - New-AzureRMDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force + New-AzureRmDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force - New-AzureRMDataFactoryLinkedService -ResourceGroupName $rgname -DataFactoryName $dfname -File .\Resources\linkedService.json -Force + New-AzureRmDataFactoryLinkedService -ResourceGroupName $rgname -DataFactoryName $dfname -File .\Resources\linkedService.json -Force $datasetname = "foo2" - $actual = New-AzureRMDataFactoryDataset -ResourceGroupName $rgname -DataFactoryName $dfname -Name $datasetname -File .\Resources\dataset.json -Force - $expected = Get-AzureRMDataFactoryDataset -ResourceGroupName $rgname -DataFactoryName $dfname -Name $datasetname + $actual = New-AzureRmDataFactoryDataset -ResourceGroupName $rgname -DataFactoryName $dfname -Name $datasetname -File .\Resources\dataset.json -Force + $expected = Get-AzureRmDataFactoryDataset -ResourceGroupName $rgname -DataFactoryName $dfname -Name $datasetname Assert-AreEqual $expected.ResourceGroupName $actual.ResourceGroupName Assert-AreEqual $expected.DataFactoryName $actual.DataFactoryName Assert-AreEqual $expected.DatasetName $actual.DatasetName - Remove-AzureRMDataFactoryDataset -ResourceGroupName $rgname -DataFactoryName $dfname -Name $datasetname -Force + Remove-AzureRmDataFactoryDataset -ResourceGroupName $rgname -DataFactoryName $dfname -Name $datasetname -Force } finally { @@ -61,23 +61,23 @@ function Test-TableWithDataFactoryParameter $rglocation = Get-ProviderLocation ResourceManagement $dflocation = Get-ProviderLocation DataFactoryManagement - New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Force + New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Force try { - $df = New-AzureRMDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force + $df = New-AzureRmDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force - New-AzureRMDataFactoryLinkedService -ResourceGroupName $rgname -DataFactoryName $dfname -File .\Resources\linkedService.json -Force + New-AzureRmDataFactoryLinkedService -ResourceGroupName $rgname -DataFactoryName $dfname -File .\Resources\linkedService.json -Force $datasetname = "foo2" - $actual = New-AzureRMDataFactoryDataset -DataFactory $df -Name $datasetname -File .\Resources\dataset.json -Force - $expected = Get-AzureRMDataFactoryDataset -DataFactory $df -Name $datasetname + $actual = New-AzureRmDataFactoryDataset -DataFactory $df -Name $datasetname -File .\Resources\dataset.json -Force + $expected = Get-AzureRmDataFactoryDataset -DataFactory $df -Name $datasetname Assert-AreEqual $expected.ResourceGroupName $actual.ResourceGroupName Assert-AreEqual $expected.DataFactoryName $actual.DataFactoryName Assert-AreEqual $expected.DatasetName $actual.DatasetName - Remove-AzureRMDataFactoryDataset -DataFactory $df -Name $datasetname -Force + Remove-AzureRmDataFactoryDataset -DataFactory $df -Name $datasetname -Force } finally { @@ -96,22 +96,22 @@ function Test-TablePiping $rglocation = Get-ProviderLocation ResourceManagement $dflocation = Get-ProviderLocation DataFactoryManagement - New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Force + New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Force try { - New-AzureRMDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force + New-AzureRmDataFactory -ResourceGroupName $rgname -Name $dfname -Location $dflocation -Force - New-AzureRMDataFactoryLinkedService -ResourceGroupName $rgname -DataFactoryName $dfname -File .\Resources\linkedService.json -Force + New-AzureRmDataFactoryLinkedService -ResourceGroupName $rgname -DataFactoryName $dfname -File .\Resources\linkedService.json -Force $datasetname = "foo2" - New-AzureRMDataFactoryDataset -ResourceGroupName $rgname -DataFactoryName $dfname -Name $datasetname -File .\Resources\dataset.json -Force + New-AzureRmDataFactoryDataset -ResourceGroupName $rgname -DataFactoryName $dfname -Name $datasetname -File .\Resources\dataset.json -Force - Get-AzureRMDataFactoryDataset -ResourceGroupName $rgname -DataFactoryName $dfname -Name $datasetname | Remove-AzureRMDataFactoryDataset -Force + Get-AzureRmDataFactoryDataset -ResourceGroupName $rgname -DataFactoryName $dfname -Name $datasetname | Remove-AzureRmDataFactoryDataset -Force # Test the dataset no longer exists # TODO bgold09: change expected error message to "DatasetNotFound" after service error messages have been updated - Assert-ThrowsContains { Get-AzureRMDataFactoryDataset -ResourceGroupName $rgname -DataFactoryName $dfname -Name $datasetname } "TableNotFound" + Assert-ThrowsContains { Get-AzureRmDataFactoryDataset -ResourceGroupName $rgname -DataFactoryName $dfname -Name $datasetname } "TableNotFound" } finally { diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Constants.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Constants.cs index 6b25c2a91d8b..100ee4e9ed0f 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories/Constants.cs +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Constants.cs @@ -20,30 +20,30 @@ internal static class Constants { public static readonly TimeSpan DefaultSliceActivePeriodDuration = TimeSpan.FromHours(48); - public const string DataFactory = "AzureRMDataFactory"; + public const string DataFactory = "AzureRmDataFactory"; - public const string LinkedService = "AzureRMDataFactoryLinkedService"; + public const string LinkedService = "AzureRmDataFactoryLinkedService"; - public const string Gateway = "AzureRMDataFactoryGateway"; + public const string Gateway = "AzureRmDataFactoryGateway"; - public const string GatewayKey = "AzureRMDataFactoryGatewayKey"; + public const string GatewayKey = "AzureRmDataFactoryGatewayKey"; - public const string EncryptString = "AzureRMDataFactoryEncryptValue"; + public const string EncryptString = "AzureRmDataFactoryEncryptValue"; - public const string Dataset = "AzureRMDataFactoryDataset"; + public const string Dataset = "AzureRmDataFactoryDataset"; - public const string Pipeline = "AzureRMDataFactoryPipeline"; + public const string Pipeline = "AzureRmDataFactoryPipeline"; - public const string PipelineActivePeriod = "AzureRMDataFactoryPipelineActivePeriod"; + public const string PipelineActivePeriod = "AzureRmDataFactoryPipelineActivePeriod"; - public const string Run = "AzureRMDataFactoryRun"; + public const string Run = "AzureRmDataFactoryRun"; - public const string DataSlice = "AzureRMDataFactorySlice"; + public const string DataSlice = "AzureRmDataFactorySlice"; - public const string SliceStatus = "AzureRMDataFactorySliceStatus"; + public const string SliceStatus = "AzureRmDataFactorySliceStatus"; - public const string Hub = "AzureRMDataFactoryHub"; + public const string Hub = "AzureRmDataFactoryHub"; - public const string RunLog = "AzureRMDataFactoryLog"; + public const string RunLog = "AzureRmDataFactoryLog"; } } \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Microsoft.Azure.Commands.DataFactories.dll-Help.xml b/src/ResourceManager/DataFactories/Commands.DataFactories/Microsoft.Azure.Commands.DataFactories.dll-Help.xml index af77e46e84a6..9fa9eb22aab4 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories/Microsoft.Azure.Commands.DataFactories.dll-Help.xml +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Microsoft.Azure.Commands.DataFactories.dll-Help.xml @@ -3,7 +3,7 @@ <helpItems xmlns="http://msh" schema="maml"> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMDataFactory</command:name> + <command:name>Get-AzureRmDataFactory</command:name> <maml:description> <maml:para>Gets information about Data Factory.</maml:para> </maml:description> @@ -15,12 +15,12 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMDataFactory cmdlet gets information about data factories in an Azure resource group. If you specify the name of a data factory, this cmdlet gets information about that data factory. If you do not specify a name, this cmdlet gets information about all of the data factories in an Azure resource group.</maml:para> + <maml:para>The Get-AzureRmDataFactory cmdlet gets information about data factories in an Azure resource group. If you specify the name of a data factory, this cmdlet gets information about that data factory. If you do not specify a name, this cmdlet gets information about all of the data factories in an Azure resource group.</maml:para> <maml:para>You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMDataFactory</maml:name> + <maml:name>Get-AzureRmDataFactory</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -96,7 +96,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; Get-AzureRMDataFactory -ResourceGroupName "ADF" + PS C:\&gt; Get-AzureRmDataFactory -ResourceGroupName "ADF" DataFactoryName : WikiADF ResourceGroupName : ADF Location : WestUS @@ -124,7 +124,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; $DataFactory = Get-AzureRMDataFactory -ResourceGroupName "ADF" -Name "WikiADF" + PS C:\&gt; $DataFactory = Get-AzureRmDataFactory -ResourceGroupName "ADF" -Name "WikiADF" DataFactoryName : WikiADF ResourceGroupName : ADF Location : westus @@ -143,18 +143,18 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>New-AzureRMDataFactory</maml:linkText> + <maml:linkText>New-AzureRmDataFactory</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMDataFactory</maml:linkText> + <maml:linkText>Remove-AzureRmDataFactory</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMDataFactoryGateway</command:name> + <command:name>Get-AzureRmDataFactoryGateway</command:name> <maml:description> <maml:para>Gets information about logical gateways in Data Factory.</maml:para> </maml:description> @@ -166,13 +166,13 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMDataFactoryGateway cmdlet gets information about logical gateways in Azure Data Factory. If you specify the name of a gateway, this cmdlet gets information about that gateway. If you do not specify a name, this cmdlet gets information about all gateways for a data factory.</maml:para> + <maml:para>The Get-AzureRmDataFactoryGateway cmdlet gets information about logical gateways in Azure Data Factory. If you specify the name of a gateway, this cmdlet gets information about that gateway. If you do not specify a name, this cmdlet gets information about all gateways for a data factory.</maml:para> <maml:para>If you want to add an on-premises MicrosoftSQL Server as a linked service to a data factory, you must install a gateway on your on-premises computer.</maml:para> <maml:para>You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMDataFactoryGateway</maml:name> + <maml:name>Get-AzureRmDataFactoryGateway</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -196,7 +196,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMDataFactoryGateway</maml:name> + <maml:name>Get-AzureRmDataFactoryGateway</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>DataFactory</maml:name> <maml:description> @@ -296,7 +296,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; Get-AzureRMDataFactoryGateway -ResourceGroupName "ADF" -DataFactoryName "WikiADF" + PS C:\&gt; Get-AzureRmDataFactoryGateway -ResourceGroupName "ADF" -DataFactoryName "WikiADF" Name : gateway1 Description : Version : 1.3.5338.1 @@ -332,7 +332,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; Get-AzureRMDataFactoryGateway -ResourceGroupName "ADF" -Name "Gateway01" -DataFactoryName "WikiADF" + PS C:\&gt; Get-AzureRmDataFactoryGateway -ResourceGroupName "ADF" -Name "Gateway01" -DataFactoryName "WikiADF" Name : Gateway01 Description : Version : 1.3.5338.1 @@ -355,22 +355,22 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>New-AzureRMDataFactoryGateway</maml:linkText> + <maml:linkText>New-AzureRmDataFactoryGateway</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMDataFactoryGateway</maml:linkText> + <maml:linkText>Remove-AzureRmDataFactoryGateway</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMDataFactoryGateway</maml:linkText> + <maml:linkText>Set-AzureRmDataFactoryGateway</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMDataFactoryHub</command:name> + <command:name>Get-AzureRmDataFactoryHub</command:name> <maml:description> <maml:para>Gets information about hubs in Data Factory.</maml:para> </maml:description> @@ -382,12 +382,12 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMDataFactoryHub cmdlet gets information about hubs in Azure Data Factory. If you specify the name of a hub, this cmdlet gets information about that hub. If you do not specify a name, this cmdlet gets information about all of the hubs in a data factory.</maml:para> + <maml:para>The Get-AzureRmDataFactoryHub cmdlet gets information about hubs in Azure Data Factory. If you specify the name of a hub, this cmdlet gets information about that hub. If you do not specify a name, this cmdlet gets information about all of the hubs in a data factory.</maml:para> <maml:para>You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMDataFactoryHub</maml:name> + <maml:name>Get-AzureRmDataFactoryHub</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -411,7 +411,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMDataFactoryHub</maml:name> + <maml:name>Get-AzureRmDataFactoryHub</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>DataFactory</maml:name> <maml:description> @@ -515,7 +515,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt;Get-AzureRMDataFactoryHub -ResourceGroupName "ADFResourceGroup" -DataFactoryName "ADFDataFactory" + PS C:\&gt;Get-AzureRmDataFactoryHub -ResourceGroupName "ADFResourceGroup" -DataFactoryName "ADFDataFactory" </dev:code> <dev:remarks> @@ -533,7 +533,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt;Get-AzureRMDataFactoryHub -ResourceGroupName "ADFResourceGroup" -DataFactoryName "ADFDataFactory" -Name "MyDataHub" + PS C:\&gt;Get-AzureRmDataFactoryHub -ResourceGroupName "ADFResourceGroup" -DataFactoryName "ADFDataFactory" -Name "MyDataHub" </dev:code> <dev:remarks> @@ -553,18 +553,18 @@ <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMDataFactoryHub</maml:linkText> + <maml:linkText>New-AzureRmDataFactoryHub</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMDataFactoryHub</maml:linkText> + <maml:linkText>Remove-AzureRmDataFactoryHub</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMDataFactoryLinkedService</command:name> + <command:name>Get-AzureRmDataFactoryLinkedService</command:name> <maml:description> <maml:para>Gets information about linked services in Data Factory.</maml:para> </maml:description> @@ -576,12 +576,12 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMDataFactoryLinkedService cmdlet gets information about linked services in Azure Data Factory. If you specify the name of a linked service, this cmdlet gets information about that linked service. If you do not specify a name, this cmdlet gets information about all the linked services in the data factory.</maml:para> + <maml:para>The Get-AzureRmDataFactoryLinkedService cmdlet gets information about linked services in Azure Data Factory. If you specify the name of a linked service, this cmdlet gets information about that linked service. If you do not specify a name, this cmdlet gets information about all the linked services in the data factory.</maml:para> <maml:para>You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMDataFactoryLinkedService</maml:name> + <maml:name>Get-AzureRmDataFactoryLinkedService</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -605,7 +605,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMDataFactoryLinkedService</maml:name> + <maml:name>Get-AzureRmDataFactoryLinkedService</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>DataFactory</maml:name> <maml:description> @@ -705,10 +705,10 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; Get-AzureRMDataFactoryLinkedService -ResourceGroupName "ADF" -DataFactoryName "WikiADF" | Format-List + PS C:\&gt; Get-AzureRmDataFactoryLinkedService -ResourceGroupName "ADF" -DataFactoryName "WikiADF" | Format-List </dev:code> <dev:code> - PS C:\&gt;$df = Get-AzureRMDataFactory -ResourceGroupName ADF -Name WikiADFGet-AzureRMDataFactoryLinkedService -DataFactory $df | format-list + PS C:\&gt;$df = Get-AzureRmDataFactory -ResourceGroupName ADF -Name WikiADFGet-AzureRmDataFactoryLinkedService -DataFactory $df | format-list LinkedServiceName : HDILinkedService ResourceGroupName : ADF DataFactoryName : WikiADF @@ -750,7 +750,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; Get-AzureRMDataFactoryLinkedService -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "HDILinkedService" + PS C:\&gt; Get-AzureRmDataFactoryLinkedService -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "HDILinkedService" LinkedServiceName ResourceGroupName DataFactoryName Properties ----------------- ----------------- --------------- ---------- HDILinkedService ADF WikiADF Microsoft.DataFactories.HDInsightBYOCAsset @@ -770,10 +770,10 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt;$DataFactory = Get-AzureRMDataFactory -ResourceGroupName "ADF" -Name "ContosoFactory"PS C:\&gt; Get-AzureRMDataFactoryLinkedService -DataFactory $DataFactory | Format-Table -Property LinkedServiceName, DataFactoryName, ResourceGroupName + PS C:\&gt;$DataFactory = Get-AzureRmDataFactory -ResourceGroupName "ADF" -Name "ContosoFactory"PS C:\&gt; Get-AzureRmDataFactoryLinkedService -DataFactory $DataFactory | Format-Table -Property LinkedServiceName, DataFactoryName, ResourceGroupName </dev:code> <dev:remarks> - <maml:para>The first command uses the Get-AzureRMDataFactory cmdlet to get the data factory named ContosoFactory, and then stores it in the $DataFactory variable. </maml:para> + <maml:para>The first command uses the Get-AzureRmDataFactory cmdlet to get the data factory named ContosoFactory, and then stores it in the $DataFactory variable. </maml:para> <maml:para>The second command gets information about the linked service for the data factory stored in $DataFactory, and then passes that information to the Format-Table cmdlet by using the pipeline operator. The Format-Table cmdlet formats the output as a dataset with the specified properties as dataset columns.</maml:para> </dev:remarks> <command:commandLines> @@ -785,18 +785,18 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>New-AzureRMDataFactoryLinkedService</maml:linkText> + <maml:linkText>New-AzureRmDataFactoryLinkedService</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMDataFactoryLinkedService</maml:linkText> + <maml:linkText>Remove-AzureRmDataFactoryLinkedService</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMDataFactoryPipeline</command:name> + <command:name>Get-AzureRmDataFactoryPipeline</command:name> <maml:description> <maml:para>Gets information about pipelines in Data Factory.</maml:para> </maml:description> @@ -808,12 +808,12 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMDataFactoryPipeline cmdlet gets information about pipelines in Azure Data Factory. If you specify the name of a pipeline, this cmdlet gets information about that pipeline. If you do not specify a name, this cmdlet gets information about all the pipelines in the data factory.</maml:para> + <maml:para>The Get-AzureRmDataFactoryPipeline cmdlet gets information about pipelines in Azure Data Factory. If you specify the name of a pipeline, this cmdlet gets information about that pipeline. If you do not specify a name, this cmdlet gets information about all the pipelines in the data factory.</maml:para> <maml:para>You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMDataFactoryPipeline</maml:name> + <maml:name>Get-AzureRmDataFactoryPipeline</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -837,7 +837,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMDataFactoryPipeline</maml:name> + <maml:name>Get-AzureRmDataFactoryPipeline</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>DataFactory</maml:name> <maml:description> @@ -937,10 +937,10 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; Get-AzureRMDataFactoryPipeline -ResourceGroupName "ADF" -DataFactoryName "WikiADF" + PS C:\&gt; Get-AzureRmDataFactoryPipeline -ResourceGroupName "ADF" -DataFactoryName "WikiADF" </dev:code> <dev:code> - PS C:\&gt;$df = Get-AzureRMDataFactory -ResourceGroupName ADF -Name WikiADFGet-AzureRMDataFactoryPipeline -DataFactory $df + PS C:\&gt;$df = Get-AzureRmDataFactory -ResourceGroupName ADF -Name WikiADFGet-AzureRmDataFactoryPipeline -DataFactory $df PipelineName ResourceGroupName DataFactoryName Properties ------------ ----------------- --------------- ---------- DPWikisample ADF WikiADF Microsoft.DataFactories.PipelineProperties @@ -961,7 +961,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; Get-AzureRMDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF" | Format-List + PS C:\&gt; Get-AzureRmDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF" | Format-List PipelineName : DPWikisample ResourceGroupName : ADF DataFactoryName : WikiADF @@ -982,7 +982,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; (Get-AzureRMDataFactoryPipeline -ResourceGroupName "ADF" -Name DPWikisample -DataFactoryName "WikiADF").Properties + PS C:\&gt; (Get-AzureRmDataFactoryPipeline -ResourceGroupName "ADF" -Name DPWikisample -DataFactoryName "WikiADF").Properties Activities : {WikiHiveActivity, BlobToSqlCopyActivity} Description : DP Wikipedia Sample Pipelines End : 6/6/2014 8:00:00 AM @@ -1005,7 +1005,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; (Get-AzureRMDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF").Properties.Activities + PS C:\&gt; (Get-AzureRmDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF").Properties.Activities Transformation : Microsoft.DataFactories.HDInsightActivityProperties Description : Inputs : {DAWikipediaClickEvents} @@ -1037,7 +1037,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; (Get-AzureRMDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF").Properties.RuntimeInfo + PS C:\&gt; (Get-AzureRmDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF").Properties.RuntimeInfo DeploymentTime -------------- 6/5/2014 10:36:46 PM @@ -1057,7 +1057,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; (Get-AzureRMDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF11").Properties.Activities[0].Inputs | Format-List + PS C:\&gt; (Get-AzureRmDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF11").Properties.Activities[0].Inputs | Format-List EndTime : Length : Name : DAWikipediaClickEvents @@ -1075,30 +1075,30 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>New-AzureRMDataFactoryPipeline</maml:linkText> + <maml:linkText>New-AzureRmDataFactoryPipeline</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMDataFactoryPipeline</maml:linkText> + <maml:linkText>Remove-AzureRmDataFactoryPipeline</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Resume-AzureRMDataFactoryPipeline</maml:linkText> + <maml:linkText>Resume-AzureRmDataFactoryPipeline</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMDataFactoryPipelineActivePeriod</maml:linkText> + <maml:linkText>Set-AzureRmDataFactoryPipelineActivePeriod</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Suspend-AzureRMDataFactoryPipeline</maml:linkText> + <maml:linkText>Suspend-AzureRmDataFactoryPipeline</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMDataFactoryRun</command:name> + <command:name>Get-AzureRmDataFactoryRun</command:name> <maml:description> <maml:para>Gets runs for a data slice of a dataset in Data Factory.</maml:para> </maml:description> @@ -1110,7 +1110,7 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMDataFactoryRun cmdlet gets the runs for a data slice of a dataset in Azure Data Factory. A dataset in a data factory is composed of slices over the time axis. The width of a slice is determined by the schedule, either hourly or daily. A run is a unit of processing for a slice. There could be one or more runs for a slice in case of retries or in case you rerun your slice due to failures. A slice is identified by its start time. To obtain the start time of a slice, use the Get-AzureRMDataFactorySlice cmdlet. </maml:para> + <maml:para>The Get-AzureRmDataFactoryRun cmdlet gets the runs for a data slice of a dataset in Azure Data Factory. A dataset in a data factory is composed of slices over the time axis. The width of a slice is determined by the schedule, either hourly or daily. A run is a unit of processing for a slice. There could be one or more runs for a slice in case of retries or in case you rerun your slice due to failures. A slice is identified by its start time. To obtain the start time of a slice, use the Get-AzureRmDataFactorySlice cmdlet. </maml:para> <maml:para> For example, to get a run for the following slice, use the start time 2015-04-02T20:00:00. @@ -1127,7 +1127,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMDataFactoryRun</maml:name> + <maml:name>Get-AzureRmDataFactoryRun</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -1161,7 +1161,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMDataFactoryRun</maml:name> + <maml:name>Get-AzureRmDataFactoryRun</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>DataFactory</maml:name> <maml:description> @@ -1286,7 +1286,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; Get-AzureRMDataFactoryRun -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -DatasetName "DAWikiAggregatedData" -StartDateTime 2014-05-21T16:00:00Z + PS C:\&gt; Get-AzureRmDataFactoryRun -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -DatasetName "DAWikiAggregatedData" -StartDateTime 2014-05-21T16:00:00Z Id : a7c4913c-9623-49b3-ae1e-3e45e2b68819 ResourceGroupName : ADF @@ -1319,14 +1319,14 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMDataFactorySlice</maml:linkText> + <maml:linkText>Get-AzureRmDataFactorySlice</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMDataFactorySlice</command:name> + <command:name>Get-AzureRmDataFactorySlice</command:name> <maml:description> <maml:para>Gets data slices for a dataset in Data Factory.</maml:para> </maml:description> @@ -1338,7 +1338,7 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMDataFactorySlice cmdlet gets data slices for a dataset in Azure Data Factory. Specify a start time and an end time to define a range of data slices to view. </maml:para> + <maml:para>The Get-AzureRmDataFactorySlice cmdlet gets data slices for a dataset in Azure Data Factory. Specify a start time and an end time to define a range of data slices to view. </maml:para> <maml:para> The status of a data slice is one of the following values: @@ -1353,12 +1353,12 @@ -- Retry Validation. Data Factory retries the validation of the slice. -- Failed Validation. Validation of the slice failed. </maml:para> - <maml:para>For each of the slices, you can see more information about the run that produces the slice by using the Get-AzureRMDataFactoryRun cmdlet. </maml:para> + <maml:para>For each of the slices, you can see more information about the run that produces the slice by using the Get-AzureRmDataFactoryRun cmdlet. </maml:para> <maml:para>You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMDataFactorySlice</maml:name> + <maml:name>Get-AzureRmDataFactorySlice</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -1402,7 +1402,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMDataFactorySlice</maml:name> + <maml:name>Get-AzureRmDataFactorySlice</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>DataFactory</maml:name> <maml:description> @@ -1552,7 +1552,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; Get-AzureRMDataFactorySlice -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -DatasetName "DAWikiAggregatedData" -StartDateTime 2014-05-20T10:00:00Z + PS C:\&gt; Get-AzureRmDataFactorySlice -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -DatasetName "DAWikiAggregatedData" -StartDateTime 2014-05-20T10:00:00Z ResourceGroupName : ADF DataFactoryName : WikiADF @@ -1600,7 +1600,7 @@ periodMultiplier: 1 } </maml:para> - <maml:para>Some of the results are Ready and others are PendingExecution. Ready slices have already run. The pending slices are waiting to run at the end of each hour in the interval that the Set-AzureRMDataFactoryPipelineActivePeriod cmdlet specifies. In this example, both start and end periods for the pipeline and the slice have a value of one day (24 hours). </maml:para> + <maml:para>Some of the results are Ready and others are PendingExecution. Ready slices have already run. The pending slices are waiting to run at the end of each hour in the interval that the Set-AzureRmDataFactoryPipelineActivePeriod cmdlet specifies. In this example, both start and end periods for the pipeline and the slice have a value of one day (24 hours). </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> @@ -1611,22 +1611,22 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Set-AzureRMDataFactorySliceStatus</maml:linkText> + <maml:linkText>Set-AzureRmDataFactorySliceStatus</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMDataFactoryRun</maml:linkText> + <maml:linkText>Get-AzureRmDataFactoryRun</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMDataFactoryPipelineActivePeriod</maml:linkText> + <maml:linkText>Set-AzureRmDataFactoryPipelineActivePeriod</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMDataFactoryDataset</command:name> + <command:name>Get-AzureRmDataFactoryDataset</command:name> <maml:description> <maml:para>Gets information about datasets in Data Factory.</maml:para> </maml:description> @@ -1638,12 +1638,12 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMDataFactoryDataset cmdlet gets information about datasets in Azure Data Factory. If you specify the name of a dataset, this cmdlet gets information about that dataset. If you do not specify a name, this cmdlet gets information about all the datasets in the data factory.</maml:para> + <maml:para>The Get-AzureRmDataFactoryDataset cmdlet gets information about datasets in Azure Data Factory. If you specify the name of a dataset, this cmdlet gets information about that dataset. If you do not specify a name, this cmdlet gets information about all the datasets in the data factory.</maml:para> <maml:para>You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMDataFactoryDataset</maml:name> + <maml:name>Get-AzureRmDataFactoryDataset</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -1667,7 +1667,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMDataFactoryDataset</maml:name> + <maml:name>Get-AzureRmDataFactoryDataset</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>DataFactory</maml:name> <maml:description> @@ -1767,7 +1767,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; Get-AzureRMDataFactoryDataset -ResourceGroupName "ADF" -DataFactoryName "WikiADF" + PS C:\&gt; Get-AzureRmDataFactoryDataset -ResourceGroupName "ADF" -DataFactoryName "WikiADF" DatasetName : DACuratedWikiData ResourceGroupName : ADF DataFactoryName : WikiADF @@ -1807,7 +1807,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; Get-AzureRMDataFactoryDataset -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikipediaClickEvents" + PS C:\&gt; Get-AzureRmDataFactoryDataset -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikipediaClickEvents" DatasetName : DAWikipediaClickEvents ResourceGroupName : ADF DataFactoryName : WikiADF @@ -1831,7 +1831,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; (Get-AzureRMDataFactoryDataset -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikipediaClickEvents").Location + PS C:\&gt; (Get-AzureRmDataFactoryDataset -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikipediaClickEvents").Location BlobPath : wikidatagateway/wikisampledatain/ FilenamePrefix : Format : @@ -1839,7 +1839,7 @@ PartitionBy : {} </dev:code> <dev:remarks> - <maml:para>This command gets information for the dataset named DAWikipediaClickEvents in the data factory named WikiADF, and then uses standard dot notation to view the Location associated with that dataset. Alternatively, assign the output of the Get-AzureRMDataFactoryDataset cmdlet to a variable, and then use dot notation to view the Location property associated with the dataset object stored in that variable. </maml:para> + <maml:para>This command gets information for the dataset named DAWikipediaClickEvents in the data factory named WikiADF, and then uses standard dot notation to view the Location associated with that dataset. Alternatively, assign the output of the Get-AzureRmDataFactoryDataset cmdlet to a variable, and then use dot notation to view the Location property associated with the dataset object stored in that variable. </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> @@ -1850,18 +1850,18 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>New-AzureRMDataFactoryDataset</maml:linkText> + <maml:linkText>New-AzureRmDataFactoryDataset</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMDataFactoryDataset</maml:linkText> + <maml:linkText>Remove-AzureRmDataFactoryDataset</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMDataFactory</command:name> + <command:name>New-AzureRmDataFactory</command:name> <maml:description> <maml:para>Creates a data factory.</maml:para> </maml:description> @@ -1873,7 +1873,7 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMDataFactory cmdlet creates a data factory with the specified resource group name and location. </maml:para> + <maml:para>The New-AzureRmDataFactory cmdlet creates a data factory with the specified resource group name and location. </maml:para> <maml:para> Perform these operations in the following order: @@ -1886,7 +1886,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMDataFactory</maml:name> + <maml:name>New-AzureRmDataFactory</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -2026,7 +2026,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; New-AzureRMDataFactory -ResourceGroupName "ADF" -Name "WikiADF" -Location "WestUS" + PS C:\&gt; New-AzureRmDataFactory -ResourceGroupName "ADF" -Name "WikiADF" -Location "WestUS" DataFactoryName : WikiADF ResourceGroupName : ADF Location : WestUS @@ -2045,18 +2045,18 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMDataFactory</maml:linkText> + <maml:linkText>Get-AzureRmDataFactory</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMDataFactory</maml:linkText> + <maml:linkText>Remove-AzureRmDataFactory</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMDataFactoryEncryptValue</command:name> + <command:name>New-AzureRmDataFactoryEncryptValue</command:name> <maml:description> <maml:para>Encrypts sensitive data.</maml:para> </maml:description> @@ -2068,12 +2068,12 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMDataFactoryEncryptValue cmdlet encrypts sensitive data, such as a password or a MicrosoftSQL Server connection string, and returns an encrypted value.</maml:para> + <maml:para>The New-AzureRmDataFactoryEncryptValue cmdlet encrypts sensitive data, such as a password or a MicrosoftSQL Server connection string, and returns an encrypted value.</maml:para> <maml:para>You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMDataFactoryEncryptValue</maml:name> + <maml:name>New-AzureRmDataFactoryEncryptValue</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -2146,7 +2146,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMDataFactoryEncryptValue</maml:name> + <maml:name>New-AzureRmDataFactoryEncryptValue</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>DataFactory</maml:name> <maml:description> @@ -2382,7 +2382,7 @@ PS C:\&gt;$Value = ConvertTo-SecureString 'Data Source=ContosoServer;Initial Catalog=catelog;user id =user123;password=password123' -AsPlainText -Force </dev:code> <dev:code> - PS C:\&gt;New-AzureRMDataFactoryEncryptValue -DataFactoryName "WikiADF" -GatewayName "WikiGateway" -ResourceGroupName "ADF" -Value $Value -Type OnPremisesSqlLinkedService + PS C:\&gt;New-AzureRmDataFactoryEncryptValue -DataFactoryName "WikiADF" -GatewayName "WikiGateway" -ResourceGroupName "ADF" -Value $Value -Type OnPremisesSqlLinkedService data source=ContosoServer;initial catalog=catelog;EncryptedCredential=KAAAAAABAAAQAAAAQUU5MUVBNzY4QkFCQkI3MEUwRTMxOUNFNkM0MjRDOTVDNDk3RTcyRi8XAXyE/H+f3JydTkdg5t2g1eC/VtyF3NAD3idYnhrAphPJmO0pCaG5nH2IY48L3XJi7wabrlrGF+ieiWh1bwdgdxrW+t2jWPnLvT/ENUXtcevpx/dmTGKagH8TU9HLcoL1CAanb7Vkpga1B/uzRxBnVdsdtfvBzxG2M810tj1WzL8lFzA1mO5GbB0+ge116y0scL1vxjerjl5Muv0r0scG3lhj+IF0sXUMITFvhQwOIqweR052E6JlfJu+mTNFLCCkpw1iV+rhRhKqJF752dBuWjzI1EoyQUE17oK4OevkquuhUbfJmzj9BhGKQ+VkndAZiSw19FEGSC7JzoUe/XWEs/FJYrQCCXIeNS94J9/VzN6KPYJR1pzAYCtnhq+p8Q== </dev:code> <dev:remarks> @@ -2407,7 +2407,7 @@ PS C:\&gt;$Credential = Get-Credential </dev:code> <dev:code> - PS C:\&gt;New-AzureRMDataFactoryEncryptValue -DataFactoryName "WikiADF" -GatewayName "WikiGateway" -ResourceGroupName "ADF" -Value $Value -Credential $Credential -Type OnPremisesSqlLinkedService + PS C:\&gt;New-AzureRmDataFactoryEncryptValue -DataFactoryName "WikiADF" -GatewayName "WikiGateway" -ResourceGroupName "ADF" -Value $Value -Credential $Credential -Type OnPremisesSqlLinkedService data source=ContosoServer;initial catalog=catelog;EncryptedCredential=KAAAAAABAAAQAAAAQUU5MUVBNzY4QkFCQkI3MEUwRTMxOUNFNkM0MjRDOTVDNDk3RTcyRi8XAXyE/H+f3JydTkdg5t2g1eC/VtyF3NAD3idYnhrAphPJmO0pCaG5nH2IY48L3XJi7wabrlrGF+ieiWh1bwdgdxrW+t2jWPnLvT/ENUXtcevpx/dmTGKagH8TU9HLcoL1CAanb7Vkpga1B/uzRxBnVdsdtfvBzxG2M810tj1WzL8lFzA1mO5GbB0+ge116y0scL1vxjerjl5Muv0r0scG3lhj+IF0sXUMITFvhQwOIqweR052E6JlfJu+mTNFLCCkpw1iV+rhRhKqJF752dBuWjzI1EoyQUE17oK4OevkquuhUbfJmzj9BhGKQ+VkndAZiw19FEGSC7JzoUe/XWEs/FJYrQCCXIeNS94J9/VzN6KPYJR1pzAYCtnhq+p8Q== </dev:code> <dev:remarks> @@ -2429,7 +2429,7 @@ <dev:code> PS C:\&gt; $Value = ConvertTo-SecureString '\\servername' -AsPlainText -Force PS C:\&gt; $Credential = Get-Credential - PS C:\&gt; New-AzureRMDataFactoryEncryptValue -DataFactoryName "WikiADF" -GatewayName "WikiGateway" -ResourceGroupName "ADF" -Value $Value -Credential $Credential -Type OnPremisesFileSystemLinkedService + PS C:\&gt; New-AzureRmDataFactoryEncryptValue -DataFactoryName "WikiADF" -GatewayName "WikiGateway" -ResourceGroupName "ADF" -Value $Value -Credential $Credential -Type OnPremisesFileSystemLinkedService KAAAAAABAAAQAAAAQUU5MUVBNzY4QkFCQkI3MEUwRTMxOUNFNkM0MjRDOTVDNDk3RTcyRi8XAXyE/H+f3JydTkdg5t2g1eC/VtyF3NAD3idYnhrAphPJmO0pCaG5nH2IY48L3XJi7wabrlrGF+ieiWh1bwdgdxrW+t2jWPnLvT/ENUXtcevpx/dmTGKagH8TU9HLcoL1CAanb7Vkpga1B/uzRxBnVdsdtfvBzxG2M810tj1WzL8lFzA1mO5GbB0+ge116y0scL1vxjerjl5Muv0r0scG3lhj+IF0sXUMITFvhQwOIqweR052E6JlfJu+mTNFLCCkpw1iV+rhRhKqJF752dBuWjzI1EoyQUE17oK4OevkquuhUbfJmzj9BhGKQ+VkndAZiSw19FEGSC7JzoUe/XWEs/FJYrQCCXIeNS94J9/VzN6KPYJR1pzAYCtnhq+p8Q== </dev:code> <dev:remarks> @@ -2452,7 +2452,7 @@ PS C:\&gt;$Value = ConvertTo-SecureString 'UID=user123;PWD=password123;AuthMode=mode1;Token=token1' -AsPlainText -Force </dev:code> <dev:code> - PS C:\&gt;New-AzureRMDataFactoryEncryptValue -DataFactoryName "WikiADF" -GatewayName "WikiGateway" -ResourceGroupName "ADF" -Value $Value -Type OnPremisesOdbcLinkedService -nonCredentialValue "Driver=CustomizedDriver;Server=ContosoServer;Database=ContosoDatabase;" -AuthenticationType "Basic" + PS C:\&gt;New-AzureRmDataFactoryEncryptValue -DataFactoryName "WikiADF" -GatewayName "WikiGateway" -ResourceGroupName "ADF" -Value $Value -Type OnPremisesOdbcLinkedService -nonCredentialValue "Driver=CustomizedDriver;Server=ContosoServer;Database=ContosoDatabase;" -AuthenticationType "Basic" Driver=CustomizedDriver;Server=ContosoServer;Database=ContosoDatabase;EncryptedCredential=KAAAAAABAAAQAAAAQUU5MUVBNzY4QkFCQkI3MEUwRTMxOUNFNkM0MjRDOTVDNDk3RTcyRi8XAXyE/H+f3JydTkdg5t2g1eC/VtyF3NAD3idYnhrAphPJmO0pCaG5nH2IY48L3XJi7wabrlrGF+ieiWh1bwdgdxrW+t2jWPnLvT/ENUXtcevpx/dmTGKagH8TU9HLcoL1CAanb7Vkpga1B/uzRxBnVdsdtfvBzxG2M810tj1WzL8lFzA1mO5GbB0+ge116y0scL1vxjerjl5Muv0r0scG3lhj+IF0sXUMITFvhQwOIqweR052E6JlfJu+mTNFLCCkpw1iV+rhRhKqJF752dBuWjzI1EoyQUE17oK4OevkquuhUbfJmzj9BhGKQ+VkndAZiSw19FEGSC7JzoUe/XWEs/FJYrQCCXIeNS94J9/VzN6KPYJR1pzAYCtnhq+p8Q== </dev:code> <dev:remarks> @@ -2477,7 +2477,7 @@ PS C:\&gt;$Credential = Get-Credential </dev:code> <dev:code> - PS C:\&gt;New-AzureRMDataFactoryEncryptValue -DataFactoryName "WikiADF" -GatewayName "WikiGateway" -ResourceGroupName "ADF" -Value $Value -Credential $Credential -Type OnPremisesOdbcLinkedService -nonCredentialValue "Driver=CustomizedDriver;Server=ContosoServer;Database=ContosoDatabase;" -AuthenticationType "Windows" + PS C:\&gt;New-AzureRmDataFactoryEncryptValue -DataFactoryName "WikiADF" -GatewayName "WikiGateway" -ResourceGroupName "ADF" -Value $Value -Credential $Credential -Type OnPremisesOdbcLinkedService -nonCredentialValue "Driver=CustomizedDriver;Server=ContosoServer;Database=ContosoDatabase;" -AuthenticationType "Windows" Driver=CustomizedDriver;Server=ContosoServer;Database=ContosoDatabase;EncryptedCredential=KAAAAAABAAAQAAAAQUU5MUVBNzY4QkFCQkI3MEUwRTMxOUNFNkM0MjRDOTVDNDk3RTcyRi8XAXyE/H+f3JydTkdg5t2g1eC/VtyF3NAD3idYnhrAphPJmO0pCaG5nH2IY48L3XJi7wabrlrGF+ieiWh1bwdgdxrW+t2jWPnLvT/ENUXtcevpx/dmTGKagH8TU9HLcoL1CAanb7Vkpga1B/uzRxBnVdsdtfvBzxG2M810tj1WzL8lFzA1mO5GbB0+ge116y0scL1vxjerjl5Muv0r0scG3lhj+IF0sXUMITFvhQwOIqweR052E6JlfJu+mTNFLCCkpw1iV+rhRhKqJF752dBuWjzI1EoyQUE17oK4OevkquuhUbfJmzj9BhGKQ+VkndAZiw19FEGSC7JzoUe/XWEs/FJYrQCCXIeNS94J9/VzN6KPYJR1pzAYCtnhq+p8Q== </dev:code> <dev:remarks> @@ -2500,7 +2500,7 @@ PS C:\&gt;$Credential = Get-Credential </dev:code> <dev:code> - PS C:\&gt;New-AzureRMDataFactoryEncryptValue -DataFactoryName "WikiADF" -GatewayName "WikiGateway" -ResourceGroupName "ADF" -Value $Value -Credential $Credential -Type OnPremisesPostgreSqlLinkedService -AuthenticationType "Windows" -Server "ContosoServer" -Database "ContosoDatabase" + PS C:\&gt;New-AzureRmDataFactoryEncryptValue -DataFactoryName "WikiADF" -GatewayName "WikiGateway" -ResourceGroupName "ADF" -Value $Value -Credential $Credential -Type OnPremisesPostgreSqlLinkedService -AuthenticationType "Windows" -Server "ContosoServer" -Database "ContosoDatabase" KAAAAAABAAAQAAAAQUU5MUVBNzY4QkFCQkI3MEUwRTMxOUNFNkM0MjRDOTVDNDk3RTcyRi8XA== </dev:code> <dev:remarks> @@ -2523,7 +2523,7 @@ </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMDataFactoryGateway</command:name> + <command:name>New-AzureRmDataFactoryGateway</command:name> <maml:description> <maml:para>Creates a gateway for Data Factory.</maml:para> </maml:description> @@ -2535,12 +2535,12 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMDataFactoryGateway cmdlet creates a gateway in Azure Data Factory. </maml:para> + <maml:para>The New-AzureRmDataFactoryGateway cmdlet creates a gateway in Azure Data Factory. </maml:para> <maml:para>You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMDataFactoryGateway</maml:name> + <maml:name>New-AzureRmDataFactoryGateway</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -2571,7 +2571,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMDataFactoryGateway</maml:name> + <maml:name>New-AzureRmDataFactoryGateway</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>DataFactory</maml:name> <maml:description> @@ -2690,7 +2690,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; New-AzureRMDataFactoryGateway -ResourceGroupName "ADF" -Name "ContosoGateway" -DataFactoryName "WikiADF" -Description "my gateway" + PS C:\&gt; New-AzureRmDataFactoryGateway -ResourceGroupName "ADF" -Name "ContosoGateway" -DataFactoryName "WikiADF" -Description "my gateway" Name : ContosoGateway Description : my gateway Version : @@ -2713,18 +2713,18 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Remove-AzureRMDataFactoryGateway</maml:linkText> + <maml:linkText>Remove-AzureRmDataFactoryGateway</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMDataFactoryGateway</maml:linkText> + <maml:linkText>Set-AzureRmDataFactoryGateway</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMDataFactoryGatewayKey</command:name> + <command:name>New-AzureRmDataFactoryGatewayKey</command:name> <maml:description> <maml:para>Creates a gateway key for Data Factory.</maml:para> </maml:description> @@ -2737,13 +2737,13 @@ </command:details> <maml:description> <maml:para> - The New-AzureRMDataFactoryGatewayKey cmdlet creates a gateway key for a specified Azure Data Factory gateway. You register the gateway with a cloud service by using this key. + The New-AzureRmDataFactoryGatewayKey cmdlet creates a gateway key for a specified Azure Data Factory gateway. You register the gateway with a cloud service by using this key. </maml:para> <maml:para>You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMDataFactoryGatewayKey</maml:name> + <maml:name>New-AzureRmDataFactoryGatewayKey</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -2769,7 +2769,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMDataFactoryGatewayKey</maml:name> + <maml:name>New-AzureRmDataFactoryGatewayKey</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>DataFactory</maml:name> <maml:description> @@ -2873,7 +2873,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; New-AzureRMDataFactoryGatewayKey -ResourceGroupName "ADF" -GatewayName "ContosoGateway" -DataFactoryName "WikiADF" | Format-List + PS C:\&gt; New-AzureRmDataFactoryGatewayKey -ResourceGroupName "ADF" -GatewayName "ContosoGateway" -DataFactoryName "WikiADF" | Format-List Gateway Key : ADF#40cbb3d9-2736-4794-a8a6-e6b839b4894f@a2d875ce-c9d7-4b8b-ad65-dd3ebbb9a940@8c0d1801-e863-44af-82e6-fb2f0c00f2ae@xz#Y9R0NhAeH3u7wgnrJyiWj4Y/QIhH4fFilIdzZgwsVQA= </dev:code> <dev:remarks> @@ -2889,14 +2889,14 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>New-AzureRMDataFactoryGateway</maml:linkText> + <maml:linkText>New-AzureRmDataFactoryGateway</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMDataFactoryHub</command:name> + <command:name>New-AzureRmDataFactoryHub</command:name> <maml:description> <maml:para>Creates a hub for Data Factory.</maml:para> </maml:description> @@ -2908,12 +2908,12 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMDataFactoryHub cmdlet creates a hub for Azure Data Factory in the specified Azure resource group and in the specified data factory with the specified file definition. After you create the hub, you can use it to store and manage linked services in a group, and you can add pipelines to the hub.</maml:para> + <maml:para>The New-AzureRmDataFactoryHub cmdlet creates a hub for Azure Data Factory in the specified Azure resource group and in the specified data factory with the specified file definition. After you create the hub, you can use it to store and manage linked services in a group, and you can add pipelines to the hub.</maml:para> <maml:para>You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMDataFactoryHub</maml:name> + <maml:name>New-AzureRmDataFactoryHub</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -2950,7 +2950,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMDataFactoryHub</maml:name> + <maml:name>New-AzureRmDataFactoryHub</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>DataFactory</maml:name> <maml:description> @@ -3091,7 +3091,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt;New-AzureRMDataFactoryHub -ResourceGroupName "ADFResourceGroup" -DataFactoryName "ADFDataFactory" -Name "ContosoDataHub" -File "C:\Hub.json" + PS C:\&gt;New-AzureRmDataFactoryHub -ResourceGroupName "ADFResourceGroup" -DataFactoryName "ADFDataFactory" -Name "ContosoDataHub" -File "C:\Hub.json" </dev:code> <dev:remarks> @@ -3110,18 +3110,18 @@ <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMDataFactoryHub</maml:linkText> + <maml:linkText>Get-AzureRmDataFactoryHub</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMDataFactoryHub</maml:linkText> + <maml:linkText>Remove-AzureRmDataFactoryHub</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMDataFactoryLinkedService</command:name> + <command:name>New-AzureRmDataFactoryLinkedService</command:name> <maml:description> <maml:para>Links a data store or a cloud service to Data Factory.</maml:para> </maml:description> @@ -3133,7 +3133,7 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMDataFactoryLinkedService cmdlet links a data store or a cloud service to Azure Data Factory. If you specify a name for a linked service that already exists, this cmdlet prompts you for confirmation before it replaces the linked service. If you specify the Force parameter, the cmdlet replaces the existing linked service without confirmation. </maml:para> + <maml:para>The New-AzureRmDataFactoryLinkedService cmdlet links a data store or a cloud service to Azure Data Factory. If you specify a name for a linked service that already exists, this cmdlet prompts you for confirmation before it replaces the linked service. If you specify the Force parameter, the cmdlet replaces the existing linked service without confirmation. </maml:para> <maml:para> Perform these operations in the following order: @@ -3146,7 +3146,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMDataFactoryLinkedService</maml:name> + <maml:name>New-AzureRmDataFactoryLinkedService</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -3185,7 +3185,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMDataFactoryLinkedService</maml:name> + <maml:name>New-AzureRmDataFactoryLinkedService</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>DataFactory</maml:name> <maml:description> @@ -3324,7 +3324,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; New-AzureRMDataFactoryLinkedService -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "LinkedServiceCuratedWikiData" -File "C:\\samples\\WikiSample\\LinkedServiceCuratedWikiData.json" | Format-List + PS C:\&gt; New-AzureRmDataFactoryLinkedService -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "LinkedServiceCuratedWikiData" -File "C:\\samples\\WikiSample\\LinkedServiceCuratedWikiData.json" | Format-List LinkedServiceName : LinkedServiceCuratedWikiData ResourceGroupName : ADF DataFactoryName : WikiADF @@ -3342,18 +3342,18 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMDataFactoryLinkedService</maml:linkText> + <maml:linkText>Get-AzureRmDataFactoryLinkedService</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMDataFactoryLinkedService</maml:linkText> + <maml:linkText>Remove-AzureRmDataFactoryLinkedService</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMDataFactoryPipeline</command:name> + <command:name>New-AzureRmDataFactoryPipeline</command:name> <maml:description> <maml:para>Creates a pipeline in Data Factory.</maml:para> </maml:description> @@ -3365,7 +3365,7 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMDataFactoryPipeline cmdlet creates a pipeline in Azure Data Factory. If you specify a name for a pipeline that already exists, the cmdlet prompts you for confirmation before it replaces the pipeline. If you specify the Force parameter, the cmdlet replaces the existing pipeline without confirmation. </maml:para> + <maml:para>The New-AzureRmDataFactoryPipeline cmdlet creates a pipeline in Azure Data Factory. If you specify a name for a pipeline that already exists, the cmdlet prompts you for confirmation before it replaces the pipeline. If you specify the Force parameter, the cmdlet replaces the existing pipeline without confirmation. </maml:para> <maml:para> Perform these operations in the following order: @@ -3379,7 +3379,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMDataFactoryPipeline</maml:name> + <maml:name>New-AzureRmDataFactoryPipeline</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -3420,7 +3420,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMDataFactoryPipeline</maml:name> + <maml:name>New-AzureRmDataFactoryPipeline</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>DataFactory</maml:name> <maml:description> @@ -3563,7 +3563,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; New-AzureRMDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF" -File "C:\DPWikisample.json" + PS C:\&gt; New-AzureRmDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF" -File "C:\DPWikisample.json" PipelineName : DPWikisample ResourceGroupName : ADF DataFactoryName : WikiADF11 @@ -3581,30 +3581,30 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMDataFactoryPipeline</maml:linkText> + <maml:linkText>Get-AzureRmDataFactoryPipeline</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMDataFactoryPipeline</maml:linkText> + <maml:linkText>Remove-AzureRmDataFactoryPipeline</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Resume-AzureRMDataFactoryPipeline</maml:linkText> + <maml:linkText>Resume-AzureRmDataFactoryPipeline</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMDataFactoryPipelineActivePeriod</maml:linkText> + <maml:linkText>Set-AzureRmDataFactoryPipelineActivePeriod</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Suspend-AzureRMDataFactoryPipeline</maml:linkText> + <maml:linkText>Suspend-AzureRmDataFactoryPipeline</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMDataFactoryDataset</command:name> + <command:name>New-AzureRmDataFactoryDataset</command:name> <maml:description> <maml:para>Creates a dataset in Data Factory.</maml:para> </maml:description> @@ -3616,7 +3616,7 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMDataFactoryDataset cmdlet creates a dataset in Azure Data Factory. If you specify a name for a dataset that already exists, this cmdlet prompts you for confirmation before it replaces the dataset. If you specify the Force parameter, the cmdlet replaces the existing dataset without confirmation.</maml:para> + <maml:para>The New-AzureRmDataFactoryDataset cmdlet creates a dataset in Azure Data Factory. If you specify a name for a dataset that already exists, this cmdlet prompts you for confirmation before it replaces the dataset. If you specify the Force parameter, the cmdlet replaces the existing dataset without confirmation.</maml:para> <maml:para> Perform these operations in the following order: @@ -3630,7 +3630,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMDataFactoryDataset</maml:name> + <maml:name>New-AzureRmDataFactoryDataset</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -3667,7 +3667,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMDataFactoryDataset</maml:name> + <maml:name>New-AzureRmDataFactoryDataset</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>DataFactory</maml:name> <maml:description> @@ -3804,7 +3804,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; New-AzureRMDataFactoryDataset -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikipediaClickEvents" -File "C:\\samples\\WikiSample\\DA_WikipediaClickEvents.json" + PS C:\&gt; New-AzureRmDataFactoryDataset -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikipediaClickEvents" -File "C:\\samples\\WikiSample\\DA_WikipediaClickEvents.json" DatasetName : DAWikipediaClickEvents ResourceGroupName : ADF DataFactoryName : WikiADF @@ -3828,7 +3828,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; $Dataset = New-AzureRMDataFactoryDataset -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikipediaClickEvents" -File "C:\\samples\\WikiSample\\DA_WikipediaClickEvents.json"PS C:\&gt; $Dataset.Availability + PS C:\&gt; $Dataset = New-AzureRmDataFactoryDataset -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikipediaClickEvents" -File "C:\\samples\\WikiSample\\DA_WikipediaClickEvents.json"PS C:\&gt; $Dataset.Availability AnchorDateTime : Frequency : Hour Interval : 1 @@ -3851,7 +3851,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; $Dataset = New-AzureRMDataFactoryDataset -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikipediaClickEvents" -File "C:\\samples\\WikiSample\\DA_WikipediaClickEvents.json"PS C:\&gt; $Dataset.Location + PS C:\&gt; $Dataset = New-AzureRmDataFactoryDataset -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikipediaClickEvents" -File "C:\\samples\\WikiSample\\DA_WikipediaClickEvents.json"PS C:\&gt; $Dataset.Location BlobPath : wikidatagateway/wikisampledatain/ FilenamePrefix : Format : @@ -3874,7 +3874,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; $Dataset = New-AzureRMDataFactoryDataset -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikipediaClickEvents" -File "C:\\samples\\WikiSample\\DA_WikipediaClickEvents.json"PS C:\&gt; $Dataset.Policy.Validation | Format-List $dataset.Location + PS C:\&gt; $Dataset = New-AzureRmDataFactoryDataset -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikipediaClickEvents" -File "C:\\samples\\WikiSample\\DA_WikipediaClickEvents.json"PS C:\&gt; $Dataset.Policy.Validation | Format-List $dataset.Location BlobPath : wikidatagateway/wikisampledatain/ FilenamePrefix : @@ -3898,18 +3898,18 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMDataFactoryDataset</maml:linkText> + <maml:linkText>Get-AzureRmDataFactoryDataset</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMDataFactoryDataset</maml:linkText> + <maml:linkText>Remove-AzureRmDataFactoryDataset</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMDataFactory</command:name> + <command:name>Remove-AzureRmDataFactory</command:name> <maml:description> <maml:para>Removes a data factory.</maml:para> </maml:description> @@ -3921,12 +3921,12 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMDataFactory cmdlet removes a data factory. </maml:para> + <maml:para>The Remove-AzureRmDataFactory cmdlet removes a data factory. </maml:para> <maml:para>You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMDataFactory</maml:name> + <maml:name>Remove-AzureRmDataFactory</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -3951,7 +3951,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMDataFactory</maml:name> + <maml:name>Remove-AzureRmDataFactory</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>DataFactory</maml:name> <maml:description> @@ -4052,7 +4052,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; Remove-AzureRMDataFactory -Name "WikiADF" -ResourceGroupName "ADF" + PS C:\&gt; Remove-AzureRmDataFactory -Name "WikiADF" -ResourceGroupName "ADF" Confirm Are you sure you want to remove data factory 'WikiADF' in resource group 'ADF'? [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y @@ -4070,18 +4070,18 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMDataFactory</maml:linkText> + <maml:linkText>Get-AzureRmDataFactory</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMDataFactory</maml:linkText> + <maml:linkText>New-AzureRmDataFactory</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMDataFactoryGateway</command:name> + <command:name>Remove-AzureRmDataFactoryGateway</command:name> <maml:description> <maml:para>Removes a gateway from Data Factory.</maml:para> </maml:description> @@ -4093,12 +4093,12 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMDataFactoryGateway cmdlet removes the specified gateway from Azure Data Factory.</maml:para> + <maml:para>The Remove-AzureRmDataFactoryGateway cmdlet removes the specified gateway from Azure Data Factory.</maml:para> <maml:para>You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMDataFactoryGateway</maml:name> + <maml:name>Remove-AzureRmDataFactoryGateway</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -4128,7 +4128,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMDataFactoryGateway</maml:name> + <maml:name>Remove-AzureRmDataFactoryGateway</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>DataFactory</maml:name> <maml:description> @@ -4246,7 +4246,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; Remove-AzureRMDataFactoryGateway -Name "ContosoGateway" -DataFactoryName "WikiADF" -ResourceGroupName "ADF" + PS C:\&gt; Remove-AzureRmDataFactoryGateway -Name "ContosoGateway" -DataFactoryName "WikiADF" -ResourceGroupName "ADF" Confirm Are you sure you want to remove gateway 'ContosoGateway' in data factory 'WikiADF'? [Y] Yes [N] No [S] Suspend [?] Help (default is Y): Y @@ -4264,22 +4264,22 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMDataFactoryGateway</maml:linkText> + <maml:linkText>Get-AzureRmDataFactoryGateway</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMDataFactoryGateway</maml:linkText> + <maml:linkText>New-AzureRmDataFactoryGateway</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMDataFactoryGateway</maml:linkText> + <maml:linkText>Set-AzureRmDataFactoryGateway</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMDataFactoryHub</command:name> + <command:name>Remove-AzureRmDataFactoryHub</command:name> <maml:description> <maml:para>Removes a hub from Data Factory.</maml:para> </maml:description> @@ -4291,12 +4291,12 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMDataFactoryHub cmdlet removes a hub from Azure Data Factory in the specified Azure resource group and in the specified data factory. If you remove a hub, all linked services and pipelines in the hub are also removed.</maml:para> + <maml:para>The Remove-AzureRmDataFactoryHub cmdlet removes a hub from Azure Data Factory in the specified Azure resource group and in the specified data factory. If you remove a hub, all linked services and pipelines in the hub are also removed.</maml:para> <maml:para>You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMDataFactoryHub</maml:name> + <maml:name>Remove-AzureRmDataFactoryHub</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -4326,7 +4326,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMDataFactoryHub</maml:name> + <maml:name>Remove-AzureRmDataFactoryHub</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>DataFactory</maml:name> <maml:description> @@ -4448,7 +4448,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt;Remove-AzureRMDataFactoryHub -ResourceGroupName "ADFResourceGroup" -DataFactoryName "ADFDataFactory" -Name "ContosoDataHub" + PS C:\&gt;Remove-AzureRmDataFactoryHub -ResourceGroupName "ADFResourceGroup" -DataFactoryName "ADFDataFactory" -Name "ContosoDataHub" </dev:code> <dev:remarks> @@ -4467,18 +4467,18 @@ <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMDataFactoryHub</maml:linkText> + <maml:linkText>New-AzureRmDataFactoryHub</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMDataFactoryHub</maml:linkText> + <maml:linkText>Get-AzureRmDataFactoryHub</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMDataFactoryLinkedService</command:name> + <command:name>Remove-AzureRmDataFactoryLinkedService</command:name> <maml:description> <maml:para>Removes a linked service from Data Factory.</maml:para> </maml:description> @@ -4490,12 +4490,12 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMDataFactoryLinkedService cmdlet removes a linked service from Azure Data Factory. </maml:para> + <maml:para>The Remove-AzureRmDataFactoryLinkedService cmdlet removes a linked service from Azure Data Factory. </maml:para> <maml:para>You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMDataFactoryLinkedService</maml:name> + <maml:name>Remove-AzureRmDataFactoryLinkedService</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -4527,7 +4527,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMDataFactoryLinkedService</maml:name> + <maml:name>Remove-AzureRmDataFactoryLinkedService</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>DataFactory</maml:name> <maml:description> @@ -4649,7 +4649,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; Remove-AzureRMDataFactoryLinkedService -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "LinkedServiceTest" + PS C:\&gt; Remove-AzureRmDataFactoryLinkedService -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "LinkedServiceTest" Confirm Are you sure you want to remove linked service 'LinkedServiceTest' in data factory 'WikiADF'? [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y @@ -4667,18 +4667,18 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMDataFactoryLinkedService</maml:linkText> + <maml:linkText>Get-AzureRmDataFactoryLinkedService</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMDataFactoryLinkedService</maml:linkText> + <maml:linkText>New-AzureRmDataFactoryLinkedService</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMDataFactoryPipeline</command:name> + <command:name>Remove-AzureRmDataFactoryPipeline</command:name> <maml:description> <maml:para>Removes a pipeline from Data Factory.</maml:para> </maml:description> @@ -4690,12 +4690,12 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMDataFactoryPipeline cmdlet removes a pipeline from Azure Data Factory. </maml:para> + <maml:para>The Remove-AzureRmDataFactoryPipeline cmdlet removes a pipeline from Azure Data Factory. </maml:para> <maml:para>You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMDataFactoryPipeline</maml:name> + <maml:name>Remove-AzureRmDataFactoryPipeline</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -4725,7 +4725,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMDataFactoryPipeline</maml:name> + <maml:name>Remove-AzureRmDataFactoryPipeline</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>DataFactory</maml:name> <maml:description> @@ -4843,7 +4843,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; Remove-AzureRMDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF" + PS C:\&gt; Remove-AzureRmDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF" Confirm Are you sure you want to remove pipeline 'DPWikisample' in data factory 'WikiADF'? [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y @@ -4861,30 +4861,30 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMDataFactoryPipeline</maml:linkText> + <maml:linkText>Get-AzureRmDataFactoryPipeline</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMDataFactoryPipeline</maml:linkText> + <maml:linkText>New-AzureRmDataFactoryPipeline</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Resume-AzureRMDataFactoryPipeline</maml:linkText> + <maml:linkText>Resume-AzureRmDataFactoryPipeline</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMDataFactoryPipelineActivePeriod</maml:linkText> + <maml:linkText>Set-AzureRmDataFactoryPipelineActivePeriod</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Suspend-AzureRMDataFactoryPipeline</maml:linkText> + <maml:linkText>Suspend-AzureRmDataFactoryPipeline</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMDataFactoryDataset</command:name> + <command:name>Remove-AzureRmDataFactoryDataset</command:name> <maml:description> <maml:para>Removes a dataset from Data Factory.</maml:para> </maml:description> @@ -4896,12 +4896,12 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMDataFactoryDataset cmdlet removes a dataset from Azure Data Factory. </maml:para> + <maml:para>The Remove-AzureRmDataFactoryDataset cmdlet removes a dataset from Azure Data Factory. </maml:para> <maml:para>You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMDataFactoryDataset</maml:name> + <maml:name>Remove-AzureRmDataFactoryDataset</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -4931,7 +4931,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMDataFactoryDataset</maml:name> + <maml:name>Remove-AzureRmDataFactoryDataset</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>DataFactory</maml:name> <maml:description> @@ -5049,7 +5049,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; Remove-AzureRMDataFactoryDataset -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikiAggregatedData" + PS C:\&gt; Remove-AzureRmDataFactoryDataset -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "DAWikiAggregatedData" Confirm Are you sure you want to remove dataset 'DAWikiAggregatedData' in data factory 'WikiADF'? [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y @@ -5067,18 +5067,18 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMDataFactoryDataset</maml:linkText> + <maml:linkText>Get-AzureRmDataFactoryDataset</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMDataFactoryDataset</maml:linkText> + <maml:linkText>New-AzureRmDataFactoryDataset</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Resume-AzureRMDataFactoryPipeline</command:name> + <command:name>Resume-AzureRmDataFactoryPipeline</command:name> <maml:description> <maml:para>Resumes a suspended pipeline in Data Factory.</maml:para> </maml:description> @@ -5090,12 +5090,12 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Resume-AzureRMDataFactoryPipeline cmdlet resumes a suspended pipeline in Azure Data Factory. </maml:para> + <maml:para>The Resume-AzureRmDataFactoryPipeline cmdlet resumes a suspended pipeline in Azure Data Factory. </maml:para> <maml:para>You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Resume-AzureRMDataFactoryPipeline</maml:name> + <maml:name>Resume-AzureRmDataFactoryPipeline</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -5125,7 +5125,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Resume-AzureRMDataFactoryPipeline</maml:name> + <maml:name>Resume-AzureRmDataFactoryPipeline</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>DataFactory</maml:name> <maml:description> @@ -5243,14 +5243,14 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; Resume-AzureRMDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF" + PS C:\&gt; Resume-AzureRmDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF" Confirm Are you sure you want to resume pipeline 'DPWikisample' in data factory 'WikiADF'? [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y True </dev:code> <dev:remarks> - <maml:para>This command resumes the pipeline named DPWikisample in the data factory named WikiADF. Use the Suspend-AzureRMDataFactoryPipeline cmdlet to suspend a pipeline. The command returns a value of $True.</maml:para> + <maml:para>This command resumes the pipeline named DPWikisample in the data factory named WikiADF. Use the Suspend-AzureRmDataFactoryPipeline cmdlet to suspend a pipeline. The command returns a value of $True.</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> @@ -5261,30 +5261,30 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMDataFactoryPipeline</maml:linkText> + <maml:linkText>Get-AzureRmDataFactoryPipeline</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMDataFactoryPipeline</maml:linkText> + <maml:linkText>New-AzureRmDataFactoryPipeline</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMDataFactoryPipeline</maml:linkText> + <maml:linkText>Remove-AzureRmDataFactoryPipeline</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMDataFactoryPipelineActivePeriod</maml:linkText> + <maml:linkText>Set-AzureRmDataFactoryPipelineActivePeriod</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Suspend-AzureRMDataFactoryPipeline</maml:linkText> + <maml:linkText>Suspend-AzureRmDataFactoryPipeline</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Save-AzureRMDataFactoryLog</command:name> + <command:name>Save-AzureRmDataFactoryLog</command:name> <maml:description> <maml:para>Downloads log files from HDInsight processing.</maml:para> </maml:description> @@ -5297,14 +5297,14 @@ </command:details> <maml:description> <maml:para>You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager.</maml:para> - <maml:para>The Save-AzureRMDataFactoryLog cmdlet downloads log files associated with Azure HDInsight processing of Pig or Hive projects or for custom activities to your local hard drive. You first run the Get-AzureRMDataFactoryRun cmdlet to get an ID for an activity run for a data slice, and then use that ID to retrieve log files from the binary large object (BLOB) storage associated with the HDInsight cluster. </maml:para> + <maml:para>The Save-AzureRmDataFactoryLog cmdlet downloads log files associated with Azure HDInsight processing of Pig or Hive projects or for custom activities to your local hard drive. You first run the Get-AzureRmDataFactoryRun cmdlet to get an ID for an activity run for a data slice, and then use that ID to retrieve log files from the binary large object (BLOB) storage associated with the HDInsight cluster. </maml:para> <maml:para>If you do not specify –DownloadLogs parameter, the cmdlet just returns the location of log files. </maml:para> <maml:para>If you specify –DownloadLogs parameter without specifying an output directory (-Output parameter), the log files are downloaded to the default Documents folder. </maml:para> <maml:para>If you specify –DownloadLogs parameter along with an output folder (-Output), the log files are downloaded to the specified folder. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Save-AzureRMDataFactoryLog</maml:name> + <maml:name>Save-AzureRmDataFactoryLog</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>DataFactory</maml:name> <maml:description> @@ -5315,7 +5315,7 @@ <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="2" aliases=""> <maml:name>Id</maml:name> <maml:description> - <maml:para>Specifies the ID of the activity run for the data slice. Use the Get-AzureRMDataFactoryRun cmdlet to get an ID. </maml:para> + <maml:para>Specifies the ID of the activity run for the data slice. Use the Get-AzureRmDataFactoryRun cmdlet to get an ID. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -5334,7 +5334,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Save-AzureRMDataFactoryLog</maml:name> + <maml:name>Save-AzureRmDataFactoryLog</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -5352,7 +5352,7 @@ <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="2" aliases=""> <maml:name>Id</maml:name> <maml:description> - <maml:para>Specifies the ID of the activity run for the data slice. Use the Get-AzureRMDataFactoryRun cmdlet to get an ID. </maml:para> + <maml:para>Specifies the ID of the activity run for the data slice. Use the Get-AzureRmDataFactoryRun cmdlet to get an ID. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -5411,7 +5411,7 @@ <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="2" aliases=""> <maml:name>Id</maml:name> <maml:description> - <maml:para>Specifies the ID of the activity run for the data slice. Use the Get-AzureRMDataFactoryRun cmdlet to get an ID. </maml:para> + <maml:para>Specifies the ID of the activity run for the data slice. Use the Get-AzureRmDataFactoryRun cmdlet to get an ID. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -5482,7 +5482,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt;Save-AzureRMDataFactoryLog -ResourceGroupName "ADF" -DataFactoryName "LogProcessingFactory" -Id "841b77c9-d56c-48d1-99a3-8c16c3e77d39" -DownloadLogs -Output "C:\Test" + PS C:\&gt;Save-AzureRmDataFactoryLog -ResourceGroupName "ADF" -DataFactoryName "LogProcessingFactory" -Id "841b77c9-d56c-48d1-99a3-8c16c3e77d39" -DownloadLogs -Output "C:\Test" </dev:code> <dev:remarks> @@ -5500,7 +5500,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt;Save-AzureRMDataFactoryLog -ResourceGroupName "ADF" -DataFactoryName "LogProcessingFactory" -Id "841b77c9-d56c-48d1-99a3-8c16c3e77d39" -DownloadLogs + PS C:\&gt;Save-AzureRmDataFactoryLog -ResourceGroupName "ADF" -DataFactoryName "LogProcessingFactory" -Id "841b77c9-d56c-48d1-99a3-8c16c3e77d39" -DownloadLogs </dev:code> <dev:remarks> @@ -5518,7 +5518,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt;Save-AzureRMDataFactoryLog -ResourceGroupName "ADF" -DataFactoryName "LogProcessingFactory" -Id "841b77c9-d56c-48d1-99a3-8c16c3e77d39" + PS C:\&gt;Save-AzureRmDataFactoryLog -ResourceGroupName "ADF" -DataFactoryName "LogProcessingFactory" -Id "841b77c9-d56c-48d1-99a3-8c16c3e77d39" </dev:code> <dev:remarks> @@ -5537,34 +5537,34 @@ <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMDataFactoryRun</maml:linkText> + <maml:linkText>Get-AzureRmDataFactoryRun</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMDataFactoryPipeline</maml:linkText> + <maml:linkText>Get-AzureRmDataFactoryPipeline</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMDataFactoryPipeline</maml:linkText> + <maml:linkText>New-AzureRmDataFactoryPipeline</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMDataFactoryPipeline</maml:linkText> + <maml:linkText>Remove-AzureRmDataFactoryPipeline</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMDataFactoryPipelineActivePeriod</maml:linkText> + <maml:linkText>Set-AzureRmDataFactoryPipelineActivePeriod</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Suspend-AzureRMDataFactoryPipeline</maml:linkText> + <maml:linkText>Suspend-AzureRmDataFactoryPipeline</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMDataFactoryGateway</command:name> + <command:name>Set-AzureRmDataFactoryGateway</command:name> <maml:description> <maml:para>Sets the description for a gateway in Data Factory.</maml:para> </maml:description> @@ -5576,12 +5576,12 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMDataFactoryGateway cmdlet sets the description for the specified gateway in Azure Data Factory.</maml:para> + <maml:para>The Set-AzureRmDataFactoryGateway cmdlet sets the description for the specified gateway in Azure Data Factory.</maml:para> <maml:para>You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMDataFactoryGateway</maml:name> + <maml:name>Set-AzureRmDataFactoryGateway</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -5612,7 +5612,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMDataFactoryGateway</maml:name> + <maml:name>Set-AzureRmDataFactoryGateway</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>DataFactory</maml:name> <maml:description> @@ -5731,7 +5731,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; Set-AzureRMDataFactoryGateway -ResourceGroupName "ADF" -Name "ContosoGateway" -DataFactoryName "WikiADF" -Description "my gateway" + PS C:\&gt; Set-AzureRmDataFactoryGateway -ResourceGroupName "ADF" -Name "ContosoGateway" -DataFactoryName "WikiADF" -Description "my gateway" Name : ContosoGateway Description : my gateway Version : 1.3.5338.1 @@ -5755,22 +5755,22 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMDataFactoryGateway</maml:linkText> + <maml:linkText>Get-AzureRmDataFactoryGateway</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMDataFactoryGateway</maml:linkText> + <maml:linkText>New-AzureRmDataFactoryGateway</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMDataFactoryGateway</maml:linkText> + <maml:linkText>Remove-AzureRmDataFactoryGateway</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMDataFactoryPipelineActivePeriod</command:name> + <command:name>Set-AzureRmDataFactoryPipelineActivePeriod</command:name> <maml:description> <maml:para>Configures the active period for data slices.</maml:para> </maml:description> @@ -5782,13 +5782,13 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMDataFactoryPipelineActivePeriod cmdlet configures the active period for the data slices that are processed by a pipeline in Azure Data Factory. If you use the Set-AzureRMDataFactorySliceStatus cmdlet to modify the status of slices for a dataset, make sure that the start time and end time for a slice are in the active period of the pipeline.</maml:para> + <maml:para>The Set-AzureRmDataFactoryPipelineActivePeriod cmdlet configures the active period for the data slices that are processed by a pipeline in Azure Data Factory. If you use the Set-AzureRmDataFactorySliceStatus cmdlet to modify the status of slices for a dataset, make sure that the start time and end time for a slice are in the active period of the pipeline.</maml:para> <maml:para>After you create a pipeline, you can specify the period in which data processing occurs. Specifying the active period for a pipeline defines the time duration in which the data slices are processed based on the Availability properties that were defined for each Data Factory dataset. </maml:para> <maml:para>You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMDataFactoryPipelineActivePeriod</maml:name> + <maml:name>Set-AzureRmDataFactoryPipelineActivePeriod</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -5850,7 +5850,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMDataFactoryPipelineActivePeriod</maml:name> + <maml:name>Set-AzureRmDataFactoryPipelineActivePeriod</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>DataFactory</maml:name> <maml:description> @@ -6052,7 +6052,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; Set-AzureRMDataFactoryPipelineActivePeriod -ResourceGroupName "ADF" -PipelineName "DPWikisample" -DataFactoryName "WikiADF" -StartDateTime 2014-05-21T16:00:00Z -EndDateTime 2014-05-22T16:00:00Z + PS C:\&gt; Set-AzureRmDataFactoryPipelineActivePeriod -ResourceGroupName "ADF" -PipelineName "DPWikisample" -DataFactoryName "WikiADF" -StartDateTime 2014-05-21T16:00:00Z -EndDateTime 2014-05-22T16:00:00Z Confirm Are you sure you want to set pipeline 'DPWikisample' active period from '05/21/2014 16:00:00' to @@ -6072,18 +6072,18 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>New-AzureRMDataFactoryPipeline</maml:linkText> + <maml:linkText>New-AzureRmDataFactoryPipeline</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMDataFactorySliceStatus</maml:linkText> + <maml:linkText>Set-AzureRmDataFactorySliceStatus</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMDataFactorySliceStatus</command:name> + <command:name>Set-AzureRmDataFactorySliceStatus</command:name> <maml:description> <maml:para>Sets the status of slices for a dataset in Data Factory.</maml:para> </maml:description> @@ -6095,12 +6095,12 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMDataFactorySliceStatus cmdlet sets the status of slices for a dataset in Azure Data Factory.</maml:para> + <maml:para>The Set-AzureRmDataFactorySliceStatus cmdlet sets the status of slices for a dataset in Azure Data Factory.</maml:para> <maml:para>You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMDataFactorySliceStatus</maml:name> + <maml:name>Set-AzureRmDataFactorySliceStatus</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -6168,7 +6168,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMDataFactorySliceStatus</maml:name> + <maml:name>Set-AzureRmDataFactorySliceStatus</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>DataFactory</maml:name> <maml:description> @@ -6376,7 +6376,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; Set-AzureRMDataFactorySliceStatus -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -DatasetName "DAWikiAggregatedData" -StartDateTime 2014-05-21T16:00:00Z -EndDateTime 2014-05-21T20:00:00Z -Status "PendingExecution" -UpdateType "UpstreamInPipeline" + PS C:\&gt; Set-AzureRmDataFactorySliceStatus -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -DatasetName "DAWikiAggregatedData" -StartDateTime 2014-05-21T16:00:00Z -EndDateTime 2014-05-21T20:00:00Z -Status "PendingExecution" -UpdateType "UpstreamInPipeline" True </dev:code> <dev:remarks> @@ -6391,14 +6391,14 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMDataFactorySlice</maml:linkText> + <maml:linkText>Get-AzureRmDataFactorySlice</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Suspend-AzureRMDataFactoryPipeline</command:name> + <command:name>Suspend-AzureRmDataFactoryPipeline</command:name> <maml:description> <maml:para>Suspends a pipeline in Data Factory.</maml:para> </maml:description> @@ -6410,12 +6410,12 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Suspend-AzureRMDataFactoryPipeline cmdlet suspends a pipeline in Azure Data Factory. You can resume the pipeline by using the Resume-AzureRMDataFactoryPipeline cmdlet. </maml:para> + <maml:para>The Suspend-AzureRmDataFactoryPipeline cmdlet suspends a pipeline in Azure Data Factory. You can resume the pipeline by using the Resume-AzureRmDataFactoryPipeline cmdlet. </maml:para> <maml:para>You must be in AzureResourceManager mode to run Azure Data Factory cmdlets. To switch to AzureResourceManager mode, type Switch-AzureMode AzureResourceManager.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Suspend-AzureRMDataFactoryPipeline</maml:name> + <maml:name>Suspend-AzureRmDataFactoryPipeline</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -6445,7 +6445,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Suspend-AzureRMDataFactoryPipeline</maml:name> + <maml:name>Suspend-AzureRmDataFactoryPipeline</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases=""> <maml:name>DataFactory</maml:name> <maml:description> @@ -6563,7 +6563,7 @@ <maml:para></maml:para> </maml:introduction> <dev:code> - PS C:\&gt; Suspend-AzureRMDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikiSample" -DataFactoryName "WikiADF" + PS C:\&gt; Suspend-AzureRmDataFactoryPipeline -ResourceGroupName "ADF" -Name "DPWikiSample" -DataFactoryName "WikiADF" Confirm Are you sure you want to suspend pipeline 'DPWikisample' in data factory 'WikiADF'? [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y @@ -6581,23 +6581,23 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMDataFactoryPipeline</maml:linkText> + <maml:linkText>Get-AzureRmDataFactoryPipeline</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMDataFactoryPipeline</maml:linkText> + <maml:linkText>New-AzureRmDataFactoryPipeline</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMDataFactoryPipeline</maml:linkText> + <maml:linkText>Remove-AzureRmDataFactoryPipeline</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Resume-AzureRMDataFactoryPipeline</maml:linkText> + <maml:linkText>Resume-AzureRmDataFactoryPipeline</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMDataFactoryPipelineActivePeriod</maml:linkText> + <maml:linkText>Set-AzureRmDataFactoryPipelineActivePeriod</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Properties/Resources.Designer.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Properties/Resources.Designer.cs index 125e804f7aca..c884386f2c7c 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories/Properties/Resources.Designer.cs +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Properties/Resources.Designer.cs @@ -61,7 +61,7 @@ internal Resources() { } /// <summary> - /// Looks up a localized string similar to The data factory object provided is invalid. Use Get-AzureRMDataFactory to retrieve a specific data factory object, or use New-AzureRMDataFactory to create a new data factory object.. + /// Looks up a localized string similar to The data factory object provided is invalid. Use Get-AzureRmDataFactory to retrieve a specific data factory object, or use New-AzureRmDataFactory to create a new data factory object.. /// </summary> internal static string DataFactoryArgumentInvalid { get { @@ -218,7 +218,7 @@ internal static string DownloadLogCompleted { } /// <summary> - /// Looks up a localized string similar to EndDateTime is not specified and is set to 48 hours from StartDateTime (by default). Please use -EndDateTime parameter in Get-AzureRMDataFactorySlice command if you want to specify EndDateTime.. + /// Looks up a localized string similar to EndDateTime is not specified and is set to 48 hours from StartDateTime (by default). Please use -EndDateTime parameter in Get-AzureRmDataFactorySlice command if you want to specify EndDateTime.. /// </summary> internal static string EndDateTimeNotSpecifiedForGetSlice { get { @@ -227,7 +227,7 @@ internal static string EndDateTimeNotSpecifiedForGetSlice { } /// <summary> - /// Looks up a localized string similar to EndDateTime is not specified and is set to 48 hours from StartDateTime (by default). Please use -EndDateTime parameter in Set-AzureRMDataFactorySliceStatus command if you want to specify EndDateTime.. + /// Looks up a localized string similar to EndDateTime is not specified and is set to 48 hours from StartDateTime (by default). Please use -EndDateTime parameter in Set-AzureRmDataFactorySliceStatus command if you want to specify EndDateTime.. /// </summary> internal static string EndDateTimeNotSpecifiedForSetSliceStatus { get { diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Properties/Resources.resx b/src/ResourceManager/DataFactories/Commands.DataFactories/Properties/Resources.resx index 8b9ab9943090..cc3075be90dc 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories/Properties/Resources.resx +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Properties/Resources.resx @@ -118,7 +118,7 @@ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <data name="DataFactoryArgumentInvalid" xml:space="preserve"> - <value>The data factory object provided is invalid. Use Get-AzureRMDataFactory to retrieve a specific data factory object, or use New-AzureRMDataFactory to create a new data factory object.</value> + <value>The data factory object provided is invalid. Use Get-AzureRmDataFactory to retrieve a specific data factory object, or use New-AzureRmDataFactory to create a new data factory object.</value> </data> <data name="DataFactoryGatewayConfirmationMessage" xml:space="preserve"> <value>Are you sure you want to remove the gateway '{0}' in the data factory '{1}'?</value> @@ -256,9 +256,9 @@ Are you sure you want to continue?</value> For data factory naming restrictions, please see http://msdn.microsoft.com/en-us/library/dn835027.aspx</value> </data> <data name="EndDateTimeNotSpecifiedForGetSlice" xml:space="preserve"> - <value>EndDateTime is not specified and is set to 48 hours from StartDateTime (by default). Please use -EndDateTime parameter in Get-AzureRMDataFactorySlice command if you want to specify EndDateTime.</value> + <value>EndDateTime is not specified and is set to 48 hours from StartDateTime (by default). Please use -EndDateTime parameter in Get-AzureRmDataFactorySlice command if you want to specify EndDateTime.</value> </data> <data name="EndDateTimeNotSpecifiedForSetSliceStatus" xml:space="preserve"> - <value>EndDateTime is not specified and is set to 48 hours from StartDateTime (by default). Please use -EndDateTime parameter in Set-AzureRMDataFactorySliceStatus command if you want to specify EndDateTime.</value> + <value>EndDateTime is not specified and is set to 48 hours from StartDateTime (by default). Please use -EndDateTime parameter in Set-AzureRmDataFactorySliceStatus command if you want to specify EndDateTime.</value> </data> </root> \ No newline at end of file diff --git a/src/ResourceManager/Dns/Commands.Dns.Test/ScenarioTests/Common.ps1 b/src/ResourceManager/Dns/Commands.Dns.Test/ScenarioTests/Common.ps1 index 982da545bf78..54e35ae288a5 100644 --- a/src/ResourceManager/Dns/Commands.Dns.Test/ScenarioTests/Common.ps1 +++ b/src/ResourceManager/Dns/Commands.Dns.Test/ScenarioTests/Common.ps1 @@ -36,7 +36,7 @@ Gets the default location for a provider #> function Get-ProviderLocation($provider) { - $location = Get-AzureRMLocation | where {[string]::Compare($_.Name, $provider, $True) -eq $True} + $location = Get-AzureRmLocation | where {[string]::Compare($_.Name, $provider, $True) -eq $True} if ($location -eq $null) { "West US" } else { @@ -52,6 +52,6 @@ function TestSetup-CreateResourceGroup { $resourceGroupName = Get-ResourceGroupName $rglocation = Get-ProviderLocation "microsoft.compute" - $resourceGroup = New-AzureRMResourceGroup -Name $resourceGroupName -location $rglocation + $resourceGroup = New-AzureRmResourceGroup -Name $resourceGroupName -location $rglocation return $resourceGroup } \ No newline at end of file diff --git a/src/ResourceManager/Dns/Commands.Dns.Test/ScenarioTests/RecordsTests.ps1 b/src/ResourceManager/Dns/Commands.Dns.Test/ScenarioTests/RecordsTests.ps1 index d9388e198330..f02b7ae94f4f 100644 --- a/src/ResourceManager/Dns/Commands.Dns.Test/ScenarioTests/RecordsTests.ps1 +++ b/src/ResourceManager/Dns/Commands.Dns.Test/ScenarioTests/RecordsTests.ps1 @@ -21,9 +21,9 @@ function Test-RecordSetCrud $zoneName = getAssetname $recordName = getAssetname $resourceGroup = TestSetup-CreateResourceGroup - $zone = New-AzureRMDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName + $zone = New-AzureRmDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName - $createdRecord = New-AzureRMDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -Ttl 100 -RecordType A -Tags @{Name="tag1";Value="val1"} + $createdRecord = New-AzureRmDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -Ttl 100 -RecordType A -Tags @{Name="tag1";Value="val1"} Assert-NotNull $createdRecord Assert-NotNull $createdRecord.Etag @@ -34,7 +34,7 @@ function Test-RecordSetCrud Assert-AreEqual 1 $createdRecord.Tags.Count Assert-AreEqual 0 $createdRecord.Records.Count - $retrievedRecord = Get-AzureRMDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType A + $retrievedRecord = Get-AzureRmDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType A Assert-NotNull $retrievedRecord Assert-AreEqual $recordName $retrievedRecord.Name @@ -49,7 +49,7 @@ function Test-RecordSetCrud # TODO: change and pipe in retrievedRecord, not createdRecord but this is currently broken by a service bug $createdRecord.Tags = @{Name="tag1";Value="val1"},@{Name="tag2";Value="val2"} $createdRecord.Ttl = 1300 - $updatedRecord = $createdRecord | Add-AzureRMDnsRecordConfig -Ipv4Address 13.13.0.13 | Set-AzureRMDnsRecordSet + $updatedRecord = $createdRecord | Add-AzureRmDnsRecordConfig -Ipv4Address 13.13.0.13 | Set-AzureRmDnsRecordSet Assert-NotNull $updatedRecord Assert-NotNull $updatedRecord.Etag @@ -62,7 +62,7 @@ function Test-RecordSetCrud Assert-AreEqual 1 $updatedRecord.Records.Count Assert-AreEqual "13.13.0.13" $updatedRecord.Records[0].Ipv4Address - $retrievedRecord = Get-AzureRMDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType A + $retrievedRecord = Get-AzureRmDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType A Assert-NotNull $retrievedRecord Assert-AreEqual $recordName $retrievedRecord.Name @@ -75,13 +75,13 @@ function Test-RecordSetCrud # broken by service bug # Assert-AreEqual 1300 $createdRecord.Ttl - $removed = Remove-AzureRMDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType A -PassThru -Force + $removed = Remove-AzureRmDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType A -PassThru -Force Assert-True { $removed } - Assert-Throws { Get-AzureRMDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType A } "ResourceNotFound: Resource not found." + Assert-Throws { Get-AzureRmDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType A } "ResourceNotFound: Resource not found." - Remove-AzureRMDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -Force + Remove-AzureRmDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -Force } <# @@ -95,36 +95,36 @@ function Test-RecordSetCrudTrimsDotFromZoneName $recordName = getAssetname $resourceGroup = TestSetup-CreateResourceGroup - $zone = New-AzureRMDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName + $zone = New-AzureRmDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName - $createdRecord = New-AzureRMDnsRecordSet -Name $recordName -ZoneName $zoneNameWithDot -ResourceGroupName $resourceGroup.ResourceGroupName -Ttl 100 -RecordType A -Tags @{Name="tag1";Value="val1"} + $createdRecord = New-AzureRmDnsRecordSet -Name $recordName -ZoneName $zoneNameWithDot -ResourceGroupName $resourceGroup.ResourceGroupName -Ttl 100 -RecordType A -Tags @{Name="tag1";Value="val1"} Assert-NotNull $createdRecord Assert-AreEqual $zoneName $createdRecord.ZoneName Assert-AreEqual $recordName $createdRecord.Name Assert-AreEqual $resourceGroup.ResourceGroupName $createdRecord.ResourceGroupName - $retrievedRecord = Get-AzureRMDnsRecordSet -Name $recordName -ZoneName $zoneNameWithDot -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType A + $retrievedRecord = Get-AzureRmDnsRecordSet -Name $recordName -ZoneName $zoneNameWithDot -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType A Assert-NotNull $retrievedRecord Assert-AreEqual $recordName $retrievedRecord.Name Assert-AreEqual $zoneName $retrievedRecord.ZoneName Assert-AreEqual $resourceGroup.ResourceGroupName $retrievedRecord.ResourceGroupName - $retrievedRecord = Get-AzureRMDnsRecordSet -Name $recordName -ZoneName $zoneNameWithDot -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType A + $retrievedRecord = Get-AzureRmDnsRecordSet -Name $recordName -ZoneName $zoneNameWithDot -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType A Assert-NotNull $retrievedRecord Assert-AreEqual $recordName $retrievedRecord.Name Assert-AreEqual $zoneName $retrievedRecord.ZoneName Assert-AreEqual $resourceGroup.ResourceGroupName $retrievedRecord.ResourceGroupName - $removed = Remove-AzureRMDnsRecordSet -Name $recordName -ZoneName $zoneNameWithDot -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType A -PassThru -Force + $removed = Remove-AzureRmDnsRecordSet -Name $recordName -ZoneName $zoneNameWithDot -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType A -PassThru -Force Assert-True { $removed } - Assert-Throws { Get-AzureRMDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType A } "ResourceNotFound: Resource not found." + Assert-Throws { Get-AzureRmDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType A } "ResourceNotFound: Resource not found." - Remove-AzureRMDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -Force + Remove-AzureRmDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -Force } <# @@ -135,7 +135,7 @@ function Test-RecordSetCrudWithPiping { $zoneName = getAssetname $recordName = getAssetname - $updatedRecord = TestSetup-CreateResourceGroup | New-AzureRMDnsZone -Name $zoneName | New-AzureRMDnsRecordSet -Name $recordName -Ttl 100 -RecordType A -Tags @{Name="tag1";Value="val1"} | Add-AzureRMDnsRecordConfig -Ipv4Address 13.13.0.13 | Set-AzureRMDnsRecordSet + $updatedRecord = TestSetup-CreateResourceGroup | New-AzureRmDnsZone -Name $zoneName | New-AzureRmDnsRecordSet -Name $recordName -Ttl 100 -RecordType A -Tags @{Name="tag1";Value="val1"} | Add-AzureRmDnsRecordConfig -Ipv4Address 13.13.0.13 | Set-AzureRmDnsRecordSet Assert-NotNull $updatedRecord Assert-NotNull $updatedRecord.Etag @@ -146,13 +146,13 @@ function Test-RecordSetCrudWithPiping Assert-AreEqual 1 $updatedRecord.Records.Count Assert-AreEqual "13.13.0.13" $updatedRecord.Records[0].Ipv4Address - $removed = Get-AzureRMDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $updatedRecord.ResourceGroupName -RecordType A | Remove-AzureRMDnsRecordSet -PassThru -Force + $removed = Get-AzureRmDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $updatedRecord.ResourceGroupName -RecordType A | Remove-AzureRmDnsRecordSet -PassThru -Force Assert-True { $removed } - Assert-Throws { Get-AzureRMDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $updatedRecord.ResourceGroupName -RecordType A } "ResourceNotFound: Resource not found." + Assert-Throws { Get-AzureRmDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $updatedRecord.ResourceGroupName -RecordType A } "ResourceNotFound: Resource not found." - Remove-AzureRMDnsZone -Name $zoneName -ResourceGroupName $updatedRecord.ResourceGroupName -Force + Remove-AzureRmDnsZone -Name $zoneName -ResourceGroupName $updatedRecord.ResourceGroupName -Force } <# @@ -165,13 +165,13 @@ function Test-RecordSetCrudWithPipingTrimsDotFromZoneName $zoneNameWithDot = $zoneName + "." $recordName = getAssetname - $zone = TestSetup-CreateResourceGroup | New-AzureRMDnsZone -Name $zoneName + $zone = TestSetup-CreateResourceGroup | New-AzureRmDnsZone -Name $zoneName $zoneObjectWithDot = New-Object Microsoft.Azure.Commands.Dns.DnsZone $zoneObjectWithDot.Name = $zoneNameWithDot $zoneObjectWithDot.ResourceGroupName = $zone.ResourceGroupName - $createdRecord = $zoneObjectWithDot | New-AzureRMDnsRecordSet -Name $recordName -Ttl 100 -RecordType A -Tags @{Name="tag1";Value="val1"} + $createdRecord = $zoneObjectWithDot | New-AzureRmDnsRecordSet -Name $recordName -Ttl 100 -RecordType A -Tags @{Name="tag1";Value="val1"} Assert-NotNull $createdRecord Assert-AreEqual $recordName $createdRecord.Name @@ -184,32 +184,32 @@ function Test-RecordSetCrudWithPipingTrimsDotFromZoneName $recordObjectWithDot.ResourceGroupName = $zone.ResourceGroupName $recordObjectWithDot.Ttl = 60 - $recordAfterAdd = $recordObjectWithDot | Add-AzureRMDnsRecordConfig -Ipv4Address 13.13.0.13 + $recordAfterAdd = $recordObjectWithDot | Add-AzureRmDnsRecordConfig -Ipv4Address 13.13.0.13 # this is an offline operation, we don't check the dot and don't change the object in place Assert-AreEqual $zoneNameWithDot $recordAfterAdd.ZoneName - $updatedRecord = $recordAfterAdd | Set-AzureRMDnsRecordSet -Overwrite + $updatedRecord = $recordAfterAdd | Set-AzureRmDnsRecordSet -Overwrite Assert-NotNull $updatedRecord Assert-AreEqual $recordName $updatedRecord.Name Assert-AreEqual $zoneName $updatedRecord.ZoneName Assert-AreEqual $zone.ResourceGroupName $updatedRecord.ResourceGroupName - $retrievedRecord = Get-AzureRMDnsRecordSet -Name $recordName -ZoneName $zoneNameWithDot -ResourceGroupName $zone.ResourceGroupName -RecordType A + $retrievedRecord = Get-AzureRmDnsRecordSet -Name $recordName -ZoneName $zoneNameWithDot -ResourceGroupName $zone.ResourceGroupName -RecordType A Assert-NotNull $retrievedRecord Assert-AreEqual $recordName $retrievedRecord.Name Assert-AreEqual $zoneName $retrievedRecord.ZoneName Assert-AreEqual $zone.ResourceGroupName $updatedRecord.ResourceGroupName - $removed = $recordObjectWithDot | Remove-AzureRMDnsRecordSet -Overwrite -PassThru -Force + $removed = $recordObjectWithDot | Remove-AzureRmDnsRecordSet -Overwrite -PassThru -Force Assert-True { $removed } - Assert-Throws { Get-AzureRMDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $updatedRecord.ResourceGroupName -RecordType A } "ResourceNotFound: Resource not found." + Assert-Throws { Get-AzureRmDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $updatedRecord.ResourceGroupName -RecordType A } "ResourceNotFound: Resource not found." - Remove-AzureRMDnsZone -Name $zoneName -ResourceGroupName $zone.ResourceGroupName -Force + Remove-AzureRmDnsZone -Name $zoneName -ResourceGroupName $zone.ResourceGroupName -Force } <# @@ -221,32 +221,32 @@ function Test-RecordSetA $zoneName = getAssetname $recordName = getAssetname $resourceGroup = TestSetup-CreateResourceGroup - $zone = $resourceGroup | New-AzureRMDnsZone -Name $zoneName + $zone = $resourceGroup | New-AzureRmDnsZone -Name $zoneName - $record = $zone | New-AzureRMDnsRecordSet -Name $recordName -Ttl 100 -RecordType A + $record = $zone | New-AzureRmDnsRecordSet -Name $recordName -Ttl 100 -RecordType A # add two records, remove one, remove another no-op - $record = $record | Add-AzureRMDnsRecordConfig -Ipv4Address 1.1.1.1 - $record = $record | Add-AzureRMDnsRecordConfig -Ipv4Address 2.2.2.2 - $record = $record | Remove-AzureRMDnsRecordConfig -Ipv4Address 1.1.1.1 - $record = $record | Remove-AzureRMDnsRecordConfig -Ipv4Address 3.3.3.3 + $record = $record | Add-AzureRmDnsRecordConfig -Ipv4Address 1.1.1.1 + $record = $record | Add-AzureRmDnsRecordConfig -Ipv4Address 2.2.2.2 + $record = $record | Remove-AzureRmDnsRecordConfig -Ipv4Address 1.1.1.1 + $record = $record | Remove-AzureRmDnsRecordConfig -Ipv4Address 3.3.3.3 - $record | Set-AzureRMDnsRecordSet - $getResult = Get-AzureRMDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType A + $record | Set-AzureRmDnsRecordSet + $getResult = Get-AzureRmDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType A Assert-AreEqual 1 $getResult.Records.Count Assert-AreEqual "2.2.2.2" $getResult.Records[0].Ipv4Address - $listResult = Get-AzureRMDnsRecordSet -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType A + $listResult = Get-AzureRmDnsRecordSet -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType A Assert-AreEqual 1 $listResult[0].Records.Count Assert-AreEqual "2.2.2.2" $listResult[0].Records[0].Ipv4Address - $removed = $listResult[0] | Remove-AzureRMDnsRecordSet -Force -PassThru + $removed = $listResult[0] | Remove-AzureRmDnsRecordSet -Force -PassThru Assert-True { $removed } - Remove-AzureRMDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -Force + Remove-AzureRmDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -Force } <# @@ -258,35 +258,35 @@ function Test-RecordSetAAAA $zoneName = getAssetname $recordName = getAssetname $resourceGroup = TestSetup-CreateResourceGroup - $zone = $resourceGroup | New-AzureRMDnsZone -Name $zoneName + $zone = $resourceGroup | New-AzureRmDnsZone -Name $zoneName - $record = $zone | New-AzureRMDnsRecordSet -Name $recordName -Ttl 100 -RecordType AAAA + $record = $zone | New-AzureRmDnsRecordSet -Name $recordName -Ttl 100 -RecordType AAAA # add two records, remove one, remove another no-op - $record = $record | Add-AzureRMDnsRecordConfig -Ipv6Address 1::11 - $record = $record | Add-AzureRMDnsRecordConfig -Ipv6Address 2::22 - $record = $record | Add-AzureRMDnsRecordConfig -Ipv6Address 4::44 - $record = $record | Remove-AzureRMDnsRecordConfig -Ipv6Address 2::22 - $record = $record | Remove-AzureRMDnsRecordConfig -Ipv6Address 3::33 - - $record | Set-AzureRMDnsRecordSet - $getResult = Get-AzureRMDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType AAAA + $record = $record | Add-AzureRmDnsRecordConfig -Ipv6Address 1::11 + $record = $record | Add-AzureRmDnsRecordConfig -Ipv6Address 2::22 + $record = $record | Add-AzureRmDnsRecordConfig -Ipv6Address 4::44 + $record = $record | Remove-AzureRmDnsRecordConfig -Ipv6Address 2::22 + $record = $record | Remove-AzureRmDnsRecordConfig -Ipv6Address 3::33 + + $record | Set-AzureRmDnsRecordSet + $getResult = Get-AzureRmDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType AAAA Assert-AreEqual 2 $getResult.Records.Count Assert-AreEqual "1::11" $getResult.Records[0].Ipv6Address Assert-AreEqual "4::44" $getResult.Records[1].Ipv6Address - $listResult = Get-AzureRMDnsRecordSet -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType AAAA + $listResult = Get-AzureRmDnsRecordSet -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType AAAA Assert-AreEqual 2 $listResult[0].Records.Count Assert-AreEqual "1::11" $listResult[0].Records[0].Ipv6Address Assert-AreEqual "4::44" $listResult[0].Records[1].Ipv6Address - $removed = $listResult[0] | Remove-AzureRMDnsRecordSet -Force -PassThru + $removed = $listResult[0] | Remove-AzureRmDnsRecordSet -Force -PassThru Assert-True { $removed } - Remove-AzureRMDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -Force + Remove-AzureRmDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -Force } <# @@ -298,32 +298,32 @@ function Test-RecordSetCNAME $zoneName = getAssetname $recordName = getAssetname $resourceGroup = TestSetup-CreateResourceGroup - $zone = $resourceGroup | New-AzureRMDnsZone -Name $zoneName + $zone = $resourceGroup | New-AzureRmDnsZone -Name $zoneName - $record = $zone | New-AzureRMDnsRecordSet -Name $recordName -Ttl 100 -RecordType CNAME + $record = $zone | New-AzureRmDnsRecordSet -Name $recordName -Ttl 100 -RecordType CNAME # add two records, remove one, remove another no-op - $record = $record | Add-AzureRMDnsRecordConfig -Cname www.example.com - $record = $record | Remove-AzureRMDnsRecordConfig -Cname www.example.com - $record = $record | Add-AzureRMDnsRecordConfig -Cname www.contoso.com - $record = $record | Remove-AzureRMDnsRecordConfig -Cname gibberish + $record = $record | Add-AzureRmDnsRecordConfig -Cname www.example.com + $record = $record | Remove-AzureRmDnsRecordConfig -Cname www.example.com + $record = $record | Add-AzureRmDnsRecordConfig -Cname www.contoso.com + $record = $record | Remove-AzureRmDnsRecordConfig -Cname gibberish - $record | Set-AzureRMDnsRecordSet - $getResult = Get-AzureRMDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType CNAME + $record | Set-AzureRmDnsRecordSet + $getResult = Get-AzureRmDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType CNAME Assert-AreEqual 1 $getResult.Records.Count Assert-AreEqual "www.contoso.com" $getResult.Records[0].Cname - $listResult = Get-AzureRMDnsRecordSet -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType CNAME + $listResult = Get-AzureRmDnsRecordSet -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType CNAME Assert-AreEqual 1 $listResult[0].Records.Count Assert-AreEqual "www.contoso.com" $listResult[0].Records[0].Cname - $removed = $listResult[0] | Remove-AzureRMDnsRecordSet -Force -PassThru + $removed = $listResult[0] | Remove-AzureRmDnsRecordSet -Force -PassThru Assert-True { $removed } - Remove-AzureRMDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -Force + Remove-AzureRmDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -Force } <# @@ -335,34 +335,34 @@ function Test-RecordSetMX $zoneName = getAssetname $recordName = getAssetname $resourceGroup = TestSetup-CreateResourceGroup - $zone = $resourceGroup | New-AzureRMDnsZone -Name $zoneName + $zone = $resourceGroup | New-AzureRmDnsZone -Name $zoneName - $record = $zone | New-AzureRMDnsRecordSet -Name $recordName -Ttl 100 -RecordType MX + $record = $zone | New-AzureRmDnsRecordSet -Name $recordName -Ttl 100 -RecordType MX # add two records, remove one, remove another no-op - $record = $record | Add-AzureRMDnsRecordConfig -Exchange mail1.theg.com -Preference 10 - $record = $record | Add-AzureRMDnsRecordConfig -Exchange mail2.theg.com -Preference 10 - $record = $record | Remove-AzureRMDnsRecordConfig -Exchange mail1.theg.com -Preference 10 - $record = $record | Remove-AzureRMDnsRecordConfig -Exchange mail2.theg.com -Preference 15 + $record = $record | Add-AzureRmDnsRecordConfig -Exchange mail1.theg.com -Preference 10 + $record = $record | Add-AzureRmDnsRecordConfig -Exchange mail2.theg.com -Preference 10 + $record = $record | Remove-AzureRmDnsRecordConfig -Exchange mail1.theg.com -Preference 10 + $record = $record | Remove-AzureRmDnsRecordConfig -Exchange mail2.theg.com -Preference 15 - $record | Set-AzureRMDnsRecordSet - $getResult = Get-AzureRMDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType MX + $record | Set-AzureRmDnsRecordSet + $getResult = Get-AzureRmDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType MX Assert-AreEqual 1 $getResult.Records.Count Assert-AreEqual "mail2.theg.com" $getResult.Records[0].Exchange Assert-AreEqual 10 $getResult.Records[0].Preference - $listResult = Get-AzureRMDnsRecordSet -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType MX + $listResult = Get-AzureRmDnsRecordSet -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType MX Assert-AreEqual 1 $listResult[0].Records.Count Assert-AreEqual "mail2.theg.com" $listResult[0].Records[0].Exchange Assert-AreEqual 10 $listResult[0].Records[0].Preference - $removed = $listResult[0] | Remove-AzureRMDnsRecordSet -Force -PassThru + $removed = $listResult[0] | Remove-AzureRmDnsRecordSet -Force -PassThru Assert-True { $removed } - Remove-AzureRMDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -Force + Remove-AzureRmDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -Force } <# @@ -374,25 +374,25 @@ function Test-RecordSetNS $zoneName = getAssetname $recordName = getAssetname $resourceGroup = TestSetup-CreateResourceGroup - $zone = $resourceGroup | New-AzureRMDnsZone -Name $zoneName + $zone = $resourceGroup | New-AzureRmDnsZone -Name $zoneName - $record = $zone | New-AzureRMDnsRecordSet -Name $recordName -Ttl 100 -RecordType NS + $record = $zone | New-AzureRmDnsRecordSet -Name $recordName -Ttl 100 -RecordType NS # add three records, remove one, remove another no-op - $record = $record | Add-AzureRMDnsRecordConfig -Nsdname ns1.example.com - $record = $record | Add-AzureRMDnsRecordConfig -Nsdname ns2.example.com - $record = $record | Add-AzureRMDnsRecordConfig -Nsdname ns3.example.com - $record = $record | Remove-AzureRMDnsRecordConfig -Nsdname ns3.example.com - $record = $record | Remove-AzureRMDnsRecordConfig -Nsdname ns4.example.com - - $record | Set-AzureRMDnsRecordSet - $getResult = Get-AzureRMDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType NS + $record = $record | Add-AzureRmDnsRecordConfig -Nsdname ns1.example.com + $record = $record | Add-AzureRmDnsRecordConfig -Nsdname ns2.example.com + $record = $record | Add-AzureRmDnsRecordConfig -Nsdname ns3.example.com + $record = $record | Remove-AzureRmDnsRecordConfig -Nsdname ns3.example.com + $record = $record | Remove-AzureRmDnsRecordConfig -Nsdname ns4.example.com + + $record | Set-AzureRmDnsRecordSet + $getResult = Get-AzureRmDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType NS Assert-AreEqual 2 $getResult.Records.Count Assert-AreEqual "ns1.example.com" $getResult.Records[0].Nsdname Assert-AreEqual "ns2.example.com" $getResult.Records[1].Nsdname - $listResult = Get-AzureRMDnsRecordSet -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType NS + $listResult = Get-AzureRmDnsRecordSet -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType NS # the authoritative NS record set will be the first result Assert-AreEqual 2 $listResult.Count @@ -400,11 +400,11 @@ function Test-RecordSetNS Assert-AreEqual "ns1.example.com" $listResult[1].Records[0].Nsdname Assert-AreEqual "ns2.example.com" $listResult[1].Records[1].Nsdname - $removed = $listResult[1] | Remove-AzureRMDnsRecordSet -Force -PassThru + $removed = $listResult[1] | Remove-AzureRmDnsRecordSet -Force -PassThru Assert-True { $removed } - Remove-AzureRMDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -Force + Remove-AzureRmDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -Force } <# @@ -416,35 +416,35 @@ function Test-RecordSetTXT $zoneName = getAssetname $recordName = getAssetname $resourceGroup = TestSetup-CreateResourceGroup - $zone = $resourceGroup | New-AzureRMDnsZone -Name $zoneName + $zone = $resourceGroup | New-AzureRmDnsZone -Name $zoneName - $record = $zone | New-AzureRMDnsRecordSet -Name $recordName -Ttl 100 -RecordType TXT + $record = $zone | New-AzureRmDnsRecordSet -Name $recordName -Ttl 100 -RecordType TXT # add three records, remove one, remove another no-op - $record = $record | Add-AzureRMDnsRecordConfig -Value text1 - $record = $record | Add-AzureRMDnsRecordConfig -Value text2 - $record = $record | Add-AzureRMDnsRecordConfig -Value text3 - $record = $record | Remove-AzureRMDnsRecordConfig -Value text1 - $record = $record | Remove-AzureRMDnsRecordConfig -Value text4 - - $record | Set-AzureRMDnsRecordSet - $getResult = Get-AzureRMDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType TXT + $record = $record | Add-AzureRmDnsRecordConfig -Value text1 + $record = $record | Add-AzureRmDnsRecordConfig -Value text2 + $record = $record | Add-AzureRmDnsRecordConfig -Value text3 + $record = $record | Remove-AzureRmDnsRecordConfig -Value text1 + $record = $record | Remove-AzureRmDnsRecordConfig -Value text4 + + $record | Set-AzureRmDnsRecordSet + $getResult = Get-AzureRmDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType TXT Assert-AreEqual 2 $getResult.Records.Count Assert-AreEqual text2 $getResult.Records[0].Value Assert-AreEqual text3 $getResult.Records[1].Value - $listResult = Get-AzureRMDnsRecordSet -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType TXT + $listResult = Get-AzureRmDnsRecordSet -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType TXT Assert-AreEqual 2 $listResult[0].Records.Count Assert-AreEqual text2 $listResult[0].Records[0].Value Assert-AreEqual text3 $listResult[0].Records[1].Value - $removed = $listResult[0] | Remove-AzureRMDnsRecordSet -Force -PassThru + $removed = $listResult[0] | Remove-AzureRmDnsRecordSet -Force -PassThru Assert-True { $removed } - Remove-AzureRMDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -Force + Remove-AzureRmDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -Force } <# @@ -456,18 +456,18 @@ function Test-RecordSetSRV $zoneName = getAssetname $recordName = getAssetname $resourceGroup = TestSetup-CreateResourceGroup - $zone = $resourceGroup | New-AzureRMDnsZone -Name $zoneName + $zone = $resourceGroup | New-AzureRmDnsZone -Name $zoneName - $record = $zone | New-AzureRMDnsRecordSet -Name $recordName -Ttl 100 -RecordType SRV + $record = $zone | New-AzureRmDnsRecordSet -Name $recordName -Ttl 100 -RecordType SRV # add two records, remove one, remove another no-op - $record = $record | Add-AzureRMDnsRecordConfig -Port 53 -Priority 1 -Target ns1.example.com -Weight 5 - $record = $record | Add-AzureRMDnsRecordConfig -Port 53 -Priority 2 -Target ns2.example.com -Weight 10 - $record = $record | Remove-AzureRMDnsRecordConfig -Port 53 -Priority 2 -Target ns2.example.com -Weight 10 - $record = $record | Remove-AzureRMDnsRecordConfig -Port 42 -Priority 999 -Target ns5.example.com -Weight 1600 + $record = $record | Add-AzureRmDnsRecordConfig -Port 53 -Priority 1 -Target ns1.example.com -Weight 5 + $record = $record | Add-AzureRmDnsRecordConfig -Port 53 -Priority 2 -Target ns2.example.com -Weight 10 + $record = $record | Remove-AzureRmDnsRecordConfig -Port 53 -Priority 2 -Target ns2.example.com -Weight 10 + $record = $record | Remove-AzureRmDnsRecordConfig -Port 42 -Priority 999 -Target ns5.example.com -Weight 1600 - $record | Set-AzureRMDnsRecordSet - $getResult = Get-AzureRMDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType SRV + $record | Set-AzureRmDnsRecordSet + $getResult = Get-AzureRmDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType SRV Assert-AreEqual 1 $getResult.Records.Count Assert-AreEqual 53 $getResult.Records[0].Port @@ -475,7 +475,7 @@ function Test-RecordSetSRV Assert-AreEqual ns1.example.com $getResult.Records[0].Target Assert-AreEqual 5 $getResult.Records[0].Weight - $listResult = Get-AzureRMDnsRecordSet -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType SRV + $listResult = Get-AzureRmDnsRecordSet -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType SRV Assert-AreEqual 1 $listResult[0].Records.Count Assert-AreEqual 53 $listResult[0].Records[0].Port @@ -483,11 +483,11 @@ function Test-RecordSetSRV Assert-AreEqual ns1.example.com $listResult[0].Records[0].Target Assert-AreEqual 5 $listResult[0].Records[0].Weight - $removed = $listResult[0] | Remove-AzureRMDnsRecordSet -Force -PassThru + $removed = $listResult[0] | Remove-AzureRmDnsRecordSet -Force -PassThru Assert-True { $removed } - Remove-AzureRMDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -Force + Remove-AzureRmDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -Force } <# @@ -499,9 +499,9 @@ function Test-RecordSetSOA $zoneName = getAssetname $recordName = "@" $resourceGroup = TestSetup-CreateResourceGroup - $zone = $resourceGroup | New-AzureRMDnsZone -Name $zoneName + $zone = $resourceGroup | New-AzureRmDnsZone -Name $zoneName - $record = $zone | Get-AzureRMDnsRecordSet -Name $recordName -RecordType SOA + $record = $zone | Get-AzureRmDnsRecordSet -Name $recordName -RecordType SOA # can only update SOA values, can't add or remove Assert-AreEqual 1 $record.Count @@ -511,8 +511,8 @@ function Test-RecordSetSOA $record.Records[0].MinimumTtl = 321 $record.Ttl = 110901 - $record | Set-AzureRMDnsRecordSet - $getResult = Get-AzureRMDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType SOA + $record | Set-AzureRmDnsRecordSet + $getResult = Get-AzureRmDnsRecordSet -Name $recordName -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType SOA Assert-AreEqual 1 $getResult.Records.Count Assert-AreEqual 13 $getResult.Records[0].RefreshTime @@ -521,7 +521,7 @@ function Test-RecordSetSOA Assert-AreEqual 321 $getResult.Records[0].MinimumTtl Assert-AreEqual 110901 $getResult.Ttl - $listResult = Get-AzureRMDnsRecordSet -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType SOA + $listResult = Get-AzureRmDnsRecordSet -ZoneName $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -RecordType SOA Assert-AreEqual 1 $listResult[0].Records.Count Assert-AreEqual 13 $listResult[0].Records[0].RefreshTime @@ -530,36 +530,36 @@ function Test-RecordSetSOA Assert-AreEqual 321 $listResult[0].Records[0].MinimumTtl Assert-AreEqual 110901 $listResult[0].Ttl - Assert-Throws { $listResult[0] | Remove-AzureRMDnsRecordSet -Force -PassThru } "BadRequest: Records of type 'SOA' cannot be deleted." + Assert-Throws { $listResult[0] | Remove-AzureRmDnsRecordSet -Force -PassThru } "BadRequest: Records of type 'SOA' cannot be deleted." - Remove-AzureRMDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -Force + Remove-AzureRmDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -Force } <# .SYNOPSIS -New-AzureRMDnsRecordSet when the record set already exists +New-AzureRmDnsRecordSet when the record set already exists #> function Test-RecordSetNewAlreadyExists { $zoneName = getAssetname $recordName = getAssetname $resourceGroup = TestSetup-CreateResourceGroup - $zone = $resourceGroup | New-AzureRMDnsZone -Name $zoneName + $zone = $resourceGroup | New-AzureRmDnsZone -Name $zoneName - $record = $zone | New-AzureRMDnsRecordSet -Name $recordName -Ttl 100 -RecordType A | Add-AzureRMDnsRecordConfig -Ipv4Address 1.2.9.8 + $record = $zone | New-AzureRmDnsRecordSet -Name $recordName -Ttl 100 -RecordType A | Add-AzureRmDnsRecordConfig -Ipv4Address 1.2.9.8 # error the second time - Assert-Throws { $zone | New-AzureRMDnsRecordSet -Name $recordName -Ttl 212 -RecordType A } "PreconditionFailed: The condition '*' in the If-None-Match header was not satisfied. The current was 'n/a'." + Assert-Throws { $zone | New-AzureRmDnsRecordSet -Name $recordName -Ttl 212 -RecordType A } "PreconditionFailed: The condition '*' in the If-None-Match header was not satisfied. The current was 'n/a'." - $zone | New-AzureRMDnsRecordSet -Name $recordName -Ttl 999 -RecordType A -Overwrite -Force + $zone | New-AzureRmDnsRecordSet -Name $recordName -Ttl 999 -RecordType A -Overwrite -Force - $retrievedRecordSet - $zone | Get-AzureRMDnsRecordSet -Name $recordName -RecordType A + $retrievedRecordSet - $zone | Get-AzureRmDnsRecordSet -Name $recordName -RecordType A Assert-AreEqual 999 $retrievedRecordSet.Ttl Assert-AreEqual 2 $retrievedRecordSet.Records.Count - $retrievedRecordSet | Remove-AzureRMDnsRecordSet -Force - $zone | Remove-AzureRMDnsZone -Force + $retrievedRecordSet | Remove-AzureRmDnsRecordSet -Force + $zone | Remove-AzureRmDnsZone -Force } <# @@ -570,12 +570,12 @@ function Test-RecordSetAddRecordTypeMismatch { $zoneName = getAssetname $recordName = getAssetname - $recordSet = TestSetup-CreateResourceGroup | New-AzureRMDnsZone -Name $zoneName | New-AzureRMDnsRecordSet -Name $recordName -Ttl 100 -RecordType MX + $recordSet = TestSetup-CreateResourceGroup | New-AzureRmDnsZone -Name $zoneName | New-AzureRmDnsRecordSet -Name $recordName -Ttl 100 -RecordType MX - Assert-Throws { $recordSet | Add-AzureRMDnsRecordConfig -Ipv6Address 3::90 } "Cannot add a record of type AAAA to a record set of type MX. The types must match." + Assert-Throws { $recordSet | Add-AzureRmDnsRecordConfig -Ipv6Address 3::90 } "Cannot add a record of type AAAA to a record set of type MX. The types must match." - $recordSet | Remove-AzureRMDnsRecordSet -Force - Remove-AzureRMDnsZone -Name $recordSet.ZoneName -ResourceGroupName $recordSet.ResourceGroupName -Force + $recordSet | Remove-AzureRmDnsRecordSet -Force + Remove-AzureRmDnsZone -Name $recordSet.ZoneName -ResourceGroupName $recordSet.ResourceGroupName -Force } <# @@ -586,20 +586,20 @@ function Test-RecordSetAddTwoCnames { $zoneName = getAssetname $recordName = getAssetname - $recordSet = TestSetup-CreateResourceGroup | New-AzureRMDnsZone -Name $zoneName | New-AzureRMDnsRecordSet -Name $recordName -Ttl 100 -RecordType CNAME + $recordSet = TestSetup-CreateResourceGroup | New-AzureRmDnsZone -Name $zoneName | New-AzureRmDnsRecordSet -Name $recordName -Ttl 100 -RecordType CNAME - $recordSet | Add-AzureRMDnsRecordConfig -Cname www.goril.la - Assert-Throws { $recordSet | Add-AzureRMDnsRecordConfig -Cname rubadub.dub } "There already exists a CNAME record in this set. A CNAME record set can only contain one record." + $recordSet | Add-AzureRmDnsRecordConfig -Cname www.goril.la + Assert-Throws { $recordSet | Add-AzureRmDnsRecordConfig -Cname rubadub.dub } "There already exists a CNAME record in this set. A CNAME record set can only contain one record." Assert-AreEqual 1 $recordSet.Records.Count - $recordSet | Remove-AzureRMDnsRecordConfig -Cname www.goril.la - $recordSet | Add-AzureRMDnsRecordConfig -Cname rubadub.dub + $recordSet | Remove-AzureRmDnsRecordConfig -Cname www.goril.la + $recordSet | Add-AzureRmDnsRecordConfig -Cname rubadub.dub Assert-AreEqual 1 $recordSet.Records.Count Assert-AreEqual rubadub.dub $recordSet.Records[0].Cname - $recordSet | Remove-AzureRMDnsRecordSet -Force - Remove-AzureRMDnsZone -Name $recordSet.ZoneName -ResourceGroupName $recordSet.ResourceGroupName -Force + $recordSet | Remove-AzureRmDnsRecordSet -Force + Remove-AzureRmDnsZone -Name $recordSet.ZoneName -ResourceGroupName $recordSet.ResourceGroupName -Force } <# @@ -610,12 +610,12 @@ function Test-RecordSetRemoveRecordTypeMismatch { $zoneName = getAssetname $recordName = getAssetname - $recordSet = TestSetup-CreateResourceGroup | New-AzureRMDnsZone -Name $zoneName | New-AzureRMDnsRecordSet -Name $recordName -Ttl 100 -RecordType TXT + $recordSet = TestSetup-CreateResourceGroup | New-AzureRmDnsZone -Name $zoneName | New-AzureRmDnsRecordSet -Name $recordName -Ttl 100 -RecordType TXT - Assert-Throws { $recordSet | Remove-AzureRMDnsRecordConfig -Nsdname nsa.fed.gov } "Cannot remove a record of type NS from a record set of type TXT. The types must match." + Assert-Throws { $recordSet | Remove-AzureRmDnsRecordConfig -Nsdname nsa.fed.gov } "Cannot remove a record of type NS from a record set of type TXT. The types must match." - $recordSet | Remove-AzureRMDnsRecordSet -Force - Remove-AzureRMDnsZone -Name $recordSet.ZoneName -ResourceGroupName $recordSet.ResourceGroupName -Force + $recordSet | Remove-AzureRmDnsRecordSet -Force + Remove-AzureRmDnsZone -Name $recordSet.ZoneName -ResourceGroupName $recordSet.ResourceGroupName -Force } <# @@ -626,22 +626,22 @@ function Test-RecordSetEtagMismatch { $zoneName = getAssetname $recordName = getAssetname - $recordSet = TestSetup-CreateResourceGroup | New-AzureRMDnsZone -Name $zoneName | New-AzureRMDnsRecordSet -Name $recordName -Ttl 100 -RecordType AAAA + $recordSet = TestSetup-CreateResourceGroup | New-AzureRmDnsZone -Name $zoneName | New-AzureRmDnsRecordSet -Name $recordName -Ttl 100 -RecordType AAAA $originalEtag = $recordSet.Etag $recordSet.Etag = "gibberish" - Assert-Throws { $recordSet | Set-AzureRMDnsRecordSet } "PreconditionFailed: The condition 'gibberish' in the If-Match header was not satisfied. The current was '$originalEtag'." + Assert-Throws { $recordSet | Set-AzureRmDnsRecordSet } "PreconditionFailed: The condition 'gibberish' in the If-Match header was not satisfied. The current was '$originalEtag'." - $updatedRecordSet = $recordSet | Set-AzureRMDnsRecordSet -Overwrite + $updatedRecordSet = $recordSet | Set-AzureRmDnsRecordSet -Overwrite Assert-AreNotEqual "gibberish" $updatedRecordSet.Etag Assert-AreNotEqual $recordSet.Etag $updatedRecordSet.Etag - Assert-Throws { $recordSet | Remove-AzureRMDnsRecordSet -Force } "PreconditionFailed: The condition 'gibberish' in the If-Match header was not satisfied. The current was '$($updatedRecordSet.Etag)'." + Assert-Throws { $recordSet | Remove-AzureRmDnsRecordSet -Force } "PreconditionFailed: The condition 'gibberish' in the If-Match header was not satisfied. The current was '$($updatedRecordSet.Etag)'." - Assert-True { $recordSet | Remove-AzureRMDnsRecordSet -Overwrite -Force -PassThru } + Assert-True { $recordSet | Remove-AzureRmDnsRecordSet -Overwrite -Force -PassThru } - Remove-AzureRMDnsZone -Name $zoneName -ResourceGroupName $recordSet.ResourceGroupName -Force + Remove-AzureRmDnsZone -Name $zoneName -ResourceGroupName $recordSet.ResourceGroupName -Force } <# @@ -655,37 +655,37 @@ function Test-RecordSetGet $recordName2 = getAssetname $recordName3 = getAssetname - $zone = TestSetup-CreateResourceGroup | New-AzureRMDnsZone -Name $zoneName + $zone = TestSetup-CreateResourceGroup | New-AzureRmDnsZone -Name $zoneName # test for root records - $nsRecords = Get-AzureRMDnsRecordSet -Zone $zone -RecordType NS - $soaRecords = Get-AzureRMDnsRecordSet -Zone $zone -RecordType SOA + $nsRecords = Get-AzureRmDnsRecordSet -Zone $zone -RecordType NS + $soaRecords = Get-AzureRmDnsRecordSet -Zone $zone -RecordType SOA Assert-AreEqual 1 $nsRecords.Count Assert-AreEqual 1 $soaRecords.Count # test for non-root records - New-AzureRMDnsRecordSet -Zone $zone -Name $recordName1 -Ttl 100 -RecordType AAAA - New-AzureRMDnsRecordSet -Zone $zone -Name $recordName2 -Ttl 1200 -RecordType AAAA - New-AzureRMDnsRecordSet -Zone $zone -Name $recordName3 -Ttl 1500 -RecordType MX + New-AzureRmDnsRecordSet -Zone $zone -Name $recordName1 -Ttl 100 -RecordType AAAA + New-AzureRmDnsRecordSet -Zone $zone -Name $recordName2 -Ttl 1200 -RecordType AAAA + New-AzureRmDnsRecordSet -Zone $zone -Name $recordName3 -Ttl 1500 -RecordType MX - $aaaaRecords = $zone | Get-AzureRMDnsRecordSet -RecordType AAAA - $mxRecords = $zone | Get-AzureRMDnsRecordSet -RecordType MX + $aaaaRecords = $zone | Get-AzureRmDnsRecordSet -RecordType AAAA + $mxRecords = $zone | Get-AzureRmDnsRecordSet -RecordType MX Assert-AreEqual 2 $aaaaRecords.Count Assert-AreEqual 1 $mxRecords.Count # all records - $allRecords = Get-AzureRMDnsRecordSet -Zone $zone + $allRecords = Get-AzureRmDnsRecordSet -Zone $zone Assert-AreEqual 5 $allRecords.Count - $zone | Remove-AzureRMDnsRecordSet -Name $recordName1 -RecordType AAAA -Force - $zone | Remove-AzureRMDnsRecordSet -Name $recordName2 -RecordType AAAA -Force - $zone | Remove-AzureRMDnsRecordSet -Name $recordName3 -RecordType MX -Force + $zone | Remove-AzureRmDnsRecordSet -Name $recordName1 -RecordType AAAA -Force + $zone | Remove-AzureRmDnsRecordSet -Name $recordName2 -RecordType AAAA -Force + $zone | Remove-AzureRmDnsRecordSet -Name $recordName3 -RecordType MX -Force - $zone | Remove-AzureRMDnsZone -Force -Overwrite + $zone | Remove-AzureRmDnsZone -Force -Overwrite } <# @@ -704,32 +704,32 @@ function Test-RecordSetGetWithEndsWith $recordName2 = (getAssetname) + $anotherSuffix $recordName3 = (getAssetname) + $recordSuffix - $zone = TestSetup-CreateResourceGroup | New-AzureRMDnsZone -Name $zoneName + $zone = TestSetup-CreateResourceGroup | New-AzureRmDnsZone -Name $zoneName # test for root records - $rootRecords = $zone | Get-AzureRMDnsRecordSet -EndsWith $rootRecordName + $rootRecords = $zone | Get-AzureRmDnsRecordSet -EndsWith $rootRecordName Assert-AreEqual 2 $rootRecords.Count -Message ("Expected 2 root records. Actual: " + $rootRecords.Count) - New-AzureRMDnsRecordSet -Zone $zone -Name $recordName1 -Ttl 100 -RecordType AAAA - New-AzureRMDnsRecordSet -Zone $zone -Name $recordName2 -Ttl 1200 -RecordType AAAA - New-AzureRMDnsRecordSet -Zone $zone -Name $recordName3 -Ttl 1500 -RecordType MX + New-AzureRmDnsRecordSet -Zone $zone -Name $recordName1 -Ttl 100 -RecordType AAAA + New-AzureRmDnsRecordSet -Zone $zone -Name $recordName2 -Ttl 1200 -RecordType AAAA + New-AzureRmDnsRecordSet -Zone $zone -Name $recordName3 -Ttl 1500 -RecordType MX # test for records within type - $aaaaRecords = $zone | Get-AzureRMDnsRecordSet -RecordType AAAA -EndsWith $recordSuffix - $mxRecords = $zone | Get-AzureRMDnsRecordSet -RecordType MX -EndsWith $recordSuffix + $aaaaRecords = $zone | Get-AzureRmDnsRecordSet -RecordType AAAA -EndsWith $recordSuffix + $mxRecords = $zone | Get-AzureRmDnsRecordSet -RecordType MX -EndsWith $recordSuffix Assert-AreEqual 1 $aaaaRecords.Count -Message ("Expected 1 AAAA record. Actual: " + $aaaaRecords.Count) Assert-AreEqual 1 $mxRecords.Count -Message ("Expected 1 MX record. Actual: " + $mxRecords.Count) # all records - $allRecords = $zone | Get-AzureRMDnsRecordSet -EndsWith $recordSuffix + $allRecords = $zone | Get-AzureRmDnsRecordSet -EndsWith $recordSuffix Assert-AreEqual 2 $allRecords.Count -Message ("Expected 2 records across types. Actual: " + $allRecords.Count) - $zone | Remove-AzureRMDnsRecordSet -Name $recordName1 -RecordType AAAA -Force - $zone | Remove-AzureRMDnsRecordSet -Name $recordName2 -RecordType AAAA -Force - $zone | Remove-AzureRMDnsRecordSet -Name $recordName3 -RecordType MX -Force + $zone | Remove-AzureRmDnsRecordSet -Name $recordName1 -RecordType AAAA -Force + $zone | Remove-AzureRmDnsRecordSet -Name $recordName2 -RecordType AAAA -Force + $zone | Remove-AzureRmDnsRecordSet -Name $recordName3 -RecordType MX -Force - $zone | Remove-AzureRMDnsZone -Force -Overwrite + $zone | Remove-AzureRmDnsZone -Force -Overwrite } \ No newline at end of file diff --git a/src/ResourceManager/Dns/Commands.Dns.Test/ScenarioTests/ZoneTests.ps1 b/src/ResourceManager/Dns/Commands.Dns.Test/ScenarioTests/ZoneTests.ps1 index 099c734b8a93..62062d42cb18 100644 --- a/src/ResourceManager/Dns/Commands.Dns.Test/ScenarioTests/ZoneTests.ps1 +++ b/src/ResourceManager/Dns/Commands.Dns.Test/ScenarioTests/ZoneTests.ps1 @@ -20,7 +20,7 @@ function Test-ZoneCrud { $zoneName = getAssetname $resourceGroup = TestSetup-CreateResourceGroup - $createdZone = New-AzureRMDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -Tags @{Name="tag1";Value="value1"} + $createdZone = New-AzureRmDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -Tags @{Name="tag1";Value="value1"} Assert-NotNull $createdZone Assert-NotNull $createdZone.Etag @@ -28,7 +28,7 @@ function Test-ZoneCrud Assert-AreEqual $resourceGroup.ResourceGroupName $createdZone.ResourceGroupName Assert-AreEqual 1 $createdZone.Tags.Count - $retrievedZone = Get-AzureRMDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName + $retrievedZone = Get-AzureRmDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName Assert-NotNull $retrievedZone Assert-NotNull $retrievedZone.Etag @@ -37,7 +37,7 @@ function Test-ZoneCrud Assert-AreEqual $retrievedZone.Etag $createdZone.Etag Assert-AreEqual 1 $retrievedZone.Tags.Count - $updatedZone = Set-AzureRMDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -Tags @{Name="tag1";Value="value1"},@{Name="tag2";Value="value2"} + $updatedZone = Set-AzureRmDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -Tags @{Name="tag1";Value="value1"},@{Name="tag2";Value="value2"} Assert-NotNull $updatedZone Assert-NotNull $updatedZone.Etag @@ -46,7 +46,7 @@ function Test-ZoneCrud Assert-AreNotEqual $updatedZone.Etag $createdZone.Etag Assert-AreEqual 2 $updatedZone.Tags.Count - $retrievedZone = Get-AzureRMDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName + $retrievedZone = Get-AzureRmDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName Assert-NotNull $retrievedZone Assert-NotNull $retrievedZone.Etag @@ -55,11 +55,11 @@ function Test-ZoneCrud Assert-AreEqual $retrievedZone.Etag $updatedZone.Etag Assert-AreEqual 2 $retrievedZone.Tags.Count - $removed = Remove-AzureRMDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -PassThru -Force + $removed = Remove-AzureRmDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -PassThru -Force Assert-True { $removed } - Assert-Throws { Get-AzureRMDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName } "ResourceNotFound: Resource not found." + Assert-Throws { Get-AzureRmDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName } "ResourceNotFound: Resource not found." } <# @@ -71,26 +71,26 @@ function Test-ZoneCrudTrimsDot $zoneName = getAssetname $zoneNameWithDot = $zoneName + "." $resourceGroup = TestSetup-CreateResourceGroup - $createdZone = New-AzureRMDnsZone -Name $zoneNameWithDot -ResourceGroupName $resourceGroup.ResourceGroupName + $createdZone = New-AzureRmDnsZone -Name $zoneNameWithDot -ResourceGroupName $resourceGroup.ResourceGroupName Assert-NotNull $createdZone Assert-AreEqual $zoneName $createdZone.Name - $retrievedZone = Get-AzureRMDnsZone -Name $zoneNameWithDot -ResourceGroupName $resourceGroup.ResourceGroupName + $retrievedZone = Get-AzureRmDnsZone -Name $zoneNameWithDot -ResourceGroupName $resourceGroup.ResourceGroupName Assert-NotNull $retrievedZone Assert-AreEqual $zoneName $retrievedZone.Name - $updatedZone = Set-AzureRMDnsZone -Name $zoneNameWithDot -ResourceGroupName $resourceGroup.ResourceGroupName -Tags @{Name="tag1";Value="value1"},@{Name="tag2";Value="value2"} + $updatedZone = Set-AzureRmDnsZone -Name $zoneNameWithDot -ResourceGroupName $resourceGroup.ResourceGroupName -Tags @{Name="tag1";Value="value1"},@{Name="tag2";Value="value2"} Assert-NotNull $updatedZone Assert-AreEqual $zoneName $updatedZone.Name - $removed = Remove-AzureRMDnsZone -Name $zoneNameWithDot -ResourceGroupName $resourceGroup.ResourceGroupName -PassThru -Force + $removed = Remove-AzureRmDnsZone -Name $zoneNameWithDot -ResourceGroupName $resourceGroup.ResourceGroupName -PassThru -Force Assert-True { $removed } - Assert-Throws { Get-AzureRMDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName } "ResourceNotFound: Resource not found." + Assert-Throws { Get-AzureRmDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName } "ResourceNotFound: Resource not found." } <# @@ -100,7 +100,7 @@ Zone CRUD with piping function Test-ZoneCrudWithPiping { $zoneName = getAssetname - $createdZone = TestSetup-CreateResourceGroup | New-AzureRMDnsZone -Name $zoneName -Tags @{Name="tag1";Value="value1"} + $createdZone = TestSetup-CreateResourceGroup | New-AzureRmDnsZone -Name $zoneName -Tags @{Name="tag1";Value="value1"} $resourceGroupName = $createdZone.ResourceGroupName @@ -110,7 +110,7 @@ function Test-ZoneCrudWithPiping Assert-NotNull $createdZone.ResourceGroupName Assert-AreEqual 1 $createdZone.Tags.Count - $updatedZone = Get-AzureRMResourceGroup -Name $resourceGroupName | Get-AzureRMDnsZone -Name $zoneName | Set-AzureRMDnsZone -Tags $null + $updatedZone = Get-AzureRmResourceGroup -Name $resourceGroupName | Get-AzureRmDnsZone -Name $zoneName | Set-AzureRmDnsZone -Tags $null Assert-NotNull $updatedZone Assert-NotNull $updatedZone.Etag @@ -119,11 +119,11 @@ function Test-ZoneCrudWithPiping Assert-AreNotEqual $updatedZone.Etag $createdZone.Etag Assert-AreEqual 0 $updatedZone.Tags.Count - $removed = Get-AzureRMDnsZone -Name $zoneName -ResourceGroupName $resourceGroupName | Remove-AzureRMDnsZone -PassThru -Force + $removed = Get-AzureRmDnsZone -Name $zoneName -ResourceGroupName $resourceGroupName | Remove-AzureRmDnsZone -PassThru -Force Assert-True { $removed } - Assert-Throws { Get-AzureRMDnsZone -Name $zoneName -ResourceGroupName $resourceGroupName } "ResourceNotFound: Resource not found." + Assert-Throws { Get-AzureRmDnsZone -Name $zoneName -ResourceGroupName $resourceGroupName } "ResourceNotFound: Resource not found." } <# @@ -134,7 +134,7 @@ function Test-ZoneCrudWithPipingTrimsDot { $zoneName = getAssetname $zoneNameWithDot = $zoneName + "." - $createdZone = TestSetup-CreateResourceGroup | New-AzureRMDnsZone -Name $zoneName + $createdZone = TestSetup-CreateResourceGroup | New-AzureRmDnsZone -Name $zoneName $resourceGroupName = $createdZone.ResourceGroupName @@ -142,16 +142,16 @@ function Test-ZoneCrudWithPipingTrimsDot $zoneObjectWithDot.Name = $zoneNameWithDot $zoneObjectWithDot.ResourceGroupName = $resourceGroupName - $updatedZone = $zoneObjectWithDot | Set-AzureRMDnsZone -Overwrite + $updatedZone = $zoneObjectWithDot | Set-AzureRmDnsZone -Overwrite Assert-NotNull $updatedZone Assert-AreEqual $zoneName $updatedZone.Name - $removed = $zoneObjectWithDot | Remove-AzureRMDnsZone -Overwrite -PassThru -Force + $removed = $zoneObjectWithDot | Remove-AzureRmDnsZone -Overwrite -PassThru -Force Assert-True { $removed } - Assert-Throws { Get-AzureRMDnsZone -Name $zoneName -ResourceGroupName $resourceGroupName } "ResourceNotFound: Resource not found." + Assert-Throws { Get-AzureRmDnsZone -Name $zoneName -ResourceGroupName $resourceGroupName } "ResourceNotFound: Resource not found." } <# @@ -161,13 +161,13 @@ Zone CRUD with piping function Test-ZoneNewAlreadyExists { $zoneName = getAssetname - $createdZone = TestSetup-CreateResourceGroup | New-AzureRMDnsZone -Name $zoneName + $createdZone = TestSetup-CreateResourceGroup | New-AzureRmDnsZone -Name $zoneName $resourceGroupName = $createdZone.ResourceGroupName Assert-NotNull $createdZone - Assert-Throws { New-AzureRMDnsZone -Name $zoneName -ResourceGroupName $resourceGroupName } "PreconditionFailed: The condition '*' in the If-None-Match header was not satisfied. The current was 'n/a'." + Assert-Throws { New-AzureRmDnsZone -Name $zoneName -ResourceGroupName $resourceGroupName } "PreconditionFailed: The condition '*' in the If-None-Match header was not satisfied. The current was 'n/a'." - $createdZone | Remove-AzureRMDnsZone -PassThru -Force + $createdZone | Remove-AzureRmDnsZone -PassThru -Force } <# @@ -177,18 +177,18 @@ Zone CRUD with piping function Test-ZoneSetEtagMismatch { $zoneName = getAssetname - $createdZone = TestSetup-CreateResourceGroup | New-AzureRMDnsZone -Name $zoneName + $createdZone = TestSetup-CreateResourceGroup | New-AzureRmDnsZone -Name $zoneName $originalEtag = $createdZone.Etag $createdZone.Etag = "gibberish" - Assert-Throws { $createdZone | Set-AzureRMDnsZone } "PreconditionFailed: The condition 'gibberish' in the If-Match header was not satisfied. The current was '$originalEtag'." + Assert-Throws { $createdZone | Set-AzureRmDnsZone } "PreconditionFailed: The condition 'gibberish' in the If-Match header was not satisfied. The current was '$originalEtag'." - $updatedZone = $createdZone | Set-AzureRMDnsZone -Overwrite + $updatedZone = $createdZone | Set-AzureRmDnsZone -Overwrite Assert-AreNotEqual "gibberish" $updatedZone.Etag Assert-AreNotEqual $createdZone.Etag $updatedZone.Etag - $updatedZone | Remove-AzureRMDnsZone -PassThru -Force + $updatedZone | Remove-AzureRmDnsZone -PassThru -Force } <# @@ -200,7 +200,7 @@ function Test-ZoneSetNotFound $zoneName = getAssetname $resourceGroup = TestSetup-CreateResourceGroup - Assert-Throws { Set-AzureRMDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName } "PreconditionFailed: The condition '*' in the If-Match header was not satisfied. The current was 'n/a'." + Assert-Throws { Set-AzureRmDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName } "PreconditionFailed: The condition '*' in the If-Match header was not satisfied. The current was 'n/a'." } <# @@ -210,13 +210,13 @@ Zone CRUD with piping function Test-ZoneRemoveEtagMismatch { $zoneName = getAssetname - $createdZone = TestSetup-CreateResourceGroup | New-AzureRMDnsZone -Name $zoneName + $createdZone = TestSetup-CreateResourceGroup | New-AzureRmDnsZone -Name $zoneName $originalEtag = $createdZone.Etag $createdZone.Etag = "gibberish" - Assert-Throws { $createdZone | Remove-AzureRMDnsZone -Force } "PreconditionFailed: The condition 'gibberish' in the If-Match header was not satisfied. The current was '$originalEtag'." + Assert-Throws { $createdZone | Remove-AzureRmDnsZone -Force } "PreconditionFailed: The condition 'gibberish' in the If-Match header was not satisfied. The current was '$originalEtag'." - $removed = $createdZone | Remove-AzureRMDnsZone -Overwrite -Force -PassThru + $removed = $createdZone | Remove-AzureRmDnsZone -Overwrite -Force -PassThru Assert-True { $removed } } @@ -230,7 +230,7 @@ function Test-ZoneRemoveNonExisting $zoneName = getAssetname $resourceGroup = TestSetup-CreateResourceGroup - $removed = Remove-AzureRMDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -Force -PassThru + $removed = Remove-AzureRmDnsZone -Name $zoneName -ResourceGroupName $resourceGroup.ResourceGroupName -Force -PassThru Assert-True { $removed } } @@ -243,10 +243,10 @@ function Test-ZoneList $zoneName1 = getAssetname $zoneName2 = $zoneName1 + "A" $resourceGroup = TestSetup-CreateResourceGroup - $createdZone1 = $resourceGroup | New-AzureRMDnsZone -Name $zoneName1 -Tags @{Name="tag1";Value="value1"} - $createdZone2 = $resourceGroup | New-AzureRMDnsZone -Name $zoneName2 + $createdZone1 = $resourceGroup | New-AzureRmDnsZone -Name $zoneName1 -Tags @{Name="tag1";Value="value1"} + $createdZone2 = $resourceGroup | New-AzureRmDnsZone -Name $zoneName2 - $result = Get-AzureRMDnsZone -ResourceGroupName $resourceGroup.ResourceGroupName + $result = Get-AzureRmDnsZone -ResourceGroupName $resourceGroup.ResourceGroupName Assert-AreEqual 2 $result.Count @@ -260,7 +260,7 @@ function Test-ZoneList Assert-NotNull $resourceGroup.ResourceGroupName $result[1].ResourceGroupName Assert-AreEqual 0 $result[1].Tags.Count - $result | Remove-AzureRMDnsZone -PassThru -Force + $result | Remove-AzureRmDnsZone -PassThru -Force } <# @@ -274,10 +274,10 @@ function Test-ZoneListWithEndsWith $zoneName1 = getAssetname $zoneName2 = $zoneName1 + $suffix $resourceGroup = TestSetup-CreateResourceGroup - $createdZone1 = $resourceGroup | New-AzureRMDnsZone -Name $zoneName1 - $createdZone2 = $resourceGroup | New-AzureRMDnsZone -Name $zoneName2 + $createdZone1 = $resourceGroup | New-AzureRmDnsZone -Name $zoneName1 + $createdZone2 = $resourceGroup | New-AzureRmDnsZone -Name $zoneName2 - $result = Get-AzureRMDnsZone -ResourceGroupName $resourceGroup.ResourceGroupName -EndsWith $suffixWithDot + $result = Get-AzureRmDnsZone -ResourceGroupName $resourceGroup.ResourceGroupName -EndsWith $suffixWithDot Assert-AreEqual 1 $result.Count @@ -285,5 +285,5 @@ function Test-ZoneListWithEndsWith Assert-AreEqual $createdZone2.Name $result[0].Name Assert-NotNull $resourceGroup.ResourceGroupName $result[0].ResourceGroupName - $result | Remove-AzureRMDnsZone -PassThru -Force + $result | Remove-AzureRmDnsZone -PassThru -Force } \ No newline at end of file diff --git a/src/ResourceManager/Dns/Commands.Dns/Microsoft.Azure.Commands.Dns.dll-Help.xml b/src/ResourceManager/Dns/Commands.Dns/Microsoft.Azure.Commands.Dns.dll-Help.xml index f2f1d2252756..6a49ceac7551 100644 --- a/src/ResourceManager/Dns/Commands.Dns/Microsoft.Azure.Commands.Dns.dll-Help.xml +++ b/src/ResourceManager/Dns/Commands.Dns/Microsoft.Azure.Commands.Dns.dll-Help.xml @@ -3,7 +3,7 @@ <!-- Updatable Help Version 1.0.0.0 --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Add-AzureRMDnsRecordConfig</command:name> + <command:name>Add-AzureRmDnsRecordConfig</command:name> <maml:description> <maml:para>Adds a DNS record to a record set.</maml:para> </maml:description> @@ -15,13 +15,13 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Add-AzureRMDnsRecordConfig cmdlet adds a Domain Name System (DNS) record to a RecordSet object. The RecordSet object is an offline object, and changes to it do not change the DNS responses until after you run the Set-AzureRMDnsRecordSet cmdlet to persist the change to the Microsoft Azure DNS service.</maml:para> + <maml:para>The Add-AzureRmDnsRecordConfig cmdlet adds a Domain Name System (DNS) record to a RecordSet object. The RecordSet object is an offline object, and changes to it do not change the DNS responses until after you run the Set-AzureRmDnsRecordSet cmdlet to persist the change to the Microsoft Azure DNS service.</maml:para> <maml:para>You cannot remove SOA records.</maml:para> <maml:para>You can pass the RecordSet object to this cmdlet as a parameter or by using the pipeline operator.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Add-AzureRMDnsRecordConfig</maml:name> + <maml:name>Add-AzureRmDnsRecordConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -45,7 +45,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Add-AzureRMDnsRecordConfig</maml:name> + <maml:name>Add-AzureRmDnsRecordConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -76,7 +76,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Add-AzureRMDnsRecordConfig</maml:name> + <maml:name>Add-AzureRmDnsRecordConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -100,7 +100,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Add-AzureRMDnsRecordConfig</maml:name> + <maml:name>Add-AzureRmDnsRecordConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -124,7 +124,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Add-AzureRMDnsRecordConfig</maml:name> + <maml:name>Add-AzureRmDnsRecordConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -148,7 +148,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Add-AzureRMDnsRecordConfig</maml:name> + <maml:name>Add-AzureRmDnsRecordConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -193,7 +193,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Add-AzureRMDnsRecordConfig</maml:name> + <maml:name>Add-AzureRmDnsRecordConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -217,7 +217,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Add-AzureRMDnsRecordConfig</maml:name> + <maml:name>Add-AzureRmDnsRecordConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -422,7 +422,7 @@ </maml:description> </dev:type> <maml:description> - <maml:para>You can pipe a RecordSet object to this cmdlet. This is an offline representation of the RecordSet, and changes to it do not change DNS responses until after you run the Set-AzureRMDnsRecordSet cmdlet.</maml:para> + <maml:para>You can pipe a RecordSet object to this cmdlet. This is an offline representation of the RecordSet, and changes to it do not change DNS responses until after you run the Set-AzureRmDnsRecordSet cmdlet.</maml:para> </maml:description> </command:inputType> </command:inputTypes> @@ -450,7 +450,7 @@ <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$RecordSet = Add-AzureRMDnsRecordConfig -RecordSet $RecordSet -Ipv4Address "172.16.0.0" + <dev:code>PS C:\&gt;$RecordSet = Add-AzureRmDnsRecordConfig -RecordSet $RecordSet -Ipv4Address "172.16.0.0" </dev:code> <dev:remarks> <maml:para>This command adds an IPv4 address as an A record to the record set stored in the $RecordSet variable.</maml:para> @@ -469,7 +469,7 @@ <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$RecordSet = Add-AzureRMDnsRecordConfig -RecordSet $RecordSet -Ipv6Address "2001:DB80:4009:1803::1005" + <dev:code>PS C:\&gt;$RecordSet = Add-AzureRmDnsRecordConfig -RecordSet $RecordSet -Ipv6Address "2001:DB80:4009:1803::1005" </dev:code> <dev:remarks> <maml:para>This command adds an IPv6 address as an AAAA record to the record set stored in the $RecordSet variable.</maml:para> @@ -488,7 +488,7 @@ <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$RecordSet = Add-AzureRMDnsRecordConfig -RecordSet $RecordSet -Cname "contoso.com" + <dev:code>PS C:\&gt;$RecordSet = Add-AzureRmDnsRecordConfig -RecordSet $RecordSet -Cname "contoso.com" </dev:code> <dev:remarks> <maml:para>This command adds contoso.com as a CNAME record to the record set stored in the $RecordSet variable.</maml:para> @@ -507,7 +507,7 @@ <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$RecordSet = Add-AzureRMDnsRecordConfig -Exchange "mail.microsoft.com" -Preference 5 -RecordSet $RecordSet + <dev:code>PS C:\&gt;$RecordSet = Add-AzureRmDnsRecordConfig -Exchange "mail.microsoft.com" -Preference 5 -RecordSet $RecordSet </dev:code> <dev:remarks> <maml:para>This command adds the specified mail exchange server as an MX record to the record set stored in the $RecordSet variable.</maml:para> @@ -526,7 +526,7 @@ <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$RecordSet = Add-AzureRMDnsRecordConfig -Nsdname "contoso.myzone.com" -RecordSet $RecordSet + <dev:code>PS C:\&gt;$RecordSet = Add-AzureRmDnsRecordConfig -Nsdname "contoso.myzone.com" -RecordSet $RecordSet </dev:code> <dev:remarks> <maml:para>This command adds a name server as an NS record to the record set stored in the $RecordSet variable.</maml:para> @@ -545,7 +545,7 @@ <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$RecordSet = Add-AzureRMDnsRecordConfig -Port 8080 -Priority 0 -RecordSet $RecordSet -Target "target.example.com" -Weight 5 + <dev:code>PS C:\&gt;$RecordSet = Add-AzureRmDnsRecordConfig -Port 8080 -Priority 0 -RecordSet $RecordSet -Target "target.example.com" -Weight 5 </dev:code> <dev:remarks> <maml:para>This command adds the specified service locator as an SRV record to the record set stored in the $RecordSet variable.</maml:para> @@ -564,7 +564,7 @@ <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$RecordSet = Add-AzureRMDnsRecordConfig -RecordSet $RecordSet -Value "This is a TXT Record" + <dev:code>PS C:\&gt;$RecordSet = Add-AzureRmDnsRecordConfig -RecordSet $RecordSet -Value "This is a TXT Record" </dev:code> <dev:remarks> <maml:para>This command adds a TXT record to the record set stored in the $RecordSet variable.</maml:para> @@ -580,22 +580,22 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMDnsRecordSet</maml:linkText> + <maml:linkText>Get-AzureRmDnsRecordSet</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMDnsRecordConfig</maml:linkText> + <maml:linkText>Remove-AzureRmDnsRecordConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMDnsRecordSet</maml:linkText> + <maml:linkText>Set-AzureRmDnsRecordSet</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMDnsRecordSet</command:name> + <command:name>Get-AzureRmDnsRecordSet</command:name> <maml:description> <maml:para>Gets a DNS record set.</maml:para> </maml:description> @@ -607,13 +607,13 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMDnsRecordSet cmdlet gets the Domain Name System (DNS) record set with the specified name and type, in the specified zone. If you do not specify the Name parameter, this cmdlet returns all record sets of the specified type in the zone. </maml:para> + <maml:para>The Get-AzureRmDnsRecordSet cmdlet gets the Domain Name System (DNS) record set with the specified name and type, in the specified zone. If you do not specify the Name parameter, this cmdlet returns all record sets of the specified type in the zone. </maml:para> <maml:para>If you do not specify the RecordType parameter, this cmdlet returns record sets of all types.</maml:para> <maml:para>You can use the pipeline operator to pass a DnsZone object to this cmdlet, or you can pass a DnsZone object as the Zone parameter, or alternatively you can specify the zone by name.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMDnsRecordSet</maml:name> + <maml:name>Get-AzureRmDnsRecordSet</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="none"> <maml:name>EndsWith</maml:name> <maml:description> @@ -662,7 +662,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMDnsRecordSet</maml:name> + <maml:name>Get-AzureRmDnsRecordSet</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="none"> <maml:name>EndsWith</maml:name> <maml:description> @@ -854,7 +854,7 @@ <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$RecordSet = Get-AzureRMDnsRecordSet -ResourceGroupName "MyResourceGroup" -ZoneName "myzone.com" -Name "www" -RecordType A + <dev:code>PS C:\&gt;$RecordSet = Get-AzureRmDnsRecordSet -ResourceGroupName "MyResourceGroup" -ZoneName "myzone.com" -Name "www" -RecordType A </dev:code> <dev:remarks> <maml:para>This command gets the record set of record type A named www in the specified resource group and zone, and then stores it in the $RecordSet variable. Because the RecordType parameter is specified, only one RecordSet object is returned.</maml:para> @@ -873,7 +873,7 @@ <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$RecordSet = Get-AzureRMDnsRecordSet -ResourceGroupName "MyResourceGroup" -ZoneName "myzone.com" -RecordType A + <dev:code>PS C:\&gt;$RecordSet = Get-AzureRmDnsRecordSet -ResourceGroupName "MyResourceGroup" -ZoneName "myzone.com" -RecordType A </dev:code> <dev:remarks> <maml:para>This command gets all of record sets of record type A in the resource group named MyResourceGroup in the zone named myzone.com, and then stores them in the $RecordSet variable.</maml:para> @@ -892,7 +892,7 @@ <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$RecordSet = Get-AzureRMDnsRecordSet -Name "www" -ResourceGroupName "MyResourceGroup" -ZoneName "myzone.com" + <dev:code>PS C:\&gt;$RecordSet = Get-AzureRmDnsRecordSet -Name "www" -ResourceGroupName "MyResourceGroup" -ZoneName "myzone.com" </dev:code> <dev:remarks> <maml:para>This command gets all of the record sets named www in the resource group named MyResourceGroup in the zone named myzone.com, and then stores them in the $RecordSet variable.</maml:para> @@ -908,22 +908,22 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>New-AzureRMDnsRecordSet</maml:linkText> + <maml:linkText>New-AzureRmDnsRecordSet</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMDnsRecordSet</maml:linkText> + <maml:linkText>Remove-AzureRmDnsRecordSet</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMDnsRecordSet</maml:linkText> + <maml:linkText>Set-AzureRmDnsRecordSet</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMDnsZone</command:name> + <command:name>Get-AzureRmDnsZone</command:name> <maml:description> <maml:para>Gets a DNS zone.</maml:para> </maml:description> @@ -935,11 +935,11 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMDnsZone cmdlet gets a Domain Name System (DNS) zone from the specified resource group. If you specify the Name parameter, a single DnsZone object is returned. If you do not specify the Name parameter, an array containing all of the zones in the specified resource group is returned. You can use the DnsZone object to update the zone, for example you can add RecordSet objects to it.</maml:para> + <maml:para>The Get-AzureRmDnsZone cmdlet gets a Domain Name System (DNS) zone from the specified resource group. If you specify the Name parameter, a single DnsZone object is returned. If you do not specify the Name parameter, an array containing all of the zones in the specified resource group is returned. You can use the DnsZone object to update the zone, for example you can add RecordSet objects to it.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMDnsZone</maml:name> + <maml:name>Get-AzureRmDnsZone</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="none"> <maml:name>EndsWith</maml:name> <maml:description> @@ -1059,7 +1059,7 @@ <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$Zone = Get-AzureRMDnsZone -ResourceGroupName "MyResourceGroup" -Name "myzone.com" + <dev:code>PS C:\&gt;$Zone = Get-AzureRmDnsZone -ResourceGroupName "MyResourceGroup" -Name "myzone.com" </dev:code> <dev:remarks> <maml:para>This command gets the zone named myzone.com from the specified resource group, and then stores it in the $Zone variable.</maml:para> @@ -1078,7 +1078,7 @@ <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$Zone = Get-AzureRMDnsZone -ResourceGroupName "MyResourceGroup" + <dev:code>PS C:\&gt;$Zone = Get-AzureRmDnsZone -ResourceGroupName "MyResourceGroup" </dev:code> <dev:remarks> <maml:para>This command gets all of the zones in the specified resource group, and then stores it in the $Zone variable.</maml:para> @@ -1094,22 +1094,22 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>New-AzureRMDnsZone</maml:linkText> + <maml:linkText>New-AzureRmDnsZone</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMDnsZone</maml:linkText> + <maml:linkText>Remove-AzureRmDnsZone</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMDnsZone</maml:linkText> + <maml:linkText>Set-AzureRmDnsZone</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMDnsRecordSet</command:name> + <command:name>New-AzureRmDnsRecordSet</command:name> <maml:description> <maml:para>Creates a DNS record set.</maml:para> </maml:description> @@ -1121,13 +1121,13 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMDnsRecordSet cmdlet creates a new Domain Name System (DNS) record set with the specified name and type in the specified zone. A RecordSet is a set of DNS records with the same name and type. Note that the name is relative to the zone and not the fully qualified name. </maml:para> + <maml:para>The New-AzureRmDnsRecordSet cmdlet creates a new Domain Name System (DNS) record set with the specified name and type in the specified zone. A RecordSet is a set of DNS records with the same name and type. Note that the name is relative to the zone and not the fully qualified name. </maml:para> <maml:para>You can use the pipeline operator to pass a DnsZone object to this cmdlet, or you can pass a DnsZone object as the Zone parameter, or alternatively you can specify the zone by name. </maml:para> <maml:para>If a matching RecordSet already exists, you must specify the Overwrite parameter, otherwise the cmdlet will not create a new RecordSet.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMDnsRecordSet</maml:name> + <maml:name>New-AzureRmDnsRecordSet</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Force</maml:name> <maml:description> @@ -1212,7 +1212,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMDnsRecordSet</maml:name> + <maml:name>New-AzureRmDnsRecordSet</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Force</maml:name> <maml:description> @@ -1462,7 +1462,7 @@ <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$RecordSet = New-AzureRMDnsRecordSet -Name "www" -RecordType A -ResourceGroupName "MyResourceGroup" -TTL 3600 -ZoneName "myzone.com" + <dev:code>PS C:\&gt;$RecordSet = New-AzureRmDnsRecordSet -Name "www" -RecordType A -ResourceGroupName "MyResourceGroup" -TTL 3600 -ZoneName "myzone.com" </dev:code> <dev:remarks> <maml:para>This command creates a new RecordSet named www as type A in the zone named myzone.com with a TTL of 3600 seconds.</maml:para> @@ -1483,22 +1483,22 @@ </maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMDnsRecordSet</maml:linkText> + <maml:linkText>Get-AzureRmDnsRecordSet</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMDnsRecordSet</maml:linkText> + <maml:linkText>Remove-AzureRmDnsRecordSet</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMDnsRecordSet</maml:linkText> + <maml:linkText>Set-AzureRmDnsRecordSet</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMDnsZone</command:name> + <command:name>New-AzureRmDnsZone</command:name> <maml:description> <maml:para>Creates a new DNS zone.</maml:para> </maml:description> @@ -1510,11 +1510,11 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMDnsZone cmdlet creates a new Domain Name System (DNS) zone in the specified resource group. You must specify a unique name for the Name parameter or the cmdlet will return an error. After the zone is created, use the New-AzureRMDnsRecordSet cmdlet to create record sets in the zone.</maml:para> + <maml:para>The New-AzureRmDnsZone cmdlet creates a new Domain Name System (DNS) zone in the specified resource group. You must specify a unique name for the Name parameter or the cmdlet will return an error. After the zone is created, use the New-AzureRmDnsRecordSet cmdlet to create record sets in the zone.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMDnsZone</maml:name> + <maml:name>New-AzureRmDnsZone</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -1634,7 +1634,7 @@ <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$Zone = New-AzureRMDnsZone -Name "myzone.com" -ResourceGroupName "MyResourceGroup" + <dev:code>PS C:\&gt;$Zone = New-AzureRmDnsZone -Name "myzone.com" -ResourceGroupName "MyResourceGroup" </dev:code> <dev:remarks> <maml:para>This command creates a new DNS zone named myzone.com in the specified resource group, and then stores it in the $Zone variable. </maml:para> @@ -1655,22 +1655,22 @@ </maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMDnsZone</maml:linkText> + <maml:linkText>Get-AzureRmDnsZone</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMDnsRecordSet</maml:linkText> + <maml:linkText>New-AzureRmDnsRecordSet</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMDnsZone</maml:linkText> + <maml:linkText>Remove-AzureRmDnsZone</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMDnsRecordConfig</command:name> + <command:name>Remove-AzureRmDnsRecordConfig</command:name> <maml:description> <maml:para>Removes a DNS record from a record set.</maml:para> </maml:description> @@ -1682,13 +1682,13 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMDnsRecordConfig cmdlet removes a Domain Name System (DNS) record from a record set. The RecordSet object is an offline object, and changes to it do not change the DNS responses until after you run the Set-AzureRMDnsRecordSet cmdlet to persist the change to the Microsoft Azure DNS service.</maml:para> + <maml:para>The Remove-AzureRmDnsRecordConfig cmdlet removes a Domain Name System (DNS) record from a record set. The RecordSet object is an offline object, and changes to it do not change the DNS responses until after you run the Set-AzureRmDnsRecordSet cmdlet to persist the change to the Microsoft Azure DNS service.</maml:para> <maml:para>To remove a record, all the fields for that record type must match exactly. You cannot add or remove SOA records.</maml:para> <maml:para>You can pass the RecordSet object to this cmdlet as a parameter or by using the pipeline operator.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMDnsRecordConfig</maml:name> + <maml:name>Remove-AzureRmDnsRecordConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -1712,7 +1712,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMDnsRecordConfig</maml:name> + <maml:name>Remove-AzureRmDnsRecordConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -1743,7 +1743,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMDnsRecordConfig</maml:name> + <maml:name>Remove-AzureRmDnsRecordConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -1767,7 +1767,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMDnsRecordConfig</maml:name> + <maml:name>Remove-AzureRmDnsRecordConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -1791,7 +1791,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMDnsRecordConfig</maml:name> + <maml:name>Remove-AzureRmDnsRecordConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -1815,7 +1815,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMDnsRecordConfig</maml:name> + <maml:name>Remove-AzureRmDnsRecordConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -1860,7 +1860,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMDnsRecordConfig</maml:name> + <maml:name>Remove-AzureRmDnsRecordConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -1884,7 +1884,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMDnsRecordConfig</maml:name> + <maml:name>Remove-AzureRmDnsRecordConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -2089,7 +2089,7 @@ </maml:description> </dev:type> <maml:description> - <maml:para>You can pipe a DnsRecordSet object to this cmdlet. This is an offline representation of the record set and updates to it do not change DNS responses until after you run Set-AzureRMDnsRecordSet.</maml:para> + <maml:para>You can pipe a DnsRecordSet object to this cmdlet. This is an offline representation of the record set and updates to it do not change DNS responses until after you run Set-AzureRmDnsRecordSet.</maml:para> </maml:description> </command:inputType> </command:inputTypes> @@ -2117,7 +2117,7 @@ <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$RecordSet = Remove-AzureRMDnsRecordConfig -RecordSet $RecordSet -Ipv4Address "172.16.0.0" + <dev:code>PS C:\&gt;$RecordSet = Remove-AzureRmDnsRecordConfig -RecordSet $RecordSet -Ipv4Address "172.16.0.0" </dev:code> <dev:remarks> <maml:para>This command removes the A records with the specified IP address from the record set stored in $RecordSet.</maml:para> @@ -2136,7 +2136,7 @@ <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$RecordSet = Remove-AzureRMDnsRecordConfig -Port 8080 -Priority 0 -RecordSet $RecordSet -Target "target.example.com" -Weight 5 + <dev:code>PS C:\&gt;$RecordSet = Remove-AzureRmDnsRecordConfig -Port 8080 -Priority 0 -RecordSet $RecordSet -Target "target.example.com" -Weight 5 </dev:code> <dev:remarks> <maml:para>This command removes SRV records from the $RecordSet variable where Port=8080, Priority=0, Weight=5, and Target=target.example.com.</maml:para> @@ -2152,22 +2152,22 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMDnsRecordConfig</maml:linkText> + <maml:linkText>Add-AzureRmDnsRecordConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMDnsRecordSet</maml:linkText> + <maml:linkText>Get-AzureRmDnsRecordSet</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMDnsRecordSet</maml:linkText> + <maml:linkText>Set-AzureRmDnsRecordSet</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMDnsRecordSet</command:name> + <command:name>Remove-AzureRmDnsRecordSet</command:name> <maml:description> <maml:para>Deletes a record set.</maml:para> </maml:description> @@ -2179,12 +2179,12 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMDnsRecordSet cmdlet deletes the specified record set from the specified zone. You cannot delete SOA and NS records that are automatically created.</maml:para> + <maml:para>The Remove-AzureRmDnsRecordSet cmdlet deletes the specified record set from the specified zone. You cannot delete SOA and NS records that are automatically created.</maml:para> <maml:para>You can pass a RecordSet object to this cmdlet by using the pipeline operator or as a parameter. To identify a record set by name and type without using a RecordSet object, you must pass the zone as a DnsZone object to this cmdlet by using the pipeline operator or as a parameter, or alternatively you can specify the ZoneName parameter.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMDnsRecordSet</maml:name> + <maml:name>Remove-AzureRmDnsRecordSet</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Force</maml:name> <maml:description> @@ -2248,7 +2248,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMDnsRecordSet</maml:name> + <maml:name>Remove-AzureRmDnsRecordSet</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Force</maml:name> <maml:description> @@ -2319,7 +2319,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMDnsRecordSet</maml:name> + <maml:name>Remove-AzureRmDnsRecordSet</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Force</maml:name> <maml:description> @@ -2526,8 +2526,8 @@ <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$RecordSet = Get-AzureRMDnsRecordSet -Name "www" -ResourceGroupName "MyResourceGroup" -ZoneName "myzone.com" -PS C:\&gt; Remove-AzureRMDnsRecordSet -RecordSet $RecordSet + <dev:code>PS C:\&gt;$RecordSet = Get-AzureRmDnsRecordSet -Name "www" -ResourceGroupName "MyResourceGroup" -ZoneName "myzone.com" +PS C:\&gt; Remove-AzureRmDnsRecordSet -RecordSet $RecordSet </dev:code> <dev:remarks> <maml:para>The first command gets the specified record set, and then stores it in the $RecordSet variable.</maml:para> @@ -2544,22 +2544,22 @@ PS C:\&gt; Remove-AzureRMDnsRecordSet -RecordSet $RecordSet </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMDnsRecordSet</maml:linkText> + <maml:linkText>Get-AzureRmDnsRecordSet</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMDnsRecordSet</maml:linkText> + <maml:linkText>New-AzureRmDnsRecordSet</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMDnsRecordSet</maml:linkText> + <maml:linkText>Set-AzureRmDnsRecordSet</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMDnsZone</command:name> + <command:name>Remove-AzureRmDnsZone</command:name> <maml:description> <maml:para>Removes a DNS zone from a resource group.</maml:para> </maml:description> @@ -2571,12 +2571,12 @@ PS C:\&gt; Remove-AzureRMDnsRecordSet -RecordSet $RecordSet <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMDnsZone cmdlet removes a Domain Name System (DNS) zone from a specified resource group. Before you run this cmdlet, you must first remove all record sets from the zone that you want to remove. </maml:para> + <maml:para>The Remove-AzureRmDnsZone cmdlet removes a Domain Name System (DNS) zone from a specified resource group. Before you run this cmdlet, you must first remove all record sets from the zone that you want to remove. </maml:para> <maml:para>You can pass a DnsZone object to this cmdlet as a parameter or by using the pipeline operator, or alternatively you can specify its name.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMDnsZone</maml:name> + <maml:name>Remove-AzureRmDnsZone</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Force</maml:name> <maml:description> @@ -2613,7 +2613,7 @@ PS C:\&gt; Remove-AzureRMDnsRecordSet -RecordSet $RecordSet </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMDnsZone</maml:name> + <maml:name>Remove-AzureRmDnsZone</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Force</maml:name> <maml:description> @@ -2775,7 +2775,7 @@ PS C:\&gt; Remove-AzureRMDnsRecordSet -RecordSet $RecordSet <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Remove-AzureRMDnsZone -Name "myzone.com" -ResourceGroupName "MyResourceGroup" + <dev:code>PS C:\&gt;Remove-AzureRmDnsZone -Name "myzone.com" -ResourceGroupName "MyResourceGroup" </dev:code> <dev:remarks> <maml:para>This command removes the zone named myzone.com from the resource group named MyResourceGroup.</maml:para> @@ -2791,22 +2791,22 @@ PS C:\&gt; Remove-AzureRMDnsRecordSet -RecordSet $RecordSet </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMDnsZone</maml:linkText> + <maml:linkText>Get-AzureRmDnsZone</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMDnsZone</maml:linkText> + <maml:linkText>New-AzureRmDnsZone</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMDnsZone</maml:linkText> + <maml:linkText>Set-AzureRmDnsZone</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMDnsRecordSet</command:name> + <command:name>Set-AzureRmDnsRecordSet</command:name> <maml:description> <maml:para>Updates a DNS record set.</maml:para> </maml:description> @@ -2818,12 +2818,12 @@ PS C:\&gt; Remove-AzureRMDnsRecordSet -RecordSet $RecordSet <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMDnsRecordSet cmdlet updates a RecordSet from an offline RecordSet object. If the Etag has changed since the last get, the call will fail unless the Overwrite switch is specified.</maml:para> + <maml:para>The Set-AzureRmDnsRecordSet cmdlet updates a RecordSet from an offline RecordSet object. If the Etag has changed since the last get, the call will fail unless the Overwrite switch is specified.</maml:para> <maml:para>You can pass a RecordSet as a parameter or by using the pipeline operator. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMDnsRecordSet</maml:name> + <maml:name>Set-AzureRmDnsRecordSet</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Overwrite</maml:name> <maml:description> @@ -2923,16 +2923,16 @@ PS C:\&gt; Remove-AzureRMDnsRecordSet -RecordSet $RecordSet <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$RecordSet = Get-AzureRMDnsRecordSet -ResourceGroupName "MyResourceGroup" -ZoneName "myzone.com" -Name "www" -RecordType A -PS C:\&gt; $RecordSet = $RecordSet | Add-AzureRMDnsRecordConfig -Ipv4Address "172.16.0.0" -PS C:\&gt; $RecordSet = $RecordSet | Add-AzureRMDnsRecordConfig -Ipv4Address "172.31.255.255" -PS C:\&gt; $RecordSet | Set-AzureRMDnsRecordSet + <dev:code>PS C:\&gt;$RecordSet = Get-AzureRmDnsRecordSet -ResourceGroupName "MyResourceGroup" -ZoneName "myzone.com" -Name "www" -RecordType A +PS C:\&gt; $RecordSet = $RecordSet | Add-AzureRmDnsRecordConfig -Ipv4Address "172.16.0.0" +PS C:\&gt; $RecordSet = $RecordSet | Add-AzureRmDnsRecordConfig -Ipv4Address "172.31.255.255" +PS C:\&gt; $RecordSet | Set-AzureRmDnsRecordSet </dev:code> <dev:remarks> - <maml:para>The first command uses the Get-AzureRMDnsRecordset cmdlet to get the specified record set, and then stores it in the $RecordSet variable. </maml:para> - <maml:para>The second command uses the pipeline operator to pass $RecordSet to the Add-AzureRMDnsRecordConfig cmdlet to add an IP address as an A record, and then stores it in $RecordSet.</maml:para> - <maml:para>The third command uses the pipeline operator to pass $RecordSet to the Add-AzureRMDnsRecordConfig cmdlet to add another IP address as an A record, and then stores it in $RecordSet.</maml:para> - <maml:para>The final command uses the pipeline operator to pass $RecordSet to the Set-AzureRMDnsRecordSet cmdlet to propagate the update.</maml:para> + <maml:para>The first command uses the Get-AzureRmDnsRecordset cmdlet to get the specified record set, and then stores it in the $RecordSet variable. </maml:para> + <maml:para>The second command uses the pipeline operator to pass $RecordSet to the Add-AzureRmDnsRecordConfig cmdlet to add an IP address as an A record, and then stores it in $RecordSet.</maml:para> + <maml:para>The third command uses the pipeline operator to pass $RecordSet to the Add-AzureRmDnsRecordConfig cmdlet to add another IP address as an A record, and then stores it in $RecordSet.</maml:para> + <maml:para>The final command uses the pipeline operator to pass $RecordSet to the Set-AzureRmDnsRecordSet cmdlet to propagate the update.</maml:para> <maml:para /> <maml:para /> </dev:remarks> @@ -2948,14 +2948,14 @@ PS C:\&gt; $RecordSet | Set-AzureRMDnsRecordSet <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$RecordSet = Get-AzureRMDnsRecordSet -Name "@" -RecordType SOA -Zone $Zone + <dev:code>PS C:\&gt;$RecordSet = Get-AzureRmDnsRecordSet -Name "@" -RecordType SOA -Zone $Zone PS C:\&gt; $RecordSet.Records[0].Email = "bob@test.com" -PS C:\&gt; Set-AzureRMDnsRecordSet -RecordSet $RecordSet +PS C:\&gt; Set-AzureRmDnsRecordSet -RecordSet $RecordSet </dev:code> <dev:remarks> - <maml:para>The first command uses the Get-AzureRMDnsRecordset cmdlet to get the specified record set, and then stores it in the $RecordSet variable.</maml:para> + <maml:para>The first command uses the Get-AzureRmDnsRecordset cmdlet to get the specified record set, and then stores it in the $RecordSet variable.</maml:para> <maml:para>The second command updates the specified SOA record in $RecordSet.</maml:para> - <maml:para>The final command uses the Set-AzureRMDnsRecordSet cmdlet to propagate the update in $RecordSet.</maml:para> + <maml:para>The final command uses the Set-AzureRmDnsRecordSet cmdlet to propagate the update in $RecordSet.</maml:para> <maml:para /> <maml:para /> </dev:remarks> @@ -2968,22 +2968,22 @@ PS C:\&gt; Set-AzureRMDnsRecordSet -RecordSet $RecordSet </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMDnsRecordSet</maml:linkText> + <maml:linkText>Get-AzureRmDnsRecordSet</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMDnsRecordSet</maml:linkText> + <maml:linkText>New-AzureRmDnsRecordSet</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMDnsRecordSet</maml:linkText> + <maml:linkText>Remove-AzureRmDnsRecordSet</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMDnsZone</command:name> + <command:name>Set-AzureRmDnsZone</command:name> <maml:description> <maml:para>Updates a DNS zone.</maml:para> </maml:description> @@ -2995,11 +2995,11 @@ PS C:\&gt; Set-AzureRMDnsRecordSet -RecordSet $RecordSet <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMDnsZone cmdlet updates the specified DnsZone. This cmdlet does not update the RecordSet objects in the zone. You can pass a DnsZone object as a parameter or by using the pipeline operator, or alternatively you can specify the zone by name.</maml:para> + <maml:para>The Set-AzureRmDnsZone cmdlet updates the specified DnsZone. This cmdlet does not update the RecordSet objects in the zone. You can pass a DnsZone object as a parameter or by using the pipeline operator, or alternatively you can specify the zone by name.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMDnsZone</maml:name> + <maml:name>Set-AzureRmDnsZone</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -3030,7 +3030,7 @@ PS C:\&gt; Set-AzureRMDnsRecordSet -RecordSet $RecordSet </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMDnsZone</maml:name> + <maml:name>Set-AzureRmDnsZone</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Overwrite</maml:name> <maml:description> @@ -3166,14 +3166,14 @@ PS C:\&gt; Set-AzureRMDnsRecordSet -RecordSet $RecordSet <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$Zone = Get-AzureRMDnsZone -Name "myzone.com" -ResourceGroupName "MyResourceGroup" + <dev:code>PS C:\&gt;$Zone = Get-AzureRmDnsZone -Name "myzone.com" -ResourceGroupName "MyResourceGroup" PS C:\&gt; $Zone.Tags = @(@{"Name"="Dept"; "Value"="Electrical"}) -PS C:\&gt; $Zone | Set-AzureRMDnsZone +PS C:\&gt; $Zone | Set-AzureRmDnsZone </dev:code> <dev:remarks> <maml:para>The first command gets the zone named myzone.com from the specified resource group, and then stores it in the $Zone variable. </maml:para> <maml:para>The second command updates the tags for $Zone.</maml:para> - <maml:para>The final command passes $Zone to the Set-AzureRMDnsZone cmdlet by using the pipeline operator. </maml:para> + <maml:para>The final command passes $Zone to the Set-AzureRmDnsZone cmdlet by using the pipeline operator. </maml:para> <maml:para /> <maml:para /> </dev:remarks> @@ -3189,7 +3189,7 @@ PS C:\&gt; $Zone | Set-AzureRMDnsZone <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Set-AzureRMDNSZone -ResourceGroupName "MyResourceGroup" -Name "myzone.com" -Tag @(@{"Name"="Dept"; "Value"="Electrical"}) + <dev:code>PS C:\&gt;Set-AzureRmDNSZone -ResourceGroupName "MyResourceGroup" -Name "myzone.com" -Tag @(@{"Name"="Dept"; "Value"="Electrical"}) </dev:code> <dev:remarks> <maml:para>This command updates the tags for the zone named myzone.com without first explicitly getting the zone.</maml:para> @@ -3210,15 +3210,15 @@ PS C:\&gt; $Zone | Set-AzureRMDnsZone </maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMDnsZone</maml:linkText> + <maml:linkText>Get-AzureRmDnsZone</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMDnsZone</maml:linkText> + <maml:linkText>New-AzureRmDnsZone</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMDnsZone</maml:linkText> + <maml:linkText>Remove-AzureRmDnsZone</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> diff --git a/src/ResourceManager/Dns/Commands.Dns/Properties/Resources.Designer.cs b/src/ResourceManager/Dns/Commands.Dns/Properties/Resources.Designer.cs index 9eff97ccc1d4..f19f555fe47f 100644 --- a/src/ResourceManager/Dns/Commands.Dns/Properties/Resources.Designer.cs +++ b/src/ResourceManager/Dns/Commands.Dns/Properties/Resources.Designer.cs @@ -169,7 +169,7 @@ internal static string Success { } /// <summary> - /// Looks up a localized string similar to Record set &apos;{0}&apos; was created in zone &apos;{1}&apos;.The record set is empty. Use Add-AzureRMDnsRecordConfig to add {2} records to it and Set-AzureRMDnsRecordSet to save your changes.. + /// Looks up a localized string similar to Record set &apos;{0}&apos; was created in zone &apos;{1}&apos;.The record set is empty. Use Add-AzureRmDnsRecordConfig to add {2} records to it and Set-AzureRmDnsRecordSet to save your changes.. /// </summary> internal static string Success_NewRecordSet { get { @@ -178,7 +178,7 @@ internal static string Success_NewRecordSet { } /// <summary> - /// Looks up a localized string similar to Zone &apos;{0}&apos; was created in resource group &apos;{1}&apos;. The SOA and authoritative NS records for this zone have been created automatically. Use Get-AzureRMDnsRecordSet to retrieve them. + /// Looks up a localized string similar to Zone &apos;{0}&apos; was created in resource group &apos;{1}&apos;. The SOA and authoritative NS records for this zone have been created automatically. Use Get-AzureRmDnsRecordSet to retrieve them. /// </summary> internal static string Success_NewZone { get { @@ -187,7 +187,7 @@ internal static string Success_NewZone { } /// <summary> - /// Looks up a localized string similar to Record added. Use Set-AzureRMDnsRecordSet to save your change to this record set.. + /// Looks up a localized string similar to Record added. Use Set-AzureRmDnsRecordSet to save your change to this record set.. /// </summary> internal static string Success_RecordAdded { get { @@ -196,7 +196,7 @@ internal static string Success_RecordAdded { } /// <summary> - /// Looks up a localized string similar to Record removed. Use Set-AzureRMDnsRecordSet to save your change to this record set.. + /// Looks up a localized string similar to Record removed. Use Set-AzureRmDnsRecordSet to save your change to this record set.. /// </summary> internal static string Success_RecordRemoved { get { diff --git a/src/ResourceManager/Dns/Commands.Dns/Properties/Resources.resx b/src/ResourceManager/Dns/Commands.Dns/Properties/Resources.resx index 199a99e97acf..48f0a48c6a55 100644 --- a/src/ResourceManager/Dns/Commands.Dns/Properties/Resources.resx +++ b/src/ResourceManager/Dns/Commands.Dns/Properties/Resources.resx @@ -154,16 +154,16 @@ <value>Success!</value> </data> <data name="Success_NewRecordSet" xml:space="preserve"> - <value>Record set '{0}' was created in zone '{1}'.The record set is empty. Use Add-AzureRMDnsRecordConfig to add {2} records to it and Set-AzureRMDnsRecordSet to save your changes.</value> + <value>Record set '{0}' was created in zone '{1}'.The record set is empty. Use Add-AzureRmDnsRecordConfig to add {2} records to it and Set-AzureRmDnsRecordSet to save your changes.</value> </data> <data name="Success_NewZone" xml:space="preserve"> - <value>Zone '{0}' was created in resource group '{1}'. The SOA and authoritative NS records for this zone have been created automatically. Use Get-AzureRMDnsRecordSet to retrieve them</value> + <value>Zone '{0}' was created in resource group '{1}'. The SOA and authoritative NS records for this zone have been created automatically. Use Get-AzureRmDnsRecordSet to retrieve them</value> </data> <data name="Success_RecordAdded" xml:space="preserve"> - <value>Record added. Use Set-AzureRMDnsRecordSet to save your change to this record set.</value> + <value>Record added. Use Set-AzureRmDnsRecordSet to save your change to this record set.</value> </data> <data name="Success_RecordRemoved" xml:space="preserve"> - <value>Record removed. Use Set-AzureRMDnsRecordSet to save your change to this record set.</value> + <value>Record removed. Use Set-AzureRmDnsRecordSet to save your change to this record set.</value> </data> <data name="Success_RecordSetFqdn" xml:space="preserve"> <value>After you create {2} records in this record set you will be able to query them in DNS using the FQDN '{0}.{1}.'</value> diff --git a/src/ResourceManager/Dns/Commands.Dns/Records/AddAzureDnsRecordConfig.cs b/src/ResourceManager/Dns/Commands.Dns/Records/AddAzureDnsRecordConfig.cs index 3c749c2b5b13..8b3ef2c07d82 100644 --- a/src/ResourceManager/Dns/Commands.Dns/Records/AddAzureDnsRecordConfig.cs +++ b/src/ResourceManager/Dns/Commands.Dns/Records/AddAzureDnsRecordConfig.cs @@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Dns /// <summary> /// Adds a record to a record set object. /// </summary> - [Cmdlet(VerbsCommon.Add, "AzureRMDnsRecordConfig"), OutputType(typeof(DnsRecordSet))] + [Cmdlet(VerbsCommon.Add, "AzureRmDnsRecordConfig"), OutputType(typeof(DnsRecordSet))] public class AddAzureDnsRecordConfig : DnsBaseCmdlet { [Parameter(Mandatory = true, ValueFromPipeline = true, HelpMessage = "The record set in which to add the record.")] diff --git a/src/ResourceManager/Dns/Commands.Dns/Records/GetAzureDnsRescordSet.cs b/src/ResourceManager/Dns/Commands.Dns/Records/GetAzureDnsRescordSet.cs index ad9ff1cde5a2..91d3583369ba 100644 --- a/src/ResourceManager/Dns/Commands.Dns/Records/GetAzureDnsRescordSet.cs +++ b/src/ResourceManager/Dns/Commands.Dns/Records/GetAzureDnsRescordSet.cs @@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Dns /// <summary> /// Gets one or more existing record sets. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMDnsRecordSet"), OutputType(typeof(DnsRecordSet))] + [Cmdlet(VerbsCommon.Get, "AzureRmDnsRecordSet"), OutputType(typeof(DnsRecordSet))] public class GetAzureDnsRecordSet : DnsBaseCmdlet { [Parameter(Mandatory = false, ParameterSetName = "Fields", ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the records inthis record set (relative to the name of the zone and without a terminating dot).")] diff --git a/src/ResourceManager/Dns/Commands.Dns/Records/NewAzureDnsRescordSet.cs b/src/ResourceManager/Dns/Commands.Dns/Records/NewAzureDnsRescordSet.cs index ae2d479a917c..868c28d8177d 100644 --- a/src/ResourceManager/Dns/Commands.Dns/Records/NewAzureDnsRescordSet.cs +++ b/src/ResourceManager/Dns/Commands.Dns/Records/NewAzureDnsRescordSet.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Dns /// <summary> /// Creates a new record set. /// </summary> - [Cmdlet(VerbsCommon.New, "AzureRMDnsRecordSet"), OutputType(typeof(DnsRecordSet))] + [Cmdlet(VerbsCommon.New, "AzureRmDnsRecordSet"), OutputType(typeof(DnsRecordSet))] public class NewAzureDnsRecordSet : DnsBaseCmdlet { [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the records inthis record set (relative to the name of the zone and without a terminating dot).")] diff --git a/src/ResourceManager/Dns/Commands.Dns/Records/RemoveAzureDnsRecordConfig.cs b/src/ResourceManager/Dns/Commands.Dns/Records/RemoveAzureDnsRecordConfig.cs index 1d4705f6cb4a..ac548099f33f 100644 --- a/src/ResourceManager/Dns/Commands.Dns/Records/RemoveAzureDnsRecordConfig.cs +++ b/src/ResourceManager/Dns/Commands.Dns/Records/RemoveAzureDnsRecordConfig.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Dns /// <summary> /// Removes a record from a record set object. /// </summary> - [Cmdlet(VerbsCommon.Remove, "AzureRMDnsRecordConfig"), OutputType(typeof(DnsRecordSet))] + [Cmdlet(VerbsCommon.Remove, "AzureRmDnsRecordConfig"), OutputType(typeof(DnsRecordSet))] public class RemoveAzureDnsRecordConfig : DnsBaseCmdlet { [Parameter(Mandatory = true, ValueFromPipeline = true, HelpMessage = "The record set from which to remove the record.")] diff --git a/src/ResourceManager/Dns/Commands.Dns/Records/RemoveAzureDnsRecordSet.cs b/src/ResourceManager/Dns/Commands.Dns/Records/RemoveAzureDnsRecordSet.cs index 66ac3318f3dd..9fcf1f4d19d0 100644 --- a/src/ResourceManager/Dns/Commands.Dns/Records/RemoveAzureDnsRecordSet.cs +++ b/src/ResourceManager/Dns/Commands.Dns/Records/RemoveAzureDnsRecordSet.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Dns /// <summary> /// Deletes an existing record set. /// </summary> - [Cmdlet(VerbsCommon.Remove, "AzureRMDnsRecordSet"), OutputType(typeof(bool))] + [Cmdlet(VerbsCommon.Remove, "AzureRmDnsRecordSet"), OutputType(typeof(bool))] public class RemoveAzureDnsRecordSet : DnsBaseCmdlet { [Parameter(Mandatory = true, ParameterSetName = "Fields", HelpMessage = "The name of the records in the record set (relative to the name of the zone and without a terminating dot).")] diff --git a/src/ResourceManager/Dns/Commands.Dns/Records/SetAzureDnsRecordSet.cs b/src/ResourceManager/Dns/Commands.Dns/Records/SetAzureDnsRecordSet.cs index b43145bfa650..2bf4ed7b9dfb 100644 --- a/src/ResourceManager/Dns/Commands.Dns/Records/SetAzureDnsRecordSet.cs +++ b/src/ResourceManager/Dns/Commands.Dns/Records/SetAzureDnsRecordSet.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Dns /// <summary> /// Updates an existing record set. /// </summary> - [Cmdlet(VerbsCommon.Set, "AzureRMDnsRecordSet"), OutputType(typeof(DnsRecordSet))] + [Cmdlet(VerbsCommon.Set, "AzureRmDnsRecordSet"), OutputType(typeof(DnsRecordSet))] public class SetAzureDnsRecordSet : DnsBaseCmdlet { [Parameter(Mandatory = true, ValueFromPipeline = true, HelpMessage = "The record set in which to add the record.")] diff --git a/src/ResourceManager/Dns/Commands.Dns/Zones/GetAzureDnsZone.cs b/src/ResourceManager/Dns/Commands.Dns/Zones/GetAzureDnsZone.cs index e4902c281072..27f824fd51d9 100644 --- a/src/ResourceManager/Dns/Commands.Dns/Zones/GetAzureDnsZone.cs +++ b/src/ResourceManager/Dns/Commands.Dns/Zones/GetAzureDnsZone.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Dns /// <summary> /// Gets one or more existing zones. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMDnsZone"), OutputType(typeof(DnsZone))] + [Cmdlet(VerbsCommon.Get, "AzureRmDnsZone"), OutputType(typeof(DnsZone))] public class GetAzureDnsZone : DnsBaseCmdlet { [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The full name of the zone (without a terminating dot).")] diff --git a/src/ResourceManager/Dns/Commands.Dns/Zones/NewAzureDnsZone.cs b/src/ResourceManager/Dns/Commands.Dns/Zones/NewAzureDnsZone.cs index 3bccd3553c90..baf39e1e74b2 100644 --- a/src/ResourceManager/Dns/Commands.Dns/Zones/NewAzureDnsZone.cs +++ b/src/ResourceManager/Dns/Commands.Dns/Zones/NewAzureDnsZone.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Dns /// <summary> /// Creates a new zone. /// </summary> - [Cmdlet(VerbsCommon.New, "AzureRMDnsZone"), OutputType(typeof(DnsZone))] + [Cmdlet(VerbsCommon.New, "AzureRmDnsZone"), OutputType(typeof(DnsZone))] public class NewAzureDnsZone : DnsBaseCmdlet { [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The full name of the zone (without a terminating dot).")] diff --git a/src/ResourceManager/Dns/Commands.Dns/Zones/RemoveAzureDnsZone.cs b/src/ResourceManager/Dns/Commands.Dns/Zones/RemoveAzureDnsZone.cs index 59dfdd13e0af..703204716c35 100644 --- a/src/ResourceManager/Dns/Commands.Dns/Zones/RemoveAzureDnsZone.cs +++ b/src/ResourceManager/Dns/Commands.Dns/Zones/RemoveAzureDnsZone.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Dns /// <summary> /// Deletes an existing zone. /// </summary> - [Cmdlet(VerbsCommon.Remove, "AzureRMDnsZone"), OutputType(typeof(bool))] + [Cmdlet(VerbsCommon.Remove, "AzureRmDnsZone"), OutputType(typeof(bool))] public class RemoveAzureDnsZone : DnsBaseCmdlet { [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The full name of the zone (without a terminating dot).", ParameterSetName = "Fields")] diff --git a/src/ResourceManager/Dns/Commands.Dns/Zones/SetAzureDnsZone.cs b/src/ResourceManager/Dns/Commands.Dns/Zones/SetAzureDnsZone.cs index fd5aa4aa7605..81ab75c77c78 100644 --- a/src/ResourceManager/Dns/Commands.Dns/Zones/SetAzureDnsZone.cs +++ b/src/ResourceManager/Dns/Commands.Dns/Zones/SetAzureDnsZone.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Dns /// <summary> /// Updates an existing zone. /// </summary> - [Cmdlet(VerbsCommon.Set, "AzureRMDnsZone"), OutputType(typeof(DnsZone))] + [Cmdlet(VerbsCommon.Set, "AzureRmDnsZone"), OutputType(typeof(DnsZone))] public class SetAzureDnsZone : DnsBaseCmdlet { [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The full name of the zone (without a terminating dot).", ParameterSetName = "Fields")] diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/ScenarioTests/HDInsightConfigurationTests.ps1 b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/ScenarioTests/HDInsightConfigurationTests.ps1 index fe6297fd3f9e..7cca948a14d5 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/ScenarioTests/HDInsightConfigurationTests.ps1 +++ b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/ScenarioTests/HDInsightConfigurationTests.ps1 @@ -18,53 +18,53 @@ Tests pipelining with creating the config #> function Test-ConfigurationPipelining{ - #test New-AzureRMHDInsightClusterConfig - $config = New-AzureRMHDInsightClusterConfig -ClusterType Hadoop + #test New-AzureRmHDInsightClusterConfig + $config = New-AzureRmHDInsightClusterConfig -ClusterType Hadoop Assert-NotNull $config.ClusterType - #test Add-AzureRMHDInsightStorage + #test Add-AzureRmHDInsightStorage Assert-AreEqual $config.AdditionalStorageAccounts.Count 0 - $config = $config | Add-AzureRMHDInsightStorage -StorageAccountName fakestorageaccount -StorageAccountKey STORAGEACCOUNTKEY== + $config = $config | Add-AzureRmHDInsightStorage -StorageAccountName fakestorageaccount -StorageAccountKey STORAGEACCOUNTKEY== Assert-AreEqual $config.AdditionalStorageAccounts.Count 1 - #test Add-AzureRMHDInsightConfigValues + #test Add-AzureRmHDInsightConfigValues Assert-AreEqual $config.Configurations.Count 0 Assert-Null $config.Configurations["core-site"] $coreconfig = New-Object "System.Collections.Generic.Dictionary``2[System.String,System.String]" $coreconfig.Add('coreconfig', 'corevalue') Assert-Null $config.Configurations["core-site"] - $config = $config | Add-AzureRMHDInsightConfigValues -Core $coreconfig + $config = $config | Add-AzureRmHDInsightConfigValues -Core $coreconfig Assert-NotNull $config.Configurations["core-site"] $oozieconfig = New-Object "System.Collections.Generic.Dictionary``2[System.String,System.String]" $oozieconfig.Add('oozieconfig', 'oozievalue') Assert-Null $config.Configurations["oozie-site"] - $config = $config | Add-AzureRMHDInsightConfigValues -OozieSite $coreconfig + $config = $config | Add-AzureRmHDInsightConfigValues -OozieSite $coreconfig Assert-NotNull $config.Configurations["oozie-site"] - #test Add-AzureRMHDInsightMetastore + #test Add-AzureRmHDInsightMetastore Assert-Null $config.OozieMetastore Assert-Null $config.HiveMetastore $secpasswd = ConvertTo-SecureString "PlainTextPassword" -AsPlainText -Force $mycreds = New-Object System.Management.Automation.PSCredential ("username", $secpasswd) - $config = $config | Add-AzureRMHDInsightMetastore -MetastoreType HiveMetastore -SqlAzureServerName server.server.server -DatabaseName dbname -Credential $mycreds + $config = $config | Add-AzureRmHDInsightMetastore -MetastoreType HiveMetastore -SqlAzureServerName server.server.server -DatabaseName dbname -Credential $mycreds Assert-NotNull $config.HiveMetastore Assert-Null $config.OozieMetastore - #test Add-AzureRMHDInsightScriptAction + #test Add-AzureRmHDInsightScriptAction Assert-AreEqual $config.ScriptActions.Count 0 Assert-Null $config.ScriptActions["WorkerNode"] - $config = $config | Add-AzureRMHDInsightScriptAction -NodeType WorkerNode -Uri "http://uri.com" -Name "scriptaction" -Parameters "parameters" + $config = $config | Add-AzureRmHDInsightScriptAction -NodeType WorkerNode -Uri "http://uri.com" -Name "scriptaction" -Parameters "parameters" Assert-AreEqual $config.ScriptActions.Count 1 Assert-AreEqual $config.ScriptActions["WorkerNode"].Count 1 - $config = $config | Add-AzureRMHDInsightScriptAction -NodeType WorkerNode -Uri "http://uri.com" -Name "scriptaction2" -Parameters "parameters" + $config = $config | Add-AzureRmHDInsightScriptAction -NodeType WorkerNode -Uri "http://uri.com" -Name "scriptaction2" -Parameters "parameters" Assert-AreEqual $config.ScriptActions.Count 1 Assert-AreEqual $config.ScriptActions["WorkerNode"].Count 2 - #test Set-AzureRMHDInsightDefaultStorage + #test Set-AzureRmHDInsightDefaultStorage Assert-Null $config.DefaultStorageAccountName Assert-Null $config.DefaultStorageAccountKey - $config = $config | Set-AzureRMHDInsightDefaultStorage -StorageAccountName fakedefaultaccount -StorageAccountKey DEFAULTACCOUNTKEY== + $config = $config | Set-AzureRmHDInsightDefaultStorage -StorageAccountName fakedefaultaccount -StorageAccountKey DEFAULTACCOUNTKEY== Assert-NotNull $config.DefaultStorageAccountName Assert-NotNull $config.DefaultStorageAccountKey } \ No newline at end of file diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs index a63f650f4b67..44fc1809e243 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Constants.cs @@ -17,28 +17,28 @@ internal static class Constants { public static class CommandNames { - public const string AzureHDInsightCluster = "AzureRMHDInsightCluster"; - public const string AzureHDInsightClusterConfig = "AzureRMHDInsightClusterConfig"; - public const string AzureHDInsightClusterSize = "AzureRMHDInsightClusterSize"; - public const string AzureHDInsightHttpServicesAccess = "AzureRMHDInsightHttpServicesAccess"; - public const string AzureHDInsightRdpServicesAccess = "AzureRMHDInsightRdpServicesAccess"; - public const string AzureHDInsightConfigValues = "AzureRMHDInsightConfigValues"; - public const string AzureHDInsightMetastore = "AzureRMHDInsightMetastore"; - public const string AzureHDInsightScriptAction = "AzureRMHDInsightScriptAction"; - public const string AzureHDInsightStorage = "AzureRMHDInsightStorage"; - public const string AzureHDInsightProperties = "AzureRMHDInsightProperties"; - public const string AzureHDInsightJob = "AzureRMHDInsightJob"; - public const string AzureHDInsightJobOutput = "AzureRMHDInsightJobOutput"; - public const string AzureHDInsightDefaultStorage = "AzureRMHDInsightDefaultStorage"; - public const string AzureHDInsightHiveJob = "AzureRMHDInsightHiveJob"; + public const string AzureHDInsightCluster = "AzureRmHDInsightCluster"; + public const string AzureHDInsightClusterConfig = "AzureRmHDInsightClusterConfig"; + public const string AzureHDInsightClusterSize = "AzureRmHDInsightClusterSize"; + public const string AzureHDInsightHttpServicesAccess = "AzureRmHDInsightHttpServicesAccess"; + public const string AzureHDInsightRdpServicesAccess = "AzureRmHDInsightRdpServicesAccess"; + public const string AzureHDInsightConfigValues = "AzureRmHDInsightConfigValues"; + public const string AzureHDInsightMetastore = "AzureRmHDInsightMetastore"; + public const string AzureHDInsightScriptAction = "AzureRmHDInsightScriptAction"; + public const string AzureHDInsightStorage = "AzureRmHDInsightStorage"; + public const string AzureHDInsightProperties = "AzureRmHDInsightProperties"; + public const string AzureHDInsightJob = "AzureRmHDInsightJob"; + public const string AzureHDInsightJobOutput = "AzureRmHDInsightJobOutput"; + public const string AzureHDInsightDefaultStorage = "AzureRmHDInsightDefaultStorage"; + public const string AzureHDInsightHiveJob = "AzureRmHDInsightHiveJob"; } public static class JobDefinitions { - public const string AzureHDInsightHiveJobDefinition = "AzureRMHDInsightHiveJobDefinition"; - public const string AzureHDInsightPigJobDefinition = "AzureRMHDInsightPigJobDefinition"; - public const string AzureHDInsightMapReduceJobDefinition = "AzureRMHDInsightMapReduceJobDefinition"; - public const string AzureHDInsightStreamingMapReduceJobDefinition = "AzureRMHDInsightStreamingMapReduceJobDefinition"; + public const string AzureHDInsightHiveJobDefinition = "AzureRmHDInsightHiveJobDefinition"; + public const string AzureHDInsightPigJobDefinition = "AzureRmHDInsightPigJobDefinition"; + public const string AzureHDInsightMapReduceJobDefinition = "AzureRmHDInsightMapReduceJobDefinition"; + public const string AzureHDInsightStreamingMapReduceJobDefinition = "AzureRmHDInsightStreamingMapReduceJobDefinition"; } } } diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/InvokeHiveCommand.cs b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/InvokeHiveCommand.cs index 95588fc5414d..b429e6dbe282 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/InvokeHiveCommand.cs +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/JobCommands/InvokeHiveCommand.cs @@ -124,7 +124,7 @@ protected override void ProcessRecord() { throw new NullReferenceException( string.Format( - "The cluster or resource group specified is null. Please use the Use-AzureRMHDInsightCluster command to connect to a cluster.")); + "The cluster or resource group specified is null. Please use the Use-AzureRmHDInsightCluster command to connect to a cluster.")); } //get hive job diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight/Microsoft.Azure.Commands.HDInsight.dll-help.xml b/src/ResourceManager/HDInsight/Commands.HDInsight/Microsoft.Azure.Commands.HDInsight.dll-help.xml index e2989745672b..c6c8c6b405c6 100644 --- a/src/ResourceManager/HDInsight/Commands.HDInsight/Microsoft.Azure.Commands.HDInsight.dll-help.xml +++ b/src/ResourceManager/HDInsight/Commands.HDInsight/Microsoft.Azure.Commands.HDInsight.dll-help.xml @@ -2,7 +2,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Add-AzureRMHDInsightConfigValues</command:name> + <command:name>Add-AzureRmHDInsightConfigValues</command:name> <maml:description> <maml:para>Adds a Hadoop configuration value customization and/or a Hive shared library customization to the Microsoft Azure HDInsight cluster configuration.</maml:para> </maml:description> @@ -18,7 +18,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Add-AzureRMHDInsightConfigValues</maml:name> + <maml:name>Add-AzureRmHDInsightConfigValues</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Config</maml:name> <maml:description> @@ -348,7 +348,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Add-AzureRMHDInsightMetastore</command:name> + <command:name>Add-AzureRmHDInsightMetastore</command:name> <maml:description> <maml:para>Adds a SQL Database account to the Microsoft Azure HDInsight cluster configuration.</maml:para> </maml:description> @@ -360,11 +360,11 @@ <dev:version /> </command:details> <maml:description> - <maml:para>Adds a SQL Database to the HDInsight configuration created by the New-AzureRMHDInsightClusterConfig cmdlet.</maml:para> + <maml:para>Adds a SQL Database to the HDInsight configuration created by the New-AzureRmHDInsightClusterConfig cmdlet.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Add-AzureRMHDInsightMetastore</maml:name> + <maml:name>Add-AzureRmHDInsightMetastore</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Config</maml:name> <maml:description> @@ -523,7 +523,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Add-AzureRMHDInsightScriptAction</command:name> + <command:name>Add-AzureRmHDInsightScriptAction</command:name> <maml:description> <maml:para>Adds a SQL Database account to the Microsoft Azure HDInsight cluster configuration.</maml:para> </maml:description> @@ -535,11 +535,11 @@ <dev:version /> </command:details> <maml:description> - <maml:para>Adds a SQL Database account to the HDInsight configuration created by the New-AzureRMHDInsightClusterConfig cmdlet.</maml:para> + <maml:para>Adds a SQL Database account to the HDInsight configuration created by the New-AzureRmHDInsightClusterConfig cmdlet.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Add-AzureRMHDInsightScriptAction</maml:name> + <maml:name>Add-AzureRmHDInsightScriptAction</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Config</maml:name> <maml:description> @@ -698,7 +698,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Add-AzureRMHDInsightStorage</command:name> + <command:name>Add-AzureRmHDInsightStorage</command:name> <maml:description> <maml:para>Adds a Microsoft Azure Blob Storage account entry to a target HDInsight configuration.</maml:para> </maml:description> @@ -710,11 +710,11 @@ <dev:version /> </command:details> <maml:description> - <maml:para>Adds a Microsoft Azure Blob Storage account entry to the HDInsight configuration created by the New-AzureRMHDInsightClusterConfig cmdlet.</maml:para> + <maml:para>Adds a Microsoft Azure Blob Storage account entry to the HDInsight configuration created by the New-AzureRmHDInsightClusterConfig cmdlet.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Add-AzureRMHDInsightStorage</maml:name> + <maml:name>Add-AzureRmHDInsightStorage</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Config</maml:name> <maml:description> @@ -835,7 +835,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMHDInsightCluster</command:name> + <command:name>Get-AzureRmHDInsightCluster</command:name> <maml:description> <maml:para>Retrieves and lists all of the Microsoft Azure HDInsight clusters associated with the current subscription or retrieves a specific named cluster.</maml:para> </maml:description> @@ -851,7 +851,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMHDInsightCluster</maml:name> + <maml:name>Get-AzureRmHDInsightCluster</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -953,7 +953,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMHDInsightJob</command:name> + <command:name>Get-AzureRmHDInsightJob</command:name> <maml:description> <maml:para>Retrieves the Azure HDInsight jobs from a cluster and lists them in reverse chronological order.</maml:para> </maml:description> @@ -969,7 +969,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMHDInsightJob</maml:name> + <maml:name>Get-AzureRmHDInsightJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -1109,7 +1109,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMHDInsightJobOutput</command:name> + <command:name>Get-AzureRmHDInsightJobOutput</command:name> <maml:description> <maml:para>Retrieves the log output for a job from the storage account associated with a specified cluster.</maml:para> </maml:description> @@ -1125,7 +1125,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMHDInsightJobOutput</maml:name> + <maml:name>Get-AzureRmHDInsightJobOutput</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -1322,7 +1322,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMHDInsightProperties</command:name> + <command:name>Get-AzureRmHDInsightProperties</command:name> <maml:description> <maml:para>Retrieves properties specific to a Microsoft Azure HDInsight service.</maml:para> </maml:description> @@ -1338,7 +1338,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMHDInsightProperties</maml:name> + <maml:name>Get-AzureRmHDInsightProperties</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0"> <maml:name>Location</maml:name> <maml:description> @@ -1421,7 +1421,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Grant-AzureRMHDInsightHttpServicesAccess</command:name> + <command:name>Grant-AzureRmHDInsightHttpServicesAccess</command:name> <maml:description> <maml:para>Grants HTTP access to the cluster.</maml:para> </maml:description> @@ -1437,7 +1437,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Grant-AzureRMHDInsightHttpServicesAccess</maml:name> + <maml:name>Grant-AzureRmHDInsightHttpServicesAccess</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -1558,7 +1558,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Grant-AzureRMHDInsightRdpServicesAccess</command:name> + <command:name>Grant-AzureRmHDInsightRdpServicesAccess</command:name> <maml:description> <maml:para>Grants RDP access to the cluster.</maml:para> </maml:description> @@ -1574,7 +1574,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Grant-AzureRMHDInsightRdpServicesAccess</maml:name> + <maml:name>Grant-AzureRmHDInsightRdpServicesAccess</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -1726,7 +1726,7 @@ <dev:version /> </command:details> <maml:description> - <maml:para>Submits Hive queries to the HDInsight cluster, shows progress of the query execution, and retrieves query results in one operation. The Use-AzureRMHDInsightCluster cmdlet needs to be used before calling Invoke-Hive to specify which HDInsight cluster the query will be submitted to.</maml:para> + <maml:para>Submits Hive queries to the HDInsight cluster, shows progress of the query execution, and retrieves query results in one operation. The Use-AzureRmHDInsightCluster cmdlet needs to be used before calling Invoke-Hive to specify which HDInsight cluster the query will be submitted to.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> @@ -2003,7 +2003,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>New-AzureRMHDInsightCluster</command:name> + <command:name>New-AzureRmHDInsightCluster</command:name> <maml:description> <maml:para>Creates a new Microsoft Azure HDInsight cluster for the current subscription.</maml:para> </maml:description> @@ -2015,11 +2015,11 @@ <dev:version /> </command:details> <maml:description> - <maml:para>Creates a new Microsoft Azure HDInsight cluster using the specified parameters or configuration created using the New-AzureRMHDInsightClusterConfig cmdlet.</maml:para> + <maml:para>Creates a new Microsoft Azure HDInsight cluster using the specified parameters or configuration created using the New-AzureRmHDInsightClusterConfig cmdlet.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMHDInsightCluster</maml:name> + <maml:name>New-AzureRmHDInsightCluster</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0"> <maml:name>Location</maml:name> <maml:description> @@ -2577,7 +2577,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>New-AzureRMHDInsightClusterConfig</command:name> + <command:name>New-AzureRmHDInsightClusterConfig</command:name> <maml:description> <maml:para>Creates a non-persisted configuration that describes a Microsoft Azure HDInsight cluster configuration.</maml:para> </maml:description> @@ -2593,7 +2593,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMHDInsightClusterConfig</maml:name> + <maml:name>New-AzureRmHDInsightClusterConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DefaultStorageAccountName</maml:name> <maml:description> @@ -2809,7 +2809,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>New-AzureRMHDInsightHiveJobDefinition</command:name> + <command:name>New-AzureRmHDInsightHiveJobDefinition</command:name> <maml:description> <maml:para>Defines a new Hive job.</maml:para> </maml:description> @@ -2825,7 +2825,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMHDInsightHiveJobDefinition</maml:name> + <maml:name>New-AzureRmHDInsightHiveJobDefinition</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Arguments</maml:name> <maml:description> @@ -3041,7 +3041,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>New-AzureRMHDInsightMapReduceJobDefinition</command:name> + <command:name>New-AzureRmHDInsightMapReduceJobDefinition</command:name> <maml:description> <maml:para>Defines a new Map Reduce job.</maml:para> </maml:description> @@ -3057,7 +3057,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMHDInsightMapReduceJobDefinition</maml:name> + <maml:name>New-AzureRmHDInsightMapReduceJobDefinition</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Arguments</maml:name> <maml:description> @@ -3273,7 +3273,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>New-AzureRMHDInsightPigJobDefinition</command:name> + <command:name>New-AzureRmHDInsightPigJobDefinition</command:name> <maml:description> <maml:para>Defines a new Pig job.</maml:para> </maml:description> @@ -3289,7 +3289,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMHDInsightPigJobDefinition</maml:name> + <maml:name>New-AzureRmHDInsightPigJobDefinition</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Arguments</maml:name> <maml:description> @@ -3448,7 +3448,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>New-AzureRMHDInsightStreamingMapReduceJobDefinition</command:name> + <command:name>New-AzureRmHDInsightStreamingMapReduceJobDefinition</command:name> <maml:description> <maml:para>Defines a new Streaming Map Reduce job.</maml:para> </maml:description> @@ -3464,7 +3464,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMHDInsightStreamingMapReduceJobDefinition</maml:name> + <maml:name>New-AzureRmHDInsightStreamingMapReduceJobDefinition</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Arguments</maml:name> <maml:description> @@ -3699,7 +3699,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Remove-AzureRMHDInsightCluster</command:name> + <command:name>Remove-AzureRmHDInsightCluster</command:name> <maml:description> <maml:para>Deletes the specified HDInsight cluster from your Microsoft Azure subscription.</maml:para> </maml:description> @@ -3715,7 +3715,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMHDInsightCluster</maml:name> + <maml:name>Remove-AzureRmHDInsightCluster</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -3817,7 +3817,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Revoke-AzureRMHDInsightHttpServicesAccess</command:name> + <command:name>Revoke-AzureRmHDInsightHttpServicesAccess</command:name> <maml:description> <maml:para>Disables HTTP access to the cluster.</maml:para> </maml:description> @@ -3833,7 +3833,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Revoke-AzureRMHDInsightHttpServicesAccess</maml:name> + <maml:name>Revoke-AzureRmHDInsightHttpServicesAccess</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -3935,7 +3935,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Revoke-AzureRMHDInsightRdpServicesAccess</command:name> + <command:name>Revoke-AzureRmHDInsightRdpServicesAccess</command:name> <maml:description> <maml:para>Disables RDP access to the cluster.</maml:para> </maml:description> @@ -3951,7 +3951,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Revoke-AzureRMHDInsightRdpServicesAccess</maml:name> + <maml:name>Revoke-AzureRmHDInsightRdpServicesAccess</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -4053,7 +4053,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Set-AzureRMHDInsightClusterSize</command:name> + <command:name>Set-AzureRmHDInsightClusterSize</command:name> <maml:description> <maml:para>Sets the size of the specified cluster to the requested size.</maml:para> </maml:description> @@ -4069,7 +4069,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMHDInsightClusterSize</maml:name> + <maml:name>Set-AzureRmHDInsightClusterSize</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -4190,7 +4190,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Set-AzureRMHDInsightDefaultStorage</command:name> + <command:name>Set-AzureRmHDInsightDefaultStorage</command:name> <maml:description> <maml:para>Sets default storage account setting in the HDInsight cluster configuration object.</maml:para> </maml:description> @@ -4206,7 +4206,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMHDInsightDefaultStorage</maml:name> + <maml:name>Set-AzureRmHDInsightDefaultStorage</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Config</maml:name> <maml:description> @@ -4327,7 +4327,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Start-AzureRMHDInsightJob</command:name> + <command:name>Start-AzureRmHDInsightJob</command:name> <maml:description> <maml:para>Starts an Azure HDInsight job on a specified cluster.</maml:para> </maml:description> @@ -4343,7 +4343,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Start-AzureRMHDInsightJob</maml:name> + <maml:name>Start-AzureRmHDInsightJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -4483,7 +4483,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Stop-AzureRMHDInsightJob</command:name> + <command:name>Stop-AzureRmHDInsightJob</command:name> <maml:description> <maml:para>Stops running an Azure HDInsight job on a specified cluster.</maml:para> </maml:description> @@ -4499,7 +4499,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Stop-AzureRMHDInsightJob</maml:name> + <maml:name>Stop-AzureRmHDInsightJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -4639,7 +4639,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Use-AzureRMHDInsightCluster</command:name> + <command:name>Use-AzureRmHDInsightCluster</command:name> <maml:description> <maml:para>Selects Azure HDInsight cluster that will be used by the Invoke-Hive cmdlet for job submission.</maml:para> </maml:description> @@ -4655,7 +4655,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Use-AzureRMHDInsightCluster</maml:name> + <maml:name>Use-AzureRmHDInsightCluster</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -4776,7 +4776,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Wait-AzureRMHDInsightJob</command:name> + <command:name>Wait-AzureRmHDInsightJob</command:name> <maml:description> <maml:para>Awaits the completion or failure of the HDInsight job and shows its progress.</maml:para> </maml:description> @@ -4792,7 +4792,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Wait-AzureRMHDInsightJob</maml:name> + <maml:name>Wait-AzureRmHDInsightJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> diff --git a/src/ResourceManager/Insights/Commands.Insights.Test/ScenarioTests/Common.ps1 b/src/ResourceManager/Insights/Commands.Insights.Test/ScenarioTests/Common.ps1 index 04e39d1534e2..1fb936d65e91 100644 --- a/src/ResourceManager/Insights/Commands.Insights.Test/ScenarioTests/Common.ps1 +++ b/src/ResourceManager/Insights/Commands.Insights.Test/ScenarioTests/Common.ps1 @@ -36,7 +36,7 @@ Gets the default location for a provider #> function Get-ProviderLocation($provider) { - $location = Get-AzureRMLocation | where {$_.Name -eq $provider} + $location = Get-AzureRmLocation | where {$_.Name -eq $provider} if ($location -eq $null) { "West US" } else { @@ -60,6 +60,6 @@ Cleans the created resource groups function Clean-ResourceGroup($rgname) { if ([Microsoft.Azure.Test.HttpRecorder.HttpMockServer]::Mode -ne [Microsoft.Azure.Test.HttpRecorder.HttpRecorderMode]::Playback) { - Remove-AzureRMResourceGroup -Name $rgname -Force + Remove-AzureRmResourceGroup -Name $rgname -Force } } \ No newline at end of file diff --git a/src/ResourceManager/Insights/Commands.Insights.Test/ScenarioTests/EventsTests.ps1 b/src/ResourceManager/Insights/Commands.Insights.Test/ScenarioTests/EventsTests.ps1 index b5be6a91649e..7f0d3ff7a4cd 100644 --- a/src/ResourceManager/Insights/Commands.Insights.Test/ScenarioTests/EventsTests.ps1 +++ b/src/ResourceManager/Insights/Commands.Insights.Test/ScenarioTests/EventsTests.ps1 @@ -24,7 +24,7 @@ function Test-GetAzureCorrelationIdLog try { # Test - $actual = Get-AzureRMCorrelationIdLog -CorrelationId $correlation -starttime 2015-03-02T10:00:00 -endtime 2015-03-02T12:00:00 -detailedOutput + $actual = Get-AzureRmCorrelationIdLog -CorrelationId $correlation -starttime 2015-03-02T10:00:00 -endtime 2015-03-02T12:00:00 -detailedOutput # Assert TODO add more asserts Assert-AreEqual $actual.Count 2 @@ -47,7 +47,7 @@ function Test-GetAzureResourceGroupLog try { - $actual = Get-AzureRMResourceGroupLog -ResourceGroup $rgname -starttime 2015-01-15T04:30:00 -endtime 2015-01-15T12:30:00 + $actual = Get-AzureRmResourceGroupLog -ResourceGroup $rgname -starttime 2015-01-15T04:30:00 -endtime 2015-01-15T12:30:00 # Assert TODO add more asserts Assert-AreEqual $actual.Count 2 @@ -70,10 +70,10 @@ function Test-GetAzureResourceLog try { - $actual = Get-AzureRMResourceLog -ResourceId $rname -startTime 2015-03-03T15:42:50Z -endTime 2015-03-03T16:42:50Z + $actual = Get-AzureRmResourceLog -ResourceId $rname -startTime 2015-03-03T15:42:50Z -endTime 2015-03-03T16:42:50Z # Assert TODO add more asserts - # Assert-Throws { Set-AzureRMResourceGroup -Name $rgname -Tags @{"testtag" = "testval"} } "Invalid tag format. Expect @{Name = `"tagName`"} or @{Name = `"tagName`"; Value = `"tagValue`"}" + # Assert-Throws { Set-AzureRmResourceGroup -Name $rgname -Tags @{"testtag" = "testval"} } "Invalid tag format. Expect @{Name = `"tagName`"} or @{Name = `"tagName`"; Value = `"tagValue`"}" Assert-AreEqual $actual.Count 2 } finally @@ -94,7 +94,7 @@ function Test-GetAzureResourceProviderLog try { - $actual = Get-AzureRMResourceProviderLog -ResourceProvider $rpname -startTime 2015-03-03T15:42:50Z -endTime 2015-03-03T16:42:50Z + $actual = Get-AzureRmResourceProviderLog -ResourceProvider $rpname -startTime 2015-03-03T15:42:50Z -endTime 2015-03-03T16:42:50Z # Assert Assert-AreEqual $actual.Count 2 @@ -117,7 +117,7 @@ function Test-GetAzureSubscriptionIdLog try { # Test - $actual = Get-AzureRMSubscriptionIdLog -starttime 2015-01-15T04:30:00 -endtime 2015-01-15T12:30:00 + $actual = Get-AzureRmSubscriptionIdLog -starttime 2015-01-15T04:30:00 -endtime 2015-01-15T12:30:00 # Assert Assert-AreEqual $actual.Count 1 diff --git a/src/ResourceManager/Insights/Commands.Insights/Events/GetAzureCorrelationIdLogCommand.cs b/src/ResourceManager/Insights/Commands.Insights/Events/GetAzureCorrelationIdLogCommand.cs index 5d179b5f88e5..0bf3488e443a 100644 --- a/src/ResourceManager/Insights/Commands.Insights/Events/GetAzureCorrelationIdLogCommand.cs +++ b/src/ResourceManager/Insights/Commands.Insights/Events/GetAzureCorrelationIdLogCommand.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Insights.Events /// <summary> /// Get the list of events for at a CorrelationId level. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMCorrelationIdLog"), OutputType(typeof(List<IPSEventData>))] + [Cmdlet(VerbsCommon.Get, "AzureRmCorrelationIdLog"), OutputType(typeof(List<IPSEventData>))] public class GetAzureCorrelationIdLogCommand : EventCmdletBase { /// <summary> diff --git a/src/ResourceManager/Insights/Commands.Insights/Events/GetAzureResourceGroupLogCommand.cs b/src/ResourceManager/Insights/Commands.Insights/Events/GetAzureResourceGroupLogCommand.cs index fc22a279b330..196e2a9d819b 100644 --- a/src/ResourceManager/Insights/Commands.Insights/Events/GetAzureResourceGroupLogCommand.cs +++ b/src/ResourceManager/Insights/Commands.Insights/Events/GetAzureResourceGroupLogCommand.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Insights.Events /// <summary> /// Get the list of events for at a ResourceGroup level. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMResourceGroupLog"), OutputType(typeof(List<IPSEventData>))] + [Cmdlet(VerbsCommon.Get, "AzureRmResourceGroupLog"), OutputType(typeof(List<IPSEventData>))] public class GetAzureResourceGroupLogCommand : EventCmdletBase { /// <summary> diff --git a/src/ResourceManager/Insights/Commands.Insights/Events/GetAzureResourceLogCommand.cs b/src/ResourceManager/Insights/Commands.Insights/Events/GetAzureResourceLogCommand.cs index 1e39410d1be7..8b31401f7992 100644 --- a/src/ResourceManager/Insights/Commands.Insights/Events/GetAzureResourceLogCommand.cs +++ b/src/ResourceManager/Insights/Commands.Insights/Events/GetAzureResourceLogCommand.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Insights.Events /// <summary> /// Get the list of events for at a Resource level. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMResourceLog"), OutputType(typeof(List<IPSEventData>))] + [Cmdlet(VerbsCommon.Get, "AzureRmResourceLog"), OutputType(typeof(List<IPSEventData>))] public class GetAzureResourceLogCommand : EventCmdletBase { /// <summary> diff --git a/src/ResourceManager/Insights/Commands.Insights/Events/GetAzureResourceProviderLogCommand.cs b/src/ResourceManager/Insights/Commands.Insights/Events/GetAzureResourceProviderLogCommand.cs index d5be4e107f76..bd1d75740cf5 100644 --- a/src/ResourceManager/Insights/Commands.Insights/Events/GetAzureResourceProviderLogCommand.cs +++ b/src/ResourceManager/Insights/Commands.Insights/Events/GetAzureResourceProviderLogCommand.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Insights.Events /// <summary> /// Get the list of events for at a ResourceProvider level. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMResourceProviderLog"), OutputType(typeof(List<IPSEventData>))] + [Cmdlet(VerbsCommon.Get, "AzureRmResourceProviderLog"), OutputType(typeof(List<IPSEventData>))] public class GetAzureResourceProviderLogCommand : EventCmdletBase { /// <summary> diff --git a/src/ResourceManager/Insights/Commands.Insights/Events/GetAzureSubscriptionIdLogCommand.cs b/src/ResourceManager/Insights/Commands.Insights/Events/GetAzureSubscriptionIdLogCommand.cs index d09c6ff2a038..b6a13fd20337 100644 --- a/src/ResourceManager/Insights/Commands.Insights/Events/GetAzureSubscriptionIdLogCommand.cs +++ b/src/ResourceManager/Insights/Commands.Insights/Events/GetAzureSubscriptionIdLogCommand.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Insights.Events /// <summary> /// Get the list of events for at a subscription level. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMSubscriptionIdLog"), OutputType(typeof(List<IPSEventData>))] + [Cmdlet(VerbsCommon.Get, "AzureRmSubscriptionIdLog"), OutputType(typeof(List<IPSEventData>))] public class GetAzureSubscriptionIdLogCommand : EventCmdletBase { /// <summary> diff --git a/src/ResourceManager/Insights/Commands.Insights/InsightsClientCmdletBase.cs b/src/ResourceManager/Insights/Commands.Insights/InsightsClientCmdletBase.cs index 47c98208f499..3ddb95326a80 100644 --- a/src/ResourceManager/Insights/Commands.Insights/InsightsClientCmdletBase.cs +++ b/src/ResourceManager/Insights/Commands.Insights/InsightsClientCmdletBase.cs @@ -40,7 +40,7 @@ public IInsightsClient InsightsClient { if (this.insightsClient == null) { - // The premise is that a command to establish a context (like Add-AzureRMAccount) has been called before this command in order to have a correct CurrentContext + // The premise is that a command to establish a context (like Add-AzureRmAccount) has been called before this command in order to have a correct CurrentContext this.insightsClient = AzureSession.ClientFactory.CreateClient<InsightsClient>(DefaultProfile.Context, AzureEnvironment.Endpoint.ResourceManager); } diff --git a/src/ResourceManager/Insights/Commands.Insights/ManagementCmdletBase.cs b/src/ResourceManager/Insights/Commands.Insights/ManagementCmdletBase.cs index 509dd71c9754..14ec108f13bc 100644 --- a/src/ResourceManager/Insights/Commands.Insights/ManagementCmdletBase.cs +++ b/src/ResourceManager/Insights/Commands.Insights/ManagementCmdletBase.cs @@ -39,7 +39,7 @@ public IInsightsManagementClient InsightsManagementClient { if (this.insightsManagementClient == null) { - // The premise is that a command to establish a context (like Add-AzureRMAccount) has been called before this command in order to have a correct CurrentContext + // The premise is that a command to establish a context (like Add-AzureRmAccount) has been called before this command in order to have a correct CurrentContext this.insightsManagementClient = AzureSession.ClientFactory.CreateClient<InsightsManagementClient>(DefaultProfile.Context, AzureEnvironment.Endpoint.ResourceManager); } diff --git a/src/ResourceManager/Insights/Commands.Insights/Microsoft.Azure.Commands.Insights.dll-Help.xml b/src/ResourceManager/Insights/Commands.Insights/Microsoft.Azure.Commands.Insights.dll-Help.xml index acd79f8bd2c1..dbf0ac4236ce 100644 --- a/src/ResourceManager/Insights/Commands.Insights/Microsoft.Azure.Commands.Insights.dll-Help.xml +++ b/src/ResourceManager/Insights/Commands.Insights/Microsoft.Azure.Commands.Insights.dll-Help.xml @@ -2729,7 +2729,7 @@ Tags : {[$type, Microsoft.WindowsAzure.Management.Common.Storage.CasePrese <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMCorrelationIdLog</command:name> + <command:name>Get-AzureRmCorrelationIdLog</command:name> <maml:description> <maml:para>Gets the operations associated with a CorrelationId</maml:para> </maml:description> @@ -2745,7 +2745,7 @@ Tags : {[$type, Microsoft.WindowsAzure.Management.Common.Storage.CasePrese </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMCorrelationIdLog</maml:name> + <maml:name>Get-AzureRmCorrelationIdLog</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>CorrelationId</maml:name> <maml:description> @@ -2927,7 +2927,7 @@ The value must be earlier than StartTime, but not more than 15 days.</maml:para> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMCorrelationIdLog -CorrelationId 60c694d0-e46f-4c12-bed1-9b7aef541c23</dev:code> + <dev:code>PS C:\&gt;Get-AzureRmCorrelationIdLog -CorrelationId 60c694d0-e46f-4c12-bed1-9b7aef541c23</dev:code> <dev:remarks> <maml:para>This command lists all the operations associated to the given CorrelationId that took place in the last hour.</maml:para> <maml:para /> @@ -2947,7 +2947,7 @@ The value must be earlier than StartTime, but not more than 15 days.</maml:para> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMCorrelationIdLog -CorrelationId 60c694d0-e46f-4c12-bed1-9b7aef541c23 -StartTime 2015-01-15T04:30:00</dev:code> + <dev:code>PS C:\&gt;Get-AzureRmCorrelationIdLog -CorrelationId 60c694d0-e46f-4c12-bed1-9b7aef541c23 -StartTime 2015-01-15T04:30:00</dev:code> <dev:remarks> <maml:para>This command lists all the operations associated to the given CorrelationId that took place on or after 2015-01-01T10:30 local time.</maml:para> <maml:para /> @@ -2967,7 +2967,7 @@ The value must be earlier than StartTime, but not more than 15 days.</maml:para> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMCorrelationIdLog -CorrelationId 60c694d0-e46f-4c12-bed1-9b7aef541c23 -StartTime 2015-01-15T04:30:00 -EndTime 2015-01-15T12:30:00</dev:code> + <dev:code>PS C:\&gt;Get-AzureRmCorrelationIdLog -CorrelationId 60c694d0-e46f-4c12-bed1-9b7aef541c23 -StartTime 2015-01-15T04:30:00 -EndTime 2015-01-15T12:30:00</dev:code> <dev:remarks> <maml:para>This command lists all the operations associated to the given CorrelationId that took place on or after 2015-01-01T10:30 local time, but before 2015-01-01T11:30 local time.</maml:para> <maml:para /> @@ -2989,19 +2989,19 @@ The value must be earlier than StartTime, but not more than 15 days.</maml:para> <maml:uri>http://go.microsoft.com/fwlink/?LinkID=397618</maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMSubscriptionIdLog</maml:linkText> + <maml:linkText>Get-AzureRmSubscriptionIdLog</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMResourceGroupLog</maml:linkText> + <maml:linkText>Get-AzureRmResourceGroupLog</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMResourceLog</maml:linkText> + <maml:linkText>Get-AzureRmResourceLog</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMResourceProviderLog</maml:linkText> + <maml:linkText>Get-AzureRmResourceProviderLog</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> @@ -3009,7 +3009,7 @@ The value must be earlier than StartTime, but not more than 15 days.</maml:para> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMResourceGroupLog</command:name> + <command:name>Get-AzureRmResourceGroupLog</command:name> <maml:description> <maml:para>Gets the operations associated with a Resource Group</maml:para> </maml:description> @@ -3025,7 +3025,7 @@ The value must be earlier than StartTime, but not more than 15 days.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMResourceGroupLog</maml:name> + <maml:name>Get-AzureRmResourceGroupLog</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>ResourceGroup</maml:name> <maml:description> @@ -3207,7 +3207,7 @@ The value must be earlier than StartTime, but not more than 15 days.</maml:para> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResourceGroupLog -ResourceGroup Default-Web-CentralUS</dev:code> + <dev:code>PS C:\&gt;Get-AzureRmResourceGroupLog -ResourceGroup Default-Web-CentralUS</dev:code> <dev:remarks> <maml:para>This command lists all the operations associated to the given Resource Group that took place in the last hour.</maml:para> <maml:para /> @@ -3227,7 +3227,7 @@ The value must be earlier than StartTime, but not more than 15 days.</maml:para> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResourceGroupLog -ResourceGroup Default-Web-CentralUS -StartTime 2015-01-01T10:30</dev:code> + <dev:code>PS C:\&gt;Get-AzureRmResourceGroupLog -ResourceGroup Default-Web-CentralUS -StartTime 2015-01-01T10:30</dev:code> <dev:remarks> <maml:para>This command lists all the operations associated to the given Resource Group that took place on or after 2015-01-01T10:30 local time.</maml:para> <maml:para /> @@ -3247,7 +3247,7 @@ The value must be earlier than StartTime, but not more than 15 days.</maml:para> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResourceGroupLog -ResourceGroup Default-Web-CentralUS -StartTime 2015-01-01T10:30 -EndTime 2015-01-01T11:30</dev:code> + <dev:code>PS C:\&gt;Get-AzureRmResourceGroupLog -ResourceGroup Default-Web-CentralUS -StartTime 2015-01-01T10:30 -EndTime 2015-01-01T11:30</dev:code> <dev:remarks> <maml:para>This command lists all the operations associated to the given Resource Group that took place on or after 2015-01-01T10:30 local time, but before 2015-01-01T11:30 local time.</maml:para> <maml:para /> @@ -3269,19 +3269,19 @@ The value must be earlier than StartTime, but not more than 15 days.</maml:para> <maml:uri>http://go.microsoft.com/fwlink/?LinkID=397618</maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMSubscriptionIdLog</maml:linkText> + <maml:linkText>Get-AzureRmSubscriptionIdLog</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMCorrelationIdLog</maml:linkText> + <maml:linkText>Get-AzureRmCorrelationIdLog</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMResourceLog</maml:linkText> + <maml:linkText>Get-AzureRmResourceLog</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMResourceProviderLog</maml:linkText> + <maml:linkText>Get-AzureRmResourceProviderLog</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> @@ -3293,7 +3293,7 @@ The value must be earlier than StartTime, but not more than 15 days.</maml:para> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMResourceLog</command:name> + <command:name>Get-AzureRmResourceLog</command:name> <maml:description> <maml:para>Gets the operations associated with a ResourceId</maml:para> </maml:description> @@ -3309,7 +3309,7 @@ The value must be earlier than StartTime, but not more than 15 days.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMResourceLog</maml:name> + <maml:name>Get-AzureRmResourceLog</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>ResourceId</maml:name> <maml:description> @@ -3491,7 +3491,7 @@ The value must be earlier than StartTime, but not more than 15 days.</maml:para> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResourceLog -ResourceId /subscriptions/623d50f1-4fa8-4e46-a967-a9214aed43ab/resourcegroups/Default-Web-CentralUS/providers/Microsoft.Web/serverFarms/Default1</dev:code> + <dev:code>PS C:\&gt;Get-AzureRmResourceLog -ResourceId /subscriptions/623d50f1-4fa8-4e46-a967-a9214aed43ab/resourcegroups/Default-Web-CentralUS/providers/Microsoft.Web/serverFarms/Default1</dev:code> <dev:remarks> <maml:para>This command lists all the operations associated to the given ResourceId that took place in the last hour.</maml:para> <maml:para /> @@ -3511,7 +3511,7 @@ The value must be earlier than StartTime, but not more than 15 days.</maml:para> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResourceLog -ResourceId /subscriptions/623d50f1-4fa8-4e46-a967-a9214aed43ab/resourcegroups/Default-Web-CentralUS/providers/Microsoft.Web/serverFarms/Default1 -StartTime 2015-01-01T10:30</dev:code> + <dev:code>PS C:\&gt;Get-AzureRmResourceLog -ResourceId /subscriptions/623d50f1-4fa8-4e46-a967-a9214aed43ab/resourcegroups/Default-Web-CentralUS/providers/Microsoft.Web/serverFarms/Default1 -StartTime 2015-01-01T10:30</dev:code> <dev:remarks> <maml:para>This command lists all the operations associated to the given ResourceId that took place on or after 2015-01-01T10:30 local time.</maml:para> <maml:para /> @@ -3531,7 +3531,7 @@ The value must be earlier than StartTime, but not more than 15 days.</maml:para> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResourceLog -ResourceId /subscriptions/623d50f1-4fa8-4e46-a967-a9214aed43ab/resourcegroups/Default-Web-CentralUS/providers/Microsoft.Web/serverFarms/Default1 -StartTime 2015-01-01T10:30 -EndTime 2015-01-01T11:30</dev:code> + <dev:code>PS C:\&gt;Get-AzureRmResourceLog -ResourceId /subscriptions/623d50f1-4fa8-4e46-a967-a9214aed43ab/resourcegroups/Default-Web-CentralUS/providers/Microsoft.Web/serverFarms/Default1 -StartTime 2015-01-01T10:30 -EndTime 2015-01-01T11:30</dev:code> <dev:remarks> <maml:para>This command lists all the operations associated to the given ResourceId that took place on or after 2015-01-01T10:30 local time, but before 2015-01-01T11:30 local time.</maml:para> <maml:para /> @@ -3553,19 +3553,19 @@ The value must be earlier than StartTime, but not more than 15 days.</maml:para> <maml:uri>http://go.microsoft.com/fwlink/?LinkID=397618</maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMSubscriptionIdLog</maml:linkText> + <maml:linkText>Get-AzureRmSubscriptionIdLog</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMCorrelationIdLog</maml:linkText> + <maml:linkText>Get-AzureRmCorrelationIdLog</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMResourceGroupLog</maml:linkText> + <maml:linkText>Get-AzureRmResourceGroupLog</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMResourceProviderLog</maml:linkText> + <maml:linkText>Get-AzureRmResourceProviderLog</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> @@ -3573,9 +3573,9 @@ The value must be earlier than StartTime, but not more than 15 days.</maml:para> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMResourceProviderLog</command:name> + <command:name>Get-AzureRmResourceProviderLog</command:name> <maml:description> - <maml:para>Gets the operations associated with a Resource Provider (RP) for Azure Resource Manager (ARM). You can use the Get-AzureRMResourceProvider command to list out the ARM Resource Providers that are available. By default, this command retrieves Resource Provider log entries for the last hour, however you can specify custom start and end times to get log entries from a specific time period.</maml:para> + <maml:para>Gets the operations associated with a Resource Provider (RP) for Azure Resource Manager (ARM). You can use the Get-AzureRmResourceProvider command to list out the ARM Resource Providers that are available. By default, this command retrieves Resource Provider log entries for the last hour, however you can specify custom start and end times to get log entries from a specific time period.</maml:para> </maml:description> <maml:copyright> <maml:para /> @@ -3589,11 +3589,11 @@ The value must be earlier than StartTime, but not more than 15 days.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMResourceProviderLog</maml:name> + <maml:name>Get-AzureRmResourceProviderLog</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>ResourceProvider</maml:name> <maml:description> - <maml:para>Specifies a filter by ResourceProvider. This parameter is mandatory. To discover a list of Resource Providers, use the Get-AzureRMResourceProvider command.</maml:para> + <maml:para>Specifies a filter by ResourceProvider. This parameter is mandatory. To discover a list of Resource Providers, use the Get-AzureRmResourceProvider command.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -3636,7 +3636,7 @@ The default is EndTime minus one hour.</maml:para> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> - <maml:para>In-memory profile (AzureProfile). You can create an Azure Profile by using the New-AzureRMProfile command.</maml:para> + <maml:para>In-memory profile (AzureProfile). You can create an Azure Profile by using the New-AzureRmProfile command.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> @@ -3770,7 +3770,7 @@ The value must be earlier than StartTime, but not more than 15 days.</maml:para> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResourceProviderLog -ResourceProvider Microsoft.Web</dev:code> + <dev:code>PS C:\&gt;Get-AzureRmResourceProviderLog -ResourceProvider Microsoft.Web</dev:code> <dev:remarks> <maml:para>This command lists all the operations associated to the given Resource Provider that took place in the last hour.</maml:para> <maml:para /> @@ -3790,7 +3790,7 @@ The value must be earlier than StartTime, but not more than 15 days.</maml:para> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResourceProviderLog -ResourceProvider Microsoft.Web -StartTime 2015-01-01T10:30</dev:code> + <dev:code>PS C:\&gt;Get-AzureRmResourceProviderLog -ResourceProvider Microsoft.Web -StartTime 2015-01-01T10:30</dev:code> <dev:remarks> <maml:para>This command lists all the operations associated to the given Resource Provider that took place on or after 2015-01-01T10:30 local time.</maml:para> <maml:para /> @@ -3810,7 +3810,7 @@ The value must be earlier than StartTime, but not more than 15 days.</maml:para> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResourceProviderLog -ResourceProvider Microsoft.Web -StartTime 2015-01-01T10:30 -EndTime 2015-01-01T11:30</dev:code> + <dev:code>PS C:\&gt;Get-AzureRmResourceProviderLog -ResourceProvider Microsoft.Web -StartTime 2015-01-01T10:30 -EndTime 2015-01-01T11:30</dev:code> <dev:remarks> <maml:para>This command lists all the operations associated to the given Resource Provider that took place on or after 2015-01-01T10:30 local time, but before 2015-01-01T11:30 local time.</maml:para> <maml:para /> @@ -3832,19 +3832,19 @@ The value must be earlier than StartTime, but not more than 15 days.</maml:para> <maml:uri>http://go.microsoft.com/fwlink/?LinkID=397618</maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMSubscriptionIdLog</maml:linkText> + <maml:linkText>Get-AzureRmSubscriptionIdLog</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMCorrelationIdLog</maml:linkText> + <maml:linkText>Get-AzureRmCorrelationIdLog</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMResourceGroupLog</maml:linkText> + <maml:linkText>Get-AzureRmResourceGroupLog</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMResourceLog</maml:linkText> + <maml:linkText>Get-AzureRmResourceLog</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> @@ -3852,7 +3852,7 @@ The value must be earlier than StartTime, but not more than 15 days.</maml:para> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMSubscriptionIdLog</command:name> + <command:name>Get-AzureRmSubscriptionIdLog</command:name> <maml:description> <maml:para>Gets the operations associated with the current subscriptionId</maml:para> </maml:description> @@ -3868,7 +3868,7 @@ The value must be earlier than StartTime, but not more than 15 days.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMSubscriptionIdLog</maml:name> + <maml:name>Get-AzureRmSubscriptionIdLog</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>StartTime</maml:name> <maml:description> @@ -4031,9 +4031,9 @@ The value must be earlier than StartTime, but not more than 15 days.</maml:para> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMSubscriptionIdLog</dev:code> + <dev:code>PS C:\&gt;Get-AzureRmSubscriptionIdLog</dev:code> <dev:remarks> - <maml:para>This command lists all the operations associated to the user&#39;s subscriptionId (see Add-AzureRMAccount for details) that took place in the last hour.</maml:para> + <maml:para>This command lists all the operations associated to the user&#39;s subscriptionId (see Add-AzureRmAccount for details) that took place in the last hour.</maml:para> <maml:para /> <maml:para /> <maml:para></maml:para> @@ -4051,9 +4051,9 @@ The value must be earlier than StartTime, but not more than 15 days.</maml:para> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMSubscriptionIdLog -StartTime 2015-01-01T10:30</dev:code> + <dev:code>PS C:\&gt;Get-AzureRmSubscriptionIdLog -StartTime 2015-01-01T10:30</dev:code> <dev:remarks> - <maml:para>This command lists all the operations associated to the user&#39;s subscriptionId (see Add-AzureRMAccount for details) that took place on or after 2015-01-01T10:30 local time.</maml:para> + <maml:para>This command lists all the operations associated to the user&#39;s subscriptionId (see Add-AzureRmAccount for details) that took place on or after 2015-01-01T10:30 local time.</maml:para> <maml:para /> <maml:para /> <maml:para></maml:para> @@ -4071,9 +4071,9 @@ The value must be earlier than StartTime, but not more than 15 days.</maml:para> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMSubscriptionIdLog -StartTime 2015-01-01T10:30 -EndTime 2015-01-01T11:30</dev:code> + <dev:code>PS C:\&gt;Get-AzureRmSubscriptionIdLog -StartTime 2015-01-01T10:30 -EndTime 2015-01-01T11:30</dev:code> <dev:remarks> - <maml:para>This command lists all the operations associated to the user&#39;s subscriptionId (see Add-AzureRMAccount for details) that took place on or after 2015-01-01T10:30 local time, but before 2015-01-01T11:30 local time.</maml:para> + <maml:para>This command lists all the operations associated to the user&#39;s subscriptionId (see Add-AzureRmAccount for details) that took place on or after 2015-01-01T10:30 local time, but before 2015-01-01T11:30 local time.</maml:para> <maml:para /> <maml:para /> <maml:para></maml:para> @@ -4093,19 +4093,19 @@ The value must be earlier than StartTime, but not more than 15 days.</maml:para> <maml:uri>http://go.microsoft.com/fwlink/?LinkID=397618</maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMCorrelationIdLog</maml:linkText> + <maml:linkText>Get-AzureRmCorrelationIdLog</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMResourceGroupLog</maml:linkText> + <maml:linkText>Get-AzureRmResourceGroupLog</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMResourceLog</maml:linkText> + <maml:linkText>Get-AzureRmResourceLog</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMResourceProviderLog</maml:linkText> + <maml:linkText>Get-AzureRmResourceProviderLog</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/ScenarioTests/Common.ps1 b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/ScenarioTests/Common.ps1 index 2b6dcefa6ffb..8ed5a1b51161 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/ScenarioTests/Common.ps1 +++ b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/ScenarioTests/Common.ps1 @@ -36,7 +36,7 @@ Gets the location for the Website. Default to West US if none found. #> function Get-Location { - $location = Get-AzureRMLocation | where {$_.Name -eq "Microsoft.KeyVault/vaults"} + $location = Get-AzureRmLocation | where {$_.Name -eq "Microsoft.KeyVault/vaults"} if ($location -eq $null) { return "East US" @@ -53,7 +53,7 @@ Gets the default location for a provider #> function Get-ProviderLocation($provider) { - $location = Get-AzureRMLocation | where {$_.Name -eq $provider} + $location = Get-AzureRmLocation | where {$_.Name -eq $provider} if ($location -eq $null) { "East US" } else { @@ -68,6 +68,6 @@ Cleans the created resource groups function Clean-ResourceGroup($rgname) { if ([Microsoft.Azure.Test.HttpRecorder.HttpMockServer]::Mode -ne [Microsoft.Azure.Test.HttpRecorder.HttpRecorderMode]::Playback) { - Remove-AzureRMResourceGroup -Name $rgname -Force + Remove-AzureRmResourceGroup -Name $rgname -Force } } \ No newline at end of file diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/ScenarioTests/KeyVaultManagementTests.cs b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/ScenarioTests/KeyVaultManagementTests.cs index 7038c464e550..4f9c9d260e13 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/ScenarioTests/KeyVaultManagementTests.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/ScenarioTests/KeyVaultManagementTests.cs @@ -50,7 +50,7 @@ private void Initialize() } - #region New-AzureRMKeyVault + #region New-AzureRmKeyVault [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] @@ -121,7 +121,7 @@ public void TestCreateVaultPositionalParams() #endregion - #region Get-AzureRMKeyVault + #region Get-AzureRmKeyVault [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] @@ -193,7 +193,7 @@ public void TestGetVaultFromUnknownResourceGroupFails() #endregion - #region Get-AzureRMKeyVault (list) + #region Get-AzureRmKeyVault (list) [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] @@ -249,7 +249,7 @@ public void TestListVaultsByUnknownResourceGroupFails() } #endregion - #region Remove-AzureRMKeyVault + #region Remove-AzureRmKeyVault [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] @@ -279,7 +279,7 @@ public void TestDeleteUnknownVaultFails() #endregion - #region Set-AzureRMKeyVaultAccessPolicy & Remove-AzureRMKeyVaultAccessPolicy + #region Set-AzureRmKeyVaultAccessPolicy & Remove-AzureRmKeyVaultAccessPolicy [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/Common.ps1 b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/Common.ps1 index 693d337a13d0..24c4583cf167 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/Common.ps1 +++ b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/Common.ps1 @@ -152,7 +152,7 @@ function Initialize-KeyTest { $keyVault = Get-KeyVault $keyPattern = Get-KeyName '*' - Get-AzureRMKeyVaultKey $keyVault | Where-Object {$_.KeyName -like $keyPattern} | Remove-AzureRMKeyVaultKey -Force -Confirm:$false + Get-AzureKeyVaultKey $keyVault | Where-Object {$_.KeyName -like $keyPattern} | Remove-AzureKeyVaultKey -Force -Confirm:$false } <# @@ -163,7 +163,7 @@ function Initialize-SecretTest { $keyVault = Get-KeyVault $secretPattern = Get-SecretName '*' - Get-AzureRMKeyVaultSecret $keyVault | Where-Object {$_.SecretName -like $secretPattern} | Remove-AzureRMKeyVaultSecret -Force -Confirm:$false + Get-AzureKeyVaultSecret $keyVault | Where-Object {$_.SecretName -like $secretPattern} | Remove-AzureKeyVaultSecret -Force -Confirm:$false } @@ -181,7 +181,7 @@ function Cleanup-SingleKeyTest { $keyVault = Get-KeyVault Write-Debug "Removing key with name $_ in vault $keyVault" - $catch = Remove-AzureRMKeyVaultKey $keyVault $_ -Force -Confirm:$false + $catch = Remove-AzureKeyVaultKey $keyVault $_ -Force -Confirm:$false } catch { @@ -205,7 +205,7 @@ function Cleanup-SingleSecretTest { $keyVault = Get-KeyVault Write-Debug "Removing secret with name $_ in vault $keyVault" - $catch = Remove-AzureRMKeyVaultSecret $keyVault $_ -Force -Confirm:$false + $catch = Remove-AzureKeyVaultSecret $keyVault $_ -Force -Confirm:$false } catch { diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/ControlPlane/Common.ps1 b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/ControlPlane/Common.ps1 index 1182f3515cdd..7753071046ce 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/ControlPlane/Common.ps1 +++ b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/ControlPlane/Common.ps1 @@ -18,7 +18,7 @@ Gets the location for the Website. Default to West US if none found. #> function Get-Location { - $location = Get-AzureRMLocation | where {$_.Name -eq "Microsoft.KeyVault/vaults"} + $location = Get-AzureRmLocation | where {$_.Name -eq "Microsoft.KeyVault/vaults"} if ($location -eq $null) { return "East US" @@ -35,7 +35,7 @@ Gets the default location for a provider #> function Get-ProviderLocation($provider) { - $location = Get-AzureRMLocation | where {$_.Name -eq $provider} + $location = Get-AzureRmLocation | where {$_.Name -eq $provider} if ($location -eq $null) { "East US" } else { diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/ControlPlane/KeyVaultManagementTests.ps1 b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/ControlPlane/KeyVaultManagementTests.ps1 index 806aed3473fb..5f47c775f1e8 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/ControlPlane/KeyVaultManagementTests.ps1 +++ b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/ControlPlane/KeyVaultManagementTests.ps1 @@ -12,7 +12,7 @@ # limitations under the License. # ---------------------------------------------------------------------------------- -#------------------------------New-AzureRMKeyVault-------------------------------------- +#------------------------------New-AzureRmKeyVault-------------------------------------- <# .SYNOPSIS @@ -26,7 +26,7 @@ Param($rgName, $location, $tagName, $tagValue) $vaultname = Get-VaultName # Test - $actual = New-AzureRMKeyVault -VaultName $vaultName -ResourceGroupName $rgname -Location $location -Tags @{Name = $tagName; Value = $tagValue} + $actual = New-AzureRmKeyVault -VaultName $vaultName -ResourceGroupName $rgname -Location $location -Tags @{Name = $tagName; Value = $tagValue} # Assert Assert-AreEqual $vaultName $actual.VaultName @@ -39,7 +39,7 @@ Param($rgName, $location, $tagName, $tagValue) # Default Access Policy $upn = [Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet]::DefaultProfile.Context.Account.Id - $objectId = @(Get-AzureRMADUser -Mail $upn)[0].Id + $objectId = @(Get-AzureRmADUser -Mail $upn)[0].Id $expectedPermsToKeys = @("get", "create", "delete", @@ -70,7 +70,7 @@ function Test-CreateNewPremiumVaultEnabledForDeployment $vaultname = Get-VaultName # Test - $actual = New-AzureRMKeyVault -VaultName $vaultName -ResourceGroupName $rgname -Location $location -Sku premium -EnabledForDeployment + $actual = New-AzureRmKeyVault -VaultName $vaultName -ResourceGroupName $rgname -Location $location -Sku premium -EnabledForDeployment # Assert Assert-AreEqual $vaultName $actual.VaultName @@ -89,7 +89,7 @@ function Test-RecreateVaultFails { Param($existingVaultName, $rgName, $location) - Assert-Throws { New-AzureRMKeyVault -VaultName $existingVaultName -ResourceGroupName $rgname -Location $location } + Assert-Throws { New-AzureRmKeyVault -VaultName $existingVaultName -ResourceGroupName $rgname -Location $location } } function Test-CreateVaultInUnknownResGrpFails @@ -99,7 +99,7 @@ function Test-CreateVaultInUnknownResGrpFails $vaultname = Get-VaultName $rgName = Get-ResourceGroupName - Assert-Throws { New-AzureRMKeyVault -VaultName $vaultName -ResourceGroupName $rgName -Location $location } + Assert-Throws { New-AzureRmKeyVault -VaultName $vaultName -ResourceGroupName $rgName -Location $location } } function Test-CreateVaultPositionalParams @@ -110,19 +110,19 @@ function Test-CreateVaultPositionalParams $vaultname = Get-VaultName # Test - $actual = New-AzureRMKeyVault $vaultName $rgname $location + $actual = New-AzureRmKeyVault $vaultName $rgname $location Assert-NotNull $actual } #------------------------------------------------------------------------------------- -#------------------------------Get-AzureRMKeyVault-------------------------------------- +#------------------------------Get-AzureRmKeyVault-------------------------------------- function Test-GetVaultByNameAndResourceGroup { Param($existingVaultName, $rgName) - $got = Get-AzureRMKeyVault -VaultName $existingVaultName -ResourceGroupName $rgName + $got = Get-AzureRmKeyVault -VaultName $existingVaultName -ResourceGroupName $rgName Assert-NotNull $got } @@ -131,7 +131,7 @@ function Test-GetVaultByNameAndResourceGroupPositionalParams { Param($existingVaultName, $rgName) - $got = Get-AzureRMKeyVault $existingVaultName $rgName + $got = Get-AzureRmKeyVault $existingVaultName $rgName Assert-NotNull $got } @@ -140,7 +140,7 @@ function Test-GetVaultByName { Param($existingVaultName) - $got = Get-AzureRMKeyVault -VaultName $existingVaultName + $got = Get-AzureRmKeyVault -VaultName $existingVaultName Assert-NotNull $got } @@ -150,7 +150,7 @@ function Test-GetUnknownVaultFails Param($rgName) $vaultname = Get-VaultName - Assert-Throws { Get-AzureRMKeyVault -VaultName $vaultName -ResourceGroupName $rgName } + Assert-Throws { Get-AzureRmKeyVault -VaultName $vaultName -ResourceGroupName $rgName } } function Test-GetVaultFromUnknownResourceGroupFails @@ -158,13 +158,13 @@ function Test-GetVaultFromUnknownResourceGroupFails Param($existingVaultName) $rgName = Get-ResourceGroupName - Assert-Throws { Get-AzureRMKeyVault -VaultName $existingVaultName -ResourceGroupName $rgName } + Assert-Throws { Get-AzureRmKeyVault -VaultName $existingVaultName -ResourceGroupName $rgName } } function Test-ListVaultsByResourceGroup { Param($rgName) - $list = Get-AzureRMKeyVault -ResourceGroupName $rgName + $list = Get-AzureRmKeyVault -ResourceGroupName $rgName Assert-NotNull $list Assert-True { $list.Count -gt 0 } @@ -177,7 +177,7 @@ function Test-ListVaultsByResourceGroup function Test-ListAllVaultsInSubscription { - $list = Get-AzureRMKeyVault + $list = Get-AzureRmKeyVault Assert-NotNull $list Assert-True { $list.Count -gt 0 } @@ -190,7 +190,7 @@ function Test-ListAllVaultsInSubscription function Test-ListVaultsByTag { Param($tagName, $tagValue) - $list = Get-AzureRMKeyVault -Tag @{Name = $tagName; Value = $tagValue} + $list = Get-AzureRmKeyVault -Tag @{Name = $tagName; Value = $tagValue} Assert-NotNull $list Assert-True { $list.Count -gt 0 } @@ -200,34 +200,34 @@ function Test-ListVaultsByUnknownResourceGroupFails { $rgName = Get-ResourceGroupName - Assert-Throws { Get-AzureRMKeyVault -ResourceGroupName $rgName } + Assert-Throws { Get-AzureRmKeyVault -ResourceGroupName $rgName } } #------------------------------------------------------------------------------------- -#------------------------------Remove-AzureRMKeyVault----------------------------------- +#------------------------------Remove-AzureRmKeyVault----------------------------------- function Test-DeleteVaultByName { Param($rgName, $location) $vaultName = Get-VaultName - New-AzureRMKeyVault -VaultName $vaultName -ResourceGroupName $rgname -Location $location + New-AzureRmKeyVault -VaultName $vaultName -ResourceGroupName $rgname -Location $location - Remove-AzureRMKeyVault -VaultName $vaultName -Force -Confirm:$false + Remove-AzureRmKeyVault -VaultName $vaultName -Force -Confirm:$false - Assert-Throws { Get-AzureRMKeyVault -VaultName $vaultName -ResourceGroupName $rgName } + Assert-Throws { Get-AzureRmKeyVault -VaultName $vaultName -ResourceGroupName $rgName } } function Test-DeleteUnknownVaultFails { $vaultName = Get-VaultName - Assert-Throws { Remove-AzureRMKeyVault -VaultName $vaultName } + Assert-Throws { Remove-AzureRmKeyVault -VaultName $vaultName } } #------------------------------------------------------------------------------------- -#------------------------------Set-AzureRMKeyVaultAccessPolicy-------------------------- +#------------------------------Set-AzureRmKeyVaultAccessPolicy-------------------------- function Test-SetRemoveAccessPolicyByUPN { @@ -235,13 +235,13 @@ function Test-SetRemoveAccessPolicyByUPN $PermToKeys = @("encrypt", "decrypt", "unwrapKey", "wrapKey", "verify", "sign", "get", "list", "update", "create", "import", "delete", "backup", "restore") $PermToSecrets = @("get", "list", "set", "delete") - $vault = Set-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -UserPrincipalName $upn -PermissionsToKeys $PermToKeys -PermissionsToSecrets $PermToSecrets -PassThru + $vault = Set-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -UserPrincipalName $upn -PermissionsToKeys $PermToKeys -PermissionsToSecrets $PermToSecrets -PassThru CheckVaultAccessPolicy $vault $PermToKeys $PermToSecrets - Assert-AreEqual $upn (Get-AzureRMADUser -ObjectId $vault.AccessPolicies[0].ObjectId)[0].UserPrincipalName + Assert-AreEqual $upn (Get-AzureRmADUser -ObjectId $vault.AccessPolicies[0].ObjectId)[0].UserPrincipalName - $vault = Remove-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -UserPrincipalName $upn -PassThru + $vault = Remove-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -UserPrincipalName $upn -PassThru Assert-AreEqual 0 $vault.AccessPolicies.Count } @@ -251,13 +251,13 @@ function Test-SetRemoveAccessPolicyBySPN $PermToKeys = @() $PermToSecrets = @("get", "set", "list") - $vault = Set-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ServicePrincipalName $spn -PermissionsToKeys $PermToKeys -PermissionsToSecrets $PermToSecrets -PassThru + $vault = Set-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ServicePrincipalName $spn -PermissionsToKeys $PermToKeys -PermissionsToSecrets $PermToSecrets -PassThru CheckVaultAccessPolicy $vault $PermToKeys $PermToSecrets - Assert-AreEqual $spn (Get-AzureRMADServicePrincipal -ObjectId $vault.AccessPolicies[0].ObjectId)[0].ServicePrincipalName + Assert-AreEqual $spn (Get-AzureRmADServicePrincipal -ObjectId $vault.AccessPolicies[0].ObjectId)[0].ServicePrincipalName - $vault = Remove-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -SPN $spn -PassThru + $vault = Remove-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -SPN $spn -PassThru Assert-AreEqual 0 $vault.AccessPolicies.Count } @@ -265,23 +265,23 @@ function Test-SetRemoveAccessPolicyByObjectId { Param($existingVaultName, $rgName, $upn) - $user = Get-AzureRMADUser -UserPrincipalName $upn + $user = Get-AzureRmADUser -UserPrincipalName $upn if ($user -eq $null) { - $user = Get-AzureRMADUser -Mail $upn + $user = Get-AzureRmADUser -Mail $upn } Assert-NotNull $user $objId = $user.Id $PermToKeys = @("encrypt", "decrypt") $PermToSecrets = @() - $vault = Set-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ObjectId $objId -PermissionsToKeys $PermToKeys -PassThru + $vault = Set-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ObjectId $objId -PermissionsToKeys $PermToKeys -PassThru CheckVaultAccessPolicy $vault $PermToKeys $PermToSecrets Assert-AreEqual $objId $vault.AccessPolicies[0].ObjectId - $vault = Remove-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ObjectId $objId -PassThru + $vault = Remove-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ObjectId $objId -PassThru Assert-AreEqual 0 $vault.AccessPolicies.Count } @@ -291,24 +291,24 @@ function Test-SetRemoveAccessPolicyByCompoundId Assert-NotNull $appId - $user = Get-AzureRMADUser -UserPrincipalName $upn + $user = Get-AzureRmADUser -UserPrincipalName $upn if ($user -eq $null) { - $user = Get-AzureRMADUser -Mail $upn + $user = Get-AzureRmADUser -Mail $upn } Assert-NotNull $user $objId = $user.Id $PermToKeys = @("encrypt", "decrypt") $PermToSecrets = @() - $vault = Set-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ObjectId $objId -ApplicationId $appId -PermissionsToKeys $PermToKeys -PassThru + $vault = Set-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ObjectId $objId -ApplicationId $appId -PermissionsToKeys $PermToKeys -PassThru CheckVaultAccessPolicy $vault $PermToKeys $PermToSecrets Assert-AreEqual $objId $vault.AccessPolicies[0].ObjectId Assert-AreEqual $appId $vault.AccessPolicies[0].ApplicationId - $vault = Remove-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ObjectId $objId -ApplicationId $appId -PassThru + $vault = Remove-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ObjectId $objId -ApplicationId $appId -PassThru Assert-AreEqual 0 $vault.AccessPolicies.Count } @@ -319,10 +319,10 @@ function Test-RemoveAccessPolicyWithCompoundIdPolicies Assert-NotNull $appId1 Assert-NotNull $appId2 - $user = Get-AzureRMADUser -UserPrincipalName $upn + $user = Get-AzureRmADUser -UserPrincipalName $upn if ($user -eq $null) { - $user = Get-AzureRMADUser -Mail $upn + $user = Get-AzureRmADUser -Mail $upn } Assert-NotNull $user $objId = $user.Id @@ -330,17 +330,17 @@ function Test-RemoveAccessPolicyWithCompoundIdPolicies # Add three access policies: ObjectId, (ObjectId, App1), (ObjectId, App2) $PermToKeys = @("encrypt", "decrypt") $PermToSecrets = @() - $vault = Set-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ObjectId $objId -PermissionsToKeys $PermToKeys -PassThru - $vault = Set-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ObjectId $objId -ApplicationId $appId1 -PermissionsToKeys $PermToKeys -PassThru - $vault = Set-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ObjectId $objId -ApplicationId $appId2 -PermissionsToKeys $PermToKeys -PassThru + $vault = Set-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ObjectId $objId -PermissionsToKeys $PermToKeys -PassThru + $vault = Set-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ObjectId $objId -ApplicationId $appId1 -PermissionsToKeys $PermToKeys -PassThru + $vault = Set-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ObjectId $objId -ApplicationId $appId2 -PermissionsToKeys $PermToKeys -PassThru Assert-AreEqual 3 $vault.AccessPolicies.Count # Remove one policy if specify compound id - $vault = Remove-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ObjectId $objId -ApplicationId $appId1 -PassThru + $vault = Remove-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ObjectId $objId -ApplicationId $appId1 -PassThru Assert-AreEqual 2 $vault.AccessPolicies.Count # Remove remaining two policies if specify object id - $vault = Remove-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ObjectId $objId -PassThru + $vault = Remove-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ObjectId $objId -PassThru Assert-AreEqual 0 $vault.AccessPolicies.Count } @@ -350,10 +350,10 @@ function Test-SetCompoundIdAccessPolicy Assert-NotNull $appId - $user = Get-AzureRMADUser -UserPrincipalName $upn + $user = Get-AzureRmADUser -UserPrincipalName $upn if ($user -eq $null) { - $user = Get-AzureRMADUser -Mail $upn + $user = Get-AzureRmADUser -Mail $upn } Assert-NotNull $user $objId = $user.Id @@ -361,7 +361,7 @@ function Test-SetCompoundIdAccessPolicy # Add one compound id policy $PermToKeys = @("encrypt", "decrypt") $PermToSecrets = @() - $vault = Set-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ObjectId $objId -ApplicationId $appId -PermissionsToKeys $PermToKeys -PassThru + $vault = Set-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ObjectId $objId -ApplicationId $appId -PermissionsToKeys $PermToKeys -PassThru CheckVaultAccessPolicy $vault $PermToKeys $PermToSecrets @@ -369,18 +369,18 @@ function Test-SetCompoundIdAccessPolicy Assert-AreEqual $appId $vault.AccessPolicies[0].ApplicationId # Add one object id policy - $vault = Set-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ObjectId $objId -PermissionsToKeys $PermToKeys -PassThru + $vault = Set-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ObjectId $objId -PermissionsToKeys $PermToKeys -PassThru Assert-AreEqual 2 $vault.AccessPolicies.Count # Change compound id policy shall not affect object id policy - $vault = Set-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ObjectId $objId -ApplicationId $appId -PermissionsToKeys @("encrypt") -PassThru + $vault = Set-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ObjectId $objId -ApplicationId $appId -PermissionsToKeys @("encrypt") -PassThru Assert-AreEqual 2 $vault.AccessPolicies.Count - $vault = Remove-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ObjectId $objId -ApplicationId $appId -PassThru + $vault = Remove-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ObjectId $objId -ApplicationId $appId -PassThru CheckVaultAccessPolicy $vault $PermToKeys $PermToSecrets Assert-AreEqual $objId $vault.AccessPolicies[0].ObjectId Assert-AreEqual $vault.AccessPolicies[0].ApplicationId $null - $vault = Remove-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ObjectId $objId -PassThru + $vault = Remove-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ObjectId $objId -PassThru Assert-AreEqual 0 $vault.AccessPolicies.Count } @@ -393,40 +393,40 @@ function Test-ModifyAccessPolicy # Adding nothing should not change the vault $PermToKeys = @() $PermToSecrets = @() - $vault = Set-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -UserPrincipalName $upn -PermissionsToKeys $PermToKeys -PassThru + $vault = Set-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -UserPrincipalName $upn -PermissionsToKeys $PermToKeys -PassThru Assert-NotNull $vault Assert-AreEqual 0 $vault.AccessPolicies.Count # Add some perms now $PermToKeys = @("encrypt", "decrypt", "unwrapKey", "wrapKey", "verify", "sign", "get", "list", "update", "create", "import", "delete", "backup", "restore") $PermToSecrets = @("get", "list", "set", "delete") - $vault = Set-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -UPN $upn -PermissionsToKeys $PermToKeys -PermissionsToSecrets $PermToSecrets -PassThru + $vault = Set-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -UPN $upn -PermissionsToKeys $PermToKeys -PermissionsToSecrets $PermToSecrets -PassThru CheckVaultAccessPolicy $vault $PermToKeys $PermToSecrets - Assert-AreEqual $upn (Get-AzureRMADUser -ObjectId $vault.AccessPolicies[0].ObjectId)[0].UserPrincipalName + Assert-AreEqual $upn (Get-AzureRmADUser -ObjectId $vault.AccessPolicies[0].ObjectId)[0].UserPrincipalName $objId = $vault.AccessPolicies[0].ObjectId # Remove one perm from keys list, use piping to set $vault.AccessPolicies[0].PermissionsToKeys.Remove("unwrapKey") - $vault = $vault.AccessPolicies[0] | Set-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -PassThru + $vault = $vault.AccessPolicies[0] | Set-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -PassThru $PermToKeys = @("encrypt", "decrypt", "wrapKey", "verify", "sign", "get", "list", "update", "create", "import", "delete", "backup", "restore") CheckVaultAccessPolicy $vault $PermToKeys $PermToSecrets # Change just the secrets perms $PermToSecrets = @("all") - $vault = Set-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ObjectId $objId -PermissionsToSecrets $PermToSecrets -PassThru + $vault = Set-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ObjectId $objId -PermissionsToSecrets $PermToSecrets -PassThru CheckVaultAccessPolicy $vault $PermToKeys $PermToSecrets # Remove just the keys perms $PermToKeys = @() - $vault = Set-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -UserPrincipalName $upn -PermissionsToKeys $PermToKeys -PassThru + $vault = Set-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -UserPrincipalName $upn -PermissionsToKeys $PermToKeys -PassThru CheckVaultAccessPolicy $vault $PermToKeys $PermToSecrets # Remove secret perms too $PermToSecrets = @() - $vault = Set-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -UserPrincipalName $upn -PermissionsToKeys $PermToKeys -PermissionsToSecrets $PermToSecrets -PassThru + $vault = Set-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -UserPrincipalName $upn -PermissionsToKeys $PermToKeys -PermissionsToSecrets $PermToSecrets -PassThru Assert-NotNull $vault Assert-AreEqual 0 $vault.AccessPolicies.Count } @@ -434,18 +434,18 @@ function Test-ModifyAccessPolicy function Test-ModifyAccessPolicyEnabledForDeployment { Param($existingVaultName, $rgName, $upn) - $vault = Get-AzureRMKeyVault -VaultName $existingVaultName -ResourceGroupName $rgName + $vault = Get-AzureRmKeyVault -VaultName $existingVaultName -ResourceGroupName $rgName Assert-NotNull $vault Assert-AreEqual 0 $vault.AccessPolicies.Count Assert-AreEqual $false $vault.EnabledForDeployment # Set and Remove EnabledForDeployment, without any other permissions - $vault = Set-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -EnabledForDeployment -PassThru + $vault = Set-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -EnabledForDeployment -PassThru Assert-NotNull $vault Assert-AreEqual 0 $vault.AccessPolicies.Count Assert-AreEqual $true $vault.EnabledForDeployment - $vault = Remove-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -EnabledForDeployment -PassThru + $vault = Remove-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -EnabledForDeployment -PassThru Assert-NotNull $vault Assert-AreEqual 0 $vault.AccessPolicies.Count Assert-AreEqual $false $vault.EnabledForDeployment @@ -453,11 +453,11 @@ function Test-ModifyAccessPolicyEnabledForDeployment # Set and Remove EnabledForDeployment, with other permissions $PermToKeys = @("encrypt", "decrypt", "unwrapKey", "wrapKey", "verify", "sign", "get", "list", "update", "create", "import", "delete", "backup", "restore") $PermToSecrets = @("get", "list", "set", "delete") - $vault = Set-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -EnabledForDeployment -UPN $upn -PermissionsToKeys $PermToKeys -PermissionsToSecrets $PermToSecrets -PassThru + $vault = Set-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -EnabledForDeployment -UPN $upn -PermissionsToKeys $PermToKeys -PermissionsToSecrets $PermToSecrets -PassThru CheckVaultAccessPolicy $vault $PermToKeys $PermToSecrets Assert-AreEqual $true $vault.EnabledForDeployment - $vault = Remove-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -EnabledForDeployment -ObjectId $vault.AccessPolicies[0].ObjectId -PassThru + $vault = Remove-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -EnabledForDeployment -ObjectId $vault.AccessPolicies[0].ObjectId -PassThru Assert-AreEqual 0 $vault.AccessPolicies.Count Assert-AreEqual $false $vault.EnabledForDeployment } @@ -467,26 +467,26 @@ function Test-ModifyAccessPolicyNegativeCases Param($existingVaultName, $rgName, $upn) # "all" plus other perms - Assert-Throws { Set-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -UserPrincipalName $upn -PermissionsToKeys get, all } - Assert-Throws { Set-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -UserPrincipalName $upn -PermissionsToSecrets get, all } + Assert-Throws { Set-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -UserPrincipalName $upn -PermissionsToKeys get, all } + Assert-Throws { Set-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -UserPrincipalName $upn -PermissionsToSecrets get, all } # random string in perms - Assert-Throws { Set-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -UserPrincipalName $upn -PermissionsToSecrets blah, get } + Assert-Throws { Set-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -UserPrincipalName $upn -PermissionsToSecrets blah, get } # invalid set of params - Assert-Throws { Set-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName } - Assert-Throws { Set-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName } - Assert-Throws { Remove-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName } - Assert-Throws { Remove-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName } - Assert-Throws { Set-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -UserPrincipalName $upn } - Assert-Throws { Set-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -SPN $upn } - Assert-Throws { Set-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ObjectId $upn } + Assert-Throws { Set-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName } + Assert-Throws { Set-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName } + Assert-Throws { Remove-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName } + Assert-Throws { Remove-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName } + Assert-Throws { Set-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -UserPrincipalName $upn } + Assert-Throws { Set-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -SPN $upn } + Assert-Throws { Set-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -ObjectId $upn } } function Test-RemoveNonExistentAccessPolicyDoesNotThrow { Param($existingVaultName, $rgName, $upn) - $vault = Remove-AzureRMKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -UPN $upn -PassThru + $vault = Remove-AzureRmKeyVaultAccessPolicy -VaultName $existingVaultName -ResourceGroupName $rgName -UPN $upn -PassThru Assert-AreEqual 0 $vault.AccessPolicies.Count } @@ -500,9 +500,9 @@ function Test-CreateDeleteVaultWithPiping Param($rgName, $location) $vaultName = Get-VaultName - New-AzureRMKeyVault -VaultName $vaultName -ResourceGroupName $rgname -Location $location | Get-AzureRMKeyVault | Remove-AzureRMKeyVault -Force -Confirm:$false + New-AzureRmKeyVault -VaultName $vaultName -ResourceGroupName $rgname -Location $location | Get-AzureRmKeyVault | Remove-AzureRmKeyVault -Force -Confirm:$false - Assert-Throws { Get-AzureRMKeyVault -VaultName $vaultName -ResourceGroupName $rgName } + Assert-Throws { Get-AzureRmKeyVault -VaultName $vaultName -ResourceGroupName $rgName } } #------------------------------------------------------------------------------------- diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/PSHCommon/Common.ps1 b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/PSHCommon/Common.ps1 index 9f742ac62a70..ab0710a6af99 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/PSHCommon/Common.ps1 +++ b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/PSHCommon/Common.ps1 @@ -256,7 +256,7 @@ Removes all current subscriptions. #> function Remove-AllSubscriptions { - Get-AzureRMSubscription | Remove-AzureRMSubscription -Force + Get-AzureRmSubscription | Remove-AzureRmSubscription -Force } <# diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/RunKeyVaultTests.ps1 b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/RunKeyVaultTests.ps1 index 3a0cdde6a8dd..2c18cd752a51 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/RunKeyVaultTests.ps1 +++ b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/RunKeyVaultTests.ps1 @@ -75,14 +75,14 @@ function Run-AllControlPlaneTests { try { - #New-AzureRMKeyVault tests + #New-AzureRmKeyVault tests Run-TestProtected { Run-VaultTest { Test_CreateNewVault } "Test_CreateNewVault" } "Test_CreateNewVault" Run-TestProtected { Run-VaultTest { Test_CreateNewPremiumVaultEnabledForDeployment } "Test_CreateNewPremiumVaultEnabledForDeployment" } "Test_CreateNewPremiumVaultEnabledForDeployment" Run-TestProtected { Run-VaultTest { Test_RecreateVaultFails } "Test_RecreateVaultFails" } "Test_RecreateVaultFails" Run-TestProtected { Run-VaultTest { Test_CreateVaultInUnknownResGrpFails } "Test_CreateVaultInUnknownResGrpFails" } "Test_CreateVaultInUnknownResGrpFails" Run-TestProtected { Run-VaultTest { Test_CreateVaultPositionalParams } "Test_CreateVaultPositionalParams" } "Test_CreateVaultPositionalParams" - #Get-AzureRMKeyVault tests + #Get-AzureRmKeyVault tests Run-TestProtected { Run-VaultTest { Test_GetVaultByNameAndResourceGroup } "Test_GetVaultByNameAndResourceGroup" } "Test_GetVaultByNameAndResourceGroup" Run-TestProtected { Run-VaultTest { Test_GetVaultByNameAndResourceGroupPositionalParams } "Test_GetVaultByNameAndResourceGroupPositionalParams" } "Test_GetVaultByNameAndResourceGroupPositionalParams" Run-TestProtected { Run-VaultTest { Test_GetVaultByName } "Test_GetVaultByName" } "Test_GetVaultByName" @@ -93,11 +93,11 @@ function Run-AllControlPlaneTests Run-TestProtected { Run-VaultTest { Test_ListVaultsByTag } "Test_ListVaultsByTag" } "Test_ListVaultsByTag" Run-TestProtected { Run-VaultTest { Test_ListVaultsByUnknownResourceGroupFails } "Test_ListVaultsByUnknownResourceGroupFails" } "Test_ListVaultsByUnknownResourceGroupFails" - #Remove-AzureRMKeyVault tests + #Remove-AzureRmKeyVault tests Run-TestProtected { Run-VaultTest { Test_DeleteVaultByName } "Test_DeleteVaultByName" } "Test_DeleteVaultByName" Run-TestProtected { Run-VaultTest { Test_DeleteUnknownVaultFails } "Test_DeleteUnknownVaultFails" } "Test_DeleteUnknownVaultFails" - #Set-AzureRMKeyVaultAccessPolicy & Remove-AzureRMKeyVaultAccessPolicy tests + #Set-AzureRmKeyVaultAccessPolicy & Remove-AzureRmKeyVaultAccessPolicy tests Run-TestProtected { Run-VaultTest { Test_SetRemoveAccessPolicyByUPN } "Test_SetRemoveAccessPolicyByUPN" } "Test_SetRemoveAccessPolicyByUPN" Run-TestProtected { Run-VaultTest { Test_SetRemoveAccessPolicyBySPN } "Test_SetRemoveAccessPolicyBySPN" } "Test_SetRemoveAccessPolicyBySPN" Run-TestProtected { Run-VaultTest { Test_SetRemoveAccessPolicyByObjectId } "Test_SetRemoveAccessPolicyByObjectId" } "Test_SetRemoveAccessPolicyByObjectId" @@ -127,7 +127,7 @@ function Run-AllControlPlaneTests function Run-AllDataPlaneTests { - # Add-AzureRMKeyVaultKey tests + # Add-AzureKeyVaultKey tests Run-TestProtected { Run-KeyTest {Test_CreateSoftwareKeyWithDefaultAttributes} "Test_CreateSoftwareKeyWithDefaultAttributes" } "Test_CreateSoftwareKeyWithDefaultAttributes" Run-TestProtected { Run-KeyTest {Test_CreateSoftwareKeyWithCustomAttributes} "Test_CreateSoftwareKeyWithCustomAttributes" } "Test_CreateSoftwareKeyWithCustomAttributes" Run-TestProtected { Run-KeyTest {Test_CreateHsmKeyWithDefaultAttributes} "Test_CreateHsmKeyWithDefaultAttributes" } "Test_CreateHsmKeyWithDefaultAttributes" @@ -149,7 +149,7 @@ function Run-AllDataPlaneTests Run-TestProtected { Run-KeyTest {Test_ImportByokAsSoftwareKey} "Test_ImportByokAsSoftwareKey" } "Test_ImportByokAsSoftwareKey" Run-TestProtected { Run-KeyTest {Test_CreateKeyInNoPermissionVault} "Test_CreateKeyInNoPermissionVault" } "Test_CreateKeyInNoPermissionVault" - # Set-AzureRMKeyVaultKeyAttribute tests + # Set-AzureKeyVaultKeyAttribute tests Run-TestProtected { Run-KeyTest {Test_UpdateIndividualKeyAttributes} "Test_UpdateIndividualKeyAttributes" } "Test_UpdateIndividualKeyAttributes" Run-TestProtected { Run-KeyTest {Test_UpdateAllEditableKeyAttributes} "Test_UpdateAllEditableKeyAttributes" } "Test_UpdateAllEditableKeyAttributes" Run-TestProtected { Run-KeyTest {Test_UpdateKeyWithNoChange} "Test_UpdateKeyWithNoChange" } "Test_UpdateKeyWithNoChange" @@ -161,7 +161,7 @@ function Run-AllDataPlaneTests Run-TestProtected { Run-KeyTest {Test_SetInvalidKeyAttributes} "Test_SetInvalidKeyAttributes" } "Test_SetInvalidKeyAttributes" Run-TestProtected { Run-KeyTest {Test_SetKeyInNoPermissionVault} "Test_SetKeyInNoPermissionVault" } "Test_SetKeyInNoPermissionVault" - # Get-AzureRMKeyVaultKey tests + # Get-AzureKeyVaultKey tests Run-TestProtected { Run-KeyTest {Test_GetOneKey} "Test_GetOneKey" } "Test_GetOneKey" Run-TestProtected { Run-KeyTest {Test_GetPreviousVersionOfKey} "Test_GetPreviousVersionOfKey" } "Test_GetPreviousVersionOfKey" Run-TestProtected { Run-KeyTest {Test_GetKeyPositionalParameter} "Test_GetKeyPositionalParameter" } "Test_GetKeyPositionalParameter" @@ -172,7 +172,7 @@ function Run-AllDataPlaneTests Run-TestProtected { Run-KeyTest {Test_GetAllKeys} "Test_GetAllKeys" } "Test_GetAllKeys" Run-TestProtected { Run-KeyTest {Test_GetKeyVersions} "Test_GetKeyVersions" } "Test_GetKeyVersions" - # Remove-AzureRMKeyVaultKey tests + # Remove-AzureKeyVaultKey tests Run-TestProtected { Run-KeyTest {Test_RemoveKeyWithoutPrompt} "Test_RemoveKeyWithoutPrompt" } "Test_RemoveKeyWithoutPrompt" Run-TestProtected { Run-KeyTest {Test_RemoveKeyWhatIf} "Test_RemoveKeyWhatIf" } "Test_RemoveKeyWhatIf" Run-TestProtected { Run-KeyTest {Test_RemoveKeyPositionalParameter} "Test_RemoveKeyPositionalParameter" } "Test_RemoveKeyPositionalParameter" @@ -181,20 +181,20 @@ function Run-AllDataPlaneTests Run-TestProtected { Run-KeyTest {Test_RemoveNonExistKey} "Test_RemoveNonExistKey" } "Test_RemoveNonExistKey" Run-TestProtected { Run-KeyTest {Test_RemoveKeyInNoPermissionVault} "Test_RemoveKeyInNoPermissionVault" } "Test_RemoveKeyInNoPermissionVault" - # Backup-AzureRMKeyVaultKey and Restore-AzureRMKeyVaultKey tests + # Backup-AzureKeyVaultKey and Restore-AzureKeyVaultKey tests Run-TestProtected { Run-KeyTest {Test_BackupRestoreKey} "Test_BackupRestoreKey" } "Test_BackupRestoreKey" Run-TestProtected { Run-KeyTest {Test_BackupNonExisitingKey} "Test_BackupNonExisitingKey" } "Test_BackupNonExisitingKey" Run-TestProtected { Run-KeyTest {Test_BackupToANamedFile} "Test_BackupToANamedFile" } "Test_BackupToANamedFile" Run-TestProtected { Run-KeyTest {Test_BackupToExistingFile} "Test_BackupToExistingFile" } "Test_BackupToExistingFile" Run-TestProtected { Run-KeyTest {Test_RestoreFromNonExistingFile} "Test_RestoreFromNonExistingFile" } "Test_RestoreFromNonExistingFile" - # *-AzureRMKeyVaultKey pipeline tests + # *-AzureRmKeyVaultKey pipeline tests Run-TestProtected { Run-KeyTest {Test_PipelineUpdateKeys} "Test_PipelineUpdateKeys" } "Test_PipelineUpdateKeys" Run-TestProtected { Run-KeyTest {Test_PipelineRemoveKeys} "Test_PipelineRemoveKeys" } "Test_PipelineRemoveKeys" Run-TestProtected { Run-KeyTest {Test_PipelineUpdateKeyVersions} "Test_PipelineUpdateKeyVersions" } "Test_PipelineUpdateKeyVersions" - # Set-AzureRMKeyVaultSecret tests + # Set-AzureKeyVaultSecret tests Run-TestProtected { Run-SecretTest {Test_CreateSecret} "Test_CreateSecret" } "Test_CreateSecret" Run-TestProtected { Run-SecretTest {Test_CreateSecretWithCustomAttributes} "Test_CreateSecretWithCustomAttributes" } "Test_CreateSecretWithCustomAttributes" Run-TestProtected { Run-SecretTest {Test_UpdateSecret} "Test_UpdateSecret" } "Test_UpdateSecret" @@ -204,7 +204,7 @@ function Run-AllDataPlaneTests Run-TestProtected { Run-SecretTest {Test_SetSecretInNonExistVault} "Test_SetSecretInNonExistVault" } "Test_SetSecretInNonExistVault" Run-TestProtected { Run-SecretTest {Test_SetSecretInNoPermissionVault} "Test_SetSecretInNoPermissionVault" } "Test_SetSecretInNoPermissionVault" - # Set-AzureRMKeyVaultSecretAttribute tests + # Set-AzureKeyVaultSecretAttribute tests Run-TestProtected { Run-SecretTest {Test_UpdateIndividualSecretAttributes} "Test_UpdateIndividualSecretAttributes" } "Test_UpdateIndividualSecretAttributes" Run-TestProtected { Run-SecretTest {Test_UpdateSecretWithNoChange} "Test_UpdateSecretWithNoChange" } "Test_UpdateSecretWithNoChange" Run-TestProtected { Run-SecretTest {Test_UpdateAllEditableSecretAttributes} "Test_UpdateAllEditableSecretAttributes" } "Test_UpdateAllEditableSecretAttributes" @@ -216,7 +216,7 @@ function Run-AllDataPlaneTests Run-TestProtected { Run-SecretTest {Test_SetInvalidSecretAttributes} "Test_SetInvalidSecretAttributes" } "Test_SetInvalidSecretAttributes" Run-TestProtected { Run-SecretTest {Test_SetSecretAttrInNoPermissionVault} "Test_SetSecretAttrInNoPermissionVault" } "Test_SetSecretAttrInNoPermissionVault" - # Get-AzureRMKeyVaultSecret tests + # Get-AzureKeyVaultSecret tests Run-TestProtected { Run-SecretTest {Test_GetOneSecret} "Test_GetOneSecret" } "Test_GetOneSecret" Run-TestProtected { Run-SecretTest {Test_GetAllSecrets} "Test_GetAllSecrets" } "Test_GetAllSecrets" Run-TestProtected { Run-SecretTest {Test_GetPreviousVersionOfSecret} "Test_GetPreviousVersionOfSecret" } "Test_GetPreviousVersionOfSecret" @@ -227,7 +227,7 @@ function Run-AllDataPlaneTests Run-TestProtected { Run-SecretTest {Test_GetNonExistSecret} "Test_GetNonExistSecret" } "Test_GetNonExistSecret" Run-TestProtected { Run-SecretTest {Test_GetSecretInNoPermissionVault} "Test_GetSecretInNoPermissionVault" } "Test_GetSecretInNoPermissionVault" - # Remove-AzureRMKeyVaultSecret tests + # Remove-AzureKeyVaultSecret tests Run-TestProtected { Run-SecretTest {Test_RemoveSecretWithoutPrompt} "Test_RemoveSecretWithoutPrompt" } "Test_RemoveSecretWithoutPrompt" Run-TestProtected { Run-SecretTest {Test_RemoveSecretWhatIf} "Test_RemoveSecretWhatIf" } "Test_RemoveSecretWhatIf" Run-TestProtected { Run-SecretTest {Test_RemoveSecretPositionalParameter} "Test_RemoveSecretPositionalParameter" } "Test_RemoveSecretPositionalParameter" @@ -236,7 +236,7 @@ function Run-AllDataPlaneTests Run-TestProtected { Run-SecretTest {Test_RemoveNonExistSecret} "Test_RemoveNonExistSecret" } "Test_RemoveNonExistSecret" Run-TestProtected { Run-SecretTest {Test_RemoveSecretInNoPermissionVault} "Test_RemoveSecretInNoPermissionVault" } "Test_RemoveSecretInNoPermissionVault" - # *-AzureRMKeyVaultKey pipeline tests + # *-AzureRmKeyVaultKey pipeline tests Run-TestProtected { Run-SecretTest {Test_PipelineUpdateSecrets} "Test_PipelineUpdateSecrets" } "Test_PipelineUpdateSecrets" Run-TestProtected { Run-SecretTest {Test_PipelineUpdateSecretAttributes} "Test_PipelineUpdateSecretAttributes" } "Test_PipelineUpdateSecretAttributes" Run-TestProtected { Run-SecretTest {Test_PipelineUpdateSecretVersions} "Test_PipelineUpdateSecretVersions" } "Test_PipelineUpdateSecretVersions" diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/VaultKeyTests.ps1 b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/VaultKeyTests.ps1 index 75c1077e3936..3cb23d06bb5d 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/VaultKeyTests.ps1 +++ b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/VaultKeyTests.ps1 @@ -39,7 +39,7 @@ function BulkCreateSoftKeys ($vault, $prefix, $total) for ($i=0;$i -lt $total; $i++) { $name = $prefix+$i; - $k=Add-AzureRMKeyVaultKey -VaultName $Vault -Name $name -Destination 'Software' + $k=Add-AzureKeyVaultKey -VaultName $Vault -Name $name -Destination 'Software' Assert-NotNull $k $global:createdKeys += $name } @@ -49,7 +49,7 @@ function BulkCreateSoftKeyVersions ($vault, $name, $total) { for ($i=0;$i -lt $total; $i++) { - $k=Add-AzureRMKeyVaultKey -VaultName $Vault -Name $name -Destination 'Software' + $k=Add-AzureKeyVaultKey -VaultName $Vault -Name $name -Destination 'Software' Assert-NotNull $k } $global:createdKeys += $name @@ -64,7 +64,7 @@ function Test_CreateSoftwareKeyWithDefaultAttributes { $keyVault = Get-KeyVault $keyname=Get-KeyName 'soft' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' Assert-NotNull $key $global:createdKeys += $keyname Assert-KeyAttributes $key.Attributes 'RSA' $true $null $null $null $null @@ -79,7 +79,7 @@ function Test_CreateSoftwareKeyWithCustomAttributes { $keyVault = Get-KeyVault $keyname=Get-KeyName 'attr' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' -Expires $expires -NotBefore $nbf -KeyOps $ops -Disable -Tags $tags + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' -Expires $expires -NotBefore $nbf -KeyOps $ops -Disable -Tags $tags Assert-NotNull $key $global:createdKeys += $keyname Assert-KeyAttributes $key.Attributes 'RSA' $false $expires $nbf $ops $tags @@ -93,7 +93,7 @@ function Test_CreateHsmKeyWithDefaultAttributes { $keyVault = Get-KeyVault $keyname=Get-KeyName 'hsm' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'HSM' + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'HSM' Assert-NotNull $key $global:createdKeys += $keyname Assert-KeyAttributes $key.Attributes 'RSA-HSM' $true $null $null $null $null @@ -108,7 +108,7 @@ function Test_CreateHsmKeyWithCustomAttributes { $keyVault = Get-KeyVault $keyname=Get-KeyName 'attrhsm' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'HSM' -Expires $expires -NotBefore $nbf -KeyOps $ops -Disable -Tags $tags + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'HSM' -Expires $expires -NotBefore $nbf -KeyOps $ops -Disable -Tags $tags Assert-NotNull $key $global:createdKeys += $keyname Assert-KeyAttributes $key.Attributes 'RSA-HSM' $false $expires $nbf $ops $tags @@ -123,7 +123,7 @@ function Test_ImportPfxWithDefaultAttributes $keyVault = Get-KeyVault $keyname=Get-KeyName 'pfx' $pfxpath = Get-ImportKeyFile 'pfx' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -KeyFilePath $pfxpath -KeyFilePassword $securepfxpwd + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -KeyFilePath $pfxpath -KeyFilePassword $securepfxpwd Assert-NotNull $key $global:createdKeys += $keyname Assert-KeyAttributes $key.Attributes 'RSA' $true $null $null $null $null @@ -139,7 +139,7 @@ function Test_ImportPfxWith1024BitKey $keyVault = Get-KeyVault $keyname=Get-KeyName 'pfx1024' $pfxpath = Get-ImportKeyFile1024 'pfx' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -KeyFilePath $pfxpath -KeyFilePassword $securepfxpwd + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -KeyFilePath $pfxpath -KeyFilePassword $securepfxpwd Assert-NotNull $key $global:createdKeys += $keyname Assert-KeyAttributes $key.Attributes 'RSA' $true $null $null $null $null @@ -155,7 +155,7 @@ function Test_ImportPfxWithCustomAttributes $keyVault = Get-KeyVault $keyname=Get-KeyName 'attrpfx' $pfxpath = Get-ImportKeyFile 'pfx' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' -KeyFilePath $pfxpath -KeyFilePassword $securepfxpwd -Expires $expires -NotBefore $nbf -KeyOps $ops -Disable -Tags $tags + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' -KeyFilePath $pfxpath -KeyFilePassword $securepfxpwd -Expires $expires -NotBefore $nbf -KeyOps $ops -Disable -Tags $tags Assert-NotNull $key $global:createdKeys += $keyname Assert-KeyAttributes $key.Attributes 'RSA' $false $expires $nbf $ops $tags @@ -170,7 +170,7 @@ function Test_ImportPfxAsHsmWithDefaultAttributes $keyVault = Get-KeyVault $keyname=Get-KeyName 'pfxashsm' $pfxpath = Get-ImportKeyFile 'pfx' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'HSM' -KeyFilePath $pfxpath -KeyFilePassword $securepfxpwd + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'HSM' -KeyFilePath $pfxpath -KeyFilePassword $securepfxpwd Assert-NotNull $key $global:createdKeys += $keyname Assert-KeyAttributes $key.Attributes 'RSA-HSM' $true $null $null $null $null @@ -185,7 +185,7 @@ function Test_ImportPfxAsHsmWithCustomAttributes $keyVault = Get-KeyVault $keyname=Get-KeyName 'attrpfxashsm' $pfxpath = Get-ImportKeyFile 'pfx' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'HSM' -KeyFilePath $pfxpath -KeyFilePassword $securepfxpwd -Expires $expires -NotBefore $nbf -KeyOps $ops -Disable -Tags $tags + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'HSM' -KeyFilePath $pfxpath -KeyFilePassword $securepfxpwd -Expires $expires -NotBefore $nbf -KeyOps $ops -Disable -Tags $tags Assert-NotNull $key $global:createdKeys += $keyname Assert-KeyAttributes $key.Attributes 'RSA-HSM' $false $expires $nbf $ops $tags @@ -200,7 +200,7 @@ function Test_ImportByokWithDefaultAttributes $keyVault = Get-KeyVault $keyname=Get-KeyName 'byok' $byokpath = Get-ImportKeyFile 'byok' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -KeyFilePath $byokpath + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -KeyFilePath $byokpath Assert-NotNull $key $global:createdKeys += $keyname Assert-KeyAttributes $key.Attributes 'RSA-HSM' $true $null $null $null $null @@ -216,7 +216,7 @@ function Test_ImportByokWith1024BitKey $keyVault = Get-KeyVault $keyname=Get-KeyName 'byok1024' $byokpath = Get-ImportKeyFile1024 'byok' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -KeyFilePath $byokpath + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -KeyFilePath $byokpath Assert-NotNull $key $global:createdKeys += $keyname Assert-KeyAttributes $key.Attributes 'RSA-HSM' $true $null $null $null $null @@ -232,7 +232,7 @@ function Test_ImportByokWithCustomAttributes $keyVault = Get-KeyVault $keyname=Get-KeyName 'attrbyok' $byokpath = Get-ImportKeyFile 'byok' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'HSM' -KeyFilePath $byokpath -Expires $expires -NotBefore $nbf -KeyOps $ops -Disable -Tags $tags + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'HSM' -KeyFilePath $byokpath -Expires $expires -NotBefore $nbf -KeyOps $ops -Disable -Tags $tags Assert-NotNull $key $global:createdKeys += $keyname Assert-KeyAttributes $key.Attributes 'RSA-HSM' $false $expires $nbf $ops $tags @@ -240,26 +240,26 @@ function Test_ImportByokWithCustomAttributes <# .SYNOPSIS -Tests Add-AzureRMKeyVaultKey with positionalParameter +Tests Add-AzureKeyVaultKey with positionalParameter #> function Test_AddKeyPositionalParameter { $keyVault = Get-KeyVault $keyname=Get-KeyName 'positional' - $key=Add-AzureRMKeyVaultKey $keyVault $keyname -Destination 'Software' + $key=Add-AzureKeyVaultKey $keyVault $keyname -Destination 'Software' Assert-NotNull $key $global:createdKeys += $keyname } <# .SYNOPSIS -Tests Add-AzureRMKeyVaultKey with parameter alias +Tests Add-AzureKeyVaultKey with parameter alias #> function Test_AddKeyAliasParameter { $keyVault = Get-KeyVault $keyname=Get-KeyName 'alias' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -KeyName $keyname -Destination 'Software' + $key=Add-AzureKeyVaultKey -VaultName $keyVault -KeyName $keyname -Destination 'Software' Assert-NotNull $key $global:createdKeys += $keyname } @@ -274,7 +274,7 @@ function Test_ImportNonExistPfxFile $keyVault = Get-KeyVault $keyname=Get-KeyName 'nonexistpfx' $nonexistpfx = Get-ImportKeyFile 'pfx' $false - Assert-Throws {Add-AzureRMKeyVaultKey -VaultName $keyVault -KeyName $keyname -KeyFilePath $nonexistpfx -KeyFilePassword $securepfxpwd} + Assert-Throws {Add-AzureKeyVaultKey -VaultName $keyVault -KeyName $keyname -KeyFilePath $nonexistpfx -KeyFilePassword $securepfxpwd} } <# @@ -287,7 +287,7 @@ function Test_ImportPfxFileWithIncorrectPassword $keyname=Get-KeyName 'wrongpwdpfx' $pfxpath = Get-ImportKeyFile 'pfx' $wrongpwd= 'foo' | ConvertTo-SecureString -AsPlainText -Force - Assert-Throws {Add-AzureRMKeyVaultKey -VaultName $keyVault -KeyName $keyname -Name $keyname -KeyFilePath $pfxpath -KeyFilePassword $wrongpwd} + Assert-Throws {Add-AzureKeyVaultKey -VaultName $keyVault -KeyName $keyname -Name $keyname -KeyFilePath $pfxpath -KeyFilePassword $wrongpwd} } <# @@ -299,7 +299,7 @@ function Test_ImportNonExistByokFile $keyVault = Get-KeyVault $keyname=Get-KeyName 'nonexistbyok' $nonexistbyok = Get-ImportKeyFile 'byok' $false - Assert-Throws {Add-AzureRMKeyVaultKey -VaultName $keyVault -KeyName $keyname -KeyFilePath $nonexistbyok} + Assert-Throws {Add-AzureKeyVaultKey -VaultName $keyVault -KeyName $keyname -KeyFilePath $nonexistbyok} } <# @@ -310,7 +310,7 @@ function Test_CreateKeyInNonExistVault { $keyVault = 'notexistvault' $keyname= 'notexitkey' - Assert-Throws {Add-AzureRMKeyVaultKey -VaultName $keyVault -KeyName $keyname -Destination 'Software'} + Assert-Throws {Add-AzureKeyVaultKey -VaultName $keyVault -KeyName $keyname -Destination 'Software'} } <# @@ -321,7 +321,7 @@ function Test_ImportByokAsSoftwareKey { $keyVault = Get-KeyVault $keyname= Get-KeyName 'byokassoftware' - Assert-Throws {Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' -KeyFilePath $byokpath} + Assert-Throws {Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' -KeyFilePath $byokpath} } <# @@ -332,7 +332,7 @@ function Test_CreateKeyInNoPermissionVault { $keyVault = Get-KeyVault $false $keyname= Get-KeyName 'nopermission' - Assert-Throws {Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software'} + Assert-Throws {Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software'} } @@ -345,38 +345,38 @@ function Test_UpdateIndividualKeyAttributes # Create a software key for updating $keyVault = Get-KeyVault $keyname=Get-KeyName 'updatesoft' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' -Expires $expires -NotBefore $nbf -KeyOps $ops -Disable -Tags $tags + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' -Expires $expires -NotBefore $nbf -KeyOps $ops -Disable -Tags $tags Assert-NotNull $key $global:createdKeys += $keyname Assert-KeyAttributes $key.Attributes 'RSA' $false $expires $nbf $ops $tags # Update Expires - $key=Set-AzureRMKeyVaultKeyAttribute -VaultName $keyVault -Name $keyname -Expires $newexpires -PassThru + $key=Set-AzureKeyVaultKeyAttribute -VaultName $keyVault -Name $keyname -Expires $newexpires -PassThru Assert-NotNull $key Assert-KeyAttributes $key.Attributes 'RSA' $false $newexpires $nbf $ops $tags # Update NotBefore - $key=Set-AzureRMKeyVaultKeyAttribute -VaultName $keyVault -Name $keyname -NotBefore $newnbf -PassThru + $key=Set-AzureKeyVaultKeyAttribute -VaultName $keyVault -Name $keyname -NotBefore $newnbf -PassThru Assert-NotNull $key Assert-KeyAttributes $key.Attributes 'RSA' $false $newexpires $newnbf $ops $tags # Update KeyOps - $key=Set-AzureRMKeyVaultKeyAttribute -VaultName $keyVault -Name $keyname -KeyOps $newops -PassThru + $key=Set-AzureKeyVaultKeyAttribute -VaultName $keyVault -Name $keyname -KeyOps $newops -PassThru Assert-NotNull $key Assert-KeyAttributes $key.Attributes 'RSA' $false $newexpires $newnbf $newops $tags # Update Enable - $key=Set-AzureRMKeyVaultKeyAttribute -VaultName $keyVault -Name $keyname -Enable $true -PassThru + $key=Set-AzureKeyVaultKeyAttribute -VaultName $keyVault -Name $keyname -Enable $true -PassThru Assert-NotNull $key Assert-KeyAttributes $key.Attributes 'RSA' $true $newexpires $newnbf $newops $tags # Update Tags - $key=Set-AzureRMKeyVaultKeyAttribute -VaultName $keyVault -Name $keyname -Tags $newtags -PassThru + $key=Set-AzureKeyVaultKeyAttribute -VaultName $keyVault -Name $keyname -Tags $newtags -PassThru Assert-NotNull $key Assert-KeyAttributes $key.Attributes 'RSA' $true $newexpires $newnbf $newops $newtags # Clean Tags - $key=Set-AzureRMKeyVaultKeyAttribute -VaultName $keyVault -Name $keyname -Tags $emptytags -PassThru + $key=Set-AzureKeyVaultKeyAttribute -VaultName $keyVault -Name $keyname -Tags $emptytags -PassThru Assert-NotNull $key Assert-KeyAttributes $key.Attributes 'RSA' $true $newexpires $newnbf $newops $emptytags } @@ -390,13 +390,13 @@ function Test_UpdateKeyWithNoChange # Create a software key for updating $keyVault = Get-KeyVault $keyname=Get-KeyName 'updatesoftnochange' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' -Expires $expires -NotBefore $nbf -KeyOps $ops -Tags $tags + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' -Expires $expires -NotBefore $nbf -KeyOps $ops -Tags $tags Assert-NotNull $key $global:createdKeys += $keyname Assert-KeyAttributes $key.Attributes 'RSA' $true $expires $nbf $ops $tags # No change - $key=Set-AzureRMKeyVaultKeyAttribute -VaultName $keyVault -Name $keyname -PassThru + $key=Set-AzureKeyVaultKeyAttribute -VaultName $keyVault -Name $keyname -PassThru Assert-NotNull $key Assert-KeyAttributes $key.Attributes 'RSA' $true $expires $nbf $ops $tags } @@ -410,61 +410,61 @@ function Test_UpdateAllEditableKeyAttributes # Create a software key for updating $keyVault = Get-KeyVault $keyname=Get-KeyName 'usoft' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' -Expires $expires -NotBefore $nbf -KeyOps $ops -Disable -Tags $tags + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' -Expires $expires -NotBefore $nbf -KeyOps $ops -Disable -Tags $tags Assert-NotNull $key $global:createdKeys += $keyname Assert-KeyAttributes $key.Attributes 'RSA' $false $expires $nbf $ops $tags # Update all attributes - $key=Set-AzureRMKeyVaultKeyAttribute -VaultName $keyVault -Name $keyname -Expires $newexpires -NotBefore $newnbf -KeyOps $newops -Enable $true -Tags $newtags -PassThru + $key=Set-AzureKeyVaultKeyAttribute -VaultName $keyVault -Name $keyname -Expires $newexpires -NotBefore $newnbf -KeyOps $newops -Enable $true -Tags $newtags -PassThru Assert-KeyAttributes $key.Attributes 'RSA' $true $newexpires $newnbf $newops $newtags # Create a hsm key for updating $keyname=Get-KeyName 'uhsm' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'HSM' -Expires $expires -NotBefore $nbf -KeyOps $ops -Disable -Tags $tags + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'HSM' -Expires $expires -NotBefore $nbf -KeyOps $ops -Disable -Tags $tags Assert-NotNull $key $global:createdKeys += $keyname Assert-KeyAttributes $key.Attributes 'RSA-HSM' $false $expires $nbf $ops $tags # Update all attributes - $key=Set-AzureRMKeyVaultKeyAttribute -VaultName $keyVault -Name $keyname -Expires $newexpires -NotBefore $newnbf -KeyOps $newops -Enable $true -Tags $newtags -PassThru + $key=Set-AzureKeyVaultKeyAttribute -VaultName $keyVault -Name $keyname -Expires $newexpires -NotBefore $newnbf -KeyOps $newops -Enable $true -Tags $newtags -PassThru Assert-KeyAttributes $key.Attributes 'RSA-HSM' $true $newexpires $newnbf $newops $newtags } <# .SYNOPSIS -Tests Set-AzureRMKeyVaultKeyAttribute with positionalParameter +Tests Set-AzureKeyVaultKeyAttribute with positionalParameter #> function Test_SetKeyPositionalParameter { $keyVault = Get-KeyVault $keyname=Get-KeyName 'positional' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' Assert-NotNull $key $global:createdKeys += $keyname - Set-AzureRMKeyVaultKeyAttribute $keyVault $keyname -Expires $newexpires -NotBefore $newnbf -Enable $true -PassThru + Set-AzureKeyVaultKeyAttribute $keyVault $keyname -Expires $newexpires -NotBefore $newnbf -Enable $true -PassThru } <# .SYNOPSIS -Tests Set-AzureRMKeyVaultKeyAttribute with parameter alias +Tests Set-AzureKeyVaultKeyAttribute with parameter alias #> function Test_SetKeyAliasParameter { $keyVault = Get-KeyVault $keyname=Get-KeyName 'alias' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' Assert-NotNull $key $global:createdKeys += $keyname - Set-AzureRMKeyVaultKeyAttribute -VaultName $keyVault -KeyName $keyname -Expires $newexpires -NotBefore $newnbf -Enable $true -PassThru + Set-AzureKeyVaultKeyAttribute -VaultName $keyVault -KeyName $keyname -Expires $newexpires -NotBefore $newnbf -Enable $true -PassThru } <# .SYNOPSIS -Tests Set-AzureRMKeyVaultKeyAttribute with version +Tests Set-AzureKeyVaultKeyAttribute with version #> function Test_SetKeyVersion { @@ -472,39 +472,39 @@ function Test_SetKeyVersion $keyVault = Get-KeyVault $keyname=Get-KeyName 'version' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' -Expires $expires -NotBefore $nbf -KeyOps $ops -Disable -Tags $tags + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' -Expires $expires -NotBefore $nbf -KeyOps $ops -Disable -Tags $tags Assert-NotNull $key $v1=$key.Version $global:createdKeys += $keyname Assert-KeyAttributes $key.Attributes 'RSA' $false $expires $nbf $ops $tags # create a new version - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' -Expires $expires -NotBefore $nbf -KeyOps $ops -Disable -Tags $tags + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' -Expires $expires -NotBefore $nbf -KeyOps $ops -Disable -Tags $tags Assert-NotNull $key $v2=$key.Version Assert-KeyAttributes $key.Attributes 'RSA' $false $expires $nbf $ops $tags # Update old version - Set-AzureRMKeyVaultKeyAttribute -VaultName $keyVault -Name $keyname -Version $v1 -Expires $newexpires -NotBefore $newnbf -KeyOps $newops -Enable $true -Tags $newtags -PassThru + Set-AzureKeyVaultKeyAttribute -VaultName $keyVault -Name $keyname -Version $v1 -Expires $newexpires -NotBefore $newnbf -KeyOps $newops -Enable $true -Tags $newtags -PassThru # Verify old Version changed - $key=Get-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Version $v1 + $key=Get-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Version $v1 Assert-NotNull $key Assert-KeyAttributes $key.Attributes 'RSA' $true $newexpires $newnbf $newops $newtags # Verify new Version not changed - $key=Get-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Version $v2 + $key=Get-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Version $v2 Assert-NotNull $key Assert-KeyAttributes $key.Attributes 'RSA' $false $expires $nbf $ops $tags # Verify current Version not changed - $key=Get-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname + $key=Get-AzureKeyVaultKey -VaultName $keyVault -Name $keyname Assert-NotNull $key Assert-KeyAttributes $key.Attributes 'RSA' $false $expires $nbf $ops $tags # Update old version using positional parameter - Set-AzureRMKeyVaultKeyAttribute $keyVault $keyname $v1 -Expires $expires -NotBefore $nbf -KeyOps $ops -Enable $false -Tags $tags -PassThru - $key=Get-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Version $v1 + Set-AzureKeyVaultKeyAttribute $keyVault $keyname $v1 -Expires $expires -NotBefore $nbf -KeyOps $ops -Enable $false -Tags $tags -PassThru + $key=Get-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Version $v1 Assert-NotNull $key Assert-KeyAttributes $key.Attributes 'RSA' $false $expires $nbf $ops $tags } @@ -518,7 +518,7 @@ function Test_SetKeyInNonExistVault { $keyVault = 'notexistvault' $keyname=Get-KeyName 'nonexist' - Assert-Throws {Set-AzureRMKeyVaultKeyAttribute -VaultName $keyVault -KeyName $keyname -Enable $true} + Assert-Throws {Set-AzureKeyVaultKeyAttribute -VaultName $keyVault -KeyName $keyname -Enable $true} } <# @@ -529,7 +529,7 @@ function Test_SetNonExistKey { $keyVault = Get-KeyVault $keyname=Get-KeyName 'nonexist' - Assert-Throws {Set-AzureRMKeyVaultKeyAttribute -VaultName $keyVault -KeyName $keyname -Enable $true} + Assert-Throws {Set-AzureKeyVaultKeyAttribute -VaultName $keyVault -KeyName $keyname -Enable $true} } <# @@ -540,11 +540,11 @@ function Test_SetInvalidKeyAttributes { $keyVault = Get-KeyVault $keyname=Get-KeyName 'invalidattr' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' Assert-NotNull $key $global:createdKeys += $keyname - Assert-Throws {Set-AzureRMKeyVaultKeyAttribute -VaultName $keyVault -KeyName $keyname -Expires $nbf -NotBefore $expires } + Assert-Throws {Set-AzureKeyVaultKeyAttribute -VaultName $keyVault -KeyName $keyname -Expires $nbf -NotBefore $expires } } @@ -556,7 +556,7 @@ function Test_SetKeyInNoPermissionVault { $keyVault = Get-KeyVault $false $keyname= Get-KeyName 'nopermission' - Assert-Throws {Set-AzureRMKeyVaultKeyAttribute -VaultName $keyVault -Name $keyname -Enable $true} + Assert-Throws {Set-AzureKeyVaultKeyAttribute -VaultName $keyVault -Name $keyname -Enable $true} } @@ -569,12 +569,12 @@ function Test_GetOneKey { $keyVault = Get-KeyVault $keyname=Get-KeyName 'getone' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' Assert-NotNull $key $global:createdKeys += $keyname Assert-KeyAttributes $key.Attributes 'RSA' $true $null $null $null - $key=Get-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname + $key=Get-AzureKeyVaultKey -VaultName $keyVault -Name $keyname Assert-KeyAttributes $key.Attributes 'RSA' $true $null $null $null } @@ -598,7 +598,7 @@ function Test_GetAllKeys $i++ } while ($i -le $run) - $keys=Get-AzureRMKeyVaultKey -VaultName $keyVault + $keys=Get-AzureKeyVaultKey -VaultName $keyVault Assert-True { $keys.Count -ge $total } } @@ -613,18 +613,18 @@ function Test_GetPreviousVersionOfKey $keyVault = Get-KeyVault $keyname=Get-KeyName 'getversion' - $key1=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' -Disable -NotBefore $nbf -Expires $expires -KeyOps $ops + $key1=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' -Disable -NotBefore $nbf -Expires $expires -KeyOps $ops $global:createdKeys += $keyname Assert-KeyAttributes -keyAttr $key1.Attributes -keytype 'RSA' -keyenable $false -keyexp $expires -keynbf $nbf -keyops $ops - $key2=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' + $key2=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' Assert-KeyAttributes $key2.Attributes 'RSA' $true $null $null $null - $key3=Get-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Version $key1.Version + $key3=Get-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Version $key1.Version Assert-KeyAttributes -keyAttr $key3.Attributes -keytype 'RSA' -keyenable $false -keyexp $expires -keynbf $nbf -keyops $ops - $key4=Get-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Version $key2.Version + $key4=Get-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Version $key2.Version Assert-KeyAttributes $key4.Attributes 'RSA' $true $null $null $null } @@ -648,39 +648,39 @@ function Test_GetKeyVersions $i++ } while ($i -le $run) - $keys=Get-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -IncludeVersions + $keys=Get-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -IncludeVersions Assert-True { $keys.Count -ge $total*$run } } <# .SYNOPSIS -Tests Get-AzureRMKeyVaultKey with positional Parameter +Tests Get-AzureKeyVaultKey with positional Parameter #> function Test_GetKeyPositionalParameter { $keyVault = Get-KeyVault $keyname=Get-KeyName 'positional' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' Assert-NotNull $key $global:createdKeys += $keyname - $key=Get-AzureRMKeyVaultKey $keyVault $keyname + $key=Get-AzureKeyVaultKey $keyVault $keyname Assert-NotNull $key } <# .SYNOPSIS -Tests Get-AzureRMKeyVaultKey with parameter alias +Tests Get-AzureKeyVaultKey with parameter alias #> function Test_GetKeyAliasParameter { $keyVault = Get-KeyVault $keyname=Get-KeyName 'alias' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' Assert-NotNull $key $global:createdKeys += $keyname - $key=Get-AzureRMKeyVaultKey -VaultName $keyVault -KeyName $keyname + $key=Get-AzureKeyVaultKey -VaultName $keyVault -KeyName $keyname Assert-NotNull $key } @@ -691,7 +691,7 @@ Tests get a key from non-exist key vault function Test_GetKeysInNonExistVault { $keyVault = 'notexistvault' - Assert-Throws {Get-AzureRMKeyVaultKey -VaultName $keyVault} + Assert-Throws {Get-AzureKeyVaultKey -VaultName $keyVault} } <# @@ -702,7 +702,7 @@ function Test_GetNonExistKey { $keyVault = Get-KeyVault $keyname = 'notexist' - Assert-Throws {Get-AzureRMKeyVaultKey -VaultName $keyVault -KeyName $keyname} + Assert-Throws {Get-AzureKeyVaultKey -VaultName $keyVault -KeyName $keyname} } <# @@ -712,7 +712,7 @@ Tests get key in a vault not have permission function Test_GetKeyInNoPermissionVault { $keyVault = Get-KeyVault $false - Assert-Throws {Get-AzureRMKeyVaultKey -VaultName $keyVault} + Assert-Throws {Get-AzureKeyVaultKey -VaultName $keyVault} } @@ -724,66 +724,66 @@ function Test_RemoveKeyWithoutPrompt { $keyVault = Get-KeyVault $keyname=Get-KeyName 'remove' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' Assert-NotNull $key $global:createdKeys += $keyname - $key=Remove-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Force -Confirm:$false -PassThru + $key=Remove-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Force -Confirm:$false -PassThru Assert-NotNull $key - Assert-Throws { Get-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname} + Assert-Throws { Get-AzureKeyVaultKey -VaultName $keyVault -Name $keyname} } <# .SYNOPSIS -Tests Remove-AzureRMKeyVaultKey with whatif option +Tests Remove-AzureKeyVaultKey with whatif option #> function Test_RemoveKeyWhatIf { $keyVault = Get-KeyVault $keyname=Get-KeyName 'whatif' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' Assert-NotNull $key $global:createdKeys += $keyname - Remove-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -WhatIf -Force + Remove-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -WhatIf -Force - $key=Get-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname + $key=Get-AzureKeyVaultKey -VaultName $keyVault -Name $keyname Assert-NotNull $key } <# .SYNOPSIS -Tests Remove-AzureRMKeyVaultKey with positional Parameter +Tests Remove-AzureKeyVaultKey with positional Parameter #> function Test_RemoveKeyPositionalParameter { $keyVault = Get-KeyVault $keyname=Get-KeyName 'positional' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' Assert-NotNull $key $global:createdKeys += $keyname - Remove-AzureRMKeyVaultKey $keyVault $keyname -Force -Confirm:$false + Remove-AzureKeyVaultKey $keyVault $keyname -Force -Confirm:$false - Assert-Throws { Get-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname} + Assert-Throws { Get-AzureKeyVaultKey -VaultName $keyVault -Name $keyname} } <# .SYNOPSIS -Tests Remove-AzureRMKeyVaultKey with parameter alias +Tests Remove-AzureKeyVaultKey with parameter alias #> function Test_RemoveKeyAliasParameter { $keyVault = Get-KeyVault $keyname=Get-KeyName 'alias' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' Assert-NotNull $key $global:createdKeys += $keyname - Remove-AzureRMKeyVaultKey -VaultName $keyVault -KeyName $keyname -Force -Confirm:$false + Remove-AzureKeyVaultKey -VaultName $keyVault -KeyName $keyname -Force -Confirm:$false - Assert-Throws { Get-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname} + Assert-Throws { Get-AzureKeyVaultKey -VaultName $keyVault -Name $keyname} } <# @@ -794,7 +794,7 @@ function Test_RemoveKeyInNonExistVault { $keyVault = 'notexistvault' $keyname = 'notexist' - Assert-Throws {Remove-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Force -Confirm:$false} + Assert-Throws {Remove-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Force -Confirm:$false} } <# @@ -805,7 +805,7 @@ function Test_RemoveNonExistKey { $keyVault = Get-KeyVault $keyname = 'notexist' - Assert-Throws {Remove-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Force -Confirm:$false} + Assert-Throws {Remove-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Force -Confirm:$false} } <# @@ -816,7 +816,7 @@ function Test_RemoveKeyInNoPermissionVault { $keyVault = Get-KeyVault $false $keyname= Get-KeyName 'nopermission' - Assert-Throws {Remove-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Enable $true -Force -Confirm:$false} + Assert-Throws {Remove-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Enable $true -Force -Confirm:$false} } <# @@ -827,13 +827,13 @@ function Test_BackupRestoreKey { $keyVault = Get-KeyVault $keyname=Get-KeyName 'backuprestore' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' Assert-NotNull $key $global:createdKeys += $keyname - $backupblob = Backup-AzureRMKeyVaultKey -VaultName $keyVault -KeyName $keyname - Remove-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Force -Confirm:$false - $restoredKey = Restore-AzureRMKeyVaultKey -VaultName $keyVault -InputFile $backupblob + $backupblob = Backup-AzureKeyVaultKey -VaultName $keyVault -KeyName $keyname + Remove-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Force -Confirm:$false + $restoredKey = Restore-AzureKeyVaultKey -VaultName $keyVault -InputFile $backupblob Assert-KeyAttributes $restoredKey.Attributes 'RSA' $true $null $null $null } @@ -846,7 +846,7 @@ function Test_BackupNonExisitingKey $keyVault = Get-KeyVault $keyname=Get-KeyName 'backupnonexisting' - Assert-Throws { Backup-AzureRMKeyVaultKey -VaultName $keyVault -KeyName $keyname } + Assert-Throws { Backup-AzureKeyVaultKey -VaultName $keyVault -KeyName $keyname } } <# @@ -857,15 +857,15 @@ function Test_BackupToANamedFile { $keyVault = Get-KeyVault $keyname=Get-KeyName 'backupnamedfile' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' Assert-NotNull $key $global:createdKeys += $keyname $backupfile='.\backup' + ([GUID]::NewGuid()).GUID.ToString() + '.blob' - Backup-AzureRMKeyVaultKey -VaultName $keyVault -KeyName $keyname -OutputFile $backupfile - Remove-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Force -Confirm:$false - $restoredKey = Restore-AzureRMKeyVaultKey -VaultName $keyVault -InputFile $backupfile + Backup-AzureKeyVaultKey -VaultName $keyVault -KeyName $keyname -OutputFile $backupfile + Remove-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Force -Confirm:$false + $restoredKey = Restore-AzureKeyVaultKey -VaultName $keyVault -InputFile $backupfile Assert-KeyAttributes $restoredKey.Attributes 'RSA' $true $null $null $null } @@ -877,14 +877,14 @@ function Test_BackupToExistingFile { $keyVault = Get-KeyVault $keyname=Get-KeyName 'backupexistingfile' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' Assert-NotNull $key $global:createdKeys += $keyname $backupfile='.\backup' + ([GUID]::NewGuid()).GUID.ToString() + '.blob' - Backup-AzureRMKeyVaultKey -VaultName $keyVault -KeyName $keyname -OutputFile $backupfile - Assert-Throws { Backup-AzureRMKeyVaultKey -VaultName $keyVault -KeyName $keyname -OutputFile $backupfile } + Backup-AzureKeyVaultKey -VaultName $keyVault -KeyName $keyname -OutputFile $backupfile + Assert-Throws { Backup-AzureKeyVaultKey -VaultName $keyVault -KeyName $keyname -OutputFile $backupfile } } @@ -896,7 +896,7 @@ function Test_RestoreFromNonExistingFile { $keyVault = Get-KeyVault - Assert-Throws { Restore-AzureRMKeyVaultKey -VaultName $keyVault -InputFile c:\nonexisting.blob } + Assert-Throws { Restore-AzureKeyVaultKey -VaultName $keyVault -InputFile c:\nonexisting.blob } } <# @@ -911,9 +911,9 @@ function Test_PipelineUpdateKeys $total=2 BulkCreateSoftKeys $keyVault $keypartialname $total - Get-AzureRMKeyVaultKey $keyVault | Where-Object {$_.KeyName -like $keypartialname+'*'} | Set-AzureRMKeyVaultKeyAttribute -Enable $false + Get-AzureKeyVaultKey $keyVault | Where-Object {$_.KeyName -like $keypartialname+'*'} | Set-AzureKeyVaultKeyAttribute -Enable $false - Get-AzureRMKeyVaultKey $keyVault | Where-Object {$_.KeyName -like $keypartialname+'*'} | ForEach-Object { Assert-False { return $_.Enabled } } + Get-AzureKeyVaultKey $keyVault | Where-Object {$_.KeyName -like $keypartialname+'*'} | ForEach-Object { Assert-False { return $_.Enabled } } } <# @@ -928,11 +928,11 @@ function Test_PipelineUpdateKeyVersions $total=2 BulkCreateSoftKeyVersions $keyVault $keyname $total - Get-AzureRMKeyVaultKey $keyVault $keyname -IncludeVersions | Set-AzureRMKeyVaultKeyAttribute -Enable $false - Get-AzureRMKeyVaultKey $keyVault $keyname -IncludeVersions | ForEach-Object { Assert-False { return $_.Enabled } } + Get-AzureKeyVaultKey $keyVault $keyname -IncludeVersions | Set-AzureKeyVaultKeyAttribute -Enable $false + Get-AzureKeyVaultKey $keyVault $keyname -IncludeVersions | ForEach-Object { Assert-False { return $_.Enabled } } - Get-AzureRMKeyVaultKey $keyVault $keyname -IncludeVersions | Set-AzureRMKeyVaultKeyAttribute -Tags $newtags - Get-AzureRMKeyVaultKey $keyVault $keyname -IncludeVersions | ForEach-Object { Assert-True { return $_.Tags.Count -eq $newtags.Count } } + Get-AzureKeyVaultKey $keyVault $keyname -IncludeVersions | Set-AzureKeyVaultKeyAttribute -Tags $newtags + Get-AzureKeyVaultKey $keyVault $keyname -IncludeVersions | ForEach-Object { Assert-True { return $_.Tags.Count -eq $newtags.Count } } } @@ -948,8 +948,8 @@ function Test_PipelineRemoveKeys $total=2 BulkCreateSoftKeys $keyVault $keypartialname $total - Get-AzureRMKeyVaultKey $keyVault | Where-Object {$_.KeyName -like $keypartialname+'*'} | Remove-AzureRMKeyVaultKey -Force -Confirm:$false + Get-AzureKeyVaultKey $keyVault | Where-Object {$_.KeyName -like $keypartialname+'*'} | Remove-AzureKeyVaultKey -Force -Confirm:$false - $keys = Get-AzureRMKeyVaultKey $keyVault | Where-Object {$_.KeyName -like $keypartialname+'*'} + $keys = Get-AzureKeyVaultKey $keyVault | Where-Object {$_.KeyName -like $keypartialname+'*'} Assert-AreEqual $keys.Count 0 } \ No newline at end of file diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/VaultManagementTests.ps1 b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/VaultManagementTests.ps1 index 04252d78458a..10591ae30471 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/VaultManagementTests.ps1 +++ b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/VaultManagementTests.ps1 @@ -3,7 +3,7 @@ $tagValue = "testvalue" $KeyVaultResourceType = "Microsoft.KeyVault/vaults"; $KeyVaultApiVersion = "2015-06-01"; -#------------------------------New-AzureRMKeyVault-------------------------------------- +#------------------------------New-AzureRmKeyVault-------------------------------------- function Test_CreateNewVault { Test-CreateNewVault $global:resourceGroupName $global:location $tagName $tagValue @@ -31,7 +31,7 @@ function Test_CreateVaultPositionalParams #------------------------------------------------------------------------------------- -#------------------------------Get-AzureRMKeyVault-------------------------------------- +#------------------------------Get-AzureRmKeyVault-------------------------------------- function Test_GetVaultByNameAndResourceGroup { @@ -81,7 +81,7 @@ function Test_ListVaultsByUnknownResourceGroupFails #------------------------------------------------------------------------------------- -#------------------------------Remove-AzureRMKeyVault----------------------------------- +#------------------------------Remove-AzureRmKeyVault----------------------------------- function Test_DeleteVaultByName { Test-DeleteVaultByName $global:resourceGroupName $global:location @@ -94,10 +94,10 @@ function Test_DeleteUnknownVaultFails #------------------------------------------------------------------------------------- -#------------------------------Set-AzureRMKeyVaultAccessPolicy-------------------------- +#------------------------------Set-AzureRmKeyVaultAccessPolicy-------------------------- function Test_SetRemoveAccessPolicyByUPN { - $user = (Get-AzureRMSubscription -Current).DefaultAccount + $user = (Get-AzureRmSubscription -Current).DefaultAccount Reset-PreCreatedVault Test-SetRemoveAccessPolicyByUPN $global:precreatedVaultName $global:resourceGroupName $user } @@ -109,8 +109,8 @@ function Test_SetRemoveAccessPolicyBySPN #Create an app and service principal $appName = [Guid]::NewGuid().ToString("N") $uri = 'http://localhost:8080/'+$appName - $app = New-AzureRMADApplication -DisplayName $appName -HomePage 'http://contoso.com' -IdentifierUris $uri -Password $appName - $sp = New-AzureRMADServicePrincipal -ApplicationId $app.ApplicationId + $app = New-AzureRmADApplication -DisplayName $appName -HomePage 'http://contoso.com' -IdentifierUris $uri -Password $appName + $sp = New-AzureRmADServicePrincipal -ApplicationId $app.ApplicationId try { @@ -118,14 +118,14 @@ function Test_SetRemoveAccessPolicyBySPN } finally { - Remove-AzureRMADApplication -ApplicationObjectId $app.ApplicationObjectId -Force + Remove-AzureRmADApplication -ApplicationObjectId $app.ApplicationObjectId -Force } } function Test_SetRemoveAccessPolicyByObjectId { - $user = (Get-AzureRMSubscription -Current).DefaultAccount + $user = (Get-AzureRmSubscription -Current).DefaultAccount Reset-PreCreatedVault Test-SetRemoveAccessPolicyByObjectId $global:precreatedVaultName $global:resourceGroupName $user } @@ -133,7 +133,7 @@ function Test_SetRemoveAccessPolicyByObjectId function Test_SetRemoveAccessPolicyByCompoundId { - $user = (Get-AzureRMSubscription -Current).DefaultAccount + $user = (Get-AzureRmSubscription -Current).DefaultAccount $appId = [System.Guid]::NewGuid() Reset-PreCreatedVault Test-SetRemoveAccessPolicyByCompoundId $global:precreatedVaultName $global:resourceGroupName $user $appId @@ -141,7 +141,7 @@ function Test_SetRemoveAccessPolicyByCompoundId function Test_RemoveAccessPolicyWithCompoundIdPolicies { - $user = (Get-AzureRMSubscription -Current).DefaultAccount + $user = (Get-AzureRmSubscription -Current).DefaultAccount $appId1 = [System.Guid]::NewGuid() $appId2 = [System.Guid]::NewGuid() Reset-PreCreatedVault @@ -150,7 +150,7 @@ function Test_RemoveAccessPolicyWithCompoundIdPolicies function Test_SetCompoundIdAccessPolicy { - $user = (Get-AzureRMSubscription -Current).DefaultAccount + $user = (Get-AzureRmSubscription -Current).DefaultAccount $appId = [System.Guid]::NewGuid() Reset-PreCreatedVault Test-SetCompoundIdAccessPolicy $global:precreatedVaultName $global:resourceGroupName $user $appId @@ -158,21 +158,21 @@ function Test_SetCompoundIdAccessPolicy function Test_ModifyAccessPolicy { - $user = (Get-AzureRMSubscription -Current).DefaultAccount + $user = (Get-AzureRmSubscription -Current).DefaultAccount Reset-PreCreatedVault Test-ModifyAccessPolicy $global:precreatedVaultName $global:resourceGroupName $user } function Test_ModifyAccessPolicyEnabledForDeployment { - $user = (Get-AzureRMSubscription -Current).DefaultAccount + $user = (Get-AzureRmSubscription -Current).DefaultAccount Reset-PreCreatedVault Test-ModifyAccessPolicyEnabledForDeployment $global:precreatedVaultName $global:resourceGroupName $user } function Test_ModifyAccessPolicyNegativeCases { - $user = (Get-AzureRMSubscription -Current).DefaultAccount + $user = (Get-AzureRmSubscription -Current).DefaultAccount Reset-PreCreatedVault Test-ModifyAccessPolicyNegativeCases $global:precreatedVaultName $global:resourceGroupName $user } @@ -180,7 +180,7 @@ function Test_ModifyAccessPolicyNegativeCases function Test_RemoveNonExistentAccessPolicyDoesNotThrow { - $user = (Get-AzureRMSubscription -Current).DefaultAccount + $user = (Get-AzureRmSubscription -Current).DefaultAccount Reset-PreCreatedVault Test-RemoveNonExistentAccessPolicyDoesNotThrow $global:precreatedVaultName $global:resourceGroupName $user } @@ -236,7 +236,7 @@ function Initialize-VaultTest { #create a resource group $rg = Get-ResourceGroupName $suffix - New-AzureRMResourceGroup -Name $rg -Location $global:location -Force + New-AzureRmResourceGroup -Name $rg -Location $global:location -Force $global:resourceGroupName = $rg } @@ -247,7 +247,7 @@ function Initialize-VaultTest } #create a vault using ARM $vaultName = Get-VaultName $suffix - $tenantId = (Get-AzureRMSubscription -Current).TenantId + $tenantId = (Get-AzureRmSubscription -Current).TenantId $tagName = "testtag" $tagValue = "testvalue" $vaultId = @{ @@ -267,7 +267,7 @@ function Initialize-VaultTest } "accessPolicies" = @(); } - $keyVault = New-AzureRMResource @vaultId ` + $keyVault = New-AzureRmResource @vaultId ` -PropertyObject $vaultProperties ` -Location $global:location ` -Tag @{Name = $tagName; Value = $tagValue} ` @@ -291,7 +291,7 @@ function Reset-PreCreatedVault { $tagName = "testtag" $tagValue = "testvalue" - $tenantId = (Get-AzureRMSubscription -Current).TenantId + $tenantId = (Get-AzureRmSubscription -Current).TenantId $vaultProperties = @{ "enabledForDeployment" = $false; "tenantId" = $tenantId; @@ -303,7 +303,7 @@ function Reset-PreCreatedVault "accessPolicies" = @(); } - Set-AzureRMResource -ApiVersion $KeyVaultApiVersion ` + Set-AzureRmResource -ApiVersion $KeyVaultApiVersion ` -ResourceType $KeyVaultResourceType ` -ResourceName $global:precreatedVaultName ` -ResourceGroupName $global:resourceGroupName ` @@ -319,7 +319,7 @@ Removes the resource group under which all resources for vault tests were create #> function Cleanup-VaultTest { - Remove-AzureRMResourceGroup -Name $global:resourceGroupname -Force -Confirm:$false + Remove-AzureRmResourceGroup -Name $global:resourceGroupname -Force -Confirm:$false $global:resourceGroupname = '' } #------------------------------------------------------------------------------------- \ No newline at end of file diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/VaultSecretTests.ps1 b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/VaultSecretTests.ps1 index 1665c7faea50..3aba8d7a7878 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/VaultSecretTests.ps1 +++ b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/VaultSecretTests.ps1 @@ -44,7 +44,7 @@ function BulkCreateSecrets ($vault, $prefix, $total) for ($i=0;$i -lt $total; $i++) { $name = $prefix+$i; - $sec=Set-AzureRMKeyVaultSecret -VaultName $vault -Name $name -SecretValue $securedata + $sec=Set-AzureKeyVaultSecret -VaultName $vault -Name $name -SecretValue $securedata Assert-NotNull $sec $global:createdSecrets += $name } @@ -54,7 +54,7 @@ function BulkCreateSecretVersions ($vault, $name, $total) { for ($i=0;$i -lt $total; $i++) { - $sec=Set-AzureRMKeyVaultSecret -VaultName $vault -Name $name -SecretValue $securedata + $sec=Set-AzureKeyVaultSecret -VaultName $vault -Name $name -SecretValue $securedata Assert-NotNull $sec } $global:createdSecrets += $name @@ -70,7 +70,7 @@ function Test_CreateSecret { $keyVault = Get-KeyVault $secretname= Get-SecretName 'default' - $sec=Set-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata + $sec=Set-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata Assert-NotNull $sec $global:createdSecrets += $secretname Assert-AreEqual $sec.SecretValueText $data @@ -86,7 +86,7 @@ function Test_CreateSecretWithCustomAttributes { $keyVault = Get-KeyVault $secretname= Get-SecretName 'attr' - $sec=Set-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata -Expires $expires -NotBefore $nbf -ContentType $contenttype -Disable -Tags $tags + $sec=Set-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata -Expires $expires -NotBefore $nbf -ContentType $contenttype -Disable -Tags $tags Assert-NotNull $sec $global:createdSecrets += $secretname Assert-AreEqual $sec.SecretValueText $data @@ -103,13 +103,13 @@ function Test_UpdateSecret { $keyVault = Get-KeyVault $secretname= Get-SecretName 'update' - $sec=Set-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata + $sec=Set-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata Assert-NotNull $sec $global:createdSecrets += $secretname Assert-AreEqual $sec.SecretValueText $data Assert-SecretAttributes $sec.Attributes $true $null $null $null $null - $sec=Set-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $newsecuredata + $sec=Set-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $newsecuredata Assert-NotNull $sec Assert-AreEqual $sec.SecretValueText $newdata Assert-SecretAttributes $sec.Attributes $true $null $null $null $null @@ -117,13 +117,13 @@ function Test_UpdateSecret <# .SYNOPSIS -Tests Set-AzureRMKeyVaultSecret with positional parameter +Tests Set-AzureKeyVaultSecret with positional parameter #> function Test_SetSecretPositionalParameter { $keyVault = Get-KeyVault $secretname= Get-SecretName 'positional' - $sec=Set-AzureRMKeyVaultSecret $keyVault $secretname $securedata -Expires $expires -NotBefore $nbf -ContentType $contenttype -Disable -Tags $tags + $sec=Set-AzureKeyVaultSecret $keyVault $secretname $securedata -Expires $expires -NotBefore $nbf -ContentType $contenttype -Disable -Tags $tags Assert-NotNull $sec $global:createdSecrets += $secretname Assert-AreEqual $sec.SecretValueText $data @@ -132,13 +132,13 @@ function Test_SetSecretPositionalParameter <# .SYNOPSIS -Tests Set-AzureRMKeyVaultSecret with parameter alias +Tests Set-AzureKeyVaultSecret with parameter alias #> function Test_SetSecretAliasParameter { $keyVault = Get-KeyVault $secretname= Get-SecretName 'alias' - $sec=Set-AzureRMKeyVaultSecret -VaultName $keyVault -SecretName $secretname -SecretValue $securedata -Expires $expires -NotBefore $nbf -ContentType $contenttype -Disable -Tags $tags + $sec=Set-AzureKeyVaultSecret -VaultName $keyVault -SecretName $secretname -SecretValue $securedata -Expires $expires -NotBefore $nbf -ContentType $contenttype -Disable -Tags $tags Assert-NotNull $sec $global:createdSecrets += $secretname Assert-AreEqual $sec.SecretValueText $data @@ -153,7 +153,7 @@ function Test_SetSecretInNonExistVault { $keyVault = 'notexistvault' $secretname= Get-SecretName 'nonexist' - Assert-Throws {Set-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata} + Assert-Throws {Set-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata} } <# @@ -164,7 +164,7 @@ function Test_SetSecretInNoPermissionVault { $keyVault = Get-KeyVault $false $secretname= Get-SecretName 'nopermission' - Assert-Throws {Set-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata} + Assert-Throws {Set-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata} } <# @@ -176,7 +176,7 @@ function Test_UpdateIndividualSecretAttributes # Create a secret for updating $keyVault = Get-KeyVault $secretname=Get-SecretName 'updateattr' - $sec=Set-AzureRMKeyVaultSecret $keyVault $secretname $securedata -Expires $expires -NotBefore $nbf -ContentType $contenttype -Disable -Tags $tags + $sec=Set-AzureKeyVaultSecret $keyVault $secretname $securedata -Expires $expires -NotBefore $nbf -ContentType $contenttype -Disable -Tags $tags Assert-NotNull $sec $global:createdSecrets += $secretname Assert-AreEqual $sec.SecretValueText $data @@ -184,32 +184,32 @@ function Test_UpdateIndividualSecretAttributes # Update Expires - $sec=Set-AzureRMKeyVaultSecretAttribute -VaultName $keyVault -Name $secretname -Expires $newexpires -PassThru + $sec=Set-AzureKeyVaultSecretAttribute -VaultName $keyVault -Name $secretname -Expires $newexpires -PassThru Assert-NotNull $sec Assert-SecretAttributes $sec.Attributes $false $newexpires $nbf $contenttype $tags # Update NotBefore - $sec=Set-AzureRMKeyVaultSecretAttribute -VaultName $keyVault -Name $secretname -NotBefore $newnbf -PassThru + $sec=Set-AzureKeyVaultSecretAttribute -VaultName $keyVault -Name $secretname -NotBefore $newnbf -PassThru Assert-NotNull $sec Assert-SecretAttributes $sec.Attributes $false $newexpires $newnbf $contenttype $tags # Update Enable - $sec=Set-AzureRMKeyVaultSecretAttribute -VaultName $keyVault -Name $secretname -Enable $true -PassThru + $sec=Set-AzureKeyVaultSecretAttribute -VaultName $keyVault -Name $secretname -Enable $true -PassThru Assert-NotNull $sec Assert-SecretAttributes $sec.Attributes $true $newexpires $newnbf $contenttype $tags # Update ContentType - $sec=Set-AzureRMKeyVaultSecretAttribute -VaultName $keyVault -Name $secretname -ContentType $newcontenttype -PassThru + $sec=Set-AzureKeyVaultSecretAttribute -VaultName $keyVault -Name $secretname -ContentType $newcontenttype -PassThru Assert-NotNull $sec Assert-SecretAttributes $sec.Attributes $true $newexpires $newnbf $newcontenttype $tags # Update Tags - $sec=Set-AzureRMKeyVaultSecretAttribute -VaultName $keyVault -Name $secretname -Tags $newtags -PassThru + $sec=Set-AzureKeyVaultSecretAttribute -VaultName $keyVault -Name $secretname -Tags $newtags -PassThru Assert-NotNull $sec Assert-SecretAttributes $sec.Attributes $true $newexpires $newnbf $newcontenttype $newtags # Clean Tags - $sec=Set-AzureRMKeyVaultSecretAttribute -VaultName $keyVault -Name $secretname -Tags $emptytags -PassThru + $sec=Set-AzureKeyVaultSecretAttribute -VaultName $keyVault -Name $secretname -Tags $emptytags -PassThru Assert-NotNull $sec Assert-SecretAttributes $sec.Attributes $true $newexpires $newnbf $newcontenttype $emptytags } @@ -223,14 +223,14 @@ function Test_UpdateSecretWithNoChange # Create a secret for updating $keyVault = Get-KeyVault $secretname=Get-SecretName 'updatenochange' - $sec=Set-AzureRMKeyVaultSecret $keyVault $secretname $securedata -Expires $expires -NotBefore $nbf -ContentType $contenttype -Disable -Tags $tags + $sec=Set-AzureKeyVaultSecret $keyVault $secretname $securedata -Expires $expires -NotBefore $nbf -ContentType $contenttype -Disable -Tags $tags Assert-NotNull $sec $global:createdSecrets += $secretname Assert-AreEqual $sec.SecretValueText $data Assert-SecretAttributes $sec.Attributes $false $expires $nbf $contenttype $tags # No change - $sec=Set-AzureRMKeyVaultSecretAttribute -VaultName $keyVault -Name $secretname -PassThru + $sec=Set-AzureKeyVaultSecretAttribute -VaultName $keyVault -Name $secretname -PassThru Assert-NotNull $sec Assert-SecretAttributes $sec.Attributes $false $expires $nbf $contenttype $tags } @@ -244,52 +244,52 @@ function Test_UpdateAllEditableSecretAttributes # Create a secret for updating $keyVault = Get-KeyVault $secretname=Get-SecretName 'updateall' - $sec=Set-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata + $sec=Set-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata Assert-NotNull $sec $global:createdSecrets += $secretname Assert-AreEqual $sec.SecretValueText $data Assert-SecretAttributes $sec.Attributes $true $null $null $null $null # Update all attributes - $sec=Set-AzureRMKeyVaultSecretAttribute -VaultName $keyVault -Name $secretname -Expires $expires -NotBefore $nbf -ContentType $contenttype -Enable $false -Tags $tags -PassThru + $sec=Set-AzureKeyVaultSecretAttribute -VaultName $keyVault -Name $secretname -Expires $expires -NotBefore $nbf -ContentType $contenttype -Enable $false -Tags $tags -PassThru Assert-NotNull $sec Assert-SecretAttributes $sec.Attributes $false $expires $nbf $contenttype $tags } <# .SYNOPSIS -Tests Set-AzureRMKeyVaultSecretAttribute with positionalParameter +Tests Set-AzureKeyVaultSecretAttribute with positionalParameter #> function Test_SetSecretAttributePositionalParameter { $keyVault = Get-KeyVault $secretname=Get-SecretName 'attrpos' - $sec=Set-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata + $sec=Set-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata Assert-NotNull $sec $global:createdSecrets += $secretname Assert-AreEqual $sec.SecretValueText $data Assert-SecretAttributes $sec.Attributes $true $null $null $null $null - $sec=Set-AzureRMKeyVaultSecretAttribute $keyVault $secretname -Expires $expires -NotBefore $nbf -ContentType $contenttype -Enable $false -Tags $tags -PassThru + $sec=Set-AzureKeyVaultSecretAttribute $keyVault $secretname -Expires $expires -NotBefore $nbf -ContentType $contenttype -Enable $false -Tags $tags -PassThru Assert-NotNull $sec Assert-SecretAttributes $sec.Attributes $false $expires $nbf $contenttype $tags } <# .SYNOPSIS -Tests Set-AzureRMKeyVaultSecretAttribute with parameter alias +Tests Set-AzureKeyVaultSecretAttribute with parameter alias #> function Test_SetSecretAttributeAliasParameter { $keyVault = Get-KeyVault $secretname=Get-SecretName 'attralias' - $sec=Set-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata + $sec=Set-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata Assert-NotNull $sec $global:createdSecrets += $secretname Assert-AreEqual $sec.SecretValueText $data Assert-SecretAttributes $sec.Attributes $true $null $null $null $null - $sec=Set-AzureRMKeyVaultSecretAttribute -VaultName $keyVault -SecretName $secretname -Expires $expires -NotBefore $nbf -ContentType $contenttype -Enable $false -Tags $tags -PassThru + $sec=Set-AzureKeyVaultSecretAttribute -VaultName $keyVault -SecretName $secretname -Expires $expires -NotBefore $nbf -ContentType $contenttype -Enable $false -Tags $tags -PassThru Assert-NotNull $sec Assert-SecretAttributes $sec.Attributes $false $expires $nbf $contenttype $tags } @@ -297,47 +297,47 @@ function Test_SetSecretAttributeAliasParameter <# .SYNOPSIS -Tests Set-AzureRMKeyVaultSecretAttribute with version +Tests Set-AzureKeyVaultSecretAttribute with version #> function Test_SetSecretVersion { # create a secret and record the version $keyVault = Get-KeyVault $secretname=Get-SecretName 'mulupdate' - $sec=Set-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata + $sec=Set-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata Assert-NotNull $sec $v1 = $sec.Version $global:createdSecrets += $secretname Assert-SecretAttributes $sec.Attributes $true $null $null $null $null # create a new version - $sec=Set-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata + $sec=Set-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata Assert-NotNull $sec Assert-SecretAttributes $sec.Attributes $true $null $null $null $null # Update old version - Set-AzureRMKeyVaultSecretAttribute -VaultName $keyVault -SecretName $secretname -Version $v1 -Enable $true -Expires $expires -NotBefore $nbf -ContentType $contenttype -Tags $tags -PassThru + Set-AzureKeyVaultSecretAttribute -VaultName $keyVault -SecretName $secretname -Version $v1 -Enable $true -Expires $expires -NotBefore $nbf -ContentType $contenttype -Tags $tags -PassThru # Verify old Version changed - $sec=Get-AzureRMKeyVaultSecret -VaultName $keyVault -SecretName $secretname -Version $v1 + $sec=Get-AzureKeyVaultSecret -VaultName $keyVault -SecretName $secretname -Version $v1 Assert-NotNull $sec Assert-SecretAttributes $sec.Attributes $true $expires $nbf $contenttype $tags # Verify new Version not changed - $sec=Get-AzureRMKeyVaultSecret -VaultName $keyVault -SecretName $secretname -Version $v2 + $sec=Get-AzureKeyVaultSecret -VaultName $keyVault -SecretName $secretname -Version $v2 Assert-NotNull $sec Assert-SecretAttributes $sec.Attributes $true $null $null $null $null # Verify current Version not changed - $sec=Get-AzureRMKeyVaultSecret -VaultName $keyVault -SecretName $secretname + $sec=Get-AzureKeyVaultSecret -VaultName $keyVault -SecretName $secretname Assert-NotNull $sec Assert-SecretAttributes $sec.Attributes $true $null $null $null $null # Update old version using positional parameters - # Set-AzureRMKeyVaultSecretAttribute $keyVault $secretname $v1 -Enable $true -Expires $newexpires -NotBefore $newnbf -ContentType $newcontenttype -Tags $newtags + # Set-AzureKeyVaultSecretAttribute $keyVault $secretname $v1 -Enable $true -Expires $newexpires -NotBefore $newnbf -ContentType $newcontenttype -Tags $newtags # Verify old Version changed - #$sec=Get-AzureRMKeyVaultSecret -VaultName $keyVault -SecretName $secretname -Version $v1 + #$sec=Get-AzureKeyVaultSecret -VaultName $keyVault -SecretName $secretname -Version $v1 #Assert-NotNull $sec #Assert-SecretAttributes $sec.Attributes $true $newexpires $newnbf $newcontenttype $newtags } @@ -351,7 +351,7 @@ function Test_SetSecretInNonExistVault { $keyVault = 'notexistvault' $secretname=Get-SecretName 'nonexist' - Assert-Throws {Set-AzureRMKeyVaultSecretAttribute -VaultName $keyVault -Name $secretname -ContentType $newcontenttype} + Assert-Throws {Set-AzureKeyVaultSecretAttribute -VaultName $keyVault -Name $secretname -ContentType $newcontenttype} } <# @@ -362,7 +362,7 @@ function Test_SetNonExistSecret { $keyVault = Get-KeyVault $secretname=Get-SecretName 'nonexist' - Assert-Throws {Set-AzureRMKeyVaultSecretAttribute -VaultName $keyVault -Name $secretname -ContentType $newcontenttype} + Assert-Throws {Set-AzureKeyVaultSecretAttribute -VaultName $keyVault -Name $secretname -ContentType $newcontenttype} } <# @@ -373,12 +373,12 @@ function Test_SetInvalidSecretAttributes { $keyVault = Get-KeyVault $secretname=Get-SecretName 'invalidattr' - $sec=Set-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata + $sec=Set-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata Assert-NotNull $sec $global:createdSecrets += $secretname Assert-SecretAttributes $sec.Attributes $true $null $null $null $null - Assert-Throws {Set-AzureRMKeyVaultSecretAttribute -VaultName $keyVault -Name $secretname -Expires $nbf -NotBefore $expires } + Assert-Throws {Set-AzureKeyVaultSecretAttribute -VaultName $keyVault -Name $secretname -Expires $nbf -NotBefore $expires } } <# @@ -389,7 +389,7 @@ function Test_SetSecretAttrInNoPermissionVault { $keyVault = Get-KeyVault $false $secretname= Get-SecretName 'nopermission' - Assert-Throws {Set-AzureRMKeyVaultSecretAttribute -VaultName $keyVault -Name $secretname -Enable $true} + Assert-Throws {Set-AzureKeyVaultSecretAttribute -VaultName $keyVault -Name $secretname -Enable $true} } <# @@ -401,13 +401,13 @@ function Test_GetOneSecret { $keyVault = Get-KeyVault $secretname= Get-SecretName 'getone' - $sec=Set-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata + $sec=Set-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata Assert-NotNull $sec $global:createdSecrets += $secretname Assert-AreEqual $sec.SecretValueText $data Assert-SecretAttributes $sec.Attributes $true $null $null $null $null - $sec=Get-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname + $sec=Get-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname Assert-NotNull $sec Assert-AreEqual $sec.SecretValueText $data Assert-SecretAttributes $sec.Attributes $true $null $null $null $null @@ -425,7 +425,7 @@ function Test_GetAllSecrets $total=30 BulkCreateSecrets $keyVault $secretpartialname $total - $secs=Get-AzureRMKeyVaultSecret -VaultName $keyVault + $secs=Get-AzureKeyVaultSecret -VaultName $keyVault Assert-True { $secs.Count -ge $total } } @@ -440,26 +440,26 @@ function Test_GetPreviousVersionOfSecret $secretname= Get-SecretName 'getversion' # set secret for the first time - $sec1=Set-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata + $sec1=Set-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata Assert-NotNull $sec1 $global:createdSecrets += $secretname Assert-AreEqual $sec1.SecretValueText $data Assert-SecretAttributes $sec1.Attributes $true $null $null $null $null # set the same secret with new values and atrributes - $sec2=Set-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $newsecuredata -Expires $expires -NotBefore $nbf -ContentType $contenttype -Tags $tags + $sec2=Set-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $newsecuredata -Expires $expires -NotBefore $nbf -ContentType $contenttype -Tags $tags Assert-NotNull $sec2 Assert-AreEqual $sec2.SecretValueText $newdata Assert-SecretAttributes $sec2.Attributes $true $expires $nbf $contenttype $tags # Get the older version of the secret - $sec3=Get-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -Version $sec1.Version + $sec3=Get-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -Version $sec1.Version Assert-NotNull $sec3 Assert-AreEqual $sec3.SecretValueText $data Assert-SecretAttributes $sec3.Attributes $true $null $null $null $null # Get the newer version of the secret - $sec4=Get-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -Version $sec2.Version + $sec4=Get-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -Version $sec2.Version Assert-NotNull $sec4 Assert-AreEqual $sec4.SecretValueText $newdata Assert-SecretAttributes $sec4.Attributes $true $expires $nbf $contenttype $tags @@ -478,42 +478,42 @@ function Test_GetSecretVersions BulkCreateSecretVersions $keyVault $secretname $total - $secs=Get-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -IncludeVersions + $secs=Get-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -IncludeVersions Assert-True { $secs.Count -ge $total } } <# .SYNOPSIS -Tests Get-AzureRMKeyVaultSecret with positional parameter +Tests Get-AzureKeyVaultSecret with positional parameter #> function Test_GetSecretPositionalParameter { $keyVault = Get-KeyVault $secretname= Get-SecretName 'positional' - $sec=Set-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata + $sec=Set-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata Assert-NotNull $sec $global:createdSecrets += $secretname Assert-AreEqual $sec.SecretValueText $data - $sec=Get-AzureRMKeyVaultSecret $keyVault $secretname + $sec=Get-AzureKeyVaultSecret $keyVault $secretname Assert-NotNull $sec Assert-AreEqual $sec.SecretValueText $data } <# .SYNOPSIS -Tests Get-AzureRMKeyVaultSecret with parameter alias +Tests Get-AzureKeyVaultSecret with parameter alias #> function Test_GetSecretAliasParameter { $keyVault = Get-KeyVault $secretname= Get-SecretName 'alias' - $sec=Set-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata + $sec=Set-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata Assert-NotNull $sec $global:createdSecrets += $secretname Assert-AreEqual $sec.SecretValueText $data - $sec=Get-AzureRMKeyVaultSecret -VaultName $keyVault -SecretName $secretname + $sec=Get-AzureKeyVaultSecret -VaultName $keyVault -SecretName $secretname Assert-NotNull $sec Assert-AreEqual $sec.SecretValueText $data } @@ -525,7 +525,7 @@ Tests get a secret in non-exist key vault function Test_GetSecretInNonExistVault { $keyVault = 'notexistvault' - Assert-Throws {Get-AzureRMKeyVaultSecret -VaultName $keyVault} + Assert-Throws {Get-AzureKeyVaultSecret -VaultName $keyVault} } <# @@ -537,7 +537,7 @@ function Test_GetNonExistSecret $keyVault = Get-KeyVault $secretname= Get-SecretName 'notexistvault' - Assert-Throws {Get-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname} + Assert-Throws {Get-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname} } <# @@ -547,7 +547,7 @@ Tests get secret in a vault the user does not have permission function Test_GetSecretInNoPermissionVault { $keyVault = Get-KeyVault $false - Assert-Throws {Get-AzureRMKeyVaultSecret -VaultName $keyVault} + Assert-Throws {Get-AzureKeyVaultSecret -VaultName $keyVault} } <# @@ -558,68 +558,68 @@ function Test_RemoveSecretWithoutPrompt { $keyVault = Get-KeyVault $secretname= Get-SecretName 'remove' - $sec=Set-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata + $sec=Set-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata Assert-NotNull $sec $global:createdSecrets += $secretname - $sec=Remove-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -Force -Confirm:$false -PassThru + $sec=Remove-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -Force -Confirm:$false -PassThru Assert-NotNull $sec - Assert-Throws { Get-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname } + Assert-Throws { Get-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname } } <# .SYNOPSIS -Tests Remove-AzureRMKeyVaultSecret with whatif option +Tests Remove-AzureKeyVaultSecret with whatif option #> function Test_RemoveSecretWhatIf { $keyVault = Get-KeyVault $secretname= Get-SecretName 'whatif' - $sec=Set-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata + $sec=Set-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata Assert-NotNull $sec $global:createdSecrets += $secretname - Remove-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -WhatIf -Force + Remove-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -WhatIf -Force - $sec=Get-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname + $sec=Get-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname Assert-NotNull $sec } <# .SYNOPSIS -Tests Remove-AzureRMKeyVaultSecret with positional parameter +Tests Remove-AzureKeyVaultSecret with positional parameter #> function Test_RemoveSecretPositionalParameter { $keyVault = Get-KeyVault $secretname= Get-SecretName 'positional' - $sec=Set-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata + $sec=Set-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata Assert-NotNull $sec $global:createdSecrets += $secretname Assert-AreEqual $sec.SecretValueText $data - Remove-AzureRMKeyVaultSecret $keyVault $secretname -Force -Confirm:$false + Remove-AzureKeyVaultSecret $keyVault $secretname -Force -Confirm:$false - Assert-Throws {Get-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname} + Assert-Throws {Get-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname} } <# .SYNOPSIS -Tests Remove-AzureRMKeyVaultSecret with parameter alias +Tests Remove-AzureKeyVaultSecret with parameter alias #> function Test_RemoveSecretAliasParameter { $keyVault = Get-KeyVault $secretname= Get-SecretName 'alias' - $sec=Set-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata + $sec=Set-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata Assert-NotNull $sec $global:createdSecrets += $secretname Assert-AreEqual $sec.SecretValueText $data - Remove-AzureRMKeyVaultSecret -VaultName $keyVault -SecretName $secretname -Force -Confirm:$false + Remove-AzureKeyVaultSecret -VaultName $keyVault -SecretName $secretname -Force -Confirm:$false - Assert-Throws {Get-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname} + Assert-Throws {Get-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname} } <# @@ -630,7 +630,7 @@ function Test_RemoveSecretInNonExistVault { $keyVault = 'notexistvault' $secretname= Get-SecretName 'notexistvault' - Assert-Throws {Remove-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -Force -Confirm:$false} + Assert-Throws {Remove-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -Force -Confirm:$false} } <# @@ -642,7 +642,7 @@ function Test_RemoveNonExistSecret $keyVault = Get-KeyVault $secretname= Get-SecretName 'notexistvault' - Assert-Throws {Remove-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -Force -Confirm:$false} + Assert-Throws {Remove-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -Force -Confirm:$false} } <# @@ -653,7 +653,7 @@ function Test_RemoveSecretInNoPermissionVault { $keyVault = Get-KeyVault $false $secretname= Get-SecretName 'nopermission' - Assert-Throws {Remove-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -Force -Confirm:$false} + Assert-Throws {Remove-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -Force -Confirm:$false} } <# @@ -666,8 +666,8 @@ function Test_PipelineUpdateSecrets $secretpartialname=Get-SecretName 'pipeupdate' $total=2 BulkCreateSecrets $keyVault $secretpartialname $total - Get-AzureRMKeyVaultSecret $keyVault | Where-Object {$_.SecretName -like $secretpartialname+'*'} | Set-AzureRMKeyVaultSecret -SecretValue $newsecuredata - Get-AzureRMKeyVaultSecret $keyVault | Where-Object {$_.SecretName -like $secretpartialname+'*'} | ForEach-Object { Assert-AreEqual $_.SecretValueText $newdata } + Get-AzureKeyVaultSecret $keyVault | Where-Object {$_.SecretName -like $secretpartialname+'*'} | Set-AzureKeyVaultSecret -SecretValue $newsecuredata + Get-AzureKeyVaultSecret $keyVault | Where-Object {$_.SecretName -like $secretpartialname+'*'} | ForEach-Object { Assert-AreEqual $_.SecretValueText $newdata } } <# @@ -681,11 +681,11 @@ function Test_PipelineUpdateSecretAttributes $total=2 BulkCreateSecrets $keyVault $secretpartialname $total - Get-AzureRMKeyVaultSecret $keyVault | Where-Object {$_.SecretName -like $secretpartialname+'*'} | Set-AzureRMKeyVaultSecretAttribute -ContentType $newcontenttype - Get-AzureRMKeyVaultSecret $keyVault | Where-Object {$_.SecretName -like $secretpartialname+'*'} | ForEach-Object { Assert-True { Equal-String $newcontenttype $_.ContentType }} + Get-AzureKeyVaultSecret $keyVault | Where-Object {$_.SecretName -like $secretpartialname+'*'} | Set-AzureKeyVaultSecretAttribute -ContentType $newcontenttype + Get-AzureKeyVaultSecret $keyVault | Where-Object {$_.SecretName -like $secretpartialname+'*'} | ForEach-Object { Assert-True { Equal-String $newcontenttype $_.ContentType }} - Get-AzureRMKeyVaultSecret $keyVault | Where-Object {$_.SecretName -like $secretpartialname+'*'} | Set-AzureRMKeyVaultSecretAttribute -Tags $newtags - Get-AzureRMKeyVaultSecret $keyVault | Where-Object {$_.SecretName -like $secretpartialname+'*'} | ForEach-Object { Assert-True { Equal-Hashtable $newtags $_.Tags }} + Get-AzureKeyVaultSecret $keyVault | Where-Object {$_.SecretName -like $secretpartialname+'*'} | Set-AzureKeyVaultSecretAttribute -Tags $newtags + Get-AzureKeyVaultSecret $keyVault | Where-Object {$_.SecretName -like $secretpartialname+'*'} | ForEach-Object { Assert-True { Equal-Hashtable $newtags $_.Tags }} } <# @@ -700,11 +700,11 @@ function Test_PipelineUpdateSecretVersions $total=2 BulkCreateSecretVersions $keyVault $secretname $total - Get-AzureRMKeyVaultSecret $keyVault $secretname -IncludeVersions | Set-AzureRMKeyVaultSecretAttribute -Expires $newexpires - Get-AzureRMKeyVaultSecret $keyVault $secretname -IncludeVersions | ForEach-Object { Assert-True { Equal-DateTime $newexpires $_.Expires }} + Get-AzureKeyVaultSecret $keyVault $secretname -IncludeVersions | Set-AzureKeyVaultSecretAttribute -Expires $newexpires + Get-AzureKeyVaultSecret $keyVault $secretname -IncludeVersions | ForEach-Object { Assert-True { Equal-DateTime $newexpires $_.Expires }} - Get-AzureRMKeyVaultSecret $keyVault $secretname -IncludeVersions | Set-AzureRMKeyVaultSecretAttribute -Tags $newtags - Get-AzureRMKeyVaultSecret $keyVault $secretname -IncludeVersions | ForEach-Object { Assert-True { Equal-Hashtable $newtags $_.Tags }} + Get-AzureKeyVaultSecret $keyVault $secretname -IncludeVersions | Set-AzureKeyVaultSecretAttribute -Tags $newtags + Get-AzureKeyVaultSecret $keyVault $secretname -IncludeVersions | ForEach-Object { Assert-True { Equal-Hashtable $newtags $_.Tags }} } <# @@ -718,8 +718,8 @@ function Test_PipelineRemoveSecrets $secretpartialname=Get-SecretName 'piperemove' $total=2 BulkCreateSecrets $keyVault $secretpartialname $total - Get-AzureRMKeyVaultSecret $keyVault | Where-Object {$_.SecretName -like $secretpartialname+'*'} | Remove-AzureRMKeyVaultSecret -Force -Confirm:$false + Get-AzureKeyVaultSecret $keyVault | Where-Object {$_.SecretName -like $secretpartialname+'*'} | Remove-AzureKeyVaultSecret -Force -Confirm:$false - $secs = Get-AzureRMKeyVaultSecret $keyVault | Where-Object {$_.SecretName -like $secretpartialname+'*'} + $secs = Get-AzureKeyVaultSecret $keyVault | Where-Object {$_.SecretName -like $secretpartialname+'*'} Assert-AreEqual $secs.Count 0 } \ No newline at end of file diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/VaultUITests.ps1 b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/VaultUITests.ps1 index 9c776484c2e0..296b066f91a2 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/VaultUITests.ps1 +++ b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Scripts/VaultUITests.ps1 @@ -12,16 +12,16 @@ function Test_RemoveKeyWithTwoConfirmations Write-Host "Type 'Yes' twice" $keyVault = Get-KeyVault $keyname=Get-KeyName 'remove' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' Assert-NotNull $key $global:createdKeys += $keyname $cr=$global:ConfirmPreference $global:ConfirmPreference="High" - Remove-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname + Remove-AzureKeyVaultKey -VaultName $keyVault -Name $keyname $global:ConfirmPreference=$cr - Assert-Throws { Get-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname} + Assert-Throws { Get-AzureKeyVaultKey -VaultName $keyVault -Name $keyname} } <# @@ -33,16 +33,16 @@ function Test_RemoveKeyWithOneConfirmations Write-Host "Type 'Yes' once" $keyVault = Get-KeyVault $keyname=Get-KeyName 'remove' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' Assert-NotNull $key $global:createdKeys += $keyname $cr=$global:ConfirmPreference $global:ConfirmPreference="High" - Remove-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Force + Remove-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Force $global:ConfirmPreference=$cr - Assert-Throws { Get-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname} + Assert-Throws { Get-AzureKeyVaultKey -VaultName $keyVault -Name $keyname} } <# @@ -54,16 +54,16 @@ function Test_CancelKeyRemovalOnce Write-Host "Type 'No' once" $keyVault = Get-KeyVault $keyname=Get-KeyName 'remove' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' Assert-NotNull $key $global:createdKeys += $keyname $cr=$global:ConfirmPreference $global:ConfirmPreference="High" - Remove-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname + Remove-AzureKeyVaultKey -VaultName $keyVault -Name $keyname $global:ConfirmPreference=$cr - $key=Get-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname + $key=Get-AzureKeyVaultKey -VaultName $keyVault -Name $keyname Assert-NotNull $key } @@ -76,16 +76,16 @@ function Test_ConfirmThenCancelKeyRemoval Write-Host "Type 'Yes' first. Then type 'No'" $keyVault = Get-KeyVault $keyname=Get-KeyName 'remove' - $key=Add-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' + $key=Add-AzureKeyVaultKey -VaultName $keyVault -Name $keyname -Destination 'Software' Assert-NotNull $key $global:createdKeys += $keyname $cr=$global:ConfirmPreference $global:ConfirmPreference="High" - Remove-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname + Remove-AzureKeyVaultKey -VaultName $keyVault -Name $keyname $global:ConfirmPreference=$cr - $key=Get-AzureRMKeyVaultKey -VaultName $keyVault -Name $keyname + $key=Get-AzureKeyVaultKey -VaultName $keyVault -Name $keyname Assert-NotNull $key } @@ -100,16 +100,16 @@ function Test_RemoveSecretWithTwoConfirmations Write-Host "Type 'Yes' twice" $keyVault = Get-KeyVault $secretname= Get-SecretName 'remove' - $sec=Set-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata + $sec=Set-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata Assert-NotNull $sec $global:createdSecrets += $secretname $cr=$global:ConfirmPreference $global:ConfirmPreference="High" - Remove-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname + Remove-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname $global:ConfirmPreference=$cr - Assert-Throws { Get-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname } + Assert-Throws { Get-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname } } <# @@ -121,16 +121,16 @@ function Test_RemoveSecretWithOneConfirmations Write-Host "Type 'Yes' once" $keyVault = Get-KeyVault $secretname= Get-SecretName 'remove' - $sec=Set-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata + $sec=Set-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata Assert-NotNull $sec $global:createdSecrets += $secretname $cr=$global:ConfirmPreference $global:ConfirmPreference="High" - Remove-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -Force + Remove-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -Force $global:ConfirmPreference=$cr - Assert-Throws { Get-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname } + Assert-Throws { Get-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname } } <# @@ -142,16 +142,16 @@ function Test_CancelSecretRemovalOnce Write-Host "Type 'No' once" $keyVault = Get-KeyVault $secretname= Get-SecretName 'remove' - $sec=Set-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata + $sec=Set-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata Assert-NotNull $sec $global:createdSecrets += $secretname $cr=$global:ConfirmPreference $global:ConfirmPreference="High" - Remove-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname + Remove-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname $global:ConfirmPreference=$cr - $sec=Get-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname + $sec=Get-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname Assert-NotNull $sec } @@ -164,16 +164,16 @@ function Test_ConfirmThenCancelSecretRemoval Write-Host "Type 'Yes' first. Then type 'No'" $keyVault = Get-KeyVault $secretname= Get-SecretName 'remove' - $sec=Set-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata + $sec=Set-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname -SecretValue $securedata Assert-NotNull $sec $global:createdSecrets += $secretname $cr=$global:ConfirmPreference $global:ConfirmPreference="High" - Remove-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname + Remove-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname $global:ConfirmPreference=$cr - $sec=Get-AzureRMKeyVaultSecret -VaultName $keyVault -Name $secretname + $sec=Get-AzureKeyVaultSecret -VaultName $keyVault -Name $secretname Assert-NotNull $sec } diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/AddAzureKeyVaultKey.cs b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/AddAzureKeyVaultKey.cs index 0cd36b9bf59b..947528113132 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/AddAzureKeyVaultKey.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/AddAzureKeyVaultKey.cs @@ -34,7 +34,7 @@ namespace Microsoft.Azure.Commands.KeyVault /// 4 .Create a HSM or software key by importing key material with given key /// attributes /// </summary> - [Cmdlet(VerbsCommon.Add, "AzureRMKeyVaultKey", + [Cmdlet(VerbsCommon.Add, "AzureRmKeyVaultKey", DefaultParameterSetName = CreateParameterSet, HelpUri = Constants.KeyVaultHelpUri)] [OutputType(typeof(KeyBundle))] diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/BackupAzureKeyVaultKey.cs b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/BackupAzureKeyVaultKey.cs index 5efc4007b8ce..93fcf472b4cc 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/BackupAzureKeyVaultKey.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/BackupAzureKeyVaultKey.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.KeyVault /// <summary> /// Requests that a backup of the specified key be downloaded and stored to a file /// </summary> - [Cmdlet(VerbsData.Backup, "AzureRMKeyVaultKey", HelpUri = Constants.KeyVaultHelpUri)] + [Cmdlet(VerbsData.Backup, "AzureRmKeyVaultKey", HelpUri = Constants.KeyVaultHelpUri)] [OutputType(typeof(String))] public class BackupAzureKeyVaultKey : KeyVaultCmdletBase { diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/GetAzureKeyVault.cs b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/GetAzureKeyVault.cs index f66f587d6f1e..1b26556b7315 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/GetAzureKeyVault.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/GetAzureKeyVault.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.KeyVault { - [Cmdlet(VerbsCommon.Get, "AzureRMKeyVault", HelpUri = Constants.KeyVaultHelpUri)] + [Cmdlet(VerbsCommon.Get, "AzureRmKeyVault", HelpUri = Constants.KeyVaultHelpUri)] [OutputType(typeof(PSKeyVaultModels.PSVault), typeof(List<PSKeyVaultModels.PSVaultIdentityItem>))] public class GetAzureKeyVault : KeyVaultManagementCmdletBase { diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/GetAzureKeyVaultKey.cs b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/GetAzureKeyVaultKey.cs index 45fc4c73ab7d..79a1966e4bac 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/GetAzureKeyVaultKey.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/GetAzureKeyVaultKey.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.KeyVault { - [Cmdlet(VerbsCommon.Get, "AzureRMKeyVaultKey", + [Cmdlet(VerbsCommon.Get, "AzureRmKeyVaultKey", DefaultParameterSetName = ByVaultNameParameterSet, HelpUri = Constants.KeyVaultHelpUri)] [OutputType(typeof(List<KeyIdentityItem>), typeof(KeyBundle))] diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/GetAzureKeyVaultSecret.cs b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/GetAzureKeyVaultSecret.cs index f7d2dad3bddc..4a486c192cf3 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/GetAzureKeyVaultSecret.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/GetAzureKeyVaultSecret.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.KeyVault { - [Cmdlet(VerbsCommon.Get, "AzureRMKeyVaultSecret", + [Cmdlet(VerbsCommon.Get, "AzureRmKeyVaultSecret", DefaultParameterSetName = ByVaultNameParameterSet, HelpUri = Constants.KeyVaultHelpUri)] [OutputType(typeof(List<SecretIdentityItem>), typeof(Secret))] diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/NewAzureKeyVault.cs b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/NewAzureKeyVault.cs index 4e4fdf7acc8e..fed2a7bba22d 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/NewAzureKeyVault.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/NewAzureKeyVault.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.KeyVault /// <summary> /// Create a new key vault. /// </summary> - [Cmdlet(VerbsCommon.New, "AzureRMKeyVault", HelpUri = Constants.KeyVaultHelpUri)] + [Cmdlet(VerbsCommon.New, "AzureRmKeyVault", HelpUri = Constants.KeyVaultHelpUri)] [OutputType(typeof (PSKeyVaultModels.PSVault))] public class NewAzureKeyVault : KeyVaultManagementCmdletBase { @@ -59,7 +59,7 @@ public class NewAzureKeyVault : KeyVaultManagementCmdletBase [Parameter(Mandatory = true, Position = 2, ValueFromPipelineByPropertyName = true, - HelpMessage = "Specifies the Azure region in which to create the key vault. Use the command Get-AzureRMLocation to see your choices. For more information, type Get-Help Get-AzureRMLocation.")] + HelpMessage = "Specifies the Azure region in which to create the key vault. Use the command Get-AzureRmLocation to see your choices. For more information, type Get-Help Get-AzureRmLocation.")] [ValidateNotNullOrEmpty()] public string Location { get; set; } diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RemoveAzureKeyVault.cs b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RemoveAzureKeyVault.cs index 75a865ca8a0e..71ef58a581d3 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RemoveAzureKeyVault.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RemoveAzureKeyVault.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.KeyVault { - [Cmdlet(VerbsCommon.Remove, "AzureRMKeyVault", + [Cmdlet(VerbsCommon.Remove, "AzureRmKeyVault", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High, HelpUri = Constants.KeyVaultHelpUri)] diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RemoveAzureKeyVaultAccessPolicy.cs b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RemoveAzureKeyVaultAccessPolicy.cs index 36f53619fbfc..de969e048ba1 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RemoveAzureKeyVaultAccessPolicy.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RemoveAzureKeyVaultAccessPolicy.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.KeyVault { - [Cmdlet(VerbsCommon.Remove, "AzureRMKeyVaultAccessPolicy", HelpUri = Constants.KeyVaultHelpUri)] + [Cmdlet(VerbsCommon.Remove, "AzureRmKeyVaultAccessPolicy", HelpUri = Constants.KeyVaultHelpUri)] [OutputType(typeof(PSKeyVaultModels.PSVault))] public class RemoveAzureKeyVaultAccessPolicy : KeyVaultManagementCmdletBase { diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RemoveAzureKeyVaultKey.cs b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RemoveAzureKeyVaultKey.cs index d3eadfa1ac1b..ea8c2c8cc4dd 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RemoveAzureKeyVaultKey.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RemoveAzureKeyVaultKey.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.KeyVault { - [Cmdlet(VerbsCommon.Remove, "AzureRMKeyVaultKey", + [Cmdlet(VerbsCommon.Remove, "AzureRmKeyVaultKey", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High, HelpUri = Constants.KeyVaultHelpUri)] diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RemoveAzureKeyVaultSecret.cs b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RemoveAzureKeyVaultSecret.cs index 7d38498c0896..d28d73f0d7f6 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RemoveAzureKeyVaultSecret.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RemoveAzureKeyVaultSecret.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.KeyVault { - [Cmdlet(VerbsCommon.Remove, "AzureRMKeyVaultSecret", + [Cmdlet(VerbsCommon.Remove, "AzureRmKeyVaultSecret", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High, HelpUri = Constants.KeyVaultHelpUri)] diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RestoreAzureKeyVaultKey.cs b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RestoreAzureKeyVaultKey.cs index b47b3c2d31db..c76614d9c3e2 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RestoreAzureKeyVaultKey.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RestoreAzureKeyVaultKey.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.KeyVault /// <summary> /// Restores the backup key into a vault /// </summary> - [Cmdlet(VerbsData.Restore, "AzureRMKeyVaultKey", HelpUri = Constants.KeyVaultHelpUri)] + [Cmdlet(VerbsData.Restore, "AzureRmKeyVaultKey", HelpUri = Constants.KeyVaultHelpUri)] [OutputType(typeof(KeyBundle))] public class RestoreAzureKeyVaultKey : KeyVaultCmdletBase { diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/SetAzureKeyVaultAccessPolicy.cs b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/SetAzureKeyVaultAccessPolicy.cs index 17d1639eaeb0..eb9ceb67e3f1 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/SetAzureKeyVaultAccessPolicy.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/SetAzureKeyVaultAccessPolicy.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.KeyVault { - [Cmdlet(VerbsCommon.Set, "AzureRMKeyVaultAccessPolicy", HelpUri = Constants.KeyVaultHelpUri)] + [Cmdlet(VerbsCommon.Set, "AzureRmKeyVaultAccessPolicy", HelpUri = Constants.KeyVaultHelpUri)] [OutputType(typeof(PSKeyVaultModels.PSVault))] public class SetAzureKeyVaultAccessPolicy : KeyVaultManagementCmdletBase { diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/SetAzureKeyVaultKeyAttribute.cs b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/SetAzureKeyVaultKeyAttribute.cs index 76ff7d6fbd0e..79d154332aa5 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/SetAzureKeyVaultKeyAttribute.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/SetAzureKeyVaultKeyAttribute.cs @@ -22,8 +22,8 @@ namespace Microsoft.Azure.Commands.KeyVault /// <summary> /// Update attribute of a key vault key. /// </summary> - [Alias("Set-AzureRMKeyVaultKey")] - [Cmdlet(VerbsCommon.Set, "AzureRMKeyVaultKeyAttribute", HelpUri = Constants.KeyVaultHelpUri)] + [Alias("Set-AzureKeyVaultKey")] + [Cmdlet(VerbsCommon.Set, "AzureRmKeyVaultKeyAttribute", HelpUri = Constants.KeyVaultHelpUri)] [OutputType(typeof(KeyBundle))] public class SetAzureKeyVaultKeyAttribute : KeyVaultCmdletBase { diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/SetAzureKeyVaultSecret.cs b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/SetAzureKeyVaultSecret.cs index b440eb413880..55c175558b42 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/SetAzureKeyVaultSecret.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/SetAzureKeyVaultSecret.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.KeyVault { - [Cmdlet(VerbsCommon.Set, "AzureRMKeyVaultSecret", HelpUri = Constants.KeyVaultHelpUri)] + [Cmdlet(VerbsCommon.Set, "AzureRmKeyVaultSecret", HelpUri = Constants.KeyVaultHelpUri)] [OutputType(typeof(Secret))] public class SetAzureKeyVaultSecret : KeyVaultCmdletBase { diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/SetAzureKeyVaultSecretAttribute.cs b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/SetAzureKeyVaultSecretAttribute.cs index c58019a02984..c67b068df682 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/SetAzureKeyVaultSecretAttribute.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/SetAzureKeyVaultSecretAttribute.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.KeyVault { - [Cmdlet(VerbsCommon.Set, "AzureRMKeyVaultSecretAttribute", HelpUri = Constants.KeyVaultHelpUri)] + [Cmdlet(VerbsCommon.Set, "AzureRmKeyVaultSecretAttribute", HelpUri = Constants.KeyVaultHelpUri)] [OutputType(typeof(Secret))] public class SetAzureKeyVaultSecretAttribute : KeyVaultCmdletBase { diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Microsoft.Azure.Commands.KeyVault.dll-help.xml b/src/ResourceManager/KeyVault/Commands.KeyVault/Microsoft.Azure.Commands.KeyVault.dll-help.xml index 0fc0bc682911..abbccf43162e 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Microsoft.Azure.Commands.KeyVault.dll-help.xml +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Microsoft.Azure.Commands.KeyVault.dll-help.xml @@ -3,7 +3,7 @@ <!-- Updatable Help Version 1.0.0.0 --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Add-AzureRMKeyVaultKey</command:name> + <command:name>Add-AzureKeyVaultKey</command:name> <maml:description> <maml:para>Creates a key in a vault or imports a key into a vault. </maml:para> </maml:description> @@ -15,7 +15,7 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Add-AzureRMKeyVaultKey cmdlet creates a key in an Azure Key Vault, or imports a key into a vault. Use this cmdlet to add keys by using any of the following methods: + <maml:para>The Add-AzureKeyVaultKey cmdlet creates a key in an Azure Key Vault, or imports a key into a vault. Use this cmdlet to add keys by using any of the following methods: -- Create a key in a hardware security module (HSM) in the Azure Key Vault service. -- Create a key in software in the Azure Key Vault service. @@ -31,7 +31,7 @@ Note: To import a key from your own hardware security module, you must first gen </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Add-AzureRMKeyVaultKey</maml:name> + <maml:name>Add-AzureKeyVaultKey</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>VaultName</maml:name> <maml:description> @@ -132,7 +132,7 @@ Note: To import a key from your own hardware security module, you must first gen </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Add-AzureRMKeyVaultKey</maml:name> + <maml:name>Add-AzureKeyVaultKey</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>VaultName</maml:name> <maml:description> @@ -409,7 +409,7 @@ Note: To import a key from your own hardware security module, you must first gen <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITSoftware" -Destination "Software" + <dev:code>PS C:\&gt;Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITSoftware" -Destination "Software" </dev:code> <dev:remarks> <maml:para>This command creates a software-protected key named ITSoftware in the vault named Contoso.</maml:para> @@ -428,7 +428,7 @@ Note: To import a key from your own hardware security module, you must first gen <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITHsm" -Destination "HSM" + <dev:code>PS C:\&gt;Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITHsm" -Destination "HSM" </dev:code> <dev:remarks> <maml:para>This command creates an HSM-protected key in the key vault named Contoso.</maml:para> @@ -451,13 +451,13 @@ Note: To import a key from your own hardware security module, you must first gen PS C:\&gt; $Expires = (Get-Date).AddYears(2).ToUniversalTime() PS C:\&gt; $NotBefore = (Get-Date).ToUniversalTime() PS C:\&gt; $Tags = @{'Severity' = 'high'; 'Accounting' = null} -PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITHsmNonDefault" -Destination "HSM" -Expires $Expires -NotBefore $NotBefore -KeyOps $KeyOperations –Disable -Tags $Tags +PS C:\&gt; Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITHsmNonDefault" -Destination "HSM" -Expires $Expires -NotBefore $NotBefore -KeyOps $KeyOperations –Disable -Tags $Tags </dev:code> <dev:remarks> <maml:para>The first command stores the values decrypt and verify in the $KeyOperations variable.</maml:para> <maml:para>The second command creates a DateTime object, defined in UTC, by using the Get-Date cmdlet. That object specifies a time two years in the future. The command stores that date in the $Expires variable. For more information, type Get-Help Get-Date.</maml:para> <maml:para>The third command creates a DateTime object by using the Get-Date cmdlet. That object specifies current UTC time. The command stores that date in the $NotBefore variable. </maml:para> - <maml:para>The final command creates a key named ITHsmNonDefault that is an HSM-protected key. The command specifies values for allowed key operations stored $KeyOperations. The command specifies times for the Expires and NotBefore parameters created in the previous commands, and tags for high severity and IT. The new key is disabled. You can enable it by using the Set-AzureRMKeyVaultKey cmdlet.</maml:para> + <maml:para>The final command creates a key named ITHsmNonDefault that is an HSM-protected key. The command specifies values for allowed key operations stored $KeyOperations. The command specifies times for the Expires and NotBefore parameters created in the previous commands, and tags for high severity and IT. The new key is disabled. You can enable it by using the Set-AzureKeyVaultKey cmdlet.</maml:para> <maml:para /> <maml:para /> </dev:remarks> @@ -473,7 +473,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITHsmNonDefault" - <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITByok" -KeyFilePath "C:\Contoso\ITByok.byok" -Destination "HSM" + <dev:code>PS C:\&gt;Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITByok" -KeyFilePath "C:\Contoso\ITByok.byok" -Destination "HSM" </dev:code> <dev:remarks> <maml:para>This command imports the key named ITByok from the location that the KeyFilePath parameter specifies. The imported key is an HSM-protected key.</maml:para> @@ -494,7 +494,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITHsmNonDefault" - </maml:para> </maml:introduction> <dev:code>PS C:\&gt;$Password = ConvertTo-SecureString -String "Password" -AsPlainText -Force -PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfx" -KeyFilePath "C:\Contoso\ITPfx.pfx" -KeyFilePassword $Password +PS C:\&gt; Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfx" -KeyFilePath "C:\Contoso\ITPfx.pfx" -KeyFilePassword $Password </dev:code> <dev:remarks> <maml:para>The first command converts a string into a secure string by using the ConvertTo-SecureString cmdlet, and then stores that string in the $Password variable. For more information, type Get-Help ConvertTo-SecureString.</maml:para> @@ -517,7 +517,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfx" -KeyFilePat <dev:code>PS C:\&gt;$Password = ConvertTo-SecureString -String "password" -AsPlainText -Force PS C:\&gt; $Expires = (Get-Date).AddYears(2).ToUniversalTime() PS C:\&gt; $Tags = @{ 'Severity' = 'high'; 'Accounting' = null } -PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destination "HSM" -KeyFilePath "C:\Contoso\ITPfx.pfx" -KeyFilePassword $Password -Expires $Expires -Tags $Tags +PS C:\&gt; Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destination "HSM" -KeyFilePath "C:\Contoso\ITPfx.pfx" -KeyFilePassword $Password -Expires $Expires -Tags $Tags </dev:code> <dev:remarks> <maml:para>The first command converts a string into a secure string by using the ConvertTo-SecureString cmdlet, and then stores that string in the $Password variable. </maml:para> @@ -540,26 +540,26 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:uri>http://go.microsoft.com/fwlink/?LinkId=520396</maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Backup-AzureRMKeyVaultKey</maml:linkText> + <maml:linkText>Backup-AzureKeyVaultKey</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMKeyVaultKey</maml:linkText> + <maml:linkText>Get-AzureKeyVaultKey</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMKeyVaultKey</maml:linkText> + <maml:linkText>Remove-AzureKeyVaultKey</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMKeyVaultKeyAttribute</maml:linkText> + <maml:linkText>Set-AzureKeyVaultKeyAttribute</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Backup-AzureRMKeyVaultKey</command:name> + <command:name>Backup-AzureKeyVaultKey</command:name> <maml:description> <maml:para>Backs up a key in a vault. </maml:para> </maml:description> @@ -571,15 +571,15 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <dev:version /> </command:details> <maml:description> - <maml:para>The Backup-AzureRMKeyVaultKey cmdlet backs up a specified key in a vault by downloading it and storing it in a file. If there are multiple versions of the key, all versions are included in the backup. Because the downloaded content is encrypted, it cannot be used outside of Azure Key Vault. You can restore a backed-up key to any key vault in the subscription that it was backed up from.</maml:para> + <maml:para>The Backup-AzureKeyVaultKey cmdlet backs up a specified key in a vault by downloading it and storing it in a file. If there are multiple versions of the key, all versions are included in the backup. Because the downloaded content is encrypted, it cannot be used outside of Azure Key Vault. You can restore a backed-up key to any key vault in the subscription that it was backed up from.</maml:para> <maml:para>Typical reasons to use this cmdlet are: -- You want to escrow a copy of your key, so that you have an offline copy in case you accidentally delete your key in your key vault. - -- You created a key using Azure Key Vault and now want to clone the key into a different Azure region, so that you can use it from all instances of your distributed application. Use the Backup-AzureRMKeyVaultKey cmdlet to retrieve the key in encrypted format and then use the Restore-AzureRMKeyVaultKey cmdlet and specify a key vault in the second region.</maml:para> + -- You created a key using Azure Key Vault and now want to clone the key into a different Azure region, so that you can use it from all instances of your distributed application. Use the Backup-AzureKeyVaultKey cmdlet to retrieve the key in encrypted format and then use the Restore-AzureKeyVaultKey cmdlet and specify a key vault in the second region.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Backup-AzureRMKeyVaultKey</maml:name> + <maml:name>Backup-AzureKeyVaultKey</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>VaultName</maml:name> <maml:description> @@ -703,7 +703,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Backup-AzureRMKeyVaultKey -VaultName "MyKeyVault" -Name "MyKey" + <dev:code>PS C:\&gt;Backup-AzureKeyVaultKey -VaultName "MyKeyVault" -Name "MyKey" </dev:code> <dev:remarks> <maml:para>This command retrieves the key named MyKey from the vault named MyKeyVault and saves a backup of that key to a file that is automatically named for you, and displays the file name. </maml:para> @@ -722,7 +722,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Backup-AzureRMKeyVaultKey -VaultName "MyKeyVault" -Name "MyKey" -OutputFile "C:\Backup.blob" + <dev:code>PS C:\&gt;Backup-AzureKeyVaultKey -VaultName "MyKeyVault" -Name "MyKey" -OutputFile "C:\Backup.blob" </dev:code> <dev:remarks> <maml:para>This command retrieves the key named MyKey from the vault named MyKeyVault and saves a backup of that key to a file named Backup.blob.</maml:para> @@ -742,26 +742,26 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:uri>http://go.microsoft.com/fwlink/?LinkId=522259</maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Add-AzureRMKeyVaultKey</maml:linkText> + <maml:linkText>Add-AzureKeyVaultKey</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMKeyVaultKey</maml:linkText> + <maml:linkText>Get-AzureKeyVaultKey</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMKeyVaultKey</maml:linkText> + <maml:linkText>Remove-AzureKeyVaultKey</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Restore-AzureRMKeyVaultKey</maml:linkText> + <maml:linkText>Restore-AzureKeyVaultKey</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMKeyVaultKey</command:name> + <command:name>Get-AzureKeyVaultKey</command:name> <maml:description> <maml:para>Gets the keys in a vault. </maml:para> </maml:description> @@ -773,11 +773,11 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMKeyVaultKey cmdlet gets the keys in an Azure Key Vault. This cmdlet gets a specific Microsoft.Azure.Commands.KeyVault.Models.KeyBundle or a list of all KeyBundle objects in a vault. </maml:para> + <maml:para>The Get-AzureKeyVaultKey cmdlet gets the keys in an Azure Key Vault. This cmdlet gets a specific Microsoft.Azure.Commands.KeyVault.Models.KeyBundle or a list of all KeyBundle objects in a vault. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMKeyVaultKey</maml:name> + <maml:name>Get-AzureKeyVaultKey</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="2" aliases="KeyName"> <maml:name>Name</maml:name> <maml:description> @@ -801,7 +801,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMKeyVaultKey</maml:name> + <maml:name>Get-AzureKeyVaultKey</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1" aliases="none"> <maml:name>VaultName</maml:name> <maml:description> @@ -832,7 +832,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMKeyVaultKey</maml:name> + <maml:name>Get-AzureKeyVaultKey</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1" aliases="none"> <maml:name>VaultName</maml:name> <maml:description> @@ -953,7 +953,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMKeyVaultKey -VaultName "Contoso" + <dev:code>PS C:\&gt;Get-AzureKeyVaultKey -VaultName "Contoso" </dev:code> <dev:remarks> <maml:para>This command gets all the keys in the vault named Contoso. </maml:para> @@ -972,7 +972,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMKeyVaultKey -VaultName "Contoso" -KeyName "ITPfx" + <dev:code>PS C:\&gt;Get-AzureKeyVaultKey -VaultName "Contoso" -KeyName "ITPfx" </dev:code> <dev:remarks> <maml:para>This command gets the current version of the key named ITPfx in the vault named Contoso. </maml:para> @@ -991,7 +991,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMKeyVaultKey -VaultName "Contoso" -KeyName "ITPfx" -IncludeVersions + <dev:code>PS C:\&gt;Get-AzureKeyVaultKey -VaultName "Contoso" -KeyName "ITPfx" -IncludeVersions </dev:code> <dev:remarks> <maml:para>This command gets all versions the key named ITPfx in the vault named Contoso. </maml:para> @@ -1010,7 +1010,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$Key = Get-AzureRMKeyVaultKey -VaultName "Contoso" -KeyName "ITPfx" –Version "5A12A276385949DB8B5F82AFEE85CAED" + <dev:code>PS C:\&gt;$Key = Get-AzureKeyVaultKey -VaultName "Contoso" -KeyName "ITPfx" –Version "5A12A276385949DB8B5F82AFEE85CAED" </dev:code> <dev:remarks> <maml:para>This command gets a specific version of the key named ITPfx in the vault named Contoso. After running this command, you can inspect various properties of the key by navigating the $Key object.</maml:para> @@ -1030,22 +1030,22 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:uri>http://go.microsoft.com/fwlink/?LinkId=521395</maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Add-AzureRMKeyVaultKey</maml:linkText> + <maml:linkText>Add-AzureKeyVaultKey</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMKeyVaultKey</maml:linkText> + <maml:linkText>Remove-AzureKeyVaultKey</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMKeyVaultKeyAttribute</maml:linkText> + <maml:linkText>Set-AzureKeyVaultKeyAttribute</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMKeyVaultSecret</command:name> + <command:name>Get-AzureKeyVaultSecret</command:name> <maml:description> <maml:para>Gets the secrets in a vault. </maml:para> </maml:description> @@ -1057,11 +1057,11 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMKeyVaultSecret cmdlet gets secrets in an Azure Key Vault. This cmdlet gets a specific secret or all the secrets in a vault. </maml:para> + <maml:para>The Get-AzureKeyVaultSecret cmdlet gets secrets in an Azure Key Vault. This cmdlet gets a specific secret or all the secrets in a vault. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMKeyVaultSecret</maml:name> + <maml:name>Get-AzureKeyVaultSecret</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="2" aliases="SecretName"> <maml:name>Name</maml:name> <maml:description> @@ -1085,7 +1085,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMKeyVaultSecret</maml:name> + <maml:name>Get-AzureKeyVaultSecret</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1" aliases="none"> <maml:name>VaultName</maml:name> <maml:description> @@ -1116,7 +1116,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMKeyVaultSecret</maml:name> + <maml:name>Get-AzureKeyVaultSecret</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1" aliases="none"> <maml:name>VaultName</maml:name> <maml:description> @@ -1237,7 +1237,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMKeyVaultSecret -VaultName "Contoso" + <dev:code>PS C:\&gt;Get-AzureKeyVaultSecret -VaultName "Contoso" </dev:code> <dev:remarks> <maml:para>This command gets the current versions of all secrets in the vault named Contoso. </maml:para> @@ -1256,7 +1256,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMKeyVaultSecret -VaultName "Contoso" -Name "ITSecret" -IncludeVersions + <dev:code>PS C:\&gt;Get-AzureKeyVaultSecret -VaultName "Contoso" -Name "ITSecret" -IncludeVersions </dev:code> <dev:remarks> <maml:para>This command gets all versions of the secret named ITSecret in the vault named Contoso. </maml:para> @@ -1275,7 +1275,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMKeyVaultSecret -VaultName "Contoso" -Name "ITSecret" + <dev:code>PS C:\&gt;Get-AzureKeyVaultSecret -VaultName "Contoso" -Name "ITSecret" </dev:code> <dev:remarks> <maml:para>This command gets the current version of the secret named ITSecret in the vault named Contoso. </maml:para> @@ -1294,7 +1294,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMKeyVaultSecret -VaultName "Contoso" -Name "ITSecret" –Version "6A12A286385949DB8B5F82AFEF85CAE9" + <dev:code>PS C:\&gt;Get-AzureKeyVaultSecret -VaultName "Contoso" -Name "ITSecret" –Version "6A12A286385949DB8B5F82AFEF85CAE9" </dev:code> <dev:remarks> <maml:para>This command gets a specific version of the secret named ITSecret in the vault named Contoso. </maml:para> @@ -1314,18 +1314,18 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:uri>http://go.microsoft.com/fwlink/?LinkId=521396</maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMKeyVaultSecret</maml:linkText> + <maml:linkText>Remove-AzureKeyVaultSecret</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMKeyVaultSecret</maml:linkText> + <maml:linkText>Set-AzureKeyVaultSecret</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMKeyVault</command:name> + <command:name>Get-AzureRmKeyVault</command:name> <maml:description> <maml:para>Gets Azure Key Vault instances.</maml:para> </maml:description> @@ -1337,12 +1337,12 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMKeyVault cmdlet gets information about the Azure Key Vault instances in a subscription. You can view all key vault instances in a subscription, or filter your results by a resource group or a particular key vault. </maml:para> + <maml:para>The Get-AzureRmKeyVault cmdlet gets information about the Azure Key Vault instances in a subscription. You can view all key vault instances in a subscription, or filter your results by a resource group or a particular key vault. </maml:para> <maml:para>Note that although specifying the resource group is optional for this cmdlet when you get a single key vault, you should do so for better performance. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMKeyVault</maml:name> + <maml:name>Get-AzureRmKeyVault</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>VaultName</maml:name> <maml:description> @@ -1366,7 +1366,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMKeyVault</maml:name> + <maml:name>Get-AzureRmKeyVault</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="2" aliases="none"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -1383,7 +1383,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMKeyVault</maml:name> + <maml:name>Get-AzureRmKeyVault</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -1487,7 +1487,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMKeyVault + <dev:code>PS C:\&gt;Get-AzureRmKeyVault </dev:code> <dev:remarks> <maml:para>This command gets all the key vaults in your current subscription.</maml:para> @@ -1506,7 +1506,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$MyVault = Get-AzureRMKeyVault -VaultName "Contoso03Vault" + <dev:code>PS C:\&gt;$MyVault = Get-AzureRmKeyVault -VaultName "Contoso03Vault" </dev:code> <dev:remarks> <maml:para>This command gets the key vault named Contoso03Vault in your current subscription, and then stores it in the $MyVault variable. You can inspect the properties of $MyVault to get details about the key vault.</maml:para> @@ -1525,7 +1525,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMKeyVault -ResourceGroupName "ContosoPayRollResourceGroup" + <dev:code>PS C:\&gt;Get-AzureRmKeyVault -ResourceGroupName "ContosoPayRollResourceGroup" </dev:code> <dev:remarks> <maml:para>This command gets all the key vaults in the resource group named ContosoPayRollResourceGroup.</maml:para> @@ -1545,18 +1545,18 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:uri>http://go.microsoft.com/fwlink/?LinkId=522254</maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMKeyVault</maml:linkText> + <maml:linkText>New-AzureRmKeyVault</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMKeyVault</maml:linkText> + <maml:linkText>Remove-AzureRmKeyVault</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMKeyVault</command:name> + <command:name>New-AzureRmKeyVault</command:name> <maml:description> <maml:para>Creates an Azure Key Vault instance.</maml:para> </maml:description> @@ -1568,11 +1568,11 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMKeyVault cmdlet creates an Azure Key Vault instance in the specified resource group. This cmdlet also grants permissions to the currently logged on user to add, remove, or list keys and secrets in the vault.</maml:para> + <maml:para>The New-AzureRmKeyVault cmdlet creates an Azure Key Vault instance in the specified resource group. This cmdlet also grants permissions to the currently logged on user to add, remove, or list keys and secrets in the vault.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMKeyVault</maml:name> + <maml:name>New-AzureRmKeyVault</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>VaultName</maml:name> <maml:description> @@ -1590,7 +1590,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="3" aliases="none"> <maml:name>Location</maml:name> <maml:description> - <maml:para>Specifies the Azure region in which to create the key vault. Use the command Get-AzureRMLocation to see your choices. For more information, type Get-Help Get-AzureRMLocation.</maml:para> + <maml:para>Specifies the Azure region in which to create the key vault. Use the command Get-AzureRmLocation to see your choices. For more information, type Get-Help Get-AzureRmLocation.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -1642,7 +1642,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="3" aliases="none"> <maml:name>Location</maml:name> <maml:description> - <maml:para>Specifies the Azure region in which to create the key vault. Use the command Get-AzureRMLocation to see your choices. For more information, type Get-Help Get-AzureRMLocation.</maml:para> + <maml:para>Specifies the Azure region in which to create the key vault. Use the command Get-AzureRmLocation to see your choices. For more information, type Get-Help Get-AzureRmLocation.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -1753,7 +1753,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;New-AzureRMKeyVault -VaultName "Contoso03Vault" -ResourceGroupName "Group14" -Location "East US" + <dev:code>PS C:\&gt;New-AzureRmKeyVault -VaultName "Contoso03Vault" -ResourceGroupName "Group14" -Location "East US" </dev:code> <dev:remarks> <maml:para>This command creates a key vault named Contoso03Vault, in the Azure region East US. The command adds the key vault to the resource group named Group14. Because the command does not specify a value for the SKU parameter, it creates a Standard key vault. </maml:para> @@ -1772,7 +1772,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;New-AzureRMKeyVault -VaultName "Contoso03Vault" -ResourceGroupName "Group14" -Location "East US" -Sku "Premium" + <dev:code>PS C:\&gt;New-AzureRmKeyVault -VaultName "Contoso03Vault" -ResourceGroupName "Group14" -Location "East US" -Sku "Premium" </dev:code> <dev:remarks> <maml:para>This command creates a key vault, just like the previous example. However, it specifies a value of Premium for the SKU parameter to create a Premium key vault. </maml:para> @@ -1792,18 +1792,18 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:uri>http://go.microsoft.com/fwlink/?LinkId=522255</maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMKeyVault</maml:linkText> + <maml:linkText>Get-AzureRmKeyVault</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMKeyVault</maml:linkText> + <maml:linkText>Remove-AzureRmKeyVault</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMKeyVaultAccessPolicy</command:name> + <command:name>Remove-AzureRmKeyVaultAccessPolicy</command:name> <maml:description> <maml:para>Removes all permissions for a user or application from the Azure Key Vault.</maml:para> </maml:description> @@ -1815,12 +1815,12 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMKeyVaultAccessPolicy cmdlet removes all permissions for a user or application or for all users and applications from the Azure Key Vault. Even if you remove all permissions, the owner of the Azure subscription that contains the vault can add permissions to the key vault.</maml:para> + <maml:para>The Remove-AzureRmKeyVaultAccessPolicy cmdlet removes all permissions for a user or application or for all users and applications from the Azure Key Vault. Even if you remove all permissions, the owner of the Azure subscription that contains the vault can add permissions to the key vault.</maml:para> <maml:para>Note that although specifying the resource group is optional for this cmdlet, you should do so for better performance. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMKeyVaultAccessPolicy</maml:name> + <maml:name>Remove-AzureRmKeyVaultAccessPolicy</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="2" aliases="none"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -1849,7 +1849,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMKeyVaultAccessPolicy</maml:name> + <maml:name>Remove-AzureRmKeyVaultAccessPolicy</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>VaultName</maml:name> <maml:description> @@ -1892,7 +1892,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMKeyVaultAccessPolicy</maml:name> + <maml:name>Remove-AzureRmKeyVaultAccessPolicy</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>VaultName</maml:name> <maml:description> @@ -1935,7 +1935,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMKeyVaultAccessPolicy</maml:name> + <maml:name>Remove-AzureRmKeyVaultAccessPolicy</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>VaultName</maml:name> <maml:description> @@ -2117,7 +2117,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Remove-AzureRMKeyVaultAccessPolicy -VaultName "Contoso03Vault" -UserPrincipalName "PattiFuller@contoso.com" + <dev:code>PS C:\&gt;Remove-AzureRmKeyVaultAccessPolicy -VaultName "Contoso03Vault" -UserPrincipalName "PattiFuller@contoso.com" </dev:code> <dev:remarks> <maml:para>This command removes all the permissions that a user PattiFuller@contoso.com has on the key vault named Contoso03Vault.</maml:para> @@ -2136,7 +2136,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Remove-AzureRMKeyVaultAccessPolicy -VaultName "Contoso03Vault" -ServicePrincipalName "http://payroll.contoso.com" + <dev:code>PS C:\&gt;Remove-AzureRmKeyVaultAccessPolicy -VaultName "Contoso03Vault" -ServicePrincipalName "http://payroll.contoso.com" </dev:code> <dev:remarks> <maml:para>This command removes all the permissions that an application has on the vault named Contoso03Vault. This example identifies the application by using the service principal name registered in Azure Active Directory, http://payroll.contoso.com.</maml:para> @@ -2155,7 +2155,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Remove-AzureRMKeyVaultAccessPolicy -VaultName "Contoso03Vault" -ObjectID 34595082-9346-41b6-8d6b-295a2808b8db + <dev:code>PS C:\&gt;Remove-AzureRmKeyVaultAccessPolicy -VaultName "Contoso03Vault" -ObjectID 34595082-9346-41b6-8d6b-295a2808b8db </dev:code> <dev:remarks> <maml:para>This command removes all the permissions that an application has on the vault named Contoso03Vault. This example identifies the application by the object ID of the service principal.</maml:para> @@ -2175,14 +2175,14 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:uri>http://go.microsoft.com/fwlink/?LinkId=522258</maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMKeyVaultAccessPolicy</maml:linkText> + <maml:linkText>Set-AzureRmKeyVaultAccessPolicy</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMKeyVaultKey</command:name> + <command:name>Remove-AzureKeyVaultKey</command:name> <maml:description> <maml:para>Deletes a key in a vault. </maml:para> </maml:description> @@ -2194,11 +2194,11 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMKeyVaultKey cmdlet deletes a key in an Azure Key Vault. This cmdlet has a value of high for the ConfirmImpact property.</maml:para> + <maml:para>The Remove-AzureKeyVaultKey cmdlet deletes a key in an Azure Key Vault. This cmdlet has a value of high for the ConfirmImpact property.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMKeyVaultKey</maml:name> + <maml:name>Remove-AzureKeyVaultKey</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>VaultName</maml:name> <maml:description> @@ -2336,7 +2336,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Remove-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITSoftware" + <dev:code>PS C:\&gt;Remove-AzureKeyVaultKey -VaultName "Contoso" -Name "ITSoftware" </dev:code> <dev:remarks> <maml:para>This command removes the key named ITSoftware from the vault named Contoso. </maml:para> @@ -2355,7 +2355,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Remove-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITSoftware" -Force -Confirm:$False + <dev:code>PS C:\&gt;Remove-AzureKeyVaultKey -VaultName "Contoso" -Name "ITSoftware" -Force -Confirm:$False </dev:code> <dev:remarks> <maml:para>This command removes the key named ITSoftware from the vault named Contoso. The command specifies the Force and Confirm parameters, and, therefore, the cmdlet does not prompt you for confirmation.</maml:para> @@ -2374,7 +2374,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMKeyVaultKey -VaultName "Contoso" | Where-Object {$_.Attributes.Enabled -eq $False} | Remove-AzureRMKeyVaultKey + <dev:code>PS C:\&gt;Get-AzureKeyVaultKey -VaultName "Contoso" | Where-Object {$_.Attributes.Enabled -eq $False} | Remove-AzureKeyVaultKey </dev:code> <dev:remarks> <maml:para>This command gets all the keys in the vault named Contoso, and passes them to the Where-Object cmdlet by using the pipeline operator. That cmdlet passes the keys that have a value of $False for the Enabled attribute to the current cmdlet. That cmdlet removes those keys. </maml:para> @@ -2394,22 +2394,22 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:uri>http://go.microsoft.com/fwlink/?LinkId=521397</maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Add-AzureRMKeyVaultKey</maml:linkText> + <maml:linkText>Add-AzureKeyVaultKey</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMKeyVaultKey</maml:linkText> + <maml:linkText>Get-AzureKeyVaultKey</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMKeyVaultKeyAttribute</maml:linkText> + <maml:linkText>Set-AzureKeyVaultKeyAttribute</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMKeyVaultSecret</command:name> + <command:name>Remove-AzureKeyVaultSecret</command:name> <maml:description> <maml:para>Deletes a secret in a vault. </maml:para> </maml:description> @@ -2421,11 +2421,11 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMKeyVaultSecret cmdlet deletes a secret in an Azure Key Vault. This cmdlet has a value of high for the ConfirmImpact property.</maml:para> + <maml:para>The Remove-AzureKeyVaultSecret cmdlet deletes a secret in an Azure Key Vault. This cmdlet has a value of high for the ConfirmImpact property.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMKeyVaultSecret</maml:name> + <maml:name>Remove-AzureKeyVaultSecret</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>VaultName</maml:name> <maml:description> @@ -2563,7 +2563,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Remove-AzureRMKeyVaultSecret -VaultName "Contoso" -Name "FinanceSecret" + <dev:code>PS C:\&gt;Remove-AzureKeyVaultSecret -VaultName "Contoso" -Name "FinanceSecret" </dev:code> <dev:remarks> <maml:para>This command removes the secret named FinanceSecret from the vault named Contoso.</maml:para> @@ -2582,7 +2582,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Remove-AzureRMKeyVaultSecret -VaultName "Contoso" -Name "FinanceSecret" -Force -Confirm:$False + <dev:code>PS C:\&gt;Remove-AzureKeyVaultSecret -VaultName "Contoso" -Name "FinanceSecret" -Force -Confirm:$False </dev:code> <dev:remarks> <maml:para>This command removes the secret named FinanceSecret from the vault named Contoso. The command specifies the Force and Confirm parameters, and, therefore, the cmdlet does not prompt you for confirmation.</maml:para> @@ -2602,18 +2602,18 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:uri>http://go.microsoft.com/fwlink/?LinkId=521398</maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMKeyVaultSecret</maml:linkText> + <maml:linkText>Get-AzureKeyVaultSecret</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMKeyVaultSecret</maml:linkText> + <maml:linkText>Set-AzureKeyVaultSecret</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMKeyVault</command:name> + <command:name>Remove-AzureRmKeyVault</command:name> <maml:description> <maml:para>Deletes an Azure Key Vault instance.</maml:para> </maml:description> @@ -2625,12 +2625,12 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMKeyVault cmdlet deletes the specified Azure Key Vault instance. It also deletes all keys and secrets contained in that instance.</maml:para> + <maml:para>The Remove-AzureRmKeyVault cmdlet deletes the specified Azure Key Vault instance. It also deletes all keys and secrets contained in that instance.</maml:para> <maml:para>Note that although specifying the resource group is optional for this cmdlet, you should so for better performance. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMKeyVault</maml:name> + <maml:name>Remove-AzureRmKeyVault</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1" aliases="none"> <maml:name>VaultName</maml:name> <maml:description> @@ -2752,7 +2752,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Remove-AzureRMKeyVault -VaultName "Contoso03Vault" + <dev:code>PS C:\&gt;Remove-AzureRmKeyVault -VaultName "Contoso03Vault" </dev:code> <dev:remarks> <maml:para>This command removes the key vault named Contoso03Vault from your current subscription.</maml:para> @@ -2771,7 +2771,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Remove-AzureRMKeyVault -VaultName "Contoso03Vault" -ResourceGroupName "Group14" + <dev:code>PS C:\&gt;Remove-AzureRmKeyVault -VaultName "Contoso03Vault" -ResourceGroupName "Group14" </dev:code> <dev:remarks> <maml:para>This command removes the key vault named Contoso03Vault from the named resource group. If you do not specify the resource group name, the cmdlet searches for the named key vault to delete in your current subscription.</maml:para> @@ -2791,18 +2791,18 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:uri>http://go.microsoft.com/fwlink/?LinkId=522256</maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMKeyVault</maml:linkText> + <maml:linkText>Get-AzureRmKeyVault</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMKeyVault</maml:linkText> + <maml:linkText>New-AzureRmKeyVault</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Restore-AzureRMKeyVaultKey</command:name> + <command:name>Restore-AzureKeyVaultKey</command:name> <maml:description> <maml:para>Creates a key in in a vault from a backed-up key.</maml:para> </maml:description> @@ -2814,12 +2814,12 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <dev:version /> </command:details> <maml:description> - <maml:para>The Restore-AzureRMKeyVaultKey cmdlets creates a key in the specified key vault. This key is a replica of the backed-up key in the input file and has the same name as the original key. If the key vault already has a key by the same name, this cmdlet fails instead of overwriting the original key. If the backup contains multiple versions of a key, all versions are restored. </maml:para> + <maml:para>The Restore-AzureKeyVaultKey cmdlets creates a key in the specified key vault. This key is a replica of the backed-up key in the input file and has the same name as the original key. If the key vault already has a key by the same name, this cmdlet fails instead of overwriting the original key. If the backup contains multiple versions of a key, all versions are restored. </maml:para> <maml:para>The key vault that you restore the key into can be different from the key vault that you backed up the key from. However, the key vault must use the same subscription and be in an Azure region in the same geography (for example, North America). See the <maml:navigationLink><maml:linkText>Microsoft Azure Trust Center</maml:linkText><maml:uri></maml:uri></maml:navigationLink> (https://azure.microsoft.com/support/trust-center/) for the mapping of Azure regions to geographies.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Restore-AzureRMKeyVaultKey</maml:name> + <maml:name>Restore-AzureKeyVaultKey</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>VaultName</maml:name> <maml:description> @@ -2924,7 +2924,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Restore-AzureRMKeyVaultKey -VaultName "MyKeyVault" -InputFile "C:\Backup.blob" + <dev:code>PS C:\&gt;Restore-AzureKeyVaultKey -VaultName "MyKeyVault" -InputFile "C:\Backup.blob" </dev:code> <dev:remarks> <maml:para>This command restores a key, including all of its versions, from the backup file named Backup.blob into the key vault named MyKeyVault.</maml:para> @@ -2944,26 +2944,26 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:uri>http://go.microsoft.com/fwlink/?LinkId=522260</maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Add-AzureRMKeyVaultKey</maml:linkText> + <maml:linkText>Add-AzureKeyVaultKey</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Backup-AzureRMKeyVaultKey</maml:linkText> + <maml:linkText>Backup-AzureKeyVaultKey</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMKeyVaultKey</maml:linkText> + <maml:linkText>Get-AzureKeyVaultKey</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMKeyVaultKey</maml:linkText> + <maml:linkText>Remove-AzureKeyVaultKey</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMKeyVaultAccessPolicy</command:name> + <command:name>Set-AzureRmKeyVaultAccessPolicy</command:name> <maml:description> <maml:para>Grants or modifies existing permissions for a user or application to perform operations with the Azure Key Vault. </maml:para> </maml:description> @@ -2975,7 +2975,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMKeyVaultAccessPolicy cmdlet grants or modifies existing permissions for a user or application to perform the specified operations with the Azure Key Vault. It does not modify the permissions that other users or applications have on the key vault. </maml:para> + <maml:para>The Set-AzureRmKeyVaultAccessPolicy cmdlet grants or modifies existing permissions for a user or application to perform the specified operations with the Azure Key Vault. It does not modify the permissions that other users or applications have on the key vault. </maml:para> <maml:para>The following directories must all be the same Azure directory: -- The Azure directory in which the key vault owner's user account resides. @@ -2989,7 +2989,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMKeyVaultAccessPolicy</maml:name> + <maml:name>Set-AzureRmKeyVaultAccessPolicy</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>VaultName</maml:name> <maml:description> @@ -3090,7 +3090,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMKeyVaultAccessPolicy</maml:name> + <maml:name>Set-AzureRmKeyVaultAccessPolicy</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>VaultName</maml:name> <maml:description> @@ -3191,7 +3191,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMKeyVaultAccessPolicy</maml:name> + <maml:name>Set-AzureRmKeyVaultAccessPolicy</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>VaultName</maml:name> <maml:description> @@ -3292,7 +3292,7 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMKeyVaultAccessPolicy</maml:name> + <maml:name>Set-AzureRmKeyVaultAccessPolicy</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>VaultName</maml:name> <maml:description> @@ -3513,9 +3513,9 @@ PS C:\&gt; Add-AzureRMKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Desti <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Set-AzureRMKeyVaultAccessPolicy -VaultName "Contoso03Vault" -UserPrincipalName "PattiFuller@contoso.com" -PermissionsToKeys create,import,delete,list -PermissionsToSecrets set,delete -PS C:\&gt; Set-AzureRMKeyVaultAccessPolicy -VaultName "Contoso03Vault" -UserPrincipalName "PattiFuller@contoso.com" -PermissionsToSecrets set,delete,get -PassThru -PS C:\&gt; Set-AzureRMKeyVaultAccessPolicy -VaultName "Contoso03Vault" -UserPrincipalName "PattiFuller@contoso.com" -PermissionsToKeys @() -PassThru + <dev:code>PS C:\&gt;Set-AzureRmKeyVaultAccessPolicy -VaultName "Contoso03Vault" -UserPrincipalName "PattiFuller@contoso.com" -PermissionsToKeys create,import,delete,list -PermissionsToSecrets set,delete +PS C:\&gt; Set-AzureRmKeyVaultAccessPolicy -VaultName "Contoso03Vault" -UserPrincipalName "PattiFuller@contoso.com" -PermissionsToSecrets set,delete,get -PassThru +PS C:\&gt; Set-AzureRmKeyVaultAccessPolicy -VaultName "Contoso03Vault" -UserPrincipalName "PattiFuller@contoso.com" -PermissionsToKeys @() -PassThru </dev:code> <dev:remarks> <maml:para>The first command grants permissions for a user in your Azure Active Directory, PattiFuller@contoso.com, to perform operations on keys and secrets with a key vault named Contoso03Vault.</maml:para> @@ -3536,7 +3536,7 @@ PS C:\&gt; Set-AzureRMKeyVaultAccessPolicy -VaultName "Contoso03Vault" -UserPrin <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Set-AzureRMKeyVaultAccessPolicy -VaultName "Contoso03Vault" -ServicePrincipalName "http://payroll.contoso.com" -PermissionsToSecrets "get,set" + <dev:code>PS C:\&gt;Set-AzureRmKeyVaultAccessPolicy -VaultName "Contoso03Vault" -ServicePrincipalName "http://payroll.contoso.com" -PermissionsToSecrets "get,set" </dev:code> <dev:remarks> <maml:para>This command grants permissions for an application for a vault named Contoso03Vault. The ServicePrincipalName parameter specifies the application. The application must be registered in your Azure Active Directory. The value of the ServicePrincipalName parameter must be either the service principal name of the application or the application ID GUID. This example specifies the service principal name http://payroll.contoso.com, and the command grants the application permissions to read and write secrets.</maml:para> @@ -3555,7 +3555,7 @@ PS C:\&gt; Set-AzureRMKeyVaultAccessPolicy -VaultName "Contoso03Vault" -UserPrin <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Set-AzureRMKeyVaultAccessPolicy -VaultName "Contoso03Vault" -ObjectId 34595082-9346-41b6-8d6b-295a2808b8db -PermissionsToSecrets "get,set" + <dev:code>PS C:\&gt;Set-AzureRmKeyVaultAccessPolicy -VaultName "Contoso03Vault" -ObjectId 34595082-9346-41b6-8d6b-295a2808b8db -PermissionsToSecrets "get,set" </dev:code> <dev:remarks> <maml:para>This command grants the application permissions to read and write secrets. This example specifies the application using the object ID of the service principal of the application.</maml:para> @@ -3574,7 +3574,7 @@ PS C:\&gt; Set-AzureRMKeyVaultAccessPolicy -VaultName "Contoso03Vault" -UserPrin <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Set-AzureRMKeyVaultAccessPolicy -VaultName "Contoso03Vault" –ResourceGroupName "Group14" -EnabledForDeployment + <dev:code>PS C:\&gt;Set-AzureRmKeyVaultAccessPolicy -VaultName "Contoso03Vault" –ResourceGroupName "Group14" -EnabledForDeployment </dev:code> <dev:remarks> <maml:para>This command grants the permissions for secrets to be retrieved from the Contoso03Vault vault by the Microsoft.Compute resource provider. </maml:para> @@ -3594,14 +3594,14 @@ PS C:\&gt; Set-AzureRMKeyVaultAccessPolicy -VaultName "Contoso03Vault" -UserPrin <maml:uri>http://go.microsoft.com/fwlink/?LinkId=522257</maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMKeyVaultAccessPolicy</maml:linkText> + <maml:linkText>Remove-AzureRmKeyVaultAccessPolicy</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMKeyVaultKeyAttribute</command:name> + <command:name>Set-AzureKeyVaultKeyAttribute</command:name> <maml:description> <maml:para>Updates the attributes of a key in a vault. </maml:para> </maml:description> @@ -3613,11 +3613,11 @@ PS C:\&gt; Set-AzureRMKeyVaultAccessPolicy -VaultName "Contoso03Vault" -UserPrin <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMKeyVaultKeyAttribute cmdlet updates the editable attributes of a key in an Azure Key Vault.</maml:para> + <maml:para>The Set-AzureKeyVaultKeyAttribute cmdlet updates the editable attributes of a key in an Azure Key Vault.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMKeyVaultKeyAttribute</maml:name> + <maml:name>Set-AzureKeyVaultKeyAttribute</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>VaultName</maml:name> <maml:description> @@ -3875,7 +3875,7 @@ PS C:\&gt; Set-AzureRMKeyVaultAccessPolicy -VaultName "Contoso03Vault" -UserPrin </maml:introduction> <dev:code>PS C:\&gt;$Expires = (Get-Date).AddYears(2).ToUniversalTime() PS C:\&gt; $Tags = @{'Severity' = 'high'; 'Accounting' = null} -PS C:\&gt; Set-AzureRMKeyVaultKeyAttribute -VaultName "Contoso" -Name "ITSoftware" -Expires $Expires -Enable $True -Tags $Tags -PassThru +PS C:\&gt; Set-AzureKeyVaultKeyAttribute -VaultName "Contoso" -Name "ITSoftware" -Expires $Expires -Enable $True -Tags $Tags -PassThru </dev:code> <dev:remarks> <maml:para>The first command creates a DateTime object by using the Get-Date cmdlet. That object specifies a time two years in the future. The command stores that date in the $Expires variable. For more information, type Get-Help Get-Date.</maml:para> @@ -3896,7 +3896,7 @@ PS C:\&gt; Set-AzureRMKeyVaultKeyAttribute -VaultName "Contoso" -Name "ITSoftwar <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Set-AzureRMKeyVaultKeyAttribute -VaultName "Contoso" -Name "ITSoftware" –Version "7EEA45C6EE50490B9C3176F80AC1A0DG" –Tags @{} + <dev:code>PS C:\&gt;Set-AzureKeyVaultKeyAttribute -VaultName "Contoso" -Name "ITSoftware" –Version "7EEA45C6EE50490B9C3176F80AC1A0DG" –Tags @{} </dev:code> <dev:remarks> <maml:para>This commands deletes all tags for a specific version of a key named ITSoftware. </maml:para> @@ -3916,22 +3916,22 @@ PS C:\&gt; Set-AzureRMKeyVaultKeyAttribute -VaultName "Contoso" -Name "ITSoftwar <maml:uri>http://go.microsoft.com/fwlink/?LinkId=521399</maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Add-AzureRMKeyVaultKey</maml:linkText> + <maml:linkText>Add-AzureKeyVaultKey</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMKeyVaultKey</maml:linkText> + <maml:linkText>Get-AzureKeyVaultKey</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMKeyVaultKey</maml:linkText> + <maml:linkText>Remove-AzureKeyVaultKey</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMKeyVaultSecretAttribute</command:name> + <command:name>Set-AzureKeyVaultSecretAttribute</command:name> <maml:description> <maml:para>Updates attributes of a secret in a vault.</maml:para> </maml:description> @@ -3943,11 +3943,11 @@ PS C:\&gt; Set-AzureRMKeyVaultKeyAttribute -VaultName "Contoso" -Name "ITSoftwar <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMKeyVaultSecretAttribute cmdlet updates editable attributes of a secret in an Azure Key Vault.</maml:para> + <maml:para>The Set-AzureKeyVaultSecretAttribute cmdlet updates editable attributes of a secret in an Azure Key Vault.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMKeyVaultSecretAttribute</maml:name> + <maml:name>Set-AzureKeyVaultSecretAttribute</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>VaultName</maml:name> <maml:description> @@ -4186,7 +4186,7 @@ PS C:\&gt; Set-AzureRMKeyVaultKeyAttribute -VaultName "Contoso" -Name "ITSoftwar PS C:\&gt; $Nbf = (Get-Date).ToUniversalTime() PS C:\&gt; $Tags = @{ "Severity" = "medium"; "HR" = null} PS C:\&gt; $ContentType= "xml" -PS C:\&gt; Set-AzureRMKeyVaultSecretAttribute -VaultName "ContosoVault" -Name "HR" -Expires $Expires -NotBefore $Nbf -ContentType $ContentType -Enable $True -Tags $Tags -PassThru +PS C:\&gt; Set-AzureKeyVaultSecretAttribute -VaultName "ContosoVault" -Name "HR" -Expires $Expires -NotBefore $Nbf -ContentType $ContentType -Enable $True -Tags $Tags -PassThru </dev:code> <dev:remarks> <maml:para>The first four commands define attributes for the expiry date, the NotBefore date, tags, and context type, and store the attributes in variables.</maml:para> @@ -4206,7 +4206,7 @@ PS C:\&gt; Set-AzureRMKeyVaultSecretAttribute -VaultName "ContosoVault" -Name "H <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Set-AzureRMKeyVaultSecretAttribute -VaultName "ContosoVault" -Name "HR" -Version "9EEA45C6EE50490B9C3176A80AC1A0DF" -ContentType "" -Tags -@{} + <dev:code>PS C:\&gt;Set-AzureKeyVaultSecretAttribute -VaultName "ContosoVault" -Name "HR" -Version "9EEA45C6EE50490B9C3176A80AC1A0DF" -ContentType "" -Tags -@{} </dev:code> <dev:remarks> <maml:para>This command deletes the tags and the content type for the specified version of the secret named HR in the vault named Contoso.</maml:para> @@ -4227,12 +4227,12 @@ PS C:\&gt; Set-AzureRMKeyVaultSecretAttribute -VaultName "ContosoVault" -Name "H </maml:introduction> <dev:code>PS C:\&gt;$Vault = "ContosoVault" PS C:\&gt; $Prefix = "IT" -PS C:\&gt; Get-AzureRMKeyVaultSecret $Vault | Where-Object {$_.Name -like $Prefix + '*'} | Set-AzureRMKeyVaultSecretAttribute -Enable $False +PS C:\&gt; Get-AzureKeyVaultSecret $Vault | Where-Object {$_.Name -like $Prefix + '*'} | Set-AzureKeyVaultSecretAttribute -Enable $False </dev:code> <dev:remarks> <maml:para>The first command stores the string value Contoso in the $Vault variable.</maml:para> <maml:para>The second command stores the string value IT in the $Prefix variable.</maml:para> - <maml:para>The third command uses the Get-AzureRMKeyVaultSecret cmdlet to get the secrets in the specified vault, and then passes those secrets to the Where-Object cmdlet. The Where-Object cmdlet filters the secrets for names that begin with the characters IT. The command pipes the secrets that match the filter to the Set-AzureRMKeyVaultSecretAttribute cmdlet, which disables them.</maml:para> + <maml:para>The third command uses the Get-AzureKeyVaultSecret cmdlet to get the secrets in the specified vault, and then passes those secrets to the Where-Object cmdlet. The Where-Object cmdlet filters the secrets for names that begin with the characters IT. The command pipes the secrets that match the filter to the Set-AzureKeyVaultSecretAttribute cmdlet, which disables them.</maml:para> <maml:para /> <maml:para /> </dev:remarks> @@ -4251,11 +4251,11 @@ PS C:\&gt; Get-AzureRMKeyVaultSecret $Vault | Where-Object {$_.Name -like $Prefi <dev:code>PS C:\&gt;$VaultName = "ContosoVault" PS C:\&gt; $Name = "HR" PS C:\&gt; $ContentType = "xml" -PS C:\&gt; Get-AzureRMKeyVaultKey -VaultName $VaultName -Name $Name -IncludeVersions | Set-AzureRMKeyVaultSecretAttribute -ContentType $ContentType +PS C:\&gt; Get-AzureKeyVaultKey -VaultName $VaultName -Name $Name -IncludeVersions | Set-AzureKeyVaultSecretAttribute -ContentType $ContentType </dev:code> <dev:remarks> - <maml:para>The first three commands define string variables to use for the VaultName, Name, and ContentType parameters. The fourth command uses the Get-AzureRMKeyVaultKey cmdlet to get the specified keys, and pipes the keys to the Set-AzureRMKeyVaultSecretAttribute cmdlet to set their content type to XML.</maml:para> + <maml:para>The first three commands define string variables to use for the VaultName, Name, and ContentType parameters. The fourth command uses the Get-AzureKeyVaultKey cmdlet to get the specified keys, and pipes the keys to the Set-AzureKeyVaultSecretAttribute cmdlet to set their content type to XML.</maml:para> <maml:para /> <maml:para /> </dev:remarks> @@ -4272,26 +4272,26 @@ PS C:\&gt; Get-AzureRMKeyVaultKey -VaultName $VaultName -Name $Name -IncludeVers <maml:uri>http://go.microsoft.com/fwlink/?LinkId=534612</maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMKeyVaultKey</maml:linkText> + <maml:linkText>Get-AzureKeyVaultKey</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMKeyVaultSecret</maml:linkText> + <maml:linkText>Get-AzureKeyVaultSecret</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMKeyVaultSecret</maml:linkText> + <maml:linkText>Remove-AzureKeyVaultSecret</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMKeyVaultSecretAttribute</maml:linkText> + <maml:linkText>Set-AzureKeyVaultSecretAttribute</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMKeyVaultSecret</command:name> + <command:name>Set-AzureKeyVaultSecret</command:name> <maml:description> <maml:para>Creates or updates a secret in a vault. </maml:para> </maml:description> @@ -4303,11 +4303,11 @@ PS C:\&gt; Get-AzureRMKeyVaultKey -VaultName $VaultName -Name $Name -IncludeVers <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMKeyVaultSecret cmdlet creates or updates a secret in an Azure Key Vault. If the secret does not exist, this cmdlet creates it. If the secret already exists, this cmdlet replaces it with the value that you specify.</maml:para> + <maml:para>The Set-AzureKeyVaultSecret cmdlet creates or updates a secret in an Azure Key Vault. If the secret does not exist, this cmdlet creates it. If the secret already exists, this cmdlet replaces it with the value that you specify.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMKeyVaultSecret</maml:name> + <maml:name>Set-AzureKeyVaultSecret</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>VaultName</maml:name> <maml:description> @@ -4524,7 +4524,7 @@ PS C:\&gt; Get-AzureRMKeyVaultKey -VaultName $VaultName -Name $Name -IncludeVers </maml:para> </maml:introduction> <dev:code>PS C:\&gt;$Secret = ConvertTo-SecureString -String "Password" -AsPlainText -Force -PS C:\&gt; Set-AzureRMKeyVaultSecret -VaultName "Contoso" -Name "ITSecret" -SecretValue $Secret +PS C:\&gt; Set-AzureKeyVaultSecret -VaultName "Contoso" -Name "ITSecret" -SecretValue $Secret </dev:code> <dev:remarks> <maml:para>The first command converts a string into a secure string by using the ConvertTo-SecureString cmdlet, and then stores that string in the $Secret variable. For more information, type Get-Help ConvertTo-SecureString.</maml:para> @@ -4549,7 +4549,7 @@ PS C:\&gt; $Expires = (Get-Date).AddYears(2).ToUniversalTime() PS C:\&gt; $NBF =(Get-Date).ToUniversalTime() PS C:\&gt; $Tags = @{ "Severity" = "medium"; "IT" = null } PS C:\&gt; $ContentType = "txt" -PS C:\&gt; Set-AzureRMKeyVaultSecret -VaultName "Contoso" -Name "ITSecret" -SecretValue $Secret -Expires $Expires -NotBefore $NBF -ContentType $ContentType -Enable $True -Tags $Tags -PassThru +PS C:\&gt; Set-AzureKeyVaultSecret -VaultName "Contoso" -Name "ITSecret" -SecretValue $Secret -Expires $Expires -NotBefore $NBF -ContentType $ContentType -Enable $True -Tags $Tags -PassThru </dev:code> <dev:remarks> <maml:para>The first command converts a string into a secure string by using the ConvertTo-SecureString cmdlet, and then stores that string in the $Secret variable. For more information, type Get-Help ConvertTo-SecureString.</maml:para> @@ -4571,11 +4571,11 @@ PS C:\&gt; Set-AzureRMKeyVaultSecret -VaultName "Contoso" -Name "ITSecret" -Secr <maml:uri>http://go.microsoft.com/fwlink/?LinkId=521400</maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMKeyVaultSecret</maml:linkText> + <maml:linkText>Get-AzureKeyVaultSecret</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMKeyVaultSecret</maml:linkText> + <maml:linkText>Remove-AzureKeyVaultSecret</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Properties/Resources.Designer.cs b/src/ResourceManager/KeyVault/Commands.KeyVault/Properties/Resources.Designer.cs index a164b87ea3c7..52a2648c236c 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Properties/Resources.Designer.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Properties/Resources.Designer.cs @@ -61,7 +61,7 @@ internal Resources() { } /// <summary> - /// Looks up a localized string similar to Cannot find the Active Directory object &apos;{0}&apos; in tenant &apos;{1}&apos;. Please make sure that the user or application service principal you are authorizing is registered in the current subscription&apos;s Azure Active directory. The TenantID displayed by the cmdlet &apos;get-AzureRMSubscription -current&apos; is the current subscription&apos;s Azure Active directory.. + /// Looks up a localized string similar to Cannot find the Active Directory object &apos;{0}&apos; in tenant &apos;{1}&apos;. Please make sure that the user or application service principal you are authorizing is registered in the current subscription&apos;s Azure Active directory. The TenantID displayed by the cmdlet &apos;get-AzureRmSubscription -current&apos; is the current subscription&apos;s Azure Active directory.. /// </summary> internal static string ADObjectNotFound { get { @@ -124,7 +124,7 @@ internal static string InvalidAzureEnvironment { } /// <summary> - /// Looks up a localized string similar to No current subscription has been designated. Use Select-AzureRMSubscription -Current &lt;subscriptionName&gt; to set the current subscription.. + /// Looks up a localized string similar to No current subscription has been designated. Use Select-AzureRmSubscription -Current &lt;subscriptionName&gt; to set the current subscription.. /// </summary> internal static string InvalidCurrentSubscription { get { @@ -241,7 +241,7 @@ internal static string InvalidSelectedSubscription { } /// <summary> - /// Looks up a localized string similar to Your Azure credentials have not been set up or have expired, please run Add-AzureRMAccount to set up your Azure credentials.. + /// Looks up a localized string similar to Your Azure credentials have not been set up or have expired, please run Add-AzureRmAccount to set up your Azure credentials.. /// </summary> internal static string InvalidSubscriptionState { get { diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Properties/Resources.resx b/src/ResourceManager/KeyVault/Commands.KeyVault/Properties/Resources.resx index b8968f524d1a..ab927c2504df 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Properties/Resources.resx +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Properties/Resources.resx @@ -118,7 +118,7 @@ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <data name="ADObjectNotFound" xml:space="preserve"> - <value>Cannot find the Active Directory object '{0}' in tenant '{1}'. Please make sure that the user or application service principal you are authorizing is registered in the current subscription's Azure Active directory. The TenantID displayed by the cmdlet 'get-AzureRMSubscription -current' is the current subscription's Azure Active directory.</value> + <value>Cannot find the Active Directory object '{0}' in tenant '{1}'. Please make sure that the user or application service principal you are authorizing is registered in the current subscription's Azure Active directory. The TenantID displayed by the cmdlet 'get-AzureRmSubscription -current' is the current subscription's Azure Active directory.</value> </data> <data name="BackupKeyFileAlreadyExists" xml:space="preserve"> <value>The backup key file '{0}' already exists.</value> @@ -139,7 +139,7 @@ <value>Invalid AzureEnvironment.</value> </data> <data name="InvalidCurrentSubscription" xml:space="preserve"> - <value>No current subscription has been designated. Use Select-AzureRMSubscription -Current &lt;subscriptionName&gt; to set the current subscription.</value> + <value>No current subscription has been designated. Use Select-AzureRmSubscription -Current &lt;subscriptionName&gt; to set the current subscription.</value> </data> <data name="InvalidKeyAttributes" xml:space="preserve"> <value>Invalid key attributes</value> @@ -178,7 +178,7 @@ <value>No subscription is currently selected. Use Select-Subscription to activate a subscription.</value> </data> <data name="InvalidSubscriptionState" xml:space="preserve"> - <value>Your Azure credentials have not been set up or have expired, please run Add-AzureRMAccount to set up your Azure credentials.</value> + <value>Your Azure credentials have not been set up or have expired, please run Add-AzureRmAccount to set up your Azure credentials.</value> </data> <data name="InvalidTagFormat" xml:space="preserve"> <value>Invalid tag format. Expect @{Name = "tagName"} or @{Name = "tagName"; Value = "tagValue"}</value> diff --git a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ApplicationGatewayTests.ps1 b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ApplicationGatewayTests.ps1 index c1ca1fe21e5b..b9c1273863a9 100644 --- a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ApplicationGatewayTests.ps1 +++ b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ApplicationGatewayTests.ps1 @@ -42,30 +42,30 @@ function Test-ApplicationGatewayCRUD try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create the Virtual Network - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name "GatewaySubnet" -AddressPrefix 10.0.0.0/24 - $vnet = New-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet - $vnet = Get-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname - $subnet = Get-AzureRMVirtualNetworkSubnetConfig -Name "GatewaySubnet" -VirtualNetwork $vnet + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name "GatewaySubnet" -AddressPrefix 10.0.0.0/24 + $vnet = New-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet + $vnet = Get-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname + $subnet = Get-AzureRmVirtualNetworkSubnetConfig -Name "GatewaySubnet" -VirtualNetwork $vnet # Create the Application Gateway - $gipconfig = New-AzureRMApplicationGatewayIPConfiguration -Name $gipconfigname -Subnet $subnet - $pool = New-AzureRMApplicationGatewayBackendAddressPool -Name $poolName -BackendIPAddresses 1.1.1.1, 2.2.2.2, 3.3.3.3 - $poolSetting = New-AzureRMApplicationGatewayBackendHttpSettings -Name $poolSettingName -Port 80 -Protocol HTTP -CookieBasedAffinity Disabled - $fp = New-AzureRMApplicationGatewayFrontendPort -Name $frontendPortName -Port 80 - $fipconfig = New-AzureRMApplicationGatewayFrontendIPConfig -Name $fipconfigName -PublicIPAddress $publicip - $listener = New-AzureRMApplicationGatewayHttpListener -Name $listenerName -Protocol http -FrontendIPConfiguration $fipconfig -FrontendPort $fp - $rule = New-AzureRMApplicationGatewayRequestRoutingRule -Name $ruleName -RuleType basic -BackendHttpSettings $poolSetting -HttpListener $listener -BackendAddressPool $pool - $sku = New-AzureRMApplicationGatewaySku -Name Standard_Small -Tier Standard -Capacity 2 + $gipconfig = New-AzureRmApplicationGatewayIPConfiguration -Name $gipconfigname -Subnet $subnet + $pool = New-AzureRmApplicationGatewayBackendAddressPool -Name $poolName -BackendIPAddresses 1.1.1.1, 2.2.2.2, 3.3.3.3 + $poolSetting = New-AzureRmApplicationGatewayBackendHttpSettings -Name $poolSettingName -Port 80 -Protocol HTTP -CookieBasedAffinity Disabled + $fp = New-AzureRmApplicationGatewayFrontendPort -Name $frontendPortName -Port 80 + $fipconfig = New-AzureRmApplicationGatewayFrontendIPConfig -Name $fipconfigName -PublicIPAddress $publicip + $listener = New-AzureRmApplicationGatewayHttpListener -Name $listenerName -Protocol http -FrontendIPConfiguration $fipconfig -FrontendPort $fp + $rule = New-AzureRmApplicationGatewayRequestRoutingRule -Name $ruleName -RuleType basic -BackendHttpSettings $poolSetting -HttpListener $listener -BackendAddressPool $pool + $sku = New-AzureRmApplicationGatewaySku -Name Standard_Small -Tier Standard -Capacity 2 - $actual = New-AzureRMApplicationGateway -Name $appgwName -ResourceGroupName $rgname -Location $location -BackendAddressPools $pool -BackendHttpSettingsCollection $poolSetting -FrontendIpConfigurations $fipconfig -GatewayIpConfigurations $gipconfig -FrontendPorts $fp -HttpListeners $listener -RequestRoutingRules $rule -Sku $sku - $expected = Get-AzureRMApplicationGateway -Name $appgwName -ResourceGroupName $rgname - Compare-AzureRMApplicationGateway $actual $expected + $actual = New-AzureRmApplicationGateway -Name $appgwName -ResourceGroupName $rgname -Location $location -BackendAddressPools $pool -BackendHttpSettingsCollection $poolSetting -FrontendIpConfigurations $fipconfig -GatewayIpConfigurations $gipconfig -FrontendPorts $fp -HttpListeners $listener -RequestRoutingRules $rule -Sku $sku + $expected = Get-AzureRmApplicationGateway -Name $appgwName -ResourceGroupName $rgname + Compare-AzureRmApplicationGateway $actual $expected - Stop-AzureRMApplicationGateway -ApplicationGateway $expected - Remove-AzureRMApplicationGateway -Name $appgwName -ResourceGroupName $rgname -Force + Stop-AzureRmApplicationGateway -ApplicationGateway $expected + Remove-AzureRmApplicationGateway -Name $appgwName -ResourceGroupName $rgname -Force } finally { @@ -78,7 +78,7 @@ function Test-ApplicationGatewayCRUD .SYNOPSIS Compare application gateways #> -function Compare-AzureRMApplicationGateway($actual, $expected) +function Compare-AzureRmApplicationGateway($actual, $expected) { Assert-AreEqual $expected.Name $actual.Name Assert-AreEqual $expected.Name $actual.Name diff --git a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/Common.ps1 b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/Common.ps1 index b8c7f9d7ea4d..d898bd26bfee 100644 --- a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/Common.ps1 +++ b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/Common.ps1 @@ -36,7 +36,7 @@ Gets the default location for a provider #> function Get-ProviderLocation($provider) { - $location = Get-AzureRMLocation | where {$_.Name -eq $provider} + $location = Get-AzureRmLocation | where {$_.Name -eq $provider} if ($location -eq $null) { "West US" } else { @@ -51,6 +51,6 @@ Cleans the created resource groups function Clean-ResourceGroup($rgname) { if ([Microsoft.Azure.Test.HttpRecorder.HttpMockServer]::Mode -ne [Microsoft.Azure.Test.HttpRecorder.HttpRecorderMode]::Playback) { - Remove-AzureRMResourceGroup -Name $rgname -Force + Remove-AzureRmResourceGroup -Name $rgname -Force } } \ No newline at end of file diff --git a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/LoadBalancerTests.ps1 b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/LoadBalancerTests.ps1 index 9e6e0e298744..8d97d02dc00b 100644 --- a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/LoadBalancerTests.ps1 +++ b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/LoadBalancerTests.ps1 @@ -37,24 +37,24 @@ function Test-LoadBalancerCRUD-Public try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create the Virtual Network - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 - $vnet = New-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 + $vnet = New-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet # Create the publicip - $publicip = New-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel + $publicip = New-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel # Create LoadBalancer - $frontend = New-AzureRMLoadBalancerFrontendIpConfig -Name $frontendName -PublicIpAddress $publicip - $backendAddressPool = New-AzureRMLoadBalancerBackendAddressPoolConfig -Name $backendAddressPoolName - $probe = New-AzureRMLoadBalancerProbeConfig -Name $probeName -RequestPath healthcheck.aspx -Protocol http -Port 80 -IntervalInSeconds 15 -ProbeCount 2 - $inboundNatRule = New-AzureRMLoadBalancerInboundNatRuleConfig -Name $inboundNatRuleName -FrontendIPConfiguration $frontend -Protocol Tcp -FrontendPort 3389 -BackendPort 3389 -IdleTimeoutInMinutes 15 -EnableFloatingIP - $lbrule = New-AzureRMLoadBalancerRuleConfig -Name $lbruleName -FrontendIPConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -Protocol Tcp -FrontendPort 80 -BackendPort 80 -IdleTimeoutInMinutes 15 -EnableFloatingIP -LoadDistribution SourceIP - $actualLb = New-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname -Location $location -FrontendIpConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -InboundNatRule $inboundNatRule -LoadBalancingRule $lbrule + $frontend = New-AzureRmLoadBalancerFrontendIpConfig -Name $frontendName -PublicIpAddress $publicip + $backendAddressPool = New-AzureRmLoadBalancerBackendAddressPoolConfig -Name $backendAddressPoolName + $probe = New-AzureRmLoadBalancerProbeConfig -Name $probeName -RequestPath healthcheck.aspx -Protocol http -Port 80 -IntervalInSeconds 15 -ProbeCount 2 + $inboundNatRule = New-AzureRmLoadBalancerInboundNatRuleConfig -Name $inboundNatRuleName -FrontendIPConfiguration $frontend -Protocol Tcp -FrontendPort 3389 -BackendPort 3389 -IdleTimeoutInMinutes 15 -EnableFloatingIP + $lbrule = New-AzureRmLoadBalancerRuleConfig -Name $lbruleName -FrontendIPConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -Protocol Tcp -FrontendPort 80 -BackendPort 80 -IdleTimeoutInMinutes 15 -EnableFloatingIP -LoadDistribution SourceIP + $actualLb = New-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname -Location $location -FrontendIpConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -InboundNatRule $inboundNatRule -LoadBalancingRule $lbrule - $expectedLb = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname + $expectedLb = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname # Verification Assert-AreEqual $expectedLb.ResourceGroupName $actualLb.ResourceGroupName @@ -81,7 +81,7 @@ function Test-LoadBalancerCRUD-Public Assert-AreEqual $expectedLb.BackendAddressPools[0].Id $expectedLb.LoadBalancingRules[0].BackendAddressPool.Id # List - $list = Get-AzureRMLoadBalancer -ResourceGroupName $rgname + $list = Get-AzureRmLoadBalancer -ResourceGroupName $rgname Assert-AreEqual 1 @($list).Count Assert-AreEqual $expectedLb.Etag $list[0].Etag Assert-AreEqual $expectedLb.FrontendIPConfigurations[0].Etag $list[0].FrontendIPConfigurations[0].Etag @@ -91,10 +91,10 @@ function Test-LoadBalancerCRUD-Public Assert-AreEqual $expectedLb.LoadBalancingRules[0].Etag $list[0].LoadBalancingRules[0].Etag # Delete - $deleteLb = Remove-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname -PassThru -Force + $deleteLb = Remove-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname -PassThru -Force Assert-AreEqual true $deleteLb - $list = Get-AzureRMLoadBalancer -ResourceGroupName $rgname + $list = Get-AzureRmLoadBalancer -ResourceGroupName $rgname Assert-AreEqual 0 @($list).Count } finally @@ -129,24 +129,24 @@ function Test-LoadBalancerCRUD-InternalDynamic try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create the Virtual Network - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 - $vnet = New-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 + $vnet = New-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet # Create the publicip - $publicip = New-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel + $publicip = New-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel # Create LoadBalancer - $frontend = New-AzureRMLoadBalancerFrontendIpConfig -Name $frontendName -Subnet $vnet.Subnets[0] - $backendAddressPool = New-AzureRMLoadBalancerBackendAddressPoolConfig -Name $backendAddressPoolName - $probe = New-AzureRMLoadBalancerProbeConfig -Name $probeName -RequestPath healthcheck.aspx -Protocol http -Port 80 -IntervalInSeconds 15 -ProbeCount 2 - $inboundNatRule = New-AzureRMLoadBalancerInboundNatRuleConfig -Name $inboundNatRuleName -FrontendIPConfiguration $frontend -Protocol Tcp -FrontendPort 3389 -BackendPort 3389 -IdleTimeoutInMinutes 15 -EnableFloatingIP - $lbrule = New-AzureRMLoadBalancerRuleConfig -Name $lbruleName -FrontendIPConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -Protocol Tcp -FrontendPort 80 -BackendPort 80 -IdleTimeoutInMinutes 15 -EnableFloatingIP -LoadDistribution SourceIP - $actualLb = New-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname -Location $location -FrontendIpConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -InboundNatRule $inboundNatRule -LoadBalancingRule $lbrule + $frontend = New-AzureRmLoadBalancerFrontendIpConfig -Name $frontendName -Subnet $vnet.Subnets[0] + $backendAddressPool = New-AzureRmLoadBalancerBackendAddressPoolConfig -Name $backendAddressPoolName + $probe = New-AzureRmLoadBalancerProbeConfig -Name $probeName -RequestPath healthcheck.aspx -Protocol http -Port 80 -IntervalInSeconds 15 -ProbeCount 2 + $inboundNatRule = New-AzureRmLoadBalancerInboundNatRuleConfig -Name $inboundNatRuleName -FrontendIPConfiguration $frontend -Protocol Tcp -FrontendPort 3389 -BackendPort 3389 -IdleTimeoutInMinutes 15 -EnableFloatingIP + $lbrule = New-AzureRmLoadBalancerRuleConfig -Name $lbruleName -FrontendIPConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -Protocol Tcp -FrontendPort 80 -BackendPort 80 -IdleTimeoutInMinutes 15 -EnableFloatingIP -LoadDistribution SourceIP + $actualLb = New-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname -Location $location -FrontendIpConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -InboundNatRule $inboundNatRule -LoadBalancingRule $lbrule - $expectedLb = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname + $expectedLb = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname # Verification Assert-AreEqual $expectedLb.ResourceGroupName $actualLb.ResourceGroupName @@ -172,7 +172,7 @@ function Test-LoadBalancerCRUD-InternalDynamic Assert-AreEqual $expectedLb.BackendAddressPools[0].Id $expectedLb.LoadBalancingRules[0].BackendAddressPool.Id # List - $list = Get-AzureRMLoadBalancer -ResourceGroupName $rgname + $list = Get-AzureRmLoadBalancer -ResourceGroupName $rgname Assert-AreEqual 1 @($list).Count Assert-AreEqual $expectedLb.Etag $list[0].Etag Assert-AreEqual $expectedLb.FrontendIPConfigurations[0].Etag $list[0].FrontendIPConfigurations[0].Etag @@ -182,10 +182,10 @@ function Test-LoadBalancerCRUD-InternalDynamic Assert-AreEqual $expectedLb.LoadBalancingRules[0].Etag $list[0].LoadBalancingRules[0].Etag # Delete - $deleteLb = Remove-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname -PassThru -Force + $deleteLb = Remove-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname -PassThru -Force Assert-AreEqual true $deleteLb - $list = Get-AzureRMLoadBalancer -ResourceGroupName $rgname + $list = Get-AzureRmLoadBalancer -ResourceGroupName $rgname Assert-AreEqual 0 @($list).Count } finally @@ -220,24 +220,24 @@ function Test-LoadBalancerCRUD-InternalStatic try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create the Virtual Network - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 - $vnet = New-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 + $vnet = New-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet # Create the publicip - $publicip = New-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel + $publicip = New-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel # Create LoadBalancer - $frontend = New-AzureRMLoadBalancerFrontendIpConfig -Name $frontendName -Subnet $vnet.Subnets[0] -PrivateIpAddress "10.0.1.5" - $backendAddressPool = New-AzureRMLoadBalancerBackendAddressPoolConfig -Name $backendAddressPoolName - $probe = New-AzureRMLoadBalancerProbeConfig -Name $probeName -RequestPath healthcheck.aspx -Protocol http -Port 80 -IntervalInSeconds 15 -ProbeCount 2 - $inboundNatRule = New-AzureRMLoadBalancerInboundNatRuleConfig -Name $inboundNatRuleName -FrontendIPConfiguration $frontend -Protocol Tcp -FrontendPort 3389 -BackendPort 3389 -IdleTimeoutInMinutes 15 -EnableFloatingIP - $lbrule = New-AzureRMLoadBalancerRuleConfig -Name $lbruleName -FrontendIPConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -Protocol Tcp -FrontendPort 80 -BackendPort 80 -IdleTimeoutInMinutes 15 -EnableFloatingIP -LoadDistribution SourceIP - $actualLb = New-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname -Location $location -FrontendIpConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -InboundNatRule $inboundNatRule -LoadBalancingRule $lbrule + $frontend = New-AzureRmLoadBalancerFrontendIpConfig -Name $frontendName -Subnet $vnet.Subnets[0] -PrivateIpAddress "10.0.1.5" + $backendAddressPool = New-AzureRmLoadBalancerBackendAddressPoolConfig -Name $backendAddressPoolName + $probe = New-AzureRmLoadBalancerProbeConfig -Name $probeName -RequestPath healthcheck.aspx -Protocol http -Port 80 -IntervalInSeconds 15 -ProbeCount 2 + $inboundNatRule = New-AzureRmLoadBalancerInboundNatRuleConfig -Name $inboundNatRuleName -FrontendIPConfiguration $frontend -Protocol Tcp -FrontendPort 3389 -BackendPort 3389 -IdleTimeoutInMinutes 15 -EnableFloatingIP + $lbrule = New-AzureRmLoadBalancerRuleConfig -Name $lbruleName -FrontendIPConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -Protocol Tcp -FrontendPort 80 -BackendPort 80 -IdleTimeoutInMinutes 15 -EnableFloatingIP -LoadDistribution SourceIP + $actualLb = New-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname -Location $location -FrontendIpConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -InboundNatRule $inboundNatRule -LoadBalancingRule $lbrule - $expectedLb = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname + $expectedLb = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname # Verification Assert-AreEqual $expectedLb.ResourceGroupName $actualLb.ResourceGroupName @@ -263,7 +263,7 @@ function Test-LoadBalancerCRUD-InternalStatic Assert-AreEqual $expectedLb.BackendAddressPools[0].Id $expectedLb.LoadBalancingRules[0].BackendAddressPool.Id # List - $list = Get-AzureRMLoadBalancer -ResourceGroupName $rgname + $list = Get-AzureRmLoadBalancer -ResourceGroupName $rgname Assert-AreEqual 1 @($list).Count Assert-AreEqual $expectedLb.Etag $list[0].Etag Assert-AreEqual $expectedLb.FrontendIPConfigurations[0].Etag $list[0].FrontendIPConfigurations[0].Etag @@ -273,10 +273,10 @@ function Test-LoadBalancerCRUD-InternalStatic Assert-AreEqual $expectedLb.LoadBalancingRules[0].Etag $list[0].LoadBalancingRules[0].Etag # Delete - $deleteLb = Remove-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname -PassThru -Force + $deleteLb = Remove-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname -PassThru -Force Assert-AreEqual true $deleteLb - $list = Get-AzureRMLoadBalancer -ResourceGroupName $rgname + $list = Get-AzureRmLoadBalancer -ResourceGroupName $rgname Assert-AreEqual 0 @($list).Count } finally @@ -311,23 +311,23 @@ function Test-LoadBalancerCRUD-PublicNoInboundNATRule try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create the Virtual Network - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 - $vnet = New-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 + $vnet = New-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet # Create the publicip - $publicip = New-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel + $publicip = New-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel # Create LoadBalancer - $frontend = New-AzureRMLoadBalancerFrontendIpConfig -Name $frontendName -PublicIpAddress $publicip - $backendAddressPool = New-AzureRMLoadBalancerBackendAddressPoolConfig -Name $backendAddressPoolName - $probe = New-AzureRMLoadBalancerProbeConfig -Name $probeName -RequestPath healthcheck.aspx -Protocol http -Port 80 -IntervalInSeconds 15 -ProbeCount 2 - $lbrule = New-AzureRMLoadBalancerRuleConfig -Name $lbruleName -FrontendIPConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -Protocol Tcp -FrontendPort 80 -BackendPort 80 -IdleTimeoutInMinutes 15 -EnableFloatingIP -LoadDistribution SourceIP - $actualLb = New-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname -Location $location -FrontendIpConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -LoadBalancingRule $lbrule + $frontend = New-AzureRmLoadBalancerFrontendIpConfig -Name $frontendName -PublicIpAddress $publicip + $backendAddressPool = New-AzureRmLoadBalancerBackendAddressPoolConfig -Name $backendAddressPoolName + $probe = New-AzureRmLoadBalancerProbeConfig -Name $probeName -RequestPath healthcheck.aspx -Protocol http -Port 80 -IntervalInSeconds 15 -ProbeCount 2 + $lbrule = New-AzureRmLoadBalancerRuleConfig -Name $lbruleName -FrontendIPConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -Protocol Tcp -FrontendPort 80 -BackendPort 80 -IdleTimeoutInMinutes 15 -EnableFloatingIP -LoadDistribution SourceIP + $actualLb = New-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname -Location $location -FrontendIpConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -LoadBalancingRule $lbrule - $expectedLb = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname + $expectedLb = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname # Verification Assert-AreEqual $expectedLb.ResourceGroupName $actualLb.ResourceGroupName @@ -350,7 +350,7 @@ function Test-LoadBalancerCRUD-PublicNoInboundNATRule Assert-AreEqual $expectedLb.BackendAddressPools[0].Id $expectedLb.LoadBalancingRules[0].BackendAddressPool.Id # List - $list = Get-AzureRMLoadBalancer -ResourceGroupName $rgname + $list = Get-AzureRmLoadBalancer -ResourceGroupName $rgname Assert-AreEqual 1 @($list).Count Assert-AreEqual $expectedLb.Etag $list[0].Etag Assert-AreEqual $expectedLb.FrontendIPConfigurations[0].Etag $list[0].FrontendIPConfigurations[0].Etag @@ -359,10 +359,10 @@ function Test-LoadBalancerCRUD-PublicNoInboundNATRule Assert-AreEqual $expectedLb.LoadBalancingRules[0].Etag $list[0].LoadBalancingRules[0].Etag # Delete - $deleteLb = Remove-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname -PassThru -Force + $deleteLb = Remove-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname -PassThru -Force Assert-AreEqual true $deleteLb - $list = Get-AzureRMLoadBalancer -ResourceGroupName $rgname + $list = Get-AzureRmLoadBalancer -ResourceGroupName $rgname Assert-AreEqual 0 @($list).Count } finally @@ -397,23 +397,23 @@ function Test-LoadBalancerCRUD-InternalUsingId try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create the Virtual Network - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 - $vnet = New-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 + $vnet = New-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet # Create the publicip - $publicip = New-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel + $publicip = New-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel - $frontend = New-AzureRMLoadBalancerFrontendIpConfig -Name $frontendName -SubnetId $vnet.Subnets[0].Id - $backendAddressPool = New-AzureRMLoadBalancerBackendAddressPoolConfig -Name $backendAddressPoolName - $probe = New-AzureRMLoadBalancerProbeConfig -Name $probeName -RequestPath healthcheck.aspx -Protocol http -Port 80 -IntervalInSeconds 15 -ProbeCount 2 - $inboundNatRule = New-AzureRMLoadBalancerInboundNatRuleConfig -Name $inboundNatRuleName -FrontendIPConfigurationId $frontend.Id -Protocol Tcp -FrontendPort 3389 -BackendPort 3389 -IdleTimeoutInMinutes 15 -EnableFloatingIP - $lbrule = New-AzureRMLoadBalancerRuleConfig -Name $lbruleName -FrontendIPConfigurationId $frontend.Id -BackendAddressPoolId $backendAddressPool.Id -ProbeId $probe.Id -Protocol Tcp -FrontendPort 80 -BackendPort 80 -IdleTimeoutInMinutes 15 -EnableFloatingIP - $actualLb = New-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname -Location $location -FrontendIpConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -InboundNatRule $inboundNatRule -LoadBalancingRule $lbrule + $frontend = New-AzureRmLoadBalancerFrontendIpConfig -Name $frontendName -SubnetId $vnet.Subnets[0].Id + $backendAddressPool = New-AzureRmLoadBalancerBackendAddressPoolConfig -Name $backendAddressPoolName + $probe = New-AzureRmLoadBalancerProbeConfig -Name $probeName -RequestPath healthcheck.aspx -Protocol http -Port 80 -IntervalInSeconds 15 -ProbeCount 2 + $inboundNatRule = New-AzureRmLoadBalancerInboundNatRuleConfig -Name $inboundNatRuleName -FrontendIPConfigurationId $frontend.Id -Protocol Tcp -FrontendPort 3389 -BackendPort 3389 -IdleTimeoutInMinutes 15 -EnableFloatingIP + $lbrule = New-AzureRmLoadBalancerRuleConfig -Name $lbruleName -FrontendIPConfigurationId $frontend.Id -BackendAddressPoolId $backendAddressPool.Id -ProbeId $probe.Id -Protocol Tcp -FrontendPort 80 -BackendPort 80 -IdleTimeoutInMinutes 15 -EnableFloatingIP + $actualLb = New-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname -Location $location -FrontendIpConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -InboundNatRule $inboundNatRule -LoadBalancingRule $lbrule - $expectedLb = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname + $expectedLb = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname # Verification Assert-AreEqual $expectedLb.ResourceGroupName $actualLb.ResourceGroupName @@ -438,7 +438,7 @@ function Test-LoadBalancerCRUD-InternalUsingId Assert-AreEqual $expectedLb.BackendAddressPools[0].Id $expectedLb.LoadBalancingRules[0].BackendAddressPool.Id # List - $list = Get-AzureRMLoadBalancer -ResourceGroupName $rgname + $list = Get-AzureRmLoadBalancer -ResourceGroupName $rgname Assert-AreEqual 1 @($list).Count Assert-AreEqual $expectedLb.Etag $list[0].Etag Assert-AreEqual $expectedLb.FrontendIPConfigurations[0].Etag $list[0].FrontendIPConfigurations[0].Etag @@ -448,10 +448,10 @@ function Test-LoadBalancerCRUD-InternalUsingId Assert-AreEqual $expectedLb.LoadBalancingRules[0].Etag $list[0].LoadBalancingRules[0].Etag # Delete - $deleteLb = Remove-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname -PassThru -Force + $deleteLb = Remove-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname -PassThru -Force Assert-AreEqual true $deleteLb - $list = Get-AzureRMLoadBalancer -ResourceGroupName $rgname + $list = Get-AzureRmLoadBalancer -ResourceGroupName $rgname Assert-AreEqual 0 @($list).Count } finally @@ -486,23 +486,23 @@ function Test-LoadBalancerCRUD-PublicUsingId try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create the Virtual Network - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 - $vnet = New-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 + $vnet = New-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet # Create the publicip - $publicip = New-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel + $publicip = New-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel - $frontend = New-AzureRMLoadBalancerFrontendIpConfig -Name $frontendName -PublicIpAddressId $publicip.Id - $backendAddressPool = New-AzureRMLoadBalancerBackendAddressPoolConfig -Name $backendAddressPoolName - $probe = New-AzureRMLoadBalancerProbeConfig -Name $probeName -RequestPath healthcheck.aspx -Protocol http -Port 80 -IntervalInSeconds 15 -ProbeCount 2 - $inboundNatRule = New-AzureRMLoadBalancerInboundNatRuleConfig -Name $inboundNatRuleName -FrontendIPConfigurationId $frontend.Id -Protocol Tcp -FrontendPort 3389 -BackendPort 3389 -IdleTimeoutInMinutes 15 -EnableFloatingIP - $lbrule = New-AzureRMLoadBalancerRuleConfig -Name $lbruleName -FrontendIPConfigurationId $frontend.Id -BackendAddressPoolId $backendAddressPool.Id -ProbeId $probe.Id -Protocol Tcp -FrontendPort 80 -BackendPort 80 -IdleTimeoutInMinutes 15 -EnableFloatingIP - $actualLb = New-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname -Location $location -FrontendIpConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -InboundNatRule $inboundNatRule -LoadBalancingRule $lbrule + $frontend = New-AzureRmLoadBalancerFrontendIpConfig -Name $frontendName -PublicIpAddressId $publicip.Id + $backendAddressPool = New-AzureRmLoadBalancerBackendAddressPoolConfig -Name $backendAddressPoolName + $probe = New-AzureRmLoadBalancerProbeConfig -Name $probeName -RequestPath healthcheck.aspx -Protocol http -Port 80 -IntervalInSeconds 15 -ProbeCount 2 + $inboundNatRule = New-AzureRmLoadBalancerInboundNatRuleConfig -Name $inboundNatRuleName -FrontendIPConfigurationId $frontend.Id -Protocol Tcp -FrontendPort 3389 -BackendPort 3389 -IdleTimeoutInMinutes 15 -EnableFloatingIP + $lbrule = New-AzureRmLoadBalancerRuleConfig -Name $lbruleName -FrontendIPConfigurationId $frontend.Id -BackendAddressPoolId $backendAddressPool.Id -ProbeId $probe.Id -Protocol Tcp -FrontendPort 80 -BackendPort 80 -IdleTimeoutInMinutes 15 -EnableFloatingIP + $actualLb = New-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname -Location $location -FrontendIpConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -InboundNatRule $inboundNatRule -LoadBalancingRule $lbrule - $expectedLb = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname + $expectedLb = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname # Verification Assert-AreEqual $expectedLb.ResourceGroupName $actualLb.ResourceGroupName @@ -527,7 +527,7 @@ function Test-LoadBalancerCRUD-PublicUsingId Assert-AreEqual $expectedLb.BackendAddressPools[0].Id $expectedLb.LoadBalancingRules[0].BackendAddressPool.Id # List - $list = Get-AzureRMLoadBalancer -ResourceGroupName $rgname + $list = Get-AzureRmLoadBalancer -ResourceGroupName $rgname Assert-AreEqual 1 @($list).Count Assert-AreEqual $expectedLb.Etag $list[0].Etag Assert-AreEqual $expectedLb.FrontendIPConfigurations[0].Etag $list[0].FrontendIPConfigurations[0].Etag @@ -537,10 +537,10 @@ function Test-LoadBalancerCRUD-PublicUsingId Assert-AreEqual $expectedLb.LoadBalancingRules[0].Etag $list[0].LoadBalancingRules[0].Etag # Delete - $deleteLb = Remove-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname -PassThru -Force + $deleteLb = Remove-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname -PassThru -Force Assert-AreEqual true $deleteLb - $list = Get-AzureRMLoadBalancer -ResourceGroupName $rgname + $list = Get-AzureRmLoadBalancer -ResourceGroupName $rgname Assert-AreEqual 0 @($list).Count } finally @@ -575,23 +575,23 @@ function Test-LoadBalancerCRUD-PublicNoLbRule try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create the Virtual Network - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 - $vnet = New-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 + $vnet = New-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet # Create the publicip - $publicip = New-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel + $publicip = New-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel # Create LoadBalancer - $frontend = New-AzureRMLoadBalancerFrontendIpConfig -Name $frontendName -PublicIpAddress $publicip - $backendAddressPool = New-AzureRMLoadBalancerBackendAddressPoolConfig -Name $backendAddressPoolName - $probe = New-AzureRMLoadBalancerProbeConfig -Name $probeName -RequestPath healthcheck.aspx -Protocol http -Port 80 -IntervalInSeconds 15 -ProbeCount 2 - $inboundNatRule = New-AzureRMLoadBalancerInboundNatRuleConfig -Name $inboundNatRuleName -FrontendIPConfiguration $frontend -Protocol Tcp -FrontendPort 3389 -BackendPort 3389 -IdleTimeoutInMinutes 15 -EnableFloatingIP - $actualLb = New-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname -Location $location -FrontendIpConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -InboundNatRule $inboundNatRule + $frontend = New-AzureRmLoadBalancerFrontendIpConfig -Name $frontendName -PublicIpAddress $publicip + $backendAddressPool = New-AzureRmLoadBalancerBackendAddressPoolConfig -Name $backendAddressPoolName + $probe = New-AzureRmLoadBalancerProbeConfig -Name $probeName -RequestPath healthcheck.aspx -Protocol http -Port 80 -IntervalInSeconds 15 -ProbeCount 2 + $inboundNatRule = New-AzureRmLoadBalancerInboundNatRuleConfig -Name $inboundNatRuleName -FrontendIPConfiguration $frontend -Protocol Tcp -FrontendPort 3389 -BackendPort 3389 -IdleTimeoutInMinutes 15 -EnableFloatingIP + $actualLb = New-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname -Location $location -FrontendIpConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -InboundNatRule $inboundNatRule - $expectedLb = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname + $expectedLb = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname # Verification Assert-AreEqual $expectedLb.ResourceGroupName $actualLb.ResourceGroupName @@ -613,7 +613,7 @@ function Test-LoadBalancerCRUD-PublicNoLbRule Assert-AreEqual $expectedLb.FrontendIPConfigurations[0].Id $expectedLb.InboundNatRules[0].FrontendIPConfiguration.Id # List - $list = Get-AzureRMLoadBalancer -ResourceGroupName $rgname + $list = Get-AzureRmLoadBalancer -ResourceGroupName $rgname Assert-AreEqual 1 @($list).Count Assert-AreEqual $expectedLb.Etag $list[0].Etag Assert-AreEqual $expectedLb.FrontendIPConfigurations[0].Etag $list[0].FrontendIPConfigurations[0].Etag @@ -622,10 +622,10 @@ function Test-LoadBalancerCRUD-PublicNoLbRule Assert-AreEqual $expectedLb.Probes[0].Etag $list[0].Probes[0].Etag # Delete - $deleteLb = Remove-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname -PassThru -Force + $deleteLb = Remove-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname -PassThru -Force Assert-AreEqual true $deleteLb - $list = Get-AzureRMLoadBalancer -ResourceGroupName $rgname + $list = Get-AzureRmLoadBalancer -ResourceGroupName $rgname Assert-AreEqual 0 @($list).Count } finally @@ -661,98 +661,98 @@ function Test-LoadBalancerChildResource try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create the Virtual Network - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 - $vnet = New-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 + $vnet = New-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet # Create the publicip - $publicip = New-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel + $publicip = New-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel - $frontend = New-AzureRMLoadBalancerFrontendIpConfig -Name $frontendName -SubnetId $vnet.Subnets[0].Id - $backendAddressPool = New-AzureRMLoadBalancerBackendAddressPoolConfig -Name $backendAddressPoolName - $probe = New-AzureRMLoadBalancerProbeConfig -Name $probeName -RequestPath healthcheck.aspx -Protocol http -Port 80 -IntervalInSeconds 15 -ProbeCount 2 - $inboundNatRule = New-AzureRMLoadBalancerInboundNatRuleConfig -Name $inboundNatRuleName -FrontendIPConfigurationId $frontend.Id -Protocol Tcp -FrontendPort 3389 -BackendPort 3389 -IdleTimeoutInMinutes 15 -EnableFloatingIP - $lbrule = New-AzureRMLoadBalancerRuleConfig -Name $lbruleName -FrontendIPConfigurationId $frontend.Id -BackendAddressPoolId $backendAddressPool.Id -ProbeId $probe.Id -Protocol Tcp -FrontendPort 80 -BackendPort 80 -IdleTimeoutInMinutes 15 -EnableFloatingIP - New-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname -Location $location -FrontendIpConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -InboundNatRule $inboundNatRule -LoadBalancingRule $lbrule + $frontend = New-AzureRmLoadBalancerFrontendIpConfig -Name $frontendName -SubnetId $vnet.Subnets[0].Id + $backendAddressPool = New-AzureRmLoadBalancerBackendAddressPoolConfig -Name $backendAddressPoolName + $probe = New-AzureRmLoadBalancerProbeConfig -Name $probeName -RequestPath healthcheck.aspx -Protocol http -Port 80 -IntervalInSeconds 15 -ProbeCount 2 + $inboundNatRule = New-AzureRmLoadBalancerInboundNatRuleConfig -Name $inboundNatRuleName -FrontendIPConfigurationId $frontend.Id -Protocol Tcp -FrontendPort 3389 -BackendPort 3389 -IdleTimeoutInMinutes 15 -EnableFloatingIP + $lbrule = New-AzureRmLoadBalancerRuleConfig -Name $lbruleName -FrontendIPConfigurationId $frontend.Id -BackendAddressPoolId $backendAddressPool.Id -ProbeId $probe.Id -Protocol Tcp -FrontendPort 80 -BackendPort 80 -IdleTimeoutInMinutes 15 -EnableFloatingIP + New-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname -Location $location -FrontendIpConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -InboundNatRule $inboundNatRule -LoadBalancingRule $lbrule - $lb = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname + $lb = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname # Test FrontendConfig cmdlets $frontendName2 = Get-ResourceName - $lb = $lb | Add-AzureRMLoadBalancerFrontendIpConfig -Name $frontendName2 -Subnet $vnet.Subnets[0] + $lb = $lb | Add-AzureRmLoadBalancerFrontendIpConfig -Name $frontendName2 -Subnet $vnet.Subnets[0] Assert-AreEqual 2 @($lb.FrontendIPConfigurations).Count Assert-AreEqual $frontendName2 $lb.FrontendIPConfigurations[1].Name Assert-AreEqual "Dynamic" $lb.FrontendIPConfigurations[1].PrivateIPAllocationMethod Assert-AreEqual $vnet.Subnets[0].Id $lb.FrontendIPConfigurations[1].Subnet.Id - $lb = $lb | Set-AzureRMLoadBalancerFrontendIpConfig -Name $frontendName2 -Subnet $vnet.Subnets[0] -PrivateIpAddress "10.0.1.5" + $lb = $lb | Set-AzureRmLoadBalancerFrontendIpConfig -Name $frontendName2 -Subnet $vnet.Subnets[0] -PrivateIpAddress "10.0.1.5" Assert-AreEqual 2 @($lb.FrontendIPConfigurations).Count Assert-AreEqual $frontendName2 $lb.FrontendIPConfigurations[1].Name Assert-AreEqual "Static" $lb.FrontendIPConfigurations[1].PrivateIPAllocationMethod Assert-AreEqual $vnet.Subnets[0].Id $lb.FrontendIPConfigurations[1].Subnet.Id Assert-AreEqual "10.0.1.5" $lb.FrontendIPConfigurations[1].PrivateIpAddress - $frontendIpconfig = $lb | Get-AzureRMLoadBalancerFrontendIpConfig -Name $frontendName2 - $frontendIpconfigList = $lb | Get-AzureRMLoadBalancerFrontendIpConfig + $frontendIpconfig = $lb | Get-AzureRmLoadBalancerFrontendIpConfig -Name $frontendName2 + $frontendIpconfigList = $lb | Get-AzureRmLoadBalancerFrontendIpConfig Assert-AreEqual 2 @($frontendIpconfigList).Count Assert-AreEqual $frontendName $frontendIpconfigList[0].Name Assert-AreEqual $frontendName2 $frontendIpconfigList[1].Name Assert-AreEqual $frontendIpconfig.Name $frontendIpconfigList[1].Name - $lb = $lb | Remove-AzureRMLoadBalancerFrontendIpConfig -Name $frontendName2 + $lb = $lb | Remove-AzureRmLoadBalancerFrontendIpConfig -Name $frontendName2 Assert-AreEqual 1 @($lb.FrontendIPConfigurations).Count Assert-AreEqual $frontendName $lb.FrontendIPConfigurations[0].Name # Test BackendAddressPool cmdlets $backendAddressPoolName2 = Get-ResourceName - $lb = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname | Add-AzureRMLoadBalancerBackendAddressPoolConfig -Name $backendAddressPoolName2 | Set-AzureRMLoadBalancer + $lb = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname | Add-AzureRmLoadBalancerBackendAddressPoolConfig -Name $backendAddressPoolName2 | Set-AzureRmLoadBalancer Assert-AreEqual 2 @($lb.BackendAddressPools).Count Assert-AreEqual $backendAddressPoolName2 $lb.BackendAddressPools[1].Name - $backendAddressPoolConfig = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname| Get-AzureRMLoadBalancerBackendAddressPoolConfig -Name $backendAddressPoolName2 - $backendAddressPoolConfigList = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname | Get-AzureRMLoadBalancerBackendAddressPoolConfig + $backendAddressPoolConfig = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname| Get-AzureRmLoadBalancerBackendAddressPoolConfig -Name $backendAddressPoolName2 + $backendAddressPoolConfigList = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname | Get-AzureRmLoadBalancerBackendAddressPoolConfig Assert-AreEqual 2 @($backendAddressPoolconfigList).Count Assert-AreEqual $backendAddressPoolName $backendAddressPoolConfigList[0].Name Assert-AreEqual $backendAddressPoolName2 $backendAddressPoolConfigList[1].Name Assert-AreEqual $backendAddressPoolConfig.Name $backendAddressPoolConfigList[1].Name - $lb = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname | Remove-AzureRMLoadBalancerBackendAddressPoolConfig -Name $backendAddressPoolName2 | Set-AzureRMLoadBalancer + $lb = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname | Remove-AzureRmLoadBalancerBackendAddressPoolConfig -Name $backendAddressPoolName2 | Set-AzureRmLoadBalancer Assert-AreEqual 1 @($lb.BackendAddressPools).Count Assert-AreEqual $backendAddressPoolName $lb.BackendAddressPools[0].Name # Test Probe cmdlets $probeName2 = Get-ResourceName - $lb = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname | Add-AzureRMLoadBalancerProbeConfig -Name $probeName2 -RequestPath healthcheck2.aspx -Protocol http -Port 81 -IntervalInSeconds 16 -ProbeCount 3 | Set-AzureRMLoadBalancer + $lb = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname | Add-AzureRmLoadBalancerProbeConfig -Name $probeName2 -RequestPath healthcheck2.aspx -Protocol http -Port 81 -IntervalInSeconds 16 -ProbeCount 3 | Set-AzureRmLoadBalancer Assert-AreEqual 2 @($lb.Probes).Count Assert-AreEqual $probeName2 $lb.Probes[1].Name Assert-AreEqual "healthcheck2.aspx" $lb.Probes[1].RequestPath Assert-AreEqual 81 $lb.Probes[1].Port - $lb = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname | Set-AzureRMLoadBalancerProbeConfig -Name $probeName2 -RequestPath healthcheck2.aspx -Protocol http -Port 85 -IntervalInSeconds 16 -ProbeCount 3 | Set-AzureRMLoadBalancer + $lb = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname | Set-AzureRmLoadBalancerProbeConfig -Name $probeName2 -RequestPath healthcheck2.aspx -Protocol http -Port 85 -IntervalInSeconds 16 -ProbeCount 3 | Set-AzureRmLoadBalancer Assert-AreEqual 2 @($lb.Probes).Count Assert-AreEqual $probeName2 $lb.Probes[1].Name Assert-AreEqual "healthcheck2.aspx" $lb.Probes[1].RequestPath Assert-AreEqual 85 $lb.Probes[1].Port - $probeConfig = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname | Get-AzureRMLoadBalancerProbeConfig -Name $probeName2 - $probeConfigList = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname | Get-AzureRMLoadBalancerProbeConfig + $probeConfig = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname | Get-AzureRmLoadBalancerProbeConfig -Name $probeName2 + $probeConfigList = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname | Get-AzureRmLoadBalancerProbeConfig Assert-AreEqual 2 @($probeConfigList).Count Assert-AreEqual $probeName $probeConfigList[0].Name Assert-AreEqual $probeName2 $probeConfigList[1].Name Assert-AreEqual $probeConfig.Name $probeConfigList[1].Name - $lb = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname | Remove-AzureRMLoadBalancerProbeConfig -Name $probeName2 | Set-AzureRMLoadBalancer + $lb = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname | Remove-AzureRmLoadBalancerProbeConfig -Name $probeName2 | Set-AzureRmLoadBalancer Assert-AreEqual 1 @($lb.Probes).Count Assert-AreEqual $probeName $lb.Probes[0].Name # Test InboundNatRule cmdlets $inboundNatRuleName2 = Get-ResourceName - $lb = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname | Add-AzureRMLoadBalancerInboundNatRuleConfig -Name $inboundNatRuleName2 -FrontendIPConfigurationId $lb.FrontendIPConfigurations[0].Id -Protocol Tcp -FrontendPort 3350 -BackendPort 3350 -IdleTimeoutInMinutes 17 -EnableFloatingIP | Set-AzureRMLoadBalancer + $lb = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname | Add-AzureRmLoadBalancerInboundNatRuleConfig -Name $inboundNatRuleName2 -FrontendIPConfigurationId $lb.FrontendIPConfigurations[0].Id -Protocol Tcp -FrontendPort 3350 -BackendPort 3350 -IdleTimeoutInMinutes 17 -EnableFloatingIP | Set-AzureRmLoadBalancer Assert-AreEqual 2 @($lb.InboundNatRules).Count Assert-AreEqual $inboundNatRuleName2 $lb.InboundNatRules[1].Name @@ -760,27 +760,27 @@ function Test-LoadBalancerChildResource Assert-AreEqual 3350 $lb.InboundNatRules[1].BackendPort Assert-AreEqual true $lb.InboundNatRules[1].EnableFloatingIP - $lb = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname | Set-AzureRMLoadBalancerInboundNatRuleConfig -Name $inboundNatRuleName2 -FrontendIPConfigurationId $lb.FrontendIPConfigurations[0].Id -Protocol Tcp -FrontendPort 3352 -BackendPort 3351 -IdleTimeoutInMinutes 17 | Set-AzureRMLoadBalancer + $lb = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname | Set-AzureRmLoadBalancerInboundNatRuleConfig -Name $inboundNatRuleName2 -FrontendIPConfigurationId $lb.FrontendIPConfigurations[0].Id -Protocol Tcp -FrontendPort 3352 -BackendPort 3351 -IdleTimeoutInMinutes 17 | Set-AzureRmLoadBalancer Assert-AreEqual 2 @($lb.InboundNatRules).Count Assert-AreEqual $inboundNatRuleName2 $lb.InboundNatRules[1].Name Assert-AreEqual 3352 $lb.InboundNatRules[1].FrontendPort Assert-AreEqual 3351 $lb.InboundNatRules[1].BackendPort Assert-AreEqual false $lb.InboundNatRules[1].EnableFloatingIP - $inboundNatRuleConfig = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname | Get-AzureRMLoadBalancerInboundNatRuleConfig -Name $inboundNatRuleName2 - $inboundNatRuleConfigList = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname | Get-AzureRMLoadBalancerInboundNatRuleConfig + $inboundNatRuleConfig = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname | Get-AzureRmLoadBalancerInboundNatRuleConfig -Name $inboundNatRuleName2 + $inboundNatRuleConfigList = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname | Get-AzureRmLoadBalancerInboundNatRuleConfig Assert-AreEqual 2 @($inboundNatRuleConfigList).Count Assert-AreEqual $inboundNatRuleName $inboundNatRuleConfigList[0].Name Assert-AreEqual $inboundNatRuleName2 $inboundNatRuleConfigList[1].Name Assert-AreEqual $inboundNatRuleConfig.Name $inboundNatRuleConfigList[1].Name - $lb = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname | Remove-AzureRMLoadBalancerInboundNatRuleConfig -Name $inboundNatRuleName2 | Set-AzureRMLoadBalancer + $lb = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname | Remove-AzureRmLoadBalancerInboundNatRuleConfig -Name $inboundNatRuleName2 | Set-AzureRmLoadBalancer Assert-AreEqual 1 @($lb.InboundNatRules).Count Assert-AreEqual $inboundNatRuleName $lb.InboundNatRules[0].Name # Test LoadBalancingRule Cmdlets $lbruleName2 = Get-ResourceName - $lb = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname | Add-AzureRMLoadBalancerRuleConfig -Name $lbruleName2 -FrontendIPConfigurationId $lb.FrontendIPConfigurations[0].Id -BackendAddressPoolId $lb.BackendAddressPools[0].Id -ProbeId $lb.Probes[0].Id -Protocol Tcp -FrontendPort 82 -BackendPort 83 -IdleTimeoutInMinutes 15 -LoadDistribution SourceIP| Set-AzureRMLoadBalancer + $lb = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname | Add-AzureRmLoadBalancerRuleConfig -Name $lbruleName2 -FrontendIPConfigurationId $lb.FrontendIPConfigurations[0].Id -BackendAddressPoolId $lb.BackendAddressPools[0].Id -ProbeId $lb.Probes[0].Id -Protocol Tcp -FrontendPort 82 -BackendPort 83 -IdleTimeoutInMinutes 15 -LoadDistribution SourceIP| Set-AzureRmLoadBalancer Assert-AreEqual 2 @($lb.LoadBalancingRules).Count Assert-AreEqual $lbruleName2 $lb.LoadBalancingRules[1].Name @@ -789,7 +789,7 @@ function Test-LoadBalancerChildResource Assert-AreEqual false $lb.LoadBalancingRules[1].EnableFloatingIP Assert-AreEqual "SourceIP" $lb.LoadBalancingRules[1].LoadDistribution - $lb = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname | Set-AzureRMLoadBalancerRuleConfig -Name $lbruleName2 -FrontendIPConfigurationId $lb.FrontendIPConfigurations[0].Id -BackendAddressPoolId $lb.BackendAddressPools[0].Id -ProbeId $lb.Probes[0].Id -Protocol Tcp -FrontendPort 84 -BackendPort 84 -IdleTimeoutInMinutes 17 -EnableFloatingIP | Set-AzureRMLoadBalancer + $lb = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname | Set-AzureRmLoadBalancerRuleConfig -Name $lbruleName2 -FrontendIPConfigurationId $lb.FrontendIPConfigurations[0].Id -BackendAddressPoolId $lb.BackendAddressPools[0].Id -ProbeId $lb.Probes[0].Id -Protocol Tcp -FrontendPort 84 -BackendPort 84 -IdleTimeoutInMinutes 17 -EnableFloatingIP | Set-AzureRmLoadBalancer Assert-AreEqual 2 @($lb.LoadBalancingRules).Count Assert-AreEqual $lbruleName2 $lb.LoadBalancingRules[1].Name Assert-AreEqual 84 $lb.LoadBalancingRules[1].FrontendPort @@ -797,22 +797,22 @@ function Test-LoadBalancerChildResource Assert-AreEqual true $lb.LoadBalancingRules[1].EnableFloatingIP Assert-AreEqual "Default" $lb.LoadBalancingRules[1].LoadDistribution - $lbruleConfig = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname | Get-AzureRMLoadBalancerRuleConfig -Name $lbruleName2 - $lbruleConfigList = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname | Get-AzureRMLoadBalancerRuleConfig + $lbruleConfig = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname | Get-AzureRmLoadBalancerRuleConfig -Name $lbruleName2 + $lbruleConfigList = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname | Get-AzureRmLoadBalancerRuleConfig Assert-AreEqual 2 @($inboundNatRuleConfigList).Count Assert-AreEqual $lbruleName $lbruleConfigList[0].Name Assert-AreEqual $lbruleName2 $lbruleConfigList[1].Name Assert-AreEqual $lbruleConfig.Name $lbruleConfigList[1].Name - $lb = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname | Remove-AzureRMLoadBalancerRuleConfig -Name $lbruleName2 | Set-AzureRMLoadBalancer + $lb = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname | Remove-AzureRmLoadBalancerRuleConfig -Name $lbruleName2 | Set-AzureRmLoadBalancer Assert-AreEqual 1 @($lb.LoadBalancingRules).Count Assert-AreEqual $lbruleName $lb.LoadBalancingRules[0].Name # Delete - $deleteLb = $lb | Remove-AzureRMLoadBalancer -PassThru -Force + $deleteLb = $lb | Remove-AzureRmLoadBalancer -PassThru -Force Assert-AreEqual true $deleteLb - $list = Get-AzureRMLoadBalancer -ResourceGroupName $rgname + $list = Get-AzureRmLoadBalancer -ResourceGroupName $rgname Assert-AreEqual 0 @($list).Count } finally @@ -847,44 +847,44 @@ function Test-LoadBalancerSet try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create the Virtual Network - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 - $vnet = New-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 + $vnet = New-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet # Create the publicip - $publicip = New-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel + $publicip = New-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel - $frontend = New-AzureRMLoadBalancerFrontendIpConfig -Name $frontendName -SubnetId $vnet.Subnets[0].Id - $backendAddressPool = New-AzureRMLoadBalancerBackendAddressPoolConfig -Name $backendAddressPoolName - $probe = New-AzureRMLoadBalancerProbeConfig -Name $probeName -RequestPath healthcheck.aspx -Protocol http -Port 80 -IntervalInSeconds 15 -ProbeCount 2 - $inboundNatRule = New-AzureRMLoadBalancerInboundNatRuleConfig -Name $inboundNatRuleName -FrontendIPConfigurationId $frontend.Id -Protocol Tcp -FrontendPort 3389 -BackendPort 3389 -IdleTimeoutInMinutes 15 -EnableFloatingIP - $lbrule = New-AzureRMLoadBalancerRuleConfig -Name $lbruleName -FrontendIPConfigurationId $frontend.Id -BackendAddressPoolId $backendAddressPool.Id -ProbeId $probe.Id -Protocol Tcp -FrontendPort 80 -BackendPort 80 -IdleTimeoutInMinutes 15 -EnableFloatingIP - New-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname -Location $location -FrontendIpConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -InboundNatRule $inboundNatRule -LoadBalancingRule $lbrule + $frontend = New-AzureRmLoadBalancerFrontendIpConfig -Name $frontendName -SubnetId $vnet.Subnets[0].Id + $backendAddressPool = New-AzureRmLoadBalancerBackendAddressPoolConfig -Name $backendAddressPoolName + $probe = New-AzureRmLoadBalancerProbeConfig -Name $probeName -RequestPath healthcheck.aspx -Protocol http -Port 80 -IntervalInSeconds 15 -ProbeCount 2 + $inboundNatRule = New-AzureRmLoadBalancerInboundNatRuleConfig -Name $inboundNatRuleName -FrontendIPConfigurationId $frontend.Id -Protocol Tcp -FrontendPort 3389 -BackendPort 3389 -IdleTimeoutInMinutes 15 -EnableFloatingIP + $lbrule = New-AzureRmLoadBalancerRuleConfig -Name $lbruleName -FrontendIPConfigurationId $frontend.Id -BackendAddressPoolId $backendAddressPool.Id -ProbeId $probe.Id -Protocol Tcp -FrontendPort 80 -BackendPort 80 -IdleTimeoutInMinutes 15 -EnableFloatingIP + New-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname -Location $location -FrontendIpConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -InboundNatRule $inboundNatRule -LoadBalancingRule $lbrule - $lb = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname + $lb = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname # Test Probe cmdlets $probeName2 = Get-ResourceName - $lb = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname | Add-AzureRMLoadBalancerProbeConfig -Name $probeName2 -RequestPath healthcheck2.aspx -Protocol http -Port 81 -IntervalInSeconds 16 -ProbeCount 3 | Set-AzureRMLoadBalancer + $lb = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname | Add-AzureRmLoadBalancerProbeConfig -Name $probeName2 -RequestPath healthcheck2.aspx -Protocol http -Port 81 -IntervalInSeconds 16 -ProbeCount 3 | Set-AzureRmLoadBalancer Assert-AreEqual 2 @($lb.Probes).Count Assert-AreEqual $probeName2 $lb.Probes[1].Name Assert-AreEqual "healthcheck2.aspx" $lb.Probes[1].RequestPath Assert-AreEqual 81 $lb.Probes[1].Port - $lb = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname | Set-AzureRMLoadBalancer + $lb = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname | Set-AzureRmLoadBalancer Assert-AreEqual 2 @($lb.Probes).Count Assert-AreEqual $probeName2 $lb.Probes[1].Name Assert-AreEqual "healthcheck2.aspx" $lb.Probes[1].RequestPath Assert-AreEqual 81 $lb.Probes[1].Port # Delete - $deleteLb = $lb | Remove-AzureRMLoadBalancer -PassThru -Force + $deleteLb = $lb | Remove-AzureRmLoadBalancer -PassThru -Force Assert-AreEqual true $deleteLb - $list = Get-AzureRMLoadBalancer -ResourceGroupName $rgname + $list = Get-AzureRmLoadBalancer -ResourceGroupName $rgname Assert-AreEqual 0 @($list).Count } finally @@ -910,12 +910,12 @@ function Test-CreateEmptyLoadBalancer try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create empty load balancer - New-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname -Location $location + New-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname -Location $location - $lb = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname + $lb = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname Assert-AreEqual $lbName $lb.Name Assert-AreEqual 0 @($lb.FrontendIpConfigurations).Count Assert-AreEqual 0 @($lb.BackendAddressPools).Count @@ -924,10 +924,10 @@ function Test-CreateEmptyLoadBalancer Assert-AreEqual 0 @($lb.LoadBalancingRules).Count # Delete - $deleteLb = $lb | Remove-AzureRMLoadBalancer -PassThru -Force + $deleteLb = $lb | Remove-AzureRmLoadBalancer -PassThru -Force Assert-AreEqual true $deleteLb - $list = Get-AzureRMLoadBalancer -ResourceGroupName $rgname + $list = Get-AzureRmLoadBalancer -ResourceGroupName $rgname Assert-AreEqual 0 @($list).Count } finally @@ -965,23 +965,23 @@ function Test-LoadBalancer-NicAssociation try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create the Virtual Network - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 - $vnet = New-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 + $vnet = New-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet # Create the publicip - $publicip = New-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic + $publicip = New-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic # Create LoadBalancer - $frontend = New-AzureRMLoadBalancerFrontendIpConfig -Name $frontendName -PublicIpAddress $publicip - $backendAddressPool = New-AzureRMLoadBalancerBackendAddressPoolConfig -Name $backendAddressPoolName - $probe = New-AzureRMLoadBalancerProbeConfig -Name $probeName -RequestPath healthcheck.aspx -Protocol http -Port 80 -IntervalInSeconds 15 -ProbeCount 2 - $inboundNatRule1 = New-AzureRMLoadBalancerInboundNatRuleConfig -Name $inboundNatRuleName1 -FrontendIPConfiguration $frontend -Protocol Tcp -FrontendPort 3389 -BackendPort 3389 -IdleTimeoutInMinutes 15 -EnableFloatingIP - $inboundNatRule2 = New-AzureRMLoadBalancerInboundNatRuleConfig -Name $inboundNatRuleName2 -FrontendIPConfiguration $frontend -Protocol Tcp -FrontendPort 3391 -BackendPort 3392 - $lbrule = New-AzureRMLoadBalancerRuleConfig -Name $lbruleName -FrontendIPConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -Protocol Tcp -FrontendPort 80 -BackendPort 80 -IdleTimeoutInMinutes 15 -EnableFloatingIP -LoadDistribution SourceIP - $lb = New-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname -Location $location -FrontendIpConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -InboundNatRule $inboundNatRule1,$inboundNatRule2 -LoadBalancingRule $lbrule + $frontend = New-AzureRmLoadBalancerFrontendIpConfig -Name $frontendName -PublicIpAddress $publicip + $backendAddressPool = New-AzureRmLoadBalancerBackendAddressPoolConfig -Name $backendAddressPoolName + $probe = New-AzureRmLoadBalancerProbeConfig -Name $probeName -RequestPath healthcheck.aspx -Protocol http -Port 80 -IntervalInSeconds 15 -ProbeCount 2 + $inboundNatRule1 = New-AzureRmLoadBalancerInboundNatRuleConfig -Name $inboundNatRuleName1 -FrontendIPConfiguration $frontend -Protocol Tcp -FrontendPort 3389 -BackendPort 3389 -IdleTimeoutInMinutes 15 -EnableFloatingIP + $inboundNatRule2 = New-AzureRmLoadBalancerInboundNatRuleConfig -Name $inboundNatRuleName2 -FrontendIPConfiguration $frontend -Protocol Tcp -FrontendPort 3391 -BackendPort 3392 + $lbrule = New-AzureRmLoadBalancerRuleConfig -Name $lbruleName -FrontendIPConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -Protocol Tcp -FrontendPort 80 -BackendPort 80 -IdleTimeoutInMinutes 15 -EnableFloatingIP -LoadDistribution SourceIP + $lb = New-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname -Location $location -FrontendIpConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -InboundNatRule $inboundNatRule1,$inboundNatRule2 -LoadBalancingRule $lbrule # Verification of Load Balancer Assert-AreEqual $rgname $lb.ResourceGroupName @@ -995,9 +995,9 @@ function Test-LoadBalancer-NicAssociation Assert-AreEqual 0 @($lb.BackendAddressPools[0].BackendIpConfigurations).Count # Create 3 network interfaces and accociate to loadbalancer - $nic1 = New-AzureRMNetworkInterface -Name $nicname1 -ResourceGroupName $rgname -Location $location -Subnet $vnet.Subnets[0] - $nic2 = New-AzureRMNetworkInterface -Name $nicname2 -ResourceGroupName $rgname -Location $location -Subnet $vnet.Subnets[0] - $nic3 = New-AzureRMNetworkInterface -Name $nicname3 -ResourceGroupName $rgname -Location $location -Subnet $vnet.Subnets[0] + $nic1 = New-AzureRmNetworkInterface -Name $nicname1 -ResourceGroupName $rgname -Location $location -Subnet $vnet.Subnets[0] + $nic2 = New-AzureRmNetworkInterface -Name $nicname2 -ResourceGroupName $rgname -Location $location -Subnet $vnet.Subnets[0] + $nic3 = New-AzureRmNetworkInterface -Name $nicname3 -ResourceGroupName $rgname -Location $location -Subnet $vnet.Subnets[0] # Associate the nic to the load balancer $nic1.IpConfigurations[0].LoadBalancerBackendAddressPools.Add($lb.BackendAddressPools[0]); @@ -1006,22 +1006,22 @@ function Test-LoadBalancer-NicAssociation $nic3.IpConfigurations[0].LoadBalancerInboundNatRules.Add($lb.InboundNatRules[1]); # set the nics - $nic1 = $nic1 | Set-AzureRMNetworkInterface - $nic2 = $nic2 | Set-AzureRMNetworkInterface - $nic3 = $nic3 | Set-AzureRMNetworkInterface + $nic1 = $nic1 | Set-AzureRmNetworkInterface + $nic2 = $nic2 | Set-AzureRmNetworkInterface + $nic3 = $nic3 | Set-AzureRmNetworkInterface # Verify the Load balancer references - $lb = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname + $lb = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname Assert-AreEqual $nic1.IpConfigurations[0].Id $lb.InboundNatRules[0].BackendIPConfiguration.Id Assert-AreEqual $nic3.IpConfigurations[0].Id $lb.InboundNatRules[1].BackendIPConfiguration.Id Assert-AreEqual 2 @($lb.BackendAddressPools[0].BackendIpConfigurations).Count # Delete - $deleteLb = Remove-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname -PassThru -Force + $deleteLb = Remove-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname -PassThru -Force Assert-AreEqual true $deleteLb - $list = Get-AzureRMLoadBalancer -ResourceGroupName $rgname + $list = Get-AzureRmLoadBalancer -ResourceGroupName $rgname Assert-AreEqual 0 @($list).Count } finally @@ -1059,23 +1059,23 @@ function Test-LoadBalancer-NicAssociationDuringCreate try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create the Virtual Network - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 - $vnet = New-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 + $vnet = New-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet # Create the publicip - $publicip = New-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic + $publicip = New-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic # Create LoadBalancer - $frontend = New-AzureRMLoadBalancerFrontendIpConfig -Name $frontendName -PublicIpAddress $publicip - $backendAddressPool = New-AzureRMLoadBalancerBackendAddressPoolConfig -Name $backendAddressPoolName - $probe = New-AzureRMLoadBalancerProbeConfig -Name $probeName -RequestPath healthcheck.aspx -Protocol http -Port 80 -IntervalInSeconds 15 -ProbeCount 2 - $inboundNatRule1 = New-AzureRMLoadBalancerInboundNatRuleConfig -Name $inboundNatRuleName1 -FrontendIPConfiguration $frontend -Protocol Tcp -FrontendPort 3389 -BackendPort 3389 -IdleTimeoutInMinutes 15 -EnableFloatingIP - $inboundNatRule2 = New-AzureRMLoadBalancerInboundNatRuleConfig -Name $inboundNatRuleName2 -FrontendIPConfiguration $frontend -Protocol Tcp -FrontendPort 3391 -BackendPort 3392 - $lbrule = New-AzureRMLoadBalancerRuleConfig -Name $lbruleName -FrontendIPConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -Protocol Tcp -FrontendPort 80 -BackendPort 80 -IdleTimeoutInMinutes 15 -EnableFloatingIP -LoadDistribution SourceIP - $lb = New-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname -Location $location -FrontendIpConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -InboundNatRule $inboundNatRule1,$inboundNatRule2 -LoadBalancingRule $lbrule + $frontend = New-AzureRmLoadBalancerFrontendIpConfig -Name $frontendName -PublicIpAddress $publicip + $backendAddressPool = New-AzureRmLoadBalancerBackendAddressPoolConfig -Name $backendAddressPoolName + $probe = New-AzureRmLoadBalancerProbeConfig -Name $probeName -RequestPath healthcheck.aspx -Protocol http -Port 80 -IntervalInSeconds 15 -ProbeCount 2 + $inboundNatRule1 = New-AzureRmLoadBalancerInboundNatRuleConfig -Name $inboundNatRuleName1 -FrontendIPConfiguration $frontend -Protocol Tcp -FrontendPort 3389 -BackendPort 3389 -IdleTimeoutInMinutes 15 -EnableFloatingIP + $inboundNatRule2 = New-AzureRmLoadBalancerInboundNatRuleConfig -Name $inboundNatRuleName2 -FrontendIPConfiguration $frontend -Protocol Tcp -FrontendPort 3391 -BackendPort 3392 + $lbrule = New-AzureRmLoadBalancerRuleConfig -Name $lbruleName -FrontendIPConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -Protocol Tcp -FrontendPort 80 -BackendPort 80 -IdleTimeoutInMinutes 15 -EnableFloatingIP -LoadDistribution SourceIP + $lb = New-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname -Location $location -FrontendIpConfiguration $frontend -BackendAddressPool $backendAddressPool -Probe $probe -InboundNatRule $inboundNatRule1,$inboundNatRule2 -LoadBalancingRule $lbrule # Verification of Load Balancer Assert-AreEqual $rgname $lb.ResourceGroupName @@ -1089,27 +1089,27 @@ function Test-LoadBalancer-NicAssociationDuringCreate Assert-AreEqual 0 @($lb.BackendAddressPools[0].BackendIpConfigurations).Count # Create 3 network interfaces and accociate to loadbalancer - $nic1 = New-AzureRMNetworkInterface -Name $nicname1 -ResourceGroupName $rgname -Location $location -Subnet $vnet.Subnets[0] -LoadBalancerBackendAddressPool $lb.BackendAddressPools[0] -LoadBalancerInboundNatRule $lb.InboundNatRules[0] - $nic2 = New-AzureRMNetworkInterface -Name $nicname2 -ResourceGroupName $rgname -Location $location -SubnetId $vnet.Subnets[0].Id -LoadBalancerBackendAddressPoolId $lb.BackendAddressPools[0].Id - $nic3 = New-AzureRMNetworkInterface -Name $nicname3 -ResourceGroupName $rgname -Location $location -SubnetId $vnet.Subnets[0].Id -LoadBalancerInboundNatRuleId $lb.InboundNatRules[1].Id + $nic1 = New-AzureRmNetworkInterface -Name $nicname1 -ResourceGroupName $rgname -Location $location -Subnet $vnet.Subnets[0] -LoadBalancerBackendAddressPool $lb.BackendAddressPools[0] -LoadBalancerInboundNatRule $lb.InboundNatRules[0] + $nic2 = New-AzureRmNetworkInterface -Name $nicname2 -ResourceGroupName $rgname -Location $location -SubnetId $vnet.Subnets[0].Id -LoadBalancerBackendAddressPoolId $lb.BackendAddressPools[0].Id + $nic3 = New-AzureRmNetworkInterface -Name $nicname3 -ResourceGroupName $rgname -Location $location -SubnetId $vnet.Subnets[0].Id -LoadBalancerInboundNatRuleId $lb.InboundNatRules[1].Id # set the nics - $nic1 = $nic1 | Set-AzureRMNetworkInterface - $nic2 = $nic2 | Set-AzureRMNetworkInterface - $nic3 = $nic3 | Set-AzureRMNetworkInterface + $nic1 = $nic1 | Set-AzureRmNetworkInterface + $nic2 = $nic2 | Set-AzureRmNetworkInterface + $nic3 = $nic3 | Set-AzureRmNetworkInterface # Verify the Load balancer references - $lb = Get-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname + $lb = Get-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname Assert-AreEqual $nic1.IpConfigurations[0].Id $lb.InboundNatRules[0].BackendIPConfiguration.Id Assert-AreEqual $nic3.IpConfigurations[0].Id $lb.InboundNatRules[1].BackendIPConfiguration.Id Assert-AreEqual 2 @($lb.BackendAddressPools[0].BackendIpConfigurations).Count # Delete - $deleteLb = Remove-AzureRMLoadBalancer -Name $lbName -ResourceGroupName $rgname -PassThru -Force + $deleteLb = Remove-AzureRmLoadBalancer -Name $lbName -ResourceGroupName $rgname -PassThru -Force Assert-AreEqual true $deleteLb - $list = Get-AzureRMLoadBalancer -ResourceGroupName $rgname + $list = Get-AzureRmLoadBalancer -ResourceGroupName $rgname Assert-AreEqual 0 @($list).Count } finally diff --git a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/LocalNetworkGatewayTests.ps1 b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/LocalNetworkGatewayTests.ps1 index f2ecb66fc2bc..3bd49aba27da 100644 --- a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/LocalNetworkGatewayTests.ps1 +++ b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/LocalNetworkGatewayTests.ps1 @@ -28,11 +28,11 @@ function Test-LocalNetworkGatewayCRUD try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create & Get LocalNetworkGateway - $actual = New-AzureRMLocalNetworkGateway -ResourceGroupName $rgname -name $rname -location $location -AddressPrefix 192.168.0.0/16 -GatewayIpAddress 192.168.3.4 - $expected = Get-AzureRMLocalNetworkGateway -ResourceGroupName $rgname -name $rname + $actual = New-AzureRmLocalNetworkGateway -ResourceGroupName $rgname -name $rname -location $location -AddressPrefix 192.168.0.0/16 -GatewayIpAddress 192.168.3.4 + $expected = Get-AzureRmLocalNetworkGateway -ResourceGroupName $rgname -name $rname Assert-AreEqual $expected.ResourceGroupName $actual.ResourceGroupName Assert-AreEqual $expected.Name $actual.Name Assert-AreEqual "192.168.3.4" $expected.GatewayIpAddress @@ -40,7 +40,7 @@ function Test-LocalNetworkGatewayCRUD $expected.Location = $location # List LocalNetworkGateways - $list = Get-AzureRMLocalNetworkGateway -ResourceGroupName $rgname + $list = Get-AzureRmLocalNetworkGateway -ResourceGroupName $rgname Assert-AreEqual 1 @($list).Count Assert-AreEqual $list[0].ResourceGroupName $actual.ResourceGroupName Assert-AreEqual $list[0].Name $actual.Name @@ -48,15 +48,15 @@ function Test-LocalNetworkGatewayCRUD Assert-AreEqual "192.168.3.4" $list[0].GatewayIpAddress # Set/Update LocalNetworkGateway - $actual = Set-AzureRMLocalNetworkGateway -LocalNetworkGateway $expected -AddressPrefix "200.168.0.0/16" - $expected = Get-AzureRMLocalNetworkGateway -ResourceGroupName $rgname -name $rname + $actual = Set-AzureRmLocalNetworkGateway -LocalNetworkGateway $expected -AddressPrefix "200.168.0.0/16" + $expected = Get-AzureRmLocalNetworkGateway -ResourceGroupName $rgname -name $rname Assert-AreEqual "200.168.0.0/16" $expected.LocalNetworkAddressSpace.AddressPrefixes[0] # Delete LocalNetworkGateway - $delete = Remove-AzureRMLocalNetworkGateway -ResourceGroupName $actual.ResourceGroupName -name $rname -PassThru -Force + $delete = Remove-AzureRmLocalNetworkGateway -ResourceGroupName $actual.ResourceGroupName -name $rname -PassThru -Force Assert-AreEqual true $delete - $list = Get-AzureRMLocalNetworkGateway -ResourceGroupName $actual.ResourceGroupName + $list = Get-AzureRmLocalNetworkGateway -ResourceGroupName $actual.ResourceGroupName Assert-AreEqual 0 @($list).Count } finally diff --git a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/NetworkInterfaceTests.ps1 b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/NetworkInterfaceTests.ps1 index a2d45779be8e..56002b0d7202 100644 --- a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/NetworkInterfaceTests.ps1 +++ b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/NetworkInterfaceTests.ps1 @@ -32,18 +32,18 @@ function Test-NetworkInterfaceCRUD try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create the Virtual Network - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 - $vnet = New-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 + $vnet = New-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet # Create the publicip - $publicip = New-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel + $publicip = New-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel # Create NetworkInterface - $actualNic = New-AzureRMNetworkInterface -Name $nicName -ResourceGroupName $rgname -Location $location -Subnet $vnet.Subnets[0] -PublicIpAddress $publicip - $expectedNic = Get-AzureRMNetworkInterface -Name $nicName -ResourceGroupName $rgname + $actualNic = New-AzureRmNetworkInterface -Name $nicName -ResourceGroupName $rgname -Location $location -Subnet $vnet.Subnets[0] -PublicIpAddress $publicip + $expectedNic = Get-AzureRmNetworkInterface -Name $nicName -ResourceGroupName $rgname Assert-AreEqual $expectedNic.ResourceGroupName $actualNic.ResourceGroupName Assert-AreEqual $expectedNic.Name $actualNic.Name @@ -58,17 +58,17 @@ function Test-NetworkInterfaceCRUD # Check publicIp address reference - $publicip = Get-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $publicIpName + $publicip = Get-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $publicIpName Assert-AreEqual $expectedNic.IpConfigurations[0].PublicIpAddress.Id $publicip.Id Assert-AreEqual $expectedNic.IpConfigurations[0].Id $publicip.IpConfiguration.Id # Check Subnet address reference - $vnet = Get-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname + $vnet = Get-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname Assert-AreEqual $expectedNic.IpConfigurations[0].Subnet.Id $vnet.Subnets[0].Id Assert-AreEqual $expectedNic.IpConfigurations[0].Id $vnet.Subnets[0].IpConfigurations[0].Id # list - $list = Get-AzureRMNetworkInterface -ResourceGroupName $rgname + $list = Get-AzureRmNetworkInterface -ResourceGroupName $rgname Assert-AreEqual 1 @($list).Count Assert-AreEqual $list[0].ResourceGroupName $actualNic.ResourceGroupName Assert-AreEqual $list[0].Name $actualNic.Name @@ -77,10 +77,10 @@ function Test-NetworkInterfaceCRUD Assert-AreEqual $actualNic.Etag $list[0].Etag # Delete NetworkInterface - $delete = Remove-AzureRMNetworkInterface -ResourceGroupName $rgname -name $nicName -PassThru -Force + $delete = Remove-AzureRmNetworkInterface -ResourceGroupName $rgname -name $nicName -PassThru -Force Assert-AreEqual true $delete - $list = Get-AzureRMNetworkInterface -ResourceGroupName $rgname + $list = Get-AzureRmNetworkInterface -ResourceGroupName $rgname Assert-AreEqual 0 @($list).Count } finally @@ -110,18 +110,18 @@ function Test-NetworkInterfaceCRUDUsingId try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create the Virtual Network - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 - $vnet = New-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 + $vnet = New-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet # Create the publicip - $publicip = New-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel + $publicip = New-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel # Create NetworkInterface - $actualNic = New-AzureRMNetworkInterface -Name $nicName -ResourceGroupName $rgname -Location $location -SubnetId $vnet.Subnets[0].Id -PublicIpAddressId $publicip.Id - $expectedNic = Get-AzureRMNetworkInterface -Name $nicName -ResourceGroupName $rgname + $actualNic = New-AzureRmNetworkInterface -Name $nicName -ResourceGroupName $rgname -Location $location -SubnetId $vnet.Subnets[0].Id -PublicIpAddressId $publicip.Id + $expectedNic = Get-AzureRmNetworkInterface -Name $nicName -ResourceGroupName $rgname Assert-AreEqual $expectedNic.ResourceGroupName $actualNic.ResourceGroupName Assert-AreEqual $expectedNic.Name $actualNic.Name @@ -135,17 +135,17 @@ function Test-NetworkInterfaceCRUDUsingId # Check publicIp address reference - $publicip = Get-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $publicIpName + $publicip = Get-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $publicIpName Assert-AreEqual $expectedNic.IpConfigurations[0].PublicIpAddress.Id $publicip.Id Assert-AreEqual $expectedNic.IpConfigurations[0].Id $publicip.IpConfiguration.Id # Check Subnet address reference - $vnet = Get-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname + $vnet = Get-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname Assert-AreEqual $expectedNic.IpConfigurations[0].Subnet.Id $vnet.Subnets[0].Id Assert-AreEqual $expectedNic.IpConfigurations[0].Id $vnet.Subnets[0].IpConfigurations[0].Id # list - $list = Get-AzureRMNetworkInterface -ResourceGroupName $rgname + $list = Get-AzureRmNetworkInterface -ResourceGroupName $rgname Assert-AreEqual 1 @($list).Count Assert-AreEqual $list[0].ResourceGroupName $actualNic.ResourceGroupName Assert-AreEqual $list[0].Name $actualNic.Name @@ -154,10 +154,10 @@ function Test-NetworkInterfaceCRUDUsingId Assert-AreEqual $actualNic.Etag $list[0].Etag # Delete NetworkInterface - $delete = Remove-AzureRMNetworkInterface -ResourceGroupName $rgname -name $nicName -PassThru -Force + $delete = Remove-AzureRmNetworkInterface -ResourceGroupName $rgname -name $nicName -PassThru -Force Assert-AreEqual true $delete - $list = Get-AzureRMNetworkInterface -ResourceGroupName $rgname + $list = Get-AzureRmNetworkInterface -ResourceGroupName $rgname Assert-AreEqual 0 @($list).Count } finally @@ -187,18 +187,18 @@ function Test-NetworkInterfaceCRUDStaticAllocation try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create the Virtual Network - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 - $vnet = New-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 + $vnet = New-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet # Create the publicip - $publicip = New-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic + $publicip = New-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic # Create NetworkInterface - $actualNic = New-AzureRMNetworkInterface -Name $nicName -ResourceGroupName $rgname -Location $location -PrivateIpAddress "10.0.1.5" -Subnet $vnet.Subnets[0] -PublicIpAddress $publicip - $expectedNic = Get-AzureRMNetworkInterface -Name $nicName -ResourceGroupName $rgname + $actualNic = New-AzureRmNetworkInterface -Name $nicName -ResourceGroupName $rgname -Location $location -PrivateIpAddress "10.0.1.5" -Subnet $vnet.Subnets[0] -PublicIpAddress $publicip + $expectedNic = Get-AzureRmNetworkInterface -Name $nicName -ResourceGroupName $rgname Assert-AreEqual $expectedNic.ResourceGroupName $actualNic.ResourceGroupName Assert-AreEqual $expectedNic.Name $actualNic.Name @@ -211,12 +211,12 @@ function Test-NetworkInterfaceCRUDStaticAllocation Assert-AreEqual $expectedNic.IpConfigurations[0].Subnet.Id $actualNic.IpConfigurations[0].Subnet.Id # Check publicIp address reference - $publicip = Get-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $publicIpName + $publicip = Get-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $publicIpName Assert-AreEqual $expectedNic.IpConfigurations[0].PublicIpAddress.Id $publicip.Id Assert-AreEqual $expectedNic.IpConfigurations[0].Id $publicip.IpConfiguration.Id # Check Subnet address reference - $vnet = Get-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname + $vnet = Get-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname Assert-AreEqual $expectedNic.IpConfigurations[0].Subnet.Id $vnet.Subnets[0].Id Assert-AreEqual $expectedNic.IpConfigurations[0].Id $vnet.Subnets[0].IpConfigurations[0].Id } @@ -246,15 +246,15 @@ function Test-NetworkInterfaceNoPublicIpAddress try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create the Virtual Network - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 - $vnet = New-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 + $vnet = New-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet # Create NetworkInterface - $actualNic = New-AzureRMNetworkInterface -Name $nicName -ResourceGroupName $rgname -Location $location -Subnet $vnet.Subnets[0] - $expectedNic = Get-AzureRMNetworkInterface -Name $nicName -ResourceGroupName $rgname + $actualNic = New-AzureRmNetworkInterface -Name $nicName -ResourceGroupName $rgname -Location $location -Subnet $vnet.Subnets[0] + $expectedNic = Get-AzureRmNetworkInterface -Name $nicName -ResourceGroupName $rgname Assert-AreEqual $expectedNic.ResourceGroupName $actualNic.ResourceGroupName Assert-AreEqual $expectedNic.Name $actualNic.Name @@ -265,12 +265,12 @@ function Test-NetworkInterfaceNoPublicIpAddress Assert-AreEqual $expectedNic.IpConfigurations[0].Subnet.Id $actualNic.IpConfigurations[0].Subnet.Id # Check Subnet address reference - $vnet = Get-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname + $vnet = Get-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname Assert-AreEqual $expectedNic.IpConfigurations[0].Subnet.Id $vnet.Subnets[0].Id Assert-AreEqual $expectedNic.IpConfigurations[0].Id $vnet.Subnets[0].IpConfigurations[0].Id # list - $list = Get-AzureRMNetworkInterface -ResourceGroupName $rgname + $list = Get-AzureRmNetworkInterface -ResourceGroupName $rgname Assert-AreEqual 1 @($list).Count Assert-AreEqual $list[0].ResourceGroupName $actualNic.ResourceGroupName Assert-AreEqual $list[0].Name $actualNic.Name @@ -279,10 +279,10 @@ function Test-NetworkInterfaceNoPublicIpAddress Assert-AreEqual $actualNic.Etag $list[0].Etag # Delete NetworkInterface - $delete = Remove-AzureRMNetworkInterface -ResourceGroupName $rgname -name $nicName -PassThru -Force + $delete = Remove-AzureRmNetworkInterface -ResourceGroupName $rgname -name $nicName -PassThru -Force Assert-AreEqual true $delete - $list = Get-AzureRMNetworkInterface -ResourceGroupName $rgname + $list = Get-AzureRmNetworkInterface -ResourceGroupName $rgname Assert-AreEqual 0 @($list).Count } finally @@ -314,18 +314,18 @@ function Test-NetworkInterfaceSet try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create the Virtual Network - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 - $vnet = New-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 + $vnet = New-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet # Create the publicip - $publicip = New-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel + $publicip = New-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel # Create NetworkInterface - $actualNic = New-AzureRMNetworkInterface -Name $nicName -ResourceGroupName $rgname -Location $location -SubnetId $vnet.Subnets[0].Id -PublicIpAddressId $publicip.Id - $expectedNic = Get-AzureRMNetworkInterface -Name $nicName -ResourceGroupName $rgname + $actualNic = New-AzureRmNetworkInterface -Name $nicName -ResourceGroupName $rgname -Location $location -SubnetId $vnet.Subnets[0].Id -PublicIpAddressId $publicip.Id + $expectedNic = Get-AzureRmNetworkInterface -Name $nicName -ResourceGroupName $rgname Assert-AreEqual $expectedNic.ResourceGroupName $actualNic.ResourceGroupName Assert-AreEqual $expectedNic.Name $actualNic.Name @@ -336,37 +336,37 @@ function Test-NetworkInterfaceSet Assert-AreEqual $expectedNic.IpConfigurations[0].Subnet.Id $actualNic.IpConfigurations[0].Subnet.Id # Check publicIp address reference - $publicip = Get-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $publicIpName + $publicip = Get-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $publicIpName Assert-AreEqual $expectedNic.IpConfigurations[0].PublicIpAddress.Id $publicip.Id Assert-AreEqual $expectedNic.IpConfigurations[0].Id $publicip.IpConfiguration.Id # Check Subnet address reference - $vnet = Get-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname + $vnet = Get-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname Assert-AreEqual $expectedNic.IpConfigurations[0].Subnet.Id $vnet.Subnets[0].Id Assert-AreEqual $expectedNic.IpConfigurations[0].Id $vnet.Subnets[0].IpConfigurations[0].Id # Create the publicip - $publicip2 = New-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $publicIpName2 -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel2 - $nic = Get-AzureRMNetworkInterface -Name $nicName -ResourceGroupName $rgname + $publicip2 = New-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $publicIpName2 -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel2 + $nic = Get-AzureRmNetworkInterface -Name $nicName -ResourceGroupName $rgname # Edit Nic with a new publicIpAddress $nic.IpConfigurations[0].PublicIpAddress = $publicip2 - $nic | Set-AzureRMNetworkInterface + $nic | Set-AzureRmNetworkInterface - $nic = Get-AzureRMNetworkInterface -Name $nicName -ResourceGroupName $rgname + $nic = Get-AzureRmNetworkInterface -Name $nicName -ResourceGroupName $rgname # Check publicIp address reference - $publicip2 = Get-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $publicIpName2 + $publicip2 = Get-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $publicIpName2 Assert-AreEqual $nic.IpConfigurations[0].PublicIpAddress.Id $publicip2.Id Assert-AreEqual $nic.IpConfigurations[0].Id $publicip2.IpConfiguration.Id # Check the old publicIp address reference - $publicip = Get-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $publicIpName + $publicip = Get-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $publicIpName Assert-Null $publicip.IpConfiguration # Check Subnet address reference - $vnet = Get-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname + $vnet = Get-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname Assert-AreEqual $nic.IpConfigurations[0].Subnet.Id $vnet.Subnets[0].Id Assert-AreEqual $nic.IpConfigurations[0].Id $vnet.Subnets[0].IpConfigurations[0].Id @@ -398,15 +398,15 @@ function Test-NetworkInterfaceIDns try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create the Virtual Network - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 - $vnet = New-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 + $vnet = New-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet # Create NetworkInterface - $actualNic = New-AzureRMNetworkInterface -Name $nicName -ResourceGroupName $rgname -Location $location -Subnet $vnet.Subnets[0] -InternalDnsNameLabel "idnstest" - $expectedNic = Get-AzureRMNetworkInterface -Name $nicName -ResourceGroupName $rgname + $actualNic = New-AzureRmNetworkInterface -Name $nicName -ResourceGroupName $rgname -Location $location -Subnet $vnet.Subnets[0] -InternalDnsNameLabel "idnstest" + $expectedNic = Get-AzureRmNetworkInterface -Name $nicName -ResourceGroupName $rgname Assert-AreEqual $expectedNic.ResourceGroupName $actualNic.ResourceGroupName Assert-AreEqual $expectedNic.Name $actualNic.Name @@ -421,10 +421,10 @@ function Test-NetworkInterfaceIDns Assert-NotNull $expectedNic.DnsSettings.InternalFqdn # Delete NetworkInterface - $delete = Remove-AzureRMNetworkInterface -ResourceGroupName $rgname -name $nicName -PassThru -Force + $delete = Remove-AzureRmNetworkInterface -ResourceGroupName $rgname -name $nicName -PassThru -Force Assert-AreEqual true $delete - $list = Get-AzureRMNetworkInterface -ResourceGroupName $rgname + $list = Get-AzureRmNetworkInterface -ResourceGroupName $rgname Assert-AreEqual 0 @($list).Count } finally @@ -454,15 +454,15 @@ function Test-NetworkInterfaceEnableIPForwarding try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create the Virtual Network - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 - $vnet = New-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 + $vnet = New-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet # Create NetworkInterface - $actualNic = New-AzureRMNetworkInterface -Name $nicName -ResourceGroupName $rgname -Location $location -Subnet $vnet.Subnets[0] -EnableIPForwarding - $expectedNic = Get-AzureRMNetworkInterface -Name $nicName -ResourceGroupName $rgname + $actualNic = New-AzureRmNetworkInterface -Name $nicName -ResourceGroupName $rgname -Location $location -Subnet $vnet.Subnets[0] -EnableIPForwarding + $expectedNic = Get-AzureRmNetworkInterface -Name $nicName -ResourceGroupName $rgname Assert-AreEqual $expectedNic.ResourceGroupName $actualNic.ResourceGroupName Assert-AreEqual $expectedNic.Name $actualNic.Name @@ -475,22 +475,22 @@ function Test-NetworkInterfaceEnableIPForwarding Assert-AreEqual true $expectedNic.EnableIPForwarding # Create NetworkInterface without IPForwarding - $nic = New-AzureRMNetworkInterface -Name $nicName -ResourceGroupName $rgname -Location $location -Subnet $vnet.Subnets[0] -Force + $nic = New-AzureRmNetworkInterface -Name $nicName -ResourceGroupName $rgname -Location $location -Subnet $vnet.Subnets[0] -Force Assert-AreEqual $expectedNic.Name $nic.Name Assert-AreEqual false $nic.EnableIPForwarding # set nic $nic.EnableIPForwarding = $true - $nic = $nic | Set-AzureRMNetworkInterface + $nic = $nic | Set-AzureRmNetworkInterface Assert-AreEqual $expectedNic.Name $nic.Name Assert-AreEqual true $nic.EnableIPForwarding # Delete NetworkInterface - $delete = Remove-AzureRMNetworkInterface -ResourceGroupName $rgname -name $nicName -PassThru -Force + $delete = Remove-AzureRmNetworkInterface -ResourceGroupName $rgname -name $nicName -PassThru -Force Assert-AreEqual true $delete - $list = Get-AzureRMNetworkInterface -ResourceGroupName $rgname + $list = Get-AzureRmNetworkInterface -ResourceGroupName $rgname Assert-AreEqual 0 @($list).Count } finally diff --git a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/NetworkSecurityGroupTests.ps1 b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/NetworkSecurityGroupTests.ps1 index 1b1a2d54ff76..b6b497283d3c 100644 --- a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/NetworkSecurityGroupTests.ps1 +++ b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/NetworkSecurityGroupTests.ps1 @@ -32,17 +32,17 @@ function Test-NetworkSecurityGroupCRUD try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create the Virtual Network - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 - $vnet = New-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 + $vnet = New-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet # Create NetworkSecurityGroup - $nsg = New-AzureRMNetworkSecurityGroup -name $nsgName -ResourceGroupName $rgname -Location $location + $nsg = New-AzureRmNetworkSecurityGroup -name $nsgName -ResourceGroupName $rgname -Location $location # Get NetworkSecurityGroup - $getNsg = Get-AzureRMNetworkSecurityGroup -name $nsgName -ResourceGroupName $rgName + $getNsg = Get-AzureRmNetworkSecurityGroup -name $nsgName -ResourceGroupName $rgName #verification Assert-AreEqual $rgName $getNsg.ResourceGroupName @@ -60,7 +60,7 @@ function Test-NetworkSecurityGroupCRUD Assert-AreEqual "DenyAllOutBound" $getNsg.DefaultSecurityRules[5].Name # list - $list = Get-AzureRMNetworkSecurityGroup -ResourceGroupName $rgname + $list = Get-AzureRmNetworkSecurityGroup -ResourceGroupName $rgname Assert-AreEqual 1 @($list).Count Assert-AreEqual $list[0].ResourceGroupName $getNsg.ResourceGroupName Assert-AreEqual $list[0].Name $getNsg.Name @@ -77,32 +77,32 @@ function Test-NetworkSecurityGroupCRUD # Add NSG to a subnet - $vnet = $vnet | Set-AzureRMVirtualNetworkSubnetConfig -name $subnetName -AddressPrefix "10.0.1.0/24" -NetworkSecurityGroup $nsg | Set-AzureRMVirtualNetwork - $getNsg = Get-AzureRMNetworkSecurityGroup -name $nsgName -ResourceGroupName $rgName + $vnet = $vnet | Set-AzureRmVirtualNetworkSubnetConfig -name $subnetName -AddressPrefix "10.0.1.0/24" -NetworkSecurityGroup $nsg | Set-AzureRmVirtualNetwork + $getNsg = Get-AzureRmNetworkSecurityGroup -name $nsgName -ResourceGroupName $rgName Assert-AreEqual $vnet.Subnets[0].NetworkSecurityGroup.Id $getNsg.Id Assert-AreEqual 1 @($getNsg.Subnets[0]).Count Assert-AreEqual $vnet.Subnets[0].Id $getNsg.Subnets[0].Id # Create NetworkInterface with NSG - $nic = New-AzureRMNetworkInterface -Name $nicName -ResourceGroupName $rgname -Location $location -Subnet $vnet.Subnets[0] -NetworkSecurityGroup $nsg + $nic = New-AzureRmNetworkInterface -Name $nicName -ResourceGroupName $rgname -Location $location -Subnet $vnet.Subnets[0] -NetworkSecurityGroup $nsg Assert-AreEqual $nic.NetworkSecurityGroup.Id $nsg.Id - $getNsg = Get-AzureRMNetworkSecurityGroup -name $nsgName -ResourceGroupName $rgName + $getNsg = Get-AzureRmNetworkSecurityGroup -name $nsgName -ResourceGroupName $rgName Assert-AreEqual 1 @($getNsg.NetworkInterfaces[0]).Count Assert-AreEqual $nic.Id $getNsg.NetworkInterfaces[0].Id # Delete NetworkInterface - $delete = Remove-AzureRMNetworkInterface -ResourceGroupName $rgname -name $nicName -PassThru -Force + $delete = Remove-AzureRmNetworkInterface -ResourceGroupName $rgname -name $nicName -PassThru -Force Assert-AreEqual true $delete # Delete VirtualNetwork - $delete = Remove-AzureRMVirtualNetwork -ResourceGroupName $rgname -name $vnetName -PassThru -Force + $delete = Remove-AzureRmVirtualNetwork -ResourceGroupName $rgname -name $vnetName -PassThru -Force Assert-AreEqual true $delete # Delete NetworkSecurityGroup - $delete = Remove-AzureRMNetworkSecurityGroup -ResourceGroupName $rgname -name $nsgName -PassThru -Force + $delete = Remove-AzureRmNetworkSecurityGroup -ResourceGroupName $rgname -name $nsgName -PassThru -Force Assert-AreEqual true $delete - $list = Get-AzureRMNetworkSecurityGroup -ResourceGroupName $rgname + $list = Get-AzureRmNetworkSecurityGroup -ResourceGroupName $rgname Assert-AreEqual 0 @($list).Count } finally @@ -131,16 +131,16 @@ function Test-NetworkSecurityGroup-SecurityRuleCRUD try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create SecurityRule - $securityRule = New-AzureRMNetworkSecurityRuleConfig -Name $securityRule1Name -Description "desciption" -Protocol Tcp -SourcePortRange "23-45" -DestinationPortRange "46-56" -SourceAddressPrefix * -DestinationAddressPrefix * -Access Allow -Priority 123 -Direction Inbound + $securityRule = New-AzureRmNetworkSecurityRuleConfig -Name $securityRule1Name -Description "desciption" -Protocol Tcp -SourcePortRange "23-45" -DestinationPortRange "46-56" -SourceAddressPrefix * -DestinationAddressPrefix * -Access Allow -Priority 123 -Direction Inbound # Create NetworkSecurityGroup - $nsg = New-AzureRMNetworkSecurityGroup -name $nsgName -ResourceGroupName $rgname -Location $location -SecurityRule $securityRule + $nsg = New-AzureRmNetworkSecurityGroup -name $nsgName -ResourceGroupName $rgname -Location $location -SecurityRule $securityRule # Get NetworkSecurityGroup - $getNsg = Get-AzureRMNetworkSecurityGroup -name $nsgName -ResourceGroupName $rgName + $getNsg = Get-AzureRmNetworkSecurityGroup -name $nsgName -ResourceGroupName $rgName #verification Assert-AreEqual $rgName $getNsg.ResourceGroupName @@ -168,7 +168,7 @@ function Test-NetworkSecurityGroup-SecurityRuleCRUD Assert-AreEqual "Inbound" $getNsg.SecurityRules[0].Direction # list - $list = Get-AzureRMNetworkSecurityGroup -ResourceGroupName $rgname + $list = Get-AzureRmNetworkSecurityGroup -ResourceGroupName $rgname Assert-AreEqual 1 @($list).Count Assert-AreEqual $list[0].ResourceGroupName $getNsg.ResourceGroupName Assert-AreEqual $list[0].Name $getNsg.Name @@ -186,39 +186,39 @@ function Test-NetworkSecurityGroup-SecurityRuleCRUD Assert-AreEqual $list[0].SecurityRules[0].Etag $getNsg.SecurityRules[0].Etag # Add a network security rule - $nsg = Get-AzureRMNetworkSecurityGroup -name $nsgName -ResourceGroupName $rgName | Add-AzureRMNetworkSecurityRuleConfig -Name $securityRule2Name -Description "desciption2" -Protocol Tcp -SourcePortRange "26-43" -DestinationPortRange "45-53" -SourceAddressPrefix * -DestinationAddressPrefix * -Access Deny -Priority 122 -Direction Outbound | Set-AzureRMNetworkSecurityGroup + $nsg = Get-AzureRmNetworkSecurityGroup -name $nsgName -ResourceGroupName $rgName | Add-AzureRmNetworkSecurityRuleConfig -Name $securityRule2Name -Description "desciption2" -Protocol Tcp -SourcePortRange "26-43" -DestinationPortRange "45-53" -SourceAddressPrefix * -DestinationAddressPrefix * -Access Deny -Priority 122 -Direction Outbound | Set-AzureRmNetworkSecurityGroup Assert-AreEqual 2 @($nsg.SecurityRules).Count Assert-NotNull $nsg.SecurityRules[1].Etag Assert-AreEqual $securityRule1Name $nsg.SecurityRules[0].Name Assert-AreEqual $securityRule2Name $nsg.SecurityRules[1].Name # Get security rule - $securityRule2 = $nsg | Get-AzureRMNetworkSecurityRuleConfig -name $securityRule2Name + $securityRule2 = $nsg | Get-AzureRmNetworkSecurityRuleConfig -name $securityRule2Name Assert-AreEqual $securityRule2.Name $nsg.SecurityRules[1].Name Assert-AreEqual "Deny" $securityRule2.Access # List security rule - $securityRules = $nsg | Get-AzureRMNetworkSecurityRuleConfig + $securityRules = $nsg | Get-AzureRmNetworkSecurityRuleConfig Assert-AreEqual 2 @($securityRules).Count Assert-AreEqual $securityRules[0].Name $nsg.SecurityRules[0].Name Assert-AreEqual $securityRules[1].Name $nsg.SecurityRules[1].Name # Set security rule - $nsg = Get-AzureRMNetworkSecurityGroup -name $nsgName -ResourceGroupName $rgName | Set-AzureRMNetworkSecurityRuleConfig -Name $securityRule2Name -Description "desciption2" -Protocol Tcp -SourcePortRange "26-43" -DestinationPortRange "45-53" -SourceAddressPrefix * -DestinationAddressPrefix * -Access Allow -Priority 122 -Direction Outbound | Set-AzureRMNetworkSecurityGroup - $securityRule2 = $nsg | Get-AzureRMNetworkSecurityRuleConfig -name $securityRule2Name + $nsg = Get-AzureRmNetworkSecurityGroup -name $nsgName -ResourceGroupName $rgName | Set-AzureRmNetworkSecurityRuleConfig -Name $securityRule2Name -Description "desciption2" -Protocol Tcp -SourcePortRange "26-43" -DestinationPortRange "45-53" -SourceAddressPrefix * -DestinationAddressPrefix * -Access Allow -Priority 122 -Direction Outbound | Set-AzureRmNetworkSecurityGroup + $securityRule2 = $nsg | Get-AzureRmNetworkSecurityRuleConfig -name $securityRule2Name Assert-AreEqual "Allow" $securityRule2.Access # Remove security rule - $nsg = Get-AzureRMNetworkSecurityGroup -name $nsgName -ResourceGroupName $rgName | Remove-AzureRMNetworkSecurityRuleConfig -Name $securityRule2Name | Set-AzureRMNetworkSecurityGroup - $securityRules = $nsg | Get-AzureRMNetworkSecurityRuleConfig + $nsg = Get-AzureRmNetworkSecurityGroup -name $nsgName -ResourceGroupName $rgName | Remove-AzureRmNetworkSecurityRuleConfig -Name $securityRule2Name | Set-AzureRmNetworkSecurityGroup + $securityRules = $nsg | Get-AzureRmNetworkSecurityRuleConfig Assert-AreEqual 1 @($securityRules).Count Assert-AreEqual $securityRule1Name $securityRules[0].Name # Delete NetworkSecurityGroup - $delete = Remove-AzureRMNetworkSecurityGroup -ResourceGroupName $rgname -name $nsgName -PassThru -Force + $delete = Remove-AzureRmNetworkSecurityGroup -ResourceGroupName $rgname -name $nsgName -PassThru -Force Assert-AreEqual true $delete - $list = Get-AzureRMNetworkSecurityGroup -ResourceGroupName $rgname + $list = Get-AzureRmNetworkSecurityGroup -ResourceGroupName $rgname Assert-AreEqual 0 @($list).Count } finally diff --git a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/PublicIpAddressTests.ps1 b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/PublicIpAddressTests.ps1 index 6d69589d18dc..96612d6378bf 100644 --- a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/PublicIpAddressTests.ps1 +++ b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/PublicIpAddressTests.ps1 @@ -29,11 +29,11 @@ function Test-PublicIpAddressCRUD try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create publicIpAddres - $actual = New-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $rname -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel - $expected = Get-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $rname + $actual = New-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $rname -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel + $expected = Get-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $rname Assert-AreEqual $expected.ResourceGroupName $actual.ResourceGroupName Assert-AreEqual $expected.Name $actual.Name Assert-AreEqual $expected.Location $actual.Location @@ -43,7 +43,7 @@ function Test-PublicIpAddressCRUD Assert-AreEqual $domainNameLabel $expected.DnsSettings.DomainNameLabel # list - $list = Get-AzureRMPublicIpAddress -ResourceGroupName $rgname + $list = Get-AzureRmPublicIpAddress -ResourceGroupName $rgname Assert-AreEqual 1 @($list).Count Assert-AreEqual $list[0].ResourceGroupName $actual.ResourceGroupName Assert-AreEqual $list[0].Name $actual.Name @@ -53,10 +53,10 @@ function Test-PublicIpAddressCRUD Assert-AreEqual $domainNameLabel $list[0].DnsSettings.DomainNameLabel # delete - $delete = Remove-AzureRMPublicIpAddress -ResourceGroupName $actual.ResourceGroupName -name $rname -PassThru -Force + $delete = Remove-AzureRmPublicIpAddress -ResourceGroupName $actual.ResourceGroupName -name $rname -PassThru -Force Assert-AreEqual true $delete - $list = Get-AzureRMPublicIpAddress -ResourceGroupName $actual.ResourceGroupName + $list = Get-AzureRmPublicIpAddress -ResourceGroupName $actual.ResourceGroupName Assert-AreEqual 0 @($list).Count } finally @@ -83,11 +83,11 @@ function Test-PublicIpAddressCRUD-NoDomainNameLabel try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create publicIpAddres - $actual = New-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $rname -location $location -AllocationMethod Dynamic - $expected = Get-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $rname + $actual = New-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $rname -location $location -AllocationMethod Dynamic + $expected = Get-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $rname Assert-AreEqual $expected.ResourceGroupName $actual.ResourceGroupName Assert-AreEqual $expected.Name $actual.Name Assert-AreEqual $expected.Location $actual.Location @@ -95,7 +95,7 @@ function Test-PublicIpAddressCRUD-NoDomainNameLabel Assert-AreEqual "Succeeded" $expected.ProvisioningState # list - $list = Get-AzureRMPublicIpAddress -ResourceGroupName $rgname + $list = Get-AzureRmPublicIpAddress -ResourceGroupName $rgname Assert-AreEqual 1 @($list).Count Assert-AreEqual $list[0].ResourceGroupName $actual.ResourceGroupName Assert-AreEqual $list[0].Name $actual.Name @@ -104,10 +104,10 @@ function Test-PublicIpAddressCRUD-NoDomainNameLabel Assert-AreEqual "Succeeded" $list[0].ProvisioningState # delete - $delete = Remove-AzureRMPublicIpAddress -ResourceGroupName $actual.ResourceGroupName -name $rname -PassThru -Force + $delete = Remove-AzureRmPublicIpAddress -ResourceGroupName $actual.ResourceGroupName -name $rname -PassThru -Force Assert-AreEqual true $delete - $list = Get-AzureRMPublicIpAddress -ResourceGroupName $actual.ResourceGroupName + $list = Get-AzureRmPublicIpAddress -ResourceGroupName $actual.ResourceGroupName Assert-AreEqual 0 @($list).Count } finally @@ -134,11 +134,11 @@ function Test-PublicIpAddressCRUD-StaticAllocation try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create publicIpAddres - $actual = New-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $rname -location $location -AllocationMethod Static - $expected = Get-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $rname + $actual = New-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $rname -location $location -AllocationMethod Static + $expected = Get-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $rname Assert-AreEqual $expected.ResourceGroupName $actual.ResourceGroupName Assert-AreEqual $expected.Name $actual.Name Assert-AreEqual $expected.Location $actual.Location @@ -147,7 +147,7 @@ function Test-PublicIpAddressCRUD-StaticAllocation Assert-AreEqual "Succeeded" $expected.ProvisioningState # list - $list = Get-AzureRMPublicIpAddress -ResourceGroupName $rgname + $list = Get-AzureRmPublicIpAddress -ResourceGroupName $rgname Assert-AreEqual 1 @($list).Count Assert-AreEqual $list[0].ResourceGroupName $actual.ResourceGroupName Assert-AreEqual $list[0].Name $actual.Name @@ -157,10 +157,10 @@ function Test-PublicIpAddressCRUD-StaticAllocation Assert-AreEqual "Succeeded" $list[0].ProvisioningState # delete - $delete = Remove-AzureRMPublicIpAddress -ResourceGroupName $actual.ResourceGroupName -name $rname -PassThru -Force + $delete = Remove-AzureRmPublicIpAddress -ResourceGroupName $actual.ResourceGroupName -name $rname -PassThru -Force Assert-AreEqual true $delete - $list = Get-AzureRMPublicIpAddress -ResourceGroupName $actual.ResourceGroupName + $list = Get-AzureRmPublicIpAddress -ResourceGroupName $actual.ResourceGroupName Assert-AreEqual 0 @($list).Count } finally @@ -188,11 +188,11 @@ function Test-PublicIpAddressCRUD-EditDomainNameLavel try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create publicIpAddres - $actual = New-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $rname -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel - $publicip = Get-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $rname + $actual = New-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $rname -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel + $publicip = Get-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $rname Assert-AreEqual $publicip.ResourceGroupName $actual.ResourceGroupName Assert-AreEqual $publicip.Name $actual.Name Assert-AreEqual $publicip.Location $actual.Location @@ -203,16 +203,16 @@ function Test-PublicIpAddressCRUD-EditDomainNameLavel $publicip.DnsSettings.DomainNameLabel = $newDomainNameLabel # Set publicIpAddress - $publicip | Set-AzureRMPublicIpAddress + $publicip | Set-AzureRmPublicIpAddress - $publicip = Get-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $rname + $publicip = Get-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $rname Assert-AreEqual $newDomainNameLabel $publicip.DnsSettings.DomainNameLabel # delete - $delete = Remove-AzureRMPublicIpAddress -ResourceGroupName $actual.ResourceGroupName -name $rname -PassThru -Force + $delete = Remove-AzureRmPublicIpAddress -ResourceGroupName $actual.ResourceGroupName -name $rname -PassThru -Force Assert-AreEqual true $delete - $list = Get-AzureRMPublicIpAddress -ResourceGroupName $actual.ResourceGroupName + $list = Get-AzureRmPublicIpAddress -ResourceGroupName $actual.ResourceGroupName Assert-AreEqual 0 @($list).Count } finally @@ -239,11 +239,11 @@ function Test-PublicIpAddressCRUD-ReverseFqdn try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create publicIpAddres - $actual = New-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $rname -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel - $publicip = Get-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $rname + $actual = New-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $rname -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel + $publicip = Get-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $rname Assert-AreEqual $publicip.ResourceGroupName $actual.ResourceGroupName Assert-AreEqual $publicip.Name $actual.Name Assert-AreEqual $publicip.Location $actual.Location @@ -254,16 +254,16 @@ function Test-PublicIpAddressCRUD-ReverseFqdn $publicip.DnsSettings.ReverseFqdn = $publicip.DnsSettings.Fqdn # Set publicIpAddress - $publicip | Set-AzureRMPublicIpAddress + $publicip | Set-AzureRmPublicIpAddress - $publicip = Get-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $rname + $publicip = Get-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $rname Assert-AreEqual $publicip.DnsSettings.Fqdn $publicip.DnsSettings.ReverseFqdn # delete - $delete = Remove-AzureRMPublicIpAddress -ResourceGroupName $actual.ResourceGroupName -name $rname -PassThru -Force + $delete = Remove-AzureRmPublicIpAddress -ResourceGroupName $actual.ResourceGroupName -name $rname -PassThru -Force Assert-AreEqual true $delete - $list = Get-AzureRMPublicIpAddress -ResourceGroupName $actual.ResourceGroupName + $list = Get-AzureRmPublicIpAddress -ResourceGroupName $actual.ResourceGroupName Assert-AreEqual 0 @($list).Count } finally diff --git a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/RouteTableTests.ps1 b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/RouteTableTests.ps1 index af657f84a658..2e69f7aaa260 100644 --- a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/RouteTableTests.ps1 +++ b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/RouteTableTests.ps1 @@ -28,13 +28,13 @@ function Test-EmptyRouteTable try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create RouteTable - $rt = New-AzureRMRouteTable -name $routeTableName -ResourceGroupName $rgname -Location $location + $rt = New-AzureRmRouteTable -name $routeTableName -ResourceGroupName $rgname -Location $location # Get RouteTable - $getRT = Get-AzureRMRouteTable -name $routeTableName -ResourceGroupName $rgName + $getRT = Get-AzureRmRouteTable -name $routeTableName -ResourceGroupName $rgName #verification Assert-AreEqual $rgName $getRT.ResourceGroupName @@ -43,7 +43,7 @@ function Test-EmptyRouteTable Assert-AreEqual 0 @($getRT.Routes).Count # list - $list = Get-AzureRMRouteTable -ResourceGroupName $rgname + $list = Get-AzureRmRouteTable -ResourceGroupName $rgname Assert-AreEqual 1 @($list).Count Assert-AreEqual $list[0].ResourceGroupName $getRT.ResourceGroupName Assert-AreEqual $list[0].Name $getRT.Name @@ -51,10 +51,10 @@ function Test-EmptyRouteTable Assert-AreEqual @($list[0].Routes).Count @($getRT.Routes).Count # Delete NetworkSecurityGroup - $delete = Remove-AzureRMRouteTable -ResourceGroupName $rgname -name $routeTableName -PassThru -Force + $delete = Remove-AzureRmRouteTable -ResourceGroupName $rgname -name $routeTableName -PassThru -Force Assert-AreEqual true $delete - $list = Get-AzureRMRouteTable -ResourceGroupName $rgname + $list = Get-AzureRmRouteTable -ResourceGroupName $rgname Assert-AreEqual 0 @($list).Count } finally @@ -81,15 +81,15 @@ function Test-RouteTableCRUD try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} - $route1 = New-AzureRMRouteConfig -name "route1" -AddressPrefix "192.168.1.0/24" -NextHopIpAddress "23.108.1.1" -NextHopType "VirtualAppliance" + $route1 = New-AzureRmRouteConfig -name "route1" -AddressPrefix "192.168.1.0/24" -NextHopIpAddress "23.108.1.1" -NextHopType "VirtualAppliance" # Create RouteTable - $rt = New-AzureRMRouteTable -name $routeTableName -ResourceGroupName $rgname -Location $location -Route $route1 + $rt = New-AzureRmRouteTable -name $routeTableName -ResourceGroupName $rgname -Location $location -Route $route1 # Get RouteTable - $getRT = Get-AzureRMRouteTable -name $routeTableName -ResourceGroupName $rgName + $getRT = Get-AzureRmRouteTable -name $routeTableName -ResourceGroupName $rgName #verification Assert-AreEqual $rgName $getRT.ResourceGroupName @@ -103,7 +103,7 @@ function Test-RouteTableCRUD Assert-NotNull $getRT.Routes[0].Etag # list - $list = Get-AzureRMRouteTable -ResourceGroupName $rgname + $list = Get-AzureRmRouteTable -ResourceGroupName $rgname Assert-AreEqual 1 @($list).Count Assert-AreEqual $list[0].ResourceGroupName $getRT.ResourceGroupName Assert-AreEqual $list[0].Name $getRT.Name @@ -111,10 +111,10 @@ function Test-RouteTableCRUD Assert-AreEqual @($list[0].Routes).Count @($getRT.Routes).Count Assert-AreEqual $list[0].Routes[0].Etag $getRT.Routes[0].Etag - $route2 = New-AzureRMRouteConfig -name "route2" -AddressPrefix "192.168.2.0/24" -NextHopType "VnetLocal" + $route2 = New-AzureRmRouteConfig -name "route2" -AddressPrefix "192.168.2.0/24" -NextHopType "VnetLocal" # Add a route table - $getRT = New-AzureRMRouteTable -name $routeTableName -ResourceGroupName $rgname -Location $location -Route $route1,$route2 -Force + $getRT = New-AzureRmRouteTable -name $routeTableName -ResourceGroupName $rgname -Location $location -Route $route1,$route2 -Force #verification Assert-AreEqual $rgName $getRT.ResourceGroupName @@ -129,7 +129,7 @@ function Test-RouteTableCRUD Assert-NotNull $getRT.Routes[1].Etag # Remove a route table - $getRT = New-AzureRMRouteTable -name $routeTableName -ResourceGroupName $rgname -Location $location -Route $route2 -Force + $getRT = New-AzureRmRouteTable -name $routeTableName -ResourceGroupName $rgname -Location $location -Route $route2 -Force Assert-AreEqual $rgName $getRT.ResourceGroupName Assert-AreEqual $routeTableName $getRT.Name @@ -138,10 +138,10 @@ function Test-RouteTableCRUD Assert-AreEqual $getRT.Routes[0].Name "route2" # Delete NetworkSecurityGroup - $delete = Remove-AzureRMRouteTable -ResourceGroupName $rgname -name $routeTableName -PassThru -Force + $delete = Remove-AzureRmRouteTable -ResourceGroupName $rgname -name $routeTableName -PassThru -Force Assert-AreEqual true $delete - $list = Get-AzureRMRouteTable -ResourceGroupName $rgname + $list = Get-AzureRmRouteTable -ResourceGroupName $rgname Assert-AreEqual 0 @($list).Count } finally @@ -170,15 +170,15 @@ function Test-RouteTableSubnetRef try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} - $route1 = New-AzureRMRouteConfig -name "route1" -AddressPrefix "192.168.1.0/24" -NextHopIpAddress "23.108.1.1" -NextHopType "VirtualAppliance" + $route1 = New-AzureRmRouteConfig -name "route1" -AddressPrefix "192.168.1.0/24" -NextHopIpAddress "23.108.1.1" -NextHopType "VirtualAppliance" # Create RouteTable - $rt = New-AzureRMRouteTable -name $routeTableName -ResourceGroupName $rgname -Location $location -Route $route1 + $rt = New-AzureRmRouteTable -name $routeTableName -ResourceGroupName $rgname -Location $location -Route $route1 # Get RouteTable - $getRT = Get-AzureRMRouteTable -name $routeTableName -ResourceGroupName $rgName + $getRT = Get-AzureRmRouteTable -name $routeTableName -ResourceGroupName $rgName #verification Assert-AreEqual $rgName $getRT.ResourceGroupName @@ -189,14 +189,14 @@ function Test-RouteTableSubnetRef # create vnet and subnet associated to a Routetable # Create the Virtual Network - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 -RouteTable $getRT - $vnet = New-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -DnsServer 8.8.8.8 -Subnet $subnet + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 -RouteTable $getRT + $vnet = New-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -DnsServer 8.8.8.8 -Subnet $subnet # Verify RouteTable reference in subnet Assert-AreEqual $vnet.Subnets[0].RouteTable.Id $getRT.Id # Verify subnet reference in Routetable - $getRT = Get-AzureRMRouteTable -name $routeTableName -ResourceGroupName $rgName + $getRT = Get-AzureRmRouteTable -name $routeTableName -ResourceGroupName $rgName Assert-AreEqual 1 @($getRT.Subnets).Count Assert-AreEqual $vnet.Subnets[0].Id $getRT.Subnets[0].Id } @@ -226,15 +226,15 @@ function Test-RouteTableRouteCRUD try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} - $route1 = New-AzureRMRouteConfig -name "route1" -AddressPrefix "192.168.1.0/24" -NextHopIpAddress "23.108.1.1" -NextHopType "VirtualAppliance" + $route1 = New-AzureRmRouteConfig -name "route1" -AddressPrefix "192.168.1.0/24" -NextHopIpAddress "23.108.1.1" -NextHopType "VirtualAppliance" # Create RouteTable - $rt = New-AzureRMRouteTable -name $routeTableName -ResourceGroupName $rgname -Location $location -Route $route1 + $rt = New-AzureRmRouteTable -name $routeTableName -ResourceGroupName $rgname -Location $location -Route $route1 # Get RouteTable - $getRT = Get-AzureRMRouteTable -name $routeTableName -ResourceGroupName $rgName + $getRT = Get-AzureRmRouteTable -name $routeTableName -ResourceGroupName $rgName #verification Assert-AreEqual $rgName $getRT.ResourceGroupName @@ -244,7 +244,7 @@ function Test-RouteTableRouteCRUD Assert-AreEqual $getRT.Routes[0].Name "route1" # get route - $route = $getRT | Get-AzureRMRouteConfig -name "route1" + $route = $getRT | Get-AzureRmRouteConfig -name "route1" Assert-AreEqual $route.Name "route1" Assert-AreEqual $getRT.Routes[0].Name $route.Name Assert-AreEqual $getRT.Routes[0].AddressPrefix $route.AddressPrefix @@ -252,10 +252,10 @@ function Test-RouteTableRouteCRUD Assert-AreEqual $getRT.Routes[0].NextHopIpAddress $route.NextHopIpAddress # Add a Route - $getRT = Get-AzureRMRouteTable -name $routeTableName -ResourceGroupName $rgName | Add-AzureRMRouteConfig -name "route2" -AddressPrefix "192.168.2.0/24" -NextHopType "VnetLocal" | Set-AzureRMRouteTable + $getRT = Get-AzureRmRouteTable -name $routeTableName -ResourceGroupName $rgName | Add-AzureRmRouteConfig -name "route2" -AddressPrefix "192.168.2.0/24" -NextHopType "VnetLocal" | Set-AzureRmRouteTable # get route - $route = $getRT | Get-AzureRMRouteConfig -name "route2" + $route = $getRT | Get-AzureRmRouteConfig -name "route2" #verification Assert-AreEqual 2 @($getRT.Routes).Count @@ -269,7 +269,7 @@ function Test-RouteTableRouteCRUD Assert-Null $getRT.Routes[1].NextHopIpAddress # list route - $list = $getRT | Get-AzureRMRouteConfig + $list = $getRT | Get-AzureRmRouteConfig Assert-AreEqual 2 @($list).Count Assert-AreEqual $list[1].Name "route2" Assert-AreEqual $list[1].Name $route.Name @@ -278,10 +278,10 @@ function Test-RouteTableRouteCRUD Assert-Null $list[1].NextHopIpAddress # set route - $getRT = Get-AzureRMRouteTable -name $routeTableName -ResourceGroupName $rgName | Set-AzureRMRouteConfig -name "route2" -AddressPrefix "192.168.3.0/24" -NextHopType "VnetLocal" | Set-AzureRMRouteTable + $getRT = Get-AzureRmRouteTable -name $routeTableName -ResourceGroupName $rgName | Set-AzureRmRouteConfig -name "route2" -AddressPrefix "192.168.3.0/24" -NextHopType "VnetLocal" | Set-AzureRmRouteTable # get route - $route = $getRT | Get-AzureRMRouteConfig -name "route2" + $route = $getRT | Get-AzureRmRouteConfig -name "route2" #verification Assert-AreEqual 2 @($getRT.Routes).Count @@ -294,18 +294,18 @@ function Test-RouteTableRouteCRUD Assert-Null $getRT.Routes[1].NextHopIpAddress # Delete route - $getRT = Get-AzureRMRouteTable -name $routeTableName -ResourceGroupName $rgName | Remove-AzureRMRouteConfig -name "route1" | Set-AzureRMRouteTable + $getRT = Get-AzureRmRouteTable -name $routeTableName -ResourceGroupName $rgName | Remove-AzureRmRouteConfig -name "route1" | Set-AzureRmRouteTable # list route - $list = $getRT | Get-AzureRMRouteConfig + $list = $getRT | Get-AzureRmRouteConfig Assert-AreEqual 1 @($list).Count Assert-AreEqual $list[0].Name "route2" # Delete NetworkSecurityGroup - $delete = Remove-AzureRMRouteTable -ResourceGroupName $rgname -name $routeTableName -PassThru -Force + $delete = Remove-AzureRmRouteTable -ResourceGroupName $rgname -name $routeTableName -PassThru -Force Assert-AreEqual true $delete - $list = Get-AzureRMRouteTable -ResourceGroupName $rgname + $list = Get-AzureRmRouteTable -ResourceGroupName $rgname Assert-AreEqual 0 @($list).Count } finally @@ -334,18 +334,18 @@ function Test-RouteHopTypeTest try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} - $route1 = New-AzureRMRouteConfig -name "route1" -AddressPrefix "192.168.1.0/24" -NextHopIpAddress "23.108.1.1" -NextHopType "VirtualAppliance" - $route2 = New-AzureRMRouteConfig -name "route2" -AddressPrefix "10.0.1.0/24" -NextHopType "VnetLocal" - $route3 = New-AzureRMRouteConfig -name "route3" -AddressPrefix "0.0.0.0/0" -NextHopType "Internet" - $route4 = New-AzureRMRouteConfig -name "route4" -AddressPrefix "10.0.2.0/24" -NextHopType "None" + $route1 = New-AzureRmRouteConfig -name "route1" -AddressPrefix "192.168.1.0/24" -NextHopIpAddress "23.108.1.1" -NextHopType "VirtualAppliance" + $route2 = New-AzureRmRouteConfig -name "route2" -AddressPrefix "10.0.1.0/24" -NextHopType "VnetLocal" + $route3 = New-AzureRmRouteConfig -name "route3" -AddressPrefix "0.0.0.0/0" -NextHopType "Internet" + $route4 = New-AzureRmRouteConfig -name "route4" -AddressPrefix "10.0.2.0/24" -NextHopType "None" # Create RouteTable - $rt = New-AzureRMRouteTable -name $routeTableName -ResourceGroupName $rgname -Location $location -Route $route1, $route2, $route3, $route4 + $rt = New-AzureRmRouteTable -name $routeTableName -ResourceGroupName $rgname -Location $location -Route $route1, $route2, $route3, $route4 # Get RouteTable - $getRT = Get-AzureRMRouteTable -name $routeTableName -ResourceGroupName $rgName + $getRT = Get-AzureRmRouteTable -name $routeTableName -ResourceGroupName $rgName #verification Assert-AreEqual $rgName $getRT.ResourceGroupName @@ -362,10 +362,10 @@ function Test-RouteHopTypeTest Assert-AreEqual $getRT.Routes[3].NextHopType "None" # Delete RouteTable - $delete = Remove-AzureRMRouteTable -ResourceGroupName $rgname -name $routeTableName -PassThru -Force + $delete = Remove-AzureRmRouteTable -ResourceGroupName $rgname -name $routeTableName -PassThru -Force Assert-AreEqual true $delete - $list = Get-AzureRMRouteTable -ResourceGroupName $rgname + $list = Get-AzureRmRouteTable -ResourceGroupName $rgname Assert-AreEqual 0 @($list).Count } finally diff --git a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/TestDnsAvailabilityTest.ps1 b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/TestDnsAvailabilityTest.ps1 index 68c78d94573b..140094f6e597 100644 --- a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/TestDnsAvailabilityTest.ps1 +++ b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/TestDnsAvailabilityTest.ps1 @@ -14,7 +14,7 @@ <# .SYNOPSIS -Tests Test-AzureRMDnsAvailability command +Tests Test-AzureRmDnsAvailability command #> function Test-DnsAvailability { @@ -24,6 +24,6 @@ function Test-DnsAvailability $location = Get-ProviderLocation $resourceTypeParent # Checkdnsavailability - $checkdnsavailability = Test-AzureRMDnsAvailability -Location "westus" -DomainQualifiedName $domainQualifiedName + $checkdnsavailability = Test-AzureRmDnsAvailability -Location "westus" -DomainQualifiedName $domainQualifiedName Assert-AreEqual $checkdnsavailability true } \ No newline at end of file diff --git a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/VirtualNetworkGatewayConnectionTests.ps1 b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/VirtualNetworkGatewayConnectionTests.ps1 index 4f15fb84a236..367cb3076d7a 100644 --- a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/VirtualNetworkGatewayConnectionTests.ps1 +++ b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/VirtualNetworkGatewayConnectionTests.ps1 @@ -34,30 +34,30 @@ function Test-VirtualNetworkGatewayConnectionCRUD try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create the Virtual Network - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name "GatewaySubnet" -AddressPrefix 10.0.0.0/24 - $vnet = New-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet - $vnet = Get-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname - $subnet = Get-AzureRMVirtualNetworkSubnetConfig -Name "GatewaySubnet" -VirtualNetwork $vnet + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name "GatewaySubnet" -AddressPrefix 10.0.0.0/24 + $vnet = New-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet + $vnet = Get-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname + $subnet = Get-AzureRmVirtualNetworkSubnetConfig -Name "GatewaySubnet" -VirtualNetwork $vnet # Create the publicip - $publicip = New-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel + $publicip = New-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel # Create VirtualNetworkGateway - $vnetIpConfig = New-AzureRMVirtualNetworkGatewayIpConfig -Name $vnetGatewayConfigName -PublicIpAddress $publicip -Subnet $subnet + $vnetIpConfig = New-AzureRmVirtualNetworkGatewayIpConfig -Name $vnetGatewayConfigName -PublicIpAddress $publicip -Subnet $subnet - $actual = New-AzureRMVirtualNetworkGateway -ResourceGroupName $rgname -name $rname -location $location -IpConfigurations $vnetIpConfig -GatewayType Vpn -VpnType RouteBased -EnableBgp $false - $vnetGateway = Get-AzureRMVirtualNetworkGateway -ResourceGroupName $rgname -name $rname + $actual = New-AzureRmVirtualNetworkGateway -ResourceGroupName $rgname -name $rname -location $location -IpConfigurations $vnetIpConfig -GatewayType Vpn -VpnType RouteBased -EnableBgp $false + $vnetGateway = Get-AzureRmVirtualNetworkGateway -ResourceGroupName $rgname -name $rname Assert-AreEqual $vnetGateway.ResourceGroupName $actual.ResourceGroupName Assert-AreEqual $vnetGateway.Name $actual.Name #Assert-AreEqual "Vpn" $expected.GatewayType #Assert-AreEqual "RouteBased" $expected.VpnType # Create LocalNetworkGateway - $actual = New-AzureRMLocalNetworkGateway -ResourceGroupName $rgname -name $localnetName -location $location -AddressPrefix 192.168.0.0/16 -GatewayIpAddress 192.168.3.10 - $localnetGateway = Get-AzureRMLocalNetworkGateway -ResourceGroupName $rgname -name $localnetName + $actual = New-AzureRmLocalNetworkGateway -ResourceGroupName $rgname -name $localnetName -location $location -AddressPrefix 192.168.0.0/16 -GatewayIpAddress 192.168.3.10 + $localnetGateway = Get-AzureRmLocalNetworkGateway -ResourceGroupName $rgname -name $localnetName Assert-AreEqual $localnetGateway.ResourceGroupName $actual.ResourceGroupName Assert-AreEqual $localnetGateway.Name $actual.Name Assert-AreEqual "192.168.3.10" $localnetGateway.GatewayIpAddress @@ -65,8 +65,8 @@ function Test-VirtualNetworkGatewayConnectionCRUD $localnetGateway.Location = $location # Create & Get VirtualNetworkGatewayConnection - $actual = New-AzureRMVirtualNetworkGatewayConnection -ResourceGroupName $rgname -name $vnetConnectionName -location $location -VirtualNetworkGateway1 $vnetGateway -LocalNetworkGateway2 $localnetGateway -ConnectionType IPsec -RoutingWeight 3 -SharedKey abc - $expected = Get-AzureRMVirtualNetworkGatewayConnection -ResourceGroupName $rgname -name $vnetConnectionName + $actual = New-AzureRmVirtualNetworkGatewayConnection -ResourceGroupName $rgname -name $vnetConnectionName -location $location -VirtualNetworkGateway1 $vnetGateway -LocalNetworkGateway2 $localnetGateway -ConnectionType IPsec -RoutingWeight 3 -SharedKey abc + $expected = Get-AzureRmVirtualNetworkGatewayConnection -ResourceGroupName $rgname -name $vnetConnectionName Assert-AreEqual $expected.ResourceGroupName $actual.ResourceGroupName Assert-AreEqual $expected.Name $actual.Name Assert-AreEqual "IPsec" $expected.ConnectionType @@ -74,7 +74,7 @@ function Test-VirtualNetworkGatewayConnectionCRUD Assert-AreEqual "abc" $expected.SharedKey # List VirtualNetworkGatewayConnections - $list = Get-AzureRMVirtualNetworkGatewayConnection -ResourceGroupName $rgname + $list = Get-AzureRmVirtualNetworkGatewayConnection -ResourceGroupName $rgname Assert-AreEqual 1 @($list).Count Assert-AreEqual $list[0].ResourceGroupName $actual.ResourceGroupName Assert-AreEqual $list[0].Name $actual.Name @@ -90,16 +90,16 @@ function Test-VirtualNetworkGatewayConnectionCRUD $expected.RoutingWeight = "4" $expected.SharedKey = "xyz" - $actual = Set-AzureRMVirtualNetworkGatewayConnection -VirtualNetworkGatewayConnection $expected -Force - $expected = Get-AzureRMVirtualNetworkGatewayConnection -ResourceGroupName $rgname -name $vnetConnectionName + $actual = Set-AzureRmVirtualNetworkGatewayConnection -VirtualNetworkGatewayConnection $expected -Force + $expected = Get-AzureRmVirtualNetworkGatewayConnection -ResourceGroupName $rgname -name $vnetConnectionName Assert-AreEqual "4" $expected.RoutingWeight Assert-AreEqual "xyz" $expected.SharedKey # Delete VirtualNetworkGatewayConnection - $delete = Remove-AzureRMVirtualNetworkGatewayConnection -ResourceGroupName $actual.ResourceGroupName -name $vnetConnectionName -PassThru -Force + $delete = Remove-AzureRmVirtualNetworkGatewayConnection -ResourceGroupName $actual.ResourceGroupName -name $vnetConnectionName -PassThru -Force Assert-AreEqual true $delete - $list = Get-AzureRMVirtualNetworkGatewayConnection -ResourceGroupName $actual.ResourceGroupName + $list = Get-AzureRmVirtualNetworkGatewayConnection -ResourceGroupName $actual.ResourceGroupName Assert-AreEqual 0 @($list).Count } finally @@ -131,30 +131,30 @@ function Test-VirtualNetworkGatewayConnectionSharedKeyCRUD try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create the Virtual Network - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name "GatewaySubnet" -AddressPrefix 10.0.0.0/24 - $vnet = New-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet - $vnet = Get-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname - $subnet = Get-AzureRMVirtualNetworkSubnetConfig -Name "GatewaySubnet" -VirtualNetwork $vnet + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name "GatewaySubnet" -AddressPrefix 10.0.0.0/24 + $vnet = New-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet + $vnet = Get-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname + $subnet = Get-AzureRmVirtualNetworkSubnetConfig -Name "GatewaySubnet" -VirtualNetwork $vnet # Create the publicip - $publicip = New-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel + $publicip = New-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel # Create VirtualNetworkGateway - $vnetIpConfig = New-AzureRMVirtualNetworkGatewayIpConfig -Name $vnetGatewayConfigName -PublicIpAddress $publicip -Subnet $subnet + $vnetIpConfig = New-AzureRmVirtualNetworkGatewayIpConfig -Name $vnetGatewayConfigName -PublicIpAddress $publicip -Subnet $subnet - $actual = New-AzureRMVirtualNetworkGateway -ResourceGroupName $rgname -name $rname -location $location -IpConfigurations $vnetIpConfig -GatewayType Vpn -VpnType RouteBased -EnableBgp $false - $vnetGateway = Get-AzureRMVirtualNetworkGateway -ResourceGroupName $rgname -name $rname + $actual = New-AzureRmVirtualNetworkGateway -ResourceGroupName $rgname -name $rname -location $location -IpConfigurations $vnetIpConfig -GatewayType Vpn -VpnType RouteBased -EnableBgp $false + $vnetGateway = Get-AzureRmVirtualNetworkGateway -ResourceGroupName $rgname -name $rname Assert-AreEqual $vnetGateway.ResourceGroupName $actual.ResourceGroupName Assert-AreEqual $vnetGateway.Name $actual.Name #Assert-AreEqual "Vpn" $expected.GatewayType #Assert-AreEqual "RouteBased" $expected.VpnType # Create LocalNetworkGateway - $actual = New-AzureRMLocalNetworkGateway -ResourceGroupName $rgname -name $localnetName -location $location -AddressPrefix 192.168.0.0/16 -GatewayIpAddress 192.168.3.11 - $localnetGateway = Get-AzureRMLocalNetworkGateway -ResourceGroupName $rgname -name $localnetName + $actual = New-AzureRmLocalNetworkGateway -ResourceGroupName $rgname -name $localnetName -location $location -AddressPrefix 192.168.0.0/16 -GatewayIpAddress 192.168.3.11 + $localnetGateway = Get-AzureRmLocalNetworkGateway -ResourceGroupName $rgname -name $localnetName Assert-AreEqual $localnetGateway.ResourceGroupName $actual.ResourceGroupName Assert-AreEqual $localnetGateway.Name $actual.Name Assert-AreEqual "192.168.3.11" $localnetGateway.GatewayIpAddress @@ -162,8 +162,8 @@ function Test-VirtualNetworkGatewayConnectionSharedKeyCRUD $localnetGateway.Location = $location # Create VirtualNetworkGatewayConnection - $actual = New-AzureRMVirtualNetworkGatewayConnection -ResourceGroupName $rgname -name $vnetConnectionName -location $location -VirtualNetworkGateway1 $vnetGateway -LocalNetworkGateway2 $localnetGateway -ConnectionType IPsec -RoutingWeight 3 -SharedKey abc - $expected = Get-AzureRMVirtualNetworkGatewayConnection -ResourceGroupName $rgname -name $vnetConnectionName + $actual = New-AzureRmVirtualNetworkGatewayConnection -ResourceGroupName $rgname -name $vnetConnectionName -location $location -VirtualNetworkGateway1 $vnetGateway -LocalNetworkGateway2 $localnetGateway -ConnectionType IPsec -RoutingWeight 3 -SharedKey abc + $expected = Get-AzureRmVirtualNetworkGatewayConnection -ResourceGroupName $rgname -name $vnetConnectionName Assert-AreEqual $expected.ResourceGroupName $actual.ResourceGroupName Assert-AreEqual $expected.Name $actual.Name Assert-AreEqual "IPsec" $expected.ConnectionType @@ -171,16 +171,16 @@ function Test-VirtualNetworkGatewayConnectionSharedKeyCRUD Assert-AreEqual "abc" $expected.SharedKey # Set VirtualNetworkGatewayConnectionSharedKey - $actual = Set-AzureRMVirtualNetworkGatewayConnectionSharedKey -ResourceGroupName $rgname -name $vnetConnectionName -Value "TestSharedKeyValue" -Force + $actual = Set-AzureRmVirtualNetworkGatewayConnectionSharedKey -ResourceGroupName $rgname -name $vnetConnectionName -Value "TestSharedKeyValue" -Force # Get VirtualNetworkGatewayConnectionSharedKey - $expected = Get-AzureRMVirtualNetworkGatewayConnectionSharedKey -ResourceGroupName $rgname -name $vnetConnectionName + $expected = Get-AzureRmVirtualNetworkGatewayConnectionSharedKey -ResourceGroupName $rgname -name $vnetConnectionName # Reset VirtualNetworkGatewayConnectionSharedKey - $actual = Reset-AzureRMVirtualNetworkGatewayConnectionSharedKey -ResourceGroupName $rgname -name $rname -KeyLength 50 -Force + $actual = Reset-AzureRmVirtualNetworkGatewayConnectionSharedKey -ResourceGroupName $rgname -name $rname -KeyLength 50 -Force # Get VirtualNetworkGatewayConnectionSharedKey after Reset-VirtualNetworkGatewayConnectionSharedKey - $expected = Get-AzureRMVirtualNetworkGatewayConnectionSharedKey -ResourceGroupName $rgname -name $vnetConnectionName + $expected = Get-AzureRmVirtualNetworkGatewayConnectionSharedKey -ResourceGroupName $rgname -name $vnetConnectionName } finally { diff --git a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/VirtualNetworkGatewayTests.ps1 b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/VirtualNetworkGatewayTests.ps1 index edbdd8b74f43..b517aa068085 100644 --- a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/VirtualNetworkGatewayTests.ps1 +++ b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/VirtualNetworkGatewayTests.ps1 @@ -32,44 +32,44 @@ function Test-VirtualNetworkGatewayCRUD try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create the Virtual Network - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name "GatewaySubnet" -AddressPrefix 10.0.0.0/24 - $vnet = New-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet - $vnet = Get-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname - $subnet = Get-AzureRMVirtualNetworkSubnetConfig -Name "GatewaySubnet" -VirtualNetwork $vnet + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name "GatewaySubnet" -AddressPrefix 10.0.0.0/24 + $vnet = New-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet + $vnet = Get-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname + $subnet = Get-AzureRmVirtualNetworkSubnetConfig -Name "GatewaySubnet" -VirtualNetwork $vnet # Create the publicip - $publicip = New-AzureRMPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel + $publicip = New-AzureRmPublicIpAddress -ResourceGroupName $rgname -name $publicIpName -location $location -AllocationMethod Dynamic -DomainNameLabel $domainNameLabel # Create & Get virtualnetworkgateway - $vnetIpConfig = New-AzureRMVirtualNetworkGatewayIpConfig -Name $vnetGatewayConfigName -PublicIpAddress $publicip -Subnet $subnet + $vnetIpConfig = New-AzureRmVirtualNetworkGatewayIpConfig -Name $vnetGatewayConfigName -PublicIpAddress $publicip -Subnet $subnet - $actual = New-AzureRMVirtualNetworkGateway -ResourceGroupName $rgname -name $rname -location $location -IpConfigurations $vnetIpConfig -GatewayType Vpn -VpnType RouteBased -EnableBgp $false - $expected = Get-AzureRMVirtualNetworkGateway -ResourceGroupName $rgname -name $rname + $actual = New-AzureRmVirtualNetworkGateway -ResourceGroupName $rgname -name $rname -location $location -IpConfigurations $vnetIpConfig -GatewayType Vpn -VpnType RouteBased -EnableBgp $false + $expected = Get-AzureRmVirtualNetworkGateway -ResourceGroupName $rgname -name $rname Assert-AreEqual $expected.ResourceGroupName $actual.ResourceGroupName Assert-AreEqual $expected.Name $actual.Name #Assert-AreEqual "Vpn" $expected.GatewayType #Assert-AreEqual "RouteBased" $expected.VpnType # List virtualNetworkGateways - $list = Get-AzureRMVirtualNetworkGateway -ResourceGroupName $rgname + $list = Get-AzureRmVirtualNetworkGateway -ResourceGroupName $rgname Assert-AreEqual 1 @($list).Count Assert-AreEqual $list[0].ResourceGroupName $actual.ResourceGroupName Assert-AreEqual $list[0].Name $actual.Name Assert-AreEqual $list[0].Location $actual.Location # Reset/Reboot virtualNetworkGateway primary - $actual = Reset-AzureRMVirtualNetworkGateway -VirtualNetworkGateway $expected - $list = Get-AzureRMVirtualNetworkGateway -ResourceGroupName $rgname + $actual = Reset-AzureRmVirtualNetworkGateway -VirtualNetworkGateway $expected + $list = Get-AzureRmVirtualNetworkGateway -ResourceGroupName $rgname Assert-AreEqual 1 @($list).Count # Delete virtualNetworkGateway - $delete = Remove-AzureRMVirtualNetworkGateway -ResourceGroupName $actual.ResourceGroupName -name $rname -PassThru -Force + $delete = Remove-AzureRmVirtualNetworkGateway -ResourceGroupName $actual.ResourceGroupName -name $rname -PassThru -Force Assert-AreEqual true $delete - $list = Get-AzureRMVirtualNetworkGateway -ResourceGroupName $actual.ResourceGroupName + $list = Get-AzureRmVirtualNetworkGateway -ResourceGroupName $actual.ResourceGroupName Assert-AreEqual 0 @($list).Count } finally diff --git a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/VirtualNetworkTests.ps1 b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/VirtualNetworkTests.ps1 index df2c36c493dc..6495ed1a7ea4 100644 --- a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/VirtualNetworkTests.ps1 +++ b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/VirtualNetworkTests.ps1 @@ -29,12 +29,12 @@ function Test-VirtualNetworkCRUD try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create the Virtual Network - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 - $actual = New-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -DnsServer 8.8.8.8 -Subnet $subnet - $expected = Get-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 + $actual = New-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -DnsServer 8.8.8.8 -Subnet $subnet + $expected = Get-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname Assert-AreEqual $expected.ResourceGroupName $rgname Assert-AreEqual $expected.Name $actual.Name @@ -49,7 +49,7 @@ function Test-VirtualNetworkCRUD Assert-AreEqual "10.0.1.0/24" $expected.Subnets[0].AddressPrefix # List virtual Network - $list = Get-AzureRMvirtualNetwork -ResourceGroupName $rgname + $list = Get-AzureRmvirtualNetwork -ResourceGroupName $rgname Assert-AreEqual 1 @($list).Count Assert-AreEqual $list[0].ResourceGroupName $actual.ResourceGroupName Assert-AreEqual $list[0].Name $actual.Name @@ -62,10 +62,10 @@ function Test-VirtualNetworkCRUD Assert-AreEqual $expected.Etag $list[0].Etag # Delete VirtualNetwork - $delete = Remove-AzureRMvirtualNetwork -ResourceGroupName $rgname -name $vnetName -PassThru -Force + $delete = Remove-AzureRmvirtualNetwork -ResourceGroupName $rgname -name $vnetName -PassThru -Force Assert-AreEqual true $delete - $list = Get-AzureRMvirtualNetwork -ResourceGroupName $rgname + $list = Get-AzureRmvirtualNetwork -ResourceGroupName $rgname Assert-AreEqual 0 @($list).Count } finally @@ -94,21 +94,21 @@ function Test-subnetCRUD try { # Create the resource group - $resourceGroup = New-AzureRMResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} + $resourceGroup = New-AzureRmResourceGroup -Name $rgname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} # Create the Virtual Network - $subnet = New-AzureRMVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 - New-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet - $vnet = Get-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname + $subnet = New-AzureRmVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24 + New-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet + $vnet = Get-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname # Add a subnet - $vnet | Add-AzureRMVirtualNetworkSubnetConfig -Name $subnet2Name -AddressPrefix 10.0.2.0/24 + $vnet | Add-AzureRmVirtualNetworkSubnetConfig -Name $subnet2Name -AddressPrefix 10.0.2.0/24 # Set VirtualNetwork - $vnet | Set-AzureRMVirtualNetwork + $vnet | Set-AzureRmVirtualNetwork # Get VirtualNetwork - $vnetExpected = Get-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname + $vnetExpected = Get-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname Assert-AreEqual 2 @($vnetExpected.Subnets).Count Assert-AreEqual $subnetName $vnetExpected.Subnets[0].Name @@ -116,17 +116,17 @@ function Test-subnetCRUD Assert-AreEqual "10.0.2.0/24" $vnetExpected.Subnets[1].AddressPrefix # Edit a subnet - Get-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname | Set-AzureRMVirtualNetworkSubnetConfig -Name $subnet2Name -AddressPrefix 10.0.3.0/24 | Set-AzureRMVirtualNetwork + Get-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname | Set-AzureRmVirtualNetworkSubnetConfig -Name $subnet2Name -AddressPrefix 10.0.3.0/24 | Set-AzureRmVirtualNetwork - $vnetExpected = Get-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname + $vnetExpected = Get-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname Assert-AreEqual 2 @($vnetExpected.Subnets).Count Assert-AreEqual $subnetName $vnetExpected.Subnets[0].Name Assert-AreEqual $subnet2Name $vnetExpected.Subnets[1].Name Assert-AreEqual "10.0.3.0/24" $vnetExpected.Subnets[1].AddressPrefix # Get subnet - $subnet2 = Get-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname | Get-AzureRMVirtualNetworkSubnetConfig -Name $subnet2Name - $subnetAll = Get-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname | Get-AzureRMVirtualNetworkSubnetConfig + $subnet2 = Get-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname | Get-AzureRmVirtualNetworkSubnetConfig -Name $subnet2Name + $subnetAll = Get-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname | Get-AzureRmVirtualNetworkSubnetConfig Assert-AreEqual 2 @($subnetAll).Count Assert-AreEqual $subnetName $subnetAll[0].Name @@ -134,9 +134,9 @@ function Test-subnetCRUD Assert-AreEqual $subnet2Name $subnet2.Name # Remove a subnet - Get-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname | Remove-AzureRMVirtualNetworkSubnetConfig -Name $subnet2Name | Set-AzureRMVirtualNetwork + Get-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname | Remove-AzureRmVirtualNetworkSubnetConfig -Name $subnet2Name | Set-AzureRmVirtualNetwork - $vnetExpected = Get-AzureRMvirtualNetwork -Name $vnetName -ResourceGroupName $rgname + $vnetExpected = Get-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $rgname Assert-AreEqual 1 @($vnetExpected.Subnets).Count Assert-AreEqual $subnetName $vnetExpected.Subnets[0].Name } diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendAddressPool/AddAzureApplicationGatewayBackendAddressPoolCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendAddressPool/AddAzureApplicationGatewayBackendAddressPoolCommand.cs index d475a32ae7f3..8a9aa50ed727 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendAddressPool/AddAzureApplicationGatewayBackendAddressPoolCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendAddressPool/AddAzureApplicationGatewayBackendAddressPoolCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Add, "AzureRMApplicationGatewayBackendAddressPool"), OutputType(typeof(PSApplicationGateway))] + [Cmdlet(VerbsCommon.Add, "AzureRmApplicationGatewayBackendAddressPool"), OutputType(typeof(PSApplicationGateway))] public class AddAzureApplicationGatewayBackendAddressPoolCommand : AzureApplicationGatewayBackendAddressPoolBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendAddressPool/GetAzureApplicationGatewayBackendAddressPoolCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendAddressPool/GetAzureApplicationGatewayBackendAddressPoolCommand.cs index 001860161221..7a66cb29bd68 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendAddressPool/GetAzureApplicationGatewayBackendAddressPoolCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendAddressPool/GetAzureApplicationGatewayBackendAddressPoolCommand.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Get, "AzureRMApplicationGatewayBackendAddressPool"), + [Cmdlet(VerbsCommon.Get, "AzureRmApplicationGatewayBackendAddressPool"), OutputType(typeof(PSApplicationGatewayBackendAddressPool), typeof(IEnumerable<PSApplicationGatewayBackendAddressPool>))] public class GetAzureApplicationGatewayBackendAddressPoolCommand : NetworkBaseCmdlet { diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendAddressPool/NewAzureApplicationGatewayBackendAddressPoolCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendAddressPool/NewAzureApplicationGatewayBackendAddressPoolCommand.cs index 728612b1299c..8160c09dd5ca 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendAddressPool/NewAzureApplicationGatewayBackendAddressPoolCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendAddressPool/NewAzureApplicationGatewayBackendAddressPoolCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.New, "AzureRMApplicationGatewayBackendAddressPool"), OutputType(typeof(PSApplicationGatewayBackendAddressPool))] + [Cmdlet(VerbsCommon.New, "AzureRmApplicationGatewayBackendAddressPool"), OutputType(typeof(PSApplicationGatewayBackendAddressPool))] public class NewAzureApplicationGatewayBackendAddressPoolCommand : AzureApplicationGatewayBackendAddressPoolBase { protected override void ProcessRecord() diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendAddressPool/RemoveAzureApplicationGatewayBackendAddressPoolCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendAddressPool/RemoveAzureApplicationGatewayBackendAddressPoolCommand.cs index 74f3b1bc1589..541136ed989c 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendAddressPool/RemoveAzureApplicationGatewayBackendAddressPoolCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendAddressPool/RemoveAzureApplicationGatewayBackendAddressPoolCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Remove, "AzureRMApplicationGatewayBackendAddressPool"), OutputType(typeof(PSApplicationGatewayBackendAddressPool))] + [Cmdlet(VerbsCommon.Remove, "AzureRmApplicationGatewayBackendAddressPool"), OutputType(typeof(PSApplicationGatewayBackendAddressPool))] public class RemoveAzureApplicationGatewayBackendAddressPoolCommand : NetworkBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendAddressPool/SetAzureApplicationGatewayBackendAddressPoolCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendAddressPool/SetAzureApplicationGatewayBackendAddressPoolCommand.cs index 0bb5ae738cf7..73604aecda63 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendAddressPool/SetAzureApplicationGatewayBackendAddressPoolCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendAddressPool/SetAzureApplicationGatewayBackendAddressPoolCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Set, "AzureRMApplicationGatewayBackendAddressPool"), OutputType(typeof(PSApplicationGateway))] + [Cmdlet(VerbsCommon.Set, "AzureRmApplicationGatewayBackendAddressPool"), OutputType(typeof(PSApplicationGateway))] public class SetAzureApplicationGatewayBackendAddressPoolCommand : AzureApplicationGatewayBackendAddressPoolBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendHttpSettings/AddAzureApplicationGatewayBackendHttpSettingsCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendHttpSettings/AddAzureApplicationGatewayBackendHttpSettingsCommand.cs index 2725ccd97a04..a7da337b26eb 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendHttpSettings/AddAzureApplicationGatewayBackendHttpSettingsCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendHttpSettings/AddAzureApplicationGatewayBackendHttpSettingsCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Add, "AzureRMApplicationGatewayBackendHttpSettings"), OutputType(typeof(PSApplicationGateway))] + [Cmdlet(VerbsCommon.Add, "AzureRmApplicationGatewayBackendHttpSettings"), OutputType(typeof(PSApplicationGateway))] public class AddAzureApplicationGatewayBackendHttpSettingsCommand : AzureApplicationGatewayBackendHttpSettingsBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendHttpSettings/GetAzureApplicationGatewayBackendHttpSettingsCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendHttpSettings/GetAzureApplicationGatewayBackendHttpSettingsCommand.cs index 5c242fc70c3e..8ed5ad34423b 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendHttpSettings/GetAzureApplicationGatewayBackendHttpSettingsCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendHttpSettings/GetAzureApplicationGatewayBackendHttpSettingsCommand.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Get, "AzureRMApplicationGatewayBackendHttpSettings"), + [Cmdlet(VerbsCommon.Get, "AzureRmApplicationGatewayBackendHttpSettings"), OutputType(typeof(PSApplicationGatewayBackendHttpSettings), typeof(IEnumerable<PSApplicationGatewayBackendHttpSettings>))] public class GetAzureApplicationGatewayBackendHttpSettings : NetworkBaseCmdlet { diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendHttpSettings/NewAzureApplicationGatewayBackendHttpSettingsCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendHttpSettings/NewAzureApplicationGatewayBackendHttpSettingsCommand.cs index 16ea6b4b2d1f..2cedf07b8e9c 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendHttpSettings/NewAzureApplicationGatewayBackendHttpSettingsCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendHttpSettings/NewAzureApplicationGatewayBackendHttpSettingsCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.New, "AzureRMApplicationGatewayBackendHttpSettings"), OutputType(typeof(PSApplicationGatewayBackendHttpSettings))] + [Cmdlet(VerbsCommon.New, "AzureRmApplicationGatewayBackendHttpSettings"), OutputType(typeof(PSApplicationGatewayBackendHttpSettings))] public class NewAzureApplicationGatewayBackendHttpSettingsCommand : AzureApplicationGatewayBackendHttpSettingsBase { protected override void ProcessRecord() diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendHttpSettings/RemoveAzureApplicationGatewayBackendHttpSettingsCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendHttpSettings/RemoveAzureApplicationGatewayBackendHttpSettingsCommand.cs index fc522af06e3b..daa76d77e535 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendHttpSettings/RemoveAzureApplicationGatewayBackendHttpSettingsCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendHttpSettings/RemoveAzureApplicationGatewayBackendHttpSettingsCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Remove, "AzureRMApplicationGatewayBackendHttpSettings"), OutputType(typeof(PSApplicationGateway))] + [Cmdlet(VerbsCommon.Remove, "AzureRmApplicationGatewayBackendHttpSettings"), OutputType(typeof(PSApplicationGateway))] public class RemoveAzureApplicationGatewayBackendHttpSettingsCommand : NetworkBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendHttpSettings/SetAzureApplicationGatewayBackendHttpSettingsCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendHttpSettings/SetAzureApplicationGatewayBackendHttpSettingsCommand.cs index 170409c3a526..5f3af916aa8e 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendHttpSettings/SetAzureApplicationGatewayBackendHttpSettingsCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/BackendHttpSettings/SetAzureApplicationGatewayBackendHttpSettingsCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Set, "AzureRMApplicationGatewayBackendHttpSettings"), OutputType(typeof(PSApplicationGateway))] + [Cmdlet(VerbsCommon.Set, "AzureRmApplicationGatewayBackendHttpSettings"), OutputType(typeof(PSApplicationGateway))] public class SetAzureApplicationGatewayBackendHttpSettingsCommand : AzureApplicationGatewayBackendHttpSettingsBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendIPConfiguration/AddAzureApplicationGatewayFrontendIPConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendIPConfiguration/AddAzureApplicationGatewayFrontendIPConfigCommand.cs index 209c5e77db53..df846f600ffb 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendIPConfiguration/AddAzureApplicationGatewayFrontendIPConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendIPConfiguration/AddAzureApplicationGatewayFrontendIPConfigCommand.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Add, "AzureRMApplicationGatewayFrontendIPConfig"), OutputType(typeof(PSApplicationGateway))] + [Cmdlet(VerbsCommon.Add, "AzureRmApplicationGatewayFrontendIPConfig"), OutputType(typeof(PSApplicationGateway))] public class AddAzureApplicationGatewayFrontendIPConfigCommand : AzureApplicationGatewayFrontendIPConfigBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendIPConfiguration/GetAzureApplicationGatewayFrontendIPConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendIPConfiguration/GetAzureApplicationGatewayFrontendIPConfigCommand.cs index 0838cdb99257..76517532e826 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendIPConfiguration/GetAzureApplicationGatewayFrontendIPConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendIPConfiguration/GetAzureApplicationGatewayFrontendIPConfigCommand.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Get, "AzureRMApplicationGatewayFrontendIPConfig"), + [Cmdlet(VerbsCommon.Get, "AzureRmApplicationGatewayFrontendIPConfig"), OutputType(typeof(PSApplicationGatewayFrontendIPConfiguration), typeof(IEnumerable<PSApplicationGatewayFrontendIPConfiguration>))] public class GetAzureApplicationGatewayFrontendIPConfigCommand : NetworkBaseCmdlet { diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendIPConfiguration/NewAzureApplicationGatewayFrontendIPConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendIPConfiguration/NewAzureApplicationGatewayFrontendIPConfigCommand.cs index dfccb671511a..e0341b17acfb 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendIPConfiguration/NewAzureApplicationGatewayFrontendIPConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendIPConfiguration/NewAzureApplicationGatewayFrontendIPConfigCommand.cs @@ -17,7 +17,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.New, "AzureRMApplicationGatewayFrontendIPConfig"), OutputType(typeof(PSApplicationGatewayFrontendIPConfiguration))] + [Cmdlet(VerbsCommon.New, "AzureRmApplicationGatewayFrontendIPConfig"), OutputType(typeof(PSApplicationGatewayFrontendIPConfiguration))] public class NewAzureApplicationGatewayFrontendIPConfigCommand : AzureApplicationGatewayFrontendIPConfigBase { protected override void ProcessRecord() diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendIPConfiguration/RemoveAzureApplicationGatewayFrontendIPConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendIPConfiguration/RemoveAzureApplicationGatewayFrontendIPConfigCommand.cs index 98850c260c2d..1d58b3002045 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendIPConfiguration/RemoveAzureApplicationGatewayFrontendIPConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendIPConfiguration/RemoveAzureApplicationGatewayFrontendIPConfigCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Remove, "AzureRMApplicationGatewayFrontendIPConfig"), OutputType(typeof(PSApplicationGateway))] + [Cmdlet(VerbsCommon.Remove, "AzureRmApplicationGatewayFrontendIPConfig"), OutputType(typeof(PSApplicationGateway))] public class RemoveAzureApplicationGatewayFrontendIPConfigCommand : NetworkBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendIPConfiguration/SetAzureApplicationGatewayFrontendIPConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendIPConfiguration/SetAzureApplicationGatewayFrontendIPConfigCommand.cs index 9db9a854d521..b72d0a65ef1d 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendIPConfiguration/SetAzureApplicationGatewayFrontendIPConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendIPConfiguration/SetAzureApplicationGatewayFrontendIPConfigCommand.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Set, "AzureRMApplicationGatewayFrontendIPConfig"), OutputType(typeof(PSApplicationGateway))] + [Cmdlet(VerbsCommon.Set, "AzureRmApplicationGatewayFrontendIPConfig"), OutputType(typeof(PSApplicationGateway))] public class SetAzureApplicationGatewayFrontendIPConfigCommand : AzureApplicationGatewayFrontendIPConfigBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendPort/AddAzureApplicationGatewayFrontendPortCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendPort/AddAzureApplicationGatewayFrontendPortCommand.cs index 3bbb32bffa07..61c66bfe5216 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendPort/AddAzureApplicationGatewayFrontendPortCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendPort/AddAzureApplicationGatewayFrontendPortCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Add, "AzureRMApplicationGatewayFrontendPort"), OutputType(typeof(PSApplicationGateway))] + [Cmdlet(VerbsCommon.Add, "AzureRmApplicationGatewayFrontendPort"), OutputType(typeof(PSApplicationGateway))] public class AddAzureApplicationGatewayFrontendPortCommand : AzureApplicationGatewayFrontendPortBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendPort/GetAzureApplicationGatewayFrontendPortCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendPort/GetAzureApplicationGatewayFrontendPortCommand.cs index 0b57e2084cf1..5953020dc13c 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendPort/GetAzureApplicationGatewayFrontendPortCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendPort/GetAzureApplicationGatewayFrontendPortCommand.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Get, "AzureRMApplicationGatewayFrontendPort"), + [Cmdlet(VerbsCommon.Get, "AzureRmApplicationGatewayFrontendPort"), OutputType(typeof(PSApplicationGatewayFrontendPort), typeof(IEnumerable<PSApplicationGatewayFrontendPort>))] public class GetAzureApplicationGatewayFrontendPortCommand : NetworkBaseCmdlet { diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendPort/NewAzureApplicationGatewayFrontendPortCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendPort/NewAzureApplicationGatewayFrontendPortCommand.cs index 67f17d2608ff..ea74526820f5 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendPort/NewAzureApplicationGatewayFrontendPortCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendPort/NewAzureApplicationGatewayFrontendPortCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.New, "AzureRMApplicationGatewayFrontendPort"), OutputType(typeof(PSApplicationGatewayFrontendPort))] + [Cmdlet(VerbsCommon.New, "AzureRmApplicationGatewayFrontendPort"), OutputType(typeof(PSApplicationGatewayFrontendPort))] public class NewAzureApplicationGatewayFrontendPortCommand : AzureApplicationGatewayFrontendPortBase { protected override void ProcessRecord() diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendPort/RemoveAzureApplicationGatewayFrontendPortCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendPort/RemoveAzureApplicationGatewayFrontendPortCommand.cs index e33e28903012..2dc9be5428cc 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendPort/RemoveAzureApplicationGatewayFrontendPortCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendPort/RemoveAzureApplicationGatewayFrontendPortCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Remove, "AzureRMApplicationGatewayFrontendPort"), OutputType(typeof(PSApplicationGateway))] + [Cmdlet(VerbsCommon.Remove, "AzureRmApplicationGatewayFrontendPort"), OutputType(typeof(PSApplicationGateway))] public class RemoveAzureApplicationGatewayFrontendPortCommand : NetworkBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendPort/SetAzureApplicationGatewayFrontendPortCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendPort/SetAzureApplicationGatewayFrontendPortCommand.cs index f1f5cd271129..c508b08505f0 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendPort/SetAzureApplicationGatewayFrontendPortCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/FrontendPort/SetAzureApplicationGatewayFrontendPortCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Set, "AzureRMApplicationGatewayFrontendPort"), OutputType(typeof(PSApplicationGateway))] + [Cmdlet(VerbsCommon.Set, "AzureRmApplicationGatewayFrontendPort"), OutputType(typeof(PSApplicationGateway))] public class SetAzureApplicationGatewayFrontendPortCommand : AzureApplicationGatewayFrontendPortBase { diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/GatewayIPConfiguration/AddAzureApplicationGatewayIPConfigurationCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/GatewayIPConfiguration/AddAzureApplicationGatewayIPConfigurationCommand.cs index ae652ee65df9..2cdf77a88def 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/GatewayIPConfiguration/AddAzureApplicationGatewayIPConfigurationCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/GatewayIPConfiguration/AddAzureApplicationGatewayIPConfigurationCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Add, "AzureRMApplicationGatewayIPConfiguration"), OutputType(typeof(PSApplicationGateway))] + [Cmdlet(VerbsCommon.Add, "AzureRmApplicationGatewayIPConfiguration"), OutputType(typeof(PSApplicationGateway))] public class AddAzureApplicationGatewayIPConfigurationCommand : AzureApplicationGatewayIPConfigurationBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/GatewayIPConfiguration/GetAzureApplicationGatewayIPConfigurationCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/GatewayIPConfiguration/GetAzureApplicationGatewayIPConfigurationCommand.cs index ede636fccda7..4f1cf5d8d4e7 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/GatewayIPConfiguration/GetAzureApplicationGatewayIPConfigurationCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/GatewayIPConfiguration/GetAzureApplicationGatewayIPConfigurationCommand.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Get, "AzureRMApplicationGatewayIPConfiguration"), + [Cmdlet(VerbsCommon.Get, "AzureRmApplicationGatewayIPConfiguration"), OutputType(typeof(PSApplicationGatewayIPConfiguration), typeof(IEnumerable<PSApplicationGatewayIPConfiguration>))] public class GetAzureApplicationGatewayIPConfigurationCommand : NetworkBaseCmdlet { diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/GatewayIPConfiguration/NewAzureApplicationGatewayIPConfigurationCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/GatewayIPConfiguration/NewAzureApplicationGatewayIPConfigurationCommand.cs index 95175a11efee..1a3216f162c5 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/GatewayIPConfiguration/NewAzureApplicationGatewayIPConfigurationCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/GatewayIPConfiguration/NewAzureApplicationGatewayIPConfigurationCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.New, "AzureRMApplicationGatewayIPConfiguration"), OutputType(typeof(PSApplicationGatewayIPConfiguration))] + [Cmdlet(VerbsCommon.New, "AzureRmApplicationGatewayIPConfiguration"), OutputType(typeof(PSApplicationGatewayIPConfiguration))] public class NewAzureApplicationGatewayIPConfigurationCommand : AzureApplicationGatewayIPConfigurationBase { protected override void ProcessRecord() diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/GatewayIPConfiguration/RemoveAzureApplicationGatewayIPConfigurationCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/GatewayIPConfiguration/RemoveAzureApplicationGatewayIPConfigurationCommand.cs index c89eddbe29f1..9d228707975d 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/GatewayIPConfiguration/RemoveAzureApplicationGatewayIPConfigurationCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/GatewayIPConfiguration/RemoveAzureApplicationGatewayIPConfigurationCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Remove, "AzureRMApplicationGatewayIPConfiguration"), OutputType(typeof(PSApplicationGateway))] + [Cmdlet(VerbsCommon.Remove, "AzureRmApplicationGatewayIPConfiguration"), OutputType(typeof(PSApplicationGateway))] public class RemoveAzureApplicationGatewayIPConfigurationCommand : NetworkBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/GatewayIPConfiguration/SetAzureApplicationGatewayIPConfigurationCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/GatewayIPConfiguration/SetAzureApplicationGatewayIPConfigurationCommand.cs index 3673f6990c8a..448cd2327a5a 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/GatewayIPConfiguration/SetAzureApplicationGatewayIPConfigurationCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/GatewayIPConfiguration/SetAzureApplicationGatewayIPConfigurationCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Set, "AzureRMApplicationGatewayIPConfiguration"), OutputType(typeof(PSApplicationGateway))] + [Cmdlet(VerbsCommon.Set, "AzureRmApplicationGatewayIPConfiguration"), OutputType(typeof(PSApplicationGateway))] public class SetAzureApplicationGatewayIPConfigurationCommand : AzureApplicationGatewayIPConfigurationBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/GetAzureApplicationGatewayCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/GetAzureApplicationGatewayCommand.cs index 44b676b41715..30a601b55d18 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/GetAzureApplicationGatewayCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/GetAzureApplicationGatewayCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Get, "AzureRMApplicationGateway"), OutputType(typeof(PSApplicationGateway), typeof(IEnumerable<PSApplicationGateway>))] + [Cmdlet(VerbsCommon.Get, "AzureRmApplicationGateway"), OutputType(typeof(PSApplicationGateway), typeof(IEnumerable<PSApplicationGateway>))] public class GetAzureApplicationGatewayCommand : ApplicationGatewayBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/HttpListener/AddAzureApplicationGatewayHttpListenerCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/HttpListener/AddAzureApplicationGatewayHttpListenerCommand.cs index 2d4cc4c0b83c..7034a868f974 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/HttpListener/AddAzureApplicationGatewayHttpListenerCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/HttpListener/AddAzureApplicationGatewayHttpListenerCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Add, "AzureRMApplicationGatewayHttpListener"), OutputType(typeof(PSApplicationGateway))] + [Cmdlet(VerbsCommon.Add, "AzureRmApplicationGatewayHttpListener"), OutputType(typeof(PSApplicationGateway))] public class AddAzureApplicationGatewayHttpListenerCommand : AzureApplicationGatewayHttpListenerBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/HttpListener/GetAzureApplicationGatewayHttpListenerCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/HttpListener/GetAzureApplicationGatewayHttpListenerCommand.cs index 5ca815a978a2..1d968a6751e2 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/HttpListener/GetAzureApplicationGatewayHttpListenerCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/HttpListener/GetAzureApplicationGatewayHttpListenerCommand.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Get, "AzureRMApplicationGatewayHttpListener"), + [Cmdlet(VerbsCommon.Get, "AzureRmApplicationGatewayHttpListener"), OutputType(typeof(PSApplicationGatewayHttpListener), typeof(IEnumerable<PSApplicationGatewayHttpListener>))] public class GetAzureApplicationGatewayHttpListenerCommand : NetworkBaseCmdlet { diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/HttpListener/NewAzureApplicationGatewayHttpListenerCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/HttpListener/NewAzureApplicationGatewayHttpListenerCommand.cs index 4867c66cad5d..145f807a1411 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/HttpListener/NewAzureApplicationGatewayHttpListenerCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/HttpListener/NewAzureApplicationGatewayHttpListenerCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.New, "AzureRMApplicationGatewayHttpListener"), OutputType(typeof(PSApplicationGatewayHttpListener))] + [Cmdlet(VerbsCommon.New, "AzureRmApplicationGatewayHttpListener"), OutputType(typeof(PSApplicationGatewayHttpListener))] public class NewAzureApplicationGatewayHttpListenerCommand : AzureApplicationGatewayHttpListenerBase { protected override void ProcessRecord() diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/HttpListener/RemoveAzureApplicationGatewayHttpListenerCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/HttpListener/RemoveAzureApplicationGatewayHttpListenerCommand.cs index 444c1c6dd84b..637a6618a2f7 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/HttpListener/RemoveAzureApplicationGatewayHttpListenerCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/HttpListener/RemoveAzureApplicationGatewayHttpListenerCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Remove, "AzureRMApplicationGatewayHttpListener"), OutputType(typeof(PSApplicationGatewayHttpListener))] + [Cmdlet(VerbsCommon.Remove, "AzureRmApplicationGatewayHttpListener"), OutputType(typeof(PSApplicationGatewayHttpListener))] public class RemoveAzureApplicationGatewayHttpListenerCommand : NetworkBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/HttpListener/SetAzureApplicationGatewayHttpListenerCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/HttpListener/SetAzureApplicationGatewayHttpListenerCommand.cs index 59185accb189..2966b676a73b 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/HttpListener/SetAzureApplicationGatewayHttpListenerCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/HttpListener/SetAzureApplicationGatewayHttpListenerCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Set, "AzureRMApplicationGatewayHttpListener"), OutputType(typeof(PSApplicationGateway))] + [Cmdlet(VerbsCommon.Set, "AzureRmApplicationGatewayHttpListener"), OutputType(typeof(PSApplicationGateway))] public class SetAzureApplicationGatewayHttpListenerCommand : AzureApplicationGatewayHttpListenerBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/NewAzureApplicationGatewayCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/NewAzureApplicationGatewayCommand.cs index cd8b8792e60a..70e885cd8426 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/NewAzureApplicationGatewayCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/NewAzureApplicationGatewayCommand.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.New, "AzureRMApplicationGateway"), OutputType(typeof(PSApplicationGateway))] + [Cmdlet(VerbsCommon.New, "AzureRmApplicationGateway"), OutputType(typeof(PSApplicationGateway))] public class NewAzureApplicationGatewayCommand : ApplicationGatewayBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/RemoveAzureApplicationGatewayCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/RemoveAzureApplicationGatewayCommand.cs index 17192d9c404f..272919cec410 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/RemoveAzureApplicationGatewayCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/RemoveAzureApplicationGatewayCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Remove, "AzureRMApplicationGateway")] + [Cmdlet(VerbsCommon.Remove, "AzureRmApplicationGateway")] public class RemoveAzureApplicationGatewayCommand : ApplicationGatewayBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/RequestRoutingRule/AddAzureApplicationGatewayRequestRoutingRuleCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/RequestRoutingRule/AddAzureApplicationGatewayRequestRoutingRuleCommand.cs index 180c2f43daab..6d95e011150a 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/RequestRoutingRule/AddAzureApplicationGatewayRequestRoutingRuleCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/RequestRoutingRule/AddAzureApplicationGatewayRequestRoutingRuleCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Add, "AzureRMApplicationGatewayRequestRoutingRule"), OutputType(typeof(PSApplicationGateway))] + [Cmdlet(VerbsCommon.Add, "AzureRmApplicationGatewayRequestRoutingRule"), OutputType(typeof(PSApplicationGateway))] public class AddAzureApplicationGatewayRequestRoutingRuleCommand : AzureApplicationGatewayRequestRoutingRuleBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/RequestRoutingRule/GetAzureApplicationGatewayRequestRoutingRuleCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/RequestRoutingRule/GetAzureApplicationGatewayRequestRoutingRuleCommand.cs index 101c287358a1..4be16822bc7b 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/RequestRoutingRule/GetAzureApplicationGatewayRequestRoutingRuleCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/RequestRoutingRule/GetAzureApplicationGatewayRequestRoutingRuleCommand.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Get, "AzureRMApplicationGatewayRequestRoutingRule"), + [Cmdlet(VerbsCommon.Get, "AzureRmApplicationGatewayRequestRoutingRule"), OutputType(typeof(PSApplicationGatewayRequestRoutingRule), typeof(IEnumerable<PSApplicationGatewayRequestRoutingRule>))] public class GetAzureApplicationGatewayRequestRoutingRuleCommand : NetworkBaseCmdlet { diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/RequestRoutingRule/NewAzureApplicationGatewayRequestRoutingRuleCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/RequestRoutingRule/NewAzureApplicationGatewayRequestRoutingRuleCommand.cs index 650c8907b565..ec70297f86c1 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/RequestRoutingRule/NewAzureApplicationGatewayRequestRoutingRuleCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/RequestRoutingRule/NewAzureApplicationGatewayRequestRoutingRuleCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.New, "AzureRMApplicationGatewayRequestRoutingRule"), OutputType(typeof(PSApplicationGatewayRequestRoutingRule))] + [Cmdlet(VerbsCommon.New, "AzureRmApplicationGatewayRequestRoutingRule"), OutputType(typeof(PSApplicationGatewayRequestRoutingRule))] public class NewAzureApplicationGatewayRequestRoutingRuleCommand : AzureApplicationGatewayRequestRoutingRuleBase { protected override void ProcessRecord() diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/RequestRoutingRule/RemoveAzureApplicationGatewayRequestRoutingRuleCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/RequestRoutingRule/RemoveAzureApplicationGatewayRequestRoutingRuleCommand.cs index b418e1537402..d078d8f76818 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/RequestRoutingRule/RemoveAzureApplicationGatewayRequestRoutingRuleCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/RequestRoutingRule/RemoveAzureApplicationGatewayRequestRoutingRuleCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Remove, "AzureRMApplicationGatewayRequestRoutingRule"), OutputType(typeof(PSApplicationGatewayRequestRoutingRule))] + [Cmdlet(VerbsCommon.Remove, "AzureRmApplicationGatewayRequestRoutingRule"), OutputType(typeof(PSApplicationGatewayRequestRoutingRule))] public class RemoveAzureApplicationGatewayRequestRoutingRuleCommand : NetworkBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/RequestRoutingRule/SetAzureApplicationGatewayRequestRoutingRuleCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/RequestRoutingRule/SetAzureApplicationGatewayRequestRoutingRuleCommand.cs index fb8d422a1a4f..38f86b684b9d 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/RequestRoutingRule/SetAzureApplicationGatewayRequestRoutingRuleCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/RequestRoutingRule/SetAzureApplicationGatewayRequestRoutingRuleCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Set, "AzureRMApplicationGatewayRequestRoutingRule"), OutputType(typeof(PSApplicationGateway))] + [Cmdlet(VerbsCommon.Set, "AzureRmApplicationGatewayRequestRoutingRule"), OutputType(typeof(PSApplicationGateway))] public class SetAzureApplicationGatewayRequestRoutingRuleCommand : AzureApplicationGatewayRequestRoutingRuleBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/SetAzureApplicationGatewayCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/SetAzureApplicationGatewayCommand.cs index 1b5cdcc6d067..843ac5071c87 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/SetAzureApplicationGatewayCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/SetAzureApplicationGatewayCommand.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Set, "AzureRMApplicationGateway"), OutputType(typeof(PSApplicationGateway))] + [Cmdlet(VerbsCommon.Set, "AzureRmApplicationGateway"), OutputType(typeof(PSApplicationGateway))] public class SetAzureApplicationGatewayCommand : ApplicationGatewayBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/Sku/GetAzureApplicationGatewaySkuCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/Sku/GetAzureApplicationGatewaySkuCommand.cs index bf1cc0992825..225f7c934b04 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/Sku/GetAzureApplicationGatewaySkuCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/Sku/GetAzureApplicationGatewaySkuCommand.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Get, "AzureRMApplicationGatewaySku"), OutputType(typeof(PSApplicationGatewaySku))] + [Cmdlet(VerbsCommon.Get, "AzureRmApplicationGatewaySku"), OutputType(typeof(PSApplicationGatewaySku))] public class GetAzureApplicationGatewaySkuCommand : NetworkBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/Sku/NewAzureApplicationGatewaySkuCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/Sku/NewAzureApplicationGatewaySkuCommand.cs index 9ffdfb721e07..31c2f1fbe522 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/Sku/NewAzureApplicationGatewaySkuCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/Sku/NewAzureApplicationGatewaySkuCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.New, "AzureRMApplicationGatewaySku"), OutputType(typeof(PSApplicationGatewaySku))] + [Cmdlet(VerbsCommon.New, "AzureRmApplicationGatewaySku"), OutputType(typeof(PSApplicationGatewaySku))] public class NewAzureApplicationGatewaySkuCommand : AzureApplicationGatewaySkuBase { protected override void ProcessRecord() diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/Sku/SetAzureApplicationGatewaySkuCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/Sku/SetAzureApplicationGatewaySkuCommand.cs index 36ef12903fa2..72ba86110501 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/Sku/SetAzureApplicationGatewaySkuCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/Sku/SetAzureApplicationGatewaySkuCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Set, "AzureRMApplicationGatewaySku"), OutputType(typeof(PSApplicationGateway))] + [Cmdlet(VerbsCommon.Set, "AzureRmApplicationGatewaySku"), OutputType(typeof(PSApplicationGateway))] public class SetAzureApplicationGatewaySkuCommand : AzureApplicationGatewaySkuBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/SslCertificate/AddAzureApplicationGatewaySslCertificateCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/SslCertificate/AddAzureApplicationGatewaySslCertificateCommand.cs index 0aa00e86b0d2..0a70975fb82e 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/SslCertificate/AddAzureApplicationGatewaySslCertificateCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/SslCertificate/AddAzureApplicationGatewaySslCertificateCommand.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Add, "AzureRMApplicationGatewaySslCertificate"), OutputType(typeof(PSApplicationGateway))] + [Cmdlet(VerbsCommon.Add, "AzureRmApplicationGatewaySslCertificate"), OutputType(typeof(PSApplicationGateway))] public class AddAzureApplicationGatewaySslCertificateCommand : AzureApplicationGatewaySslCertificateBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/SslCertificate/GetAzureApplicationGatewaySslCertificateCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/SslCertificate/GetAzureApplicationGatewaySslCertificateCommand.cs index c99c1a45185e..b55af9e88fa7 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/SslCertificate/GetAzureApplicationGatewaySslCertificateCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/SslCertificate/GetAzureApplicationGatewaySslCertificateCommand.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Get, "AzureRMApplicationGatewaySslCertificate"), + [Cmdlet(VerbsCommon.Get, "AzureRmApplicationGatewaySslCertificate"), OutputType(typeof(PSApplicationGatewaySslCertificate), typeof(IEnumerable<PSApplicationGatewaySslCertificate>))] public class GetAzureApplicationGatewaySslCertificate : NetworkBaseCmdlet { diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/SslCertificate/NewAzureApplicationGatewaySslCertificateCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/SslCertificate/NewAzureApplicationGatewaySslCertificateCommand.cs index 6d7a35be1538..961a39b3f41e 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/SslCertificate/NewAzureApplicationGatewaySslCertificateCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/SslCertificate/NewAzureApplicationGatewaySslCertificateCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.New, "AzureRMApplicationGatewaySslCertificate"), OutputType(typeof(PSApplicationGatewaySslCertificate))] + [Cmdlet(VerbsCommon.New, "AzureRmApplicationGatewaySslCertificate"), OutputType(typeof(PSApplicationGatewaySslCertificate))] public class NewAzureApplicationGatewaySslCertificateCommand : AzureApplicationGatewaySslCertificateBase { protected override void ProcessRecord() diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/SslCertificate/RemoveAzureApplicationGatewaySslCertificateCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/SslCertificate/RemoveAzureApplicationGatewaySslCertificateCommand.cs index abac64f24e69..a6dfc593849d 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/SslCertificate/RemoveAzureApplicationGatewaySslCertificateCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/SslCertificate/RemoveAzureApplicationGatewaySslCertificateCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Remove, "AzureRMApplicationGatewaySslCertificate"), OutputType(typeof(PSApplicationGateway))] + [Cmdlet(VerbsCommon.Remove, "AzureRmApplicationGatewaySslCertificate"), OutputType(typeof(PSApplicationGateway))] public class RemoveAzureApplicationGatewaySslCertificateCommand : NetworkBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/SslCertificate/SetAzureApplicationGatewaySslCertificateCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/SslCertificate/SetAzureApplicationGatewaySslCertificateCommand.cs index 8ab7e0e0a37a..c259d76981dc 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/SslCertificate/SetAzureApplicationGatewaySslCertificateCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/SslCertificate/SetAzureApplicationGatewaySslCertificateCommand.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Set, "AzureRMApplicationGatewaySslCertificate"), OutputType(typeof(PSApplicationGateway))] + [Cmdlet(VerbsCommon.Set, "AzureRmApplicationGatewaySslCertificate"), OutputType(typeof(PSApplicationGateway))] public class SetAzureApplicationGatewaySslCertificateCommand : AzureApplicationGatewaySslCertificateBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/StartAzureApplicationGatewayCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/StartAzureApplicationGatewayCommand.cs index 319d3e70b5bb..35ade4f7dbaa 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/StartAzureApplicationGatewayCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/StartAzureApplicationGatewayCommand.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsLifecycle.Start, "AzureRMApplicationGateway"), OutputType(typeof(PSApplicationGateway))] + [Cmdlet(VerbsLifecycle.Start, "AzureRmApplicationGateway"), OutputType(typeof(PSApplicationGateway))] public class StartAzureApplicationGatewayCommand : ApplicationGatewayBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/StopAzureApplicationGatewayCommand.cs b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/StopAzureApplicationGatewayCommand.cs index 0d123eed3e18..45484ffeeac4 100644 --- a/src/ResourceManager/Network/Commands.Network/ApplicationGateway/StopAzureApplicationGatewayCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/ApplicationGateway/StopAzureApplicationGatewayCommand.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsLifecycle.Stop, "AzureRMApplicationGateway"), OutputType(typeof(PSApplicationGateway))] + [Cmdlet(VerbsLifecycle.Stop, "AzureRmApplicationGateway"), OutputType(typeof(PSApplicationGateway))] public class StopAzureApplicationGatewayCommand : ApplicationGatewayBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/LoadBalancer/BackendAddressPool/AddAzureLoadBalancerBackendAddressPoolConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/LoadBalancer/BackendAddressPool/AddAzureLoadBalancerBackendAddressPoolConfigCommand.cs index 6f63b9b2a7b4..0f27dd6d00a9 100644 --- a/src/ResourceManager/Network/Commands.Network/LoadBalancer/BackendAddressPool/AddAzureLoadBalancerBackendAddressPoolConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/LoadBalancer/BackendAddressPool/AddAzureLoadBalancerBackendAddressPoolConfigCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Add, "AzureRMLoadBalancerBackendAddressPoolConfig"), OutputType(typeof(PSLoadBalancer))] + [Cmdlet(VerbsCommon.Add, "AzureRmLoadBalancerBackendAddressPoolConfig"), OutputType(typeof(PSLoadBalancer))] public class AddAzureLoadBalancerBackendAddressPoolConfigCommand : AzureLoadBalancerBackendAddressPoolConfigBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/LoadBalancer/BackendAddressPool/GetAzureLoadBalancerBackendAddressPoolConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/LoadBalancer/BackendAddressPool/GetAzureLoadBalancerBackendAddressPoolConfigCommand.cs index 9cc88164d118..04f09f69d78c 100644 --- a/src/ResourceManager/Network/Commands.Network/LoadBalancer/BackendAddressPool/GetAzureLoadBalancerBackendAddressPoolConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/LoadBalancer/BackendAddressPool/GetAzureLoadBalancerBackendAddressPoolConfigCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Get, "AzureRMLoadBalancerBackendAddressPoolConfig"), OutputType(typeof(PSBackendAddressPool))] + [Cmdlet(VerbsCommon.Get, "AzureRmLoadBalancerBackendAddressPoolConfig"), OutputType(typeof(PSBackendAddressPool))] public class GetAzureLoadBalancerBackendAddressPoolConfigCommand : NetworkBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/LoadBalancer/BackendAddressPool/NewAzureLoadBalancerBackendAddressPoolConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/LoadBalancer/BackendAddressPool/NewAzureLoadBalancerBackendAddressPoolConfigCommand.cs index 93bac1041555..60ce2c55f56f 100644 --- a/src/ResourceManager/Network/Commands.Network/LoadBalancer/BackendAddressPool/NewAzureLoadBalancerBackendAddressPoolConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/LoadBalancer/BackendAddressPool/NewAzureLoadBalancerBackendAddressPoolConfigCommand.cs @@ -17,7 +17,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.New, "AzureRMLoadBalancerBackendAddressPoolConfig"), OutputType(typeof(PSBackendAddressPool))] + [Cmdlet(VerbsCommon.New, "AzureRmLoadBalancerBackendAddressPoolConfig"), OutputType(typeof(PSBackendAddressPool))] public class NewAzureLoadBalancerBackendAddressPoolConfigCommand : AzureLoadBalancerBackendAddressPoolConfigBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/LoadBalancer/BackendAddressPool/RemoveAzureLoadBalancerBackendAddressPoolConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/LoadBalancer/BackendAddressPool/RemoveAzureLoadBalancerBackendAddressPoolConfigCommand.cs index 6ec98abeac9b..6b245bbaedd5 100644 --- a/src/ResourceManager/Network/Commands.Network/LoadBalancer/BackendAddressPool/RemoveAzureLoadBalancerBackendAddressPoolConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/LoadBalancer/BackendAddressPool/RemoveAzureLoadBalancerBackendAddressPoolConfigCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Remove, "AzureRMLoadBalancerBackendAddressPoolConfig"), OutputType(typeof(PSLoadBalancer))] + [Cmdlet(VerbsCommon.Remove, "AzureRmLoadBalancerBackendAddressPoolConfig"), OutputType(typeof(PSLoadBalancer))] public class RemoveAzureLoadBalancerBackendAddressPoolConfigCommand : NetworkBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/LoadBalancer/FrontendIpConfiguration/AddAzureLoadBalancerFrontendIpConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/LoadBalancer/FrontendIpConfiguration/AddAzureLoadBalancerFrontendIpConfigCommand.cs index 5b80600bf354..1593545fbb12 100644 --- a/src/ResourceManager/Network/Commands.Network/LoadBalancer/FrontendIpConfiguration/AddAzureLoadBalancerFrontendIpConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/LoadBalancer/FrontendIpConfiguration/AddAzureLoadBalancerFrontendIpConfigCommand.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Add, "AzureRMLoadBalancerFrontendIpConfig"), OutputType(typeof(PSLoadBalancer))] + [Cmdlet(VerbsCommon.Add, "AzureRmLoadBalancerFrontendIpConfig"), OutputType(typeof(PSLoadBalancer))] public class AddAzureLoadBalancerFrontendIpConfigCommand : AzureLoadBalancerFrontendIpConfigBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/LoadBalancer/FrontendIpConfiguration/GetAzureLoadBalancerFrontendIpConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/LoadBalancer/FrontendIpConfiguration/GetAzureLoadBalancerFrontendIpConfigCommand.cs index 6103e23d2718..e64793a3c355 100644 --- a/src/ResourceManager/Network/Commands.Network/LoadBalancer/FrontendIpConfiguration/GetAzureLoadBalancerFrontendIpConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/LoadBalancer/FrontendIpConfiguration/GetAzureLoadBalancerFrontendIpConfigCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Get, "AzureRMLoadBalancerFrontendIpConfig"), OutputType(typeof(PSFrontendIPConfiguration))] + [Cmdlet(VerbsCommon.Get, "AzureRmLoadBalancerFrontendIpConfig"), OutputType(typeof(PSFrontendIPConfiguration))] public class GetAzureLoadBalancerFrontendIpConfigCommand : NetworkBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/LoadBalancer/FrontendIpConfiguration/NewAzureLoadBalancerFrontendIpConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/LoadBalancer/FrontendIpConfiguration/NewAzureLoadBalancerFrontendIpConfigCommand.cs index 257bb7dd7ba1..f42dd6bf8454 100644 --- a/src/ResourceManager/Network/Commands.Network/LoadBalancer/FrontendIpConfiguration/NewAzureLoadBalancerFrontendIpConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/LoadBalancer/FrontendIpConfiguration/NewAzureLoadBalancerFrontendIpConfigCommand.cs @@ -17,7 +17,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.New, "AzureRMLoadBalancerFrontendIpConfig"), OutputType(typeof(PSFrontendIPConfiguration))] + [Cmdlet(VerbsCommon.New, "AzureRmLoadBalancerFrontendIpConfig"), OutputType(typeof(PSFrontendIPConfiguration))] public class NewAzureLoadBalancerFrontendIpConfigCommand : AzureLoadBalancerFrontendIpConfigBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/LoadBalancer/FrontendIpConfiguration/RemoveAzureLoadBalancerFrontendIpConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/LoadBalancer/FrontendIpConfiguration/RemoveAzureLoadBalancerFrontendIpConfigCommand.cs index b18638dd7f66..e1dd6d7d70d4 100644 --- a/src/ResourceManager/Network/Commands.Network/LoadBalancer/FrontendIpConfiguration/RemoveAzureLoadBalancerFrontendIpConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/LoadBalancer/FrontendIpConfiguration/RemoveAzureLoadBalancerFrontendIpConfigCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Remove, "AzureRMLoadBalancerFrontendIpConfig"), OutputType(typeof(PSLoadBalancer))] + [Cmdlet(VerbsCommon.Remove, "AzureRmLoadBalancerFrontendIpConfig"), OutputType(typeof(PSLoadBalancer))] public class RemoveAzureLoadBalancerFrontendIpConfigCommand : NetworkBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/LoadBalancer/FrontendIpConfiguration/SetAzureLoadBalancerFrontendIpConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/LoadBalancer/FrontendIpConfiguration/SetAzureLoadBalancerFrontendIpConfigCommand.cs index 6b200216d2c8..3dc91e706284 100644 --- a/src/ResourceManager/Network/Commands.Network/LoadBalancer/FrontendIpConfiguration/SetAzureLoadBalancerFrontendIpConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/LoadBalancer/FrontendIpConfiguration/SetAzureLoadBalancerFrontendIpConfigCommand.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Set, "AzureRMLoadBalancerFrontendIpConfig"), OutputType(typeof(PSLoadBalancer))] + [Cmdlet(VerbsCommon.Set, "AzureRmLoadBalancerFrontendIpConfig"), OutputType(typeof(PSLoadBalancer))] public class SetAzureLoadBalancerFrontendIpConfigCommand : AzureLoadBalancerFrontendIpConfigBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/LoadBalancer/GetAzureLoadBalancerCommand.cs b/src/ResourceManager/Network/Commands.Network/LoadBalancer/GetAzureLoadBalancerCommand.cs index 187b76ad5206..1d2143fa55aa 100644 --- a/src/ResourceManager/Network/Commands.Network/LoadBalancer/GetAzureLoadBalancerCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/LoadBalancer/GetAzureLoadBalancerCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Get, "AzureRMLoadBalancer"), OutputType(typeof(PSLoadBalancer))] + [Cmdlet(VerbsCommon.Get, "AzureRmLoadBalancer"), OutputType(typeof(PSLoadBalancer))] public class GetAzureLoadBalancerCommand : LoadBalancerBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/LoadBalancer/InboundNatRule/AddAzureLoadBalancerInboundNatRuleConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/LoadBalancer/InboundNatRule/AddAzureLoadBalancerInboundNatRuleConfigCommand.cs index 238c31971906..a6834e8fb484 100644 --- a/src/ResourceManager/Network/Commands.Network/LoadBalancer/InboundNatRule/AddAzureLoadBalancerInboundNatRuleConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/LoadBalancer/InboundNatRule/AddAzureLoadBalancerInboundNatRuleConfigCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Add, "AzureRMLoadBalancerInboundNatRuleConfig"), OutputType(typeof(PSLoadBalancer))] + [Cmdlet(VerbsCommon.Add, "AzureRmLoadBalancerInboundNatRuleConfig"), OutputType(typeof(PSLoadBalancer))] public class AddAzureLoadBalancerInboundNatRuleConfigCommand : AzureLoadBalancerInboundNatRuleConfigBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/LoadBalancer/InboundNatRule/GetAzureLoadBalancerInboundNatRuleConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/LoadBalancer/InboundNatRule/GetAzureLoadBalancerInboundNatRuleConfigCommand.cs index 435b5959826d..6c57be51f39d 100644 --- a/src/ResourceManager/Network/Commands.Network/LoadBalancer/InboundNatRule/GetAzureLoadBalancerInboundNatRuleConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/LoadBalancer/InboundNatRule/GetAzureLoadBalancerInboundNatRuleConfigCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Get, "AzureRMLoadBalancerInboundNatRuleConfig"), OutputType(typeof(PSInboundNatRule))] + [Cmdlet(VerbsCommon.Get, "AzureRmLoadBalancerInboundNatRuleConfig"), OutputType(typeof(PSInboundNatRule))] public class GetAzureLoadBalancerInboundNatRuleConfigCommand : NetworkBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/LoadBalancer/InboundNatRule/NewAzureLoadBalancerInboundNatRuleConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/LoadBalancer/InboundNatRule/NewAzureLoadBalancerInboundNatRuleConfigCommand.cs index c26ca01235c8..6bbee1c2a819 100644 --- a/src/ResourceManager/Network/Commands.Network/LoadBalancer/InboundNatRule/NewAzureLoadBalancerInboundNatRuleConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/LoadBalancer/InboundNatRule/NewAzureLoadBalancerInboundNatRuleConfigCommand.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.New, "AzureRMLoadBalancerInboundNatRuleConfig"), OutputType(typeof(PSInboundNatRule))] + [Cmdlet(VerbsCommon.New, "AzureRmLoadBalancerInboundNatRuleConfig"), OutputType(typeof(PSInboundNatRule))] public class NewAzureLoadBalancerInboundNatRuleConfigCommand : AzureLoadBalancerInboundNatRuleConfigBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/LoadBalancer/InboundNatRule/RemoveAzureLoadBalancerInboundNatRuleConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/LoadBalancer/InboundNatRule/RemoveAzureLoadBalancerInboundNatRuleConfigCommand.cs index efe801b947fa..efc89e2f1fde 100644 --- a/src/ResourceManager/Network/Commands.Network/LoadBalancer/InboundNatRule/RemoveAzureLoadBalancerInboundNatRuleConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/LoadBalancer/InboundNatRule/RemoveAzureLoadBalancerInboundNatRuleConfigCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Remove, "AzureRMLoadBalancerInboundNatRuleConfig"), OutputType(typeof(PSLoadBalancer))] + [Cmdlet(VerbsCommon.Remove, "AzureRmLoadBalancerInboundNatRuleConfig"), OutputType(typeof(PSLoadBalancer))] public class RemoveAzureLoadBalancerInboundNatRuleConfigCommand : NetworkBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/LoadBalancer/InboundNatRule/SetAzureLoadBalancerInboundNatRuleConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/LoadBalancer/InboundNatRule/SetAzureLoadBalancerInboundNatRuleConfigCommand.cs index 64170519b959..4490f33677bf 100644 --- a/src/ResourceManager/Network/Commands.Network/LoadBalancer/InboundNatRule/SetAzureLoadBalancerInboundNatRuleConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/LoadBalancer/InboundNatRule/SetAzureLoadBalancerInboundNatRuleConfigCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Set, "AzureRMLoadBalancerInboundNatRuleConfig"), OutputType(typeof(PSLoadBalancer))] + [Cmdlet(VerbsCommon.Set, "AzureRmLoadBalancerInboundNatRuleConfig"), OutputType(typeof(PSLoadBalancer))] public class SetAzureLoadBalancerInboundNatRuleConfigCommand : AzureLoadBalancerInboundNatRuleConfigBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/LoadBalancer/LoadBalancerRule/AddAzureLoadBalancerRuleConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/LoadBalancer/LoadBalancerRule/AddAzureLoadBalancerRuleConfigCommand.cs index d12085a54ea7..80b4a3e5c39b 100644 --- a/src/ResourceManager/Network/Commands.Network/LoadBalancer/LoadBalancerRule/AddAzureLoadBalancerRuleConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/LoadBalancer/LoadBalancerRule/AddAzureLoadBalancerRuleConfigCommand.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Add, "AzureRMLoadBalancerRuleConfig"), OutputType(typeof(PSLoadBalancer))] + [Cmdlet(VerbsCommon.Add, "AzureRmLoadBalancerRuleConfig"), OutputType(typeof(PSLoadBalancer))] public class AddAzureLoadBalancerRuleConfigCommand : AzureLoadBalancerRuleConfigBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/LoadBalancer/LoadBalancerRule/GetAzureLoadBalancerRuleConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/LoadBalancer/LoadBalancerRule/GetAzureLoadBalancerRuleConfigCommand.cs index 1b0bf5150667..c77c5832b11a 100644 --- a/src/ResourceManager/Network/Commands.Network/LoadBalancer/LoadBalancerRule/GetAzureLoadBalancerRuleConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/LoadBalancer/LoadBalancerRule/GetAzureLoadBalancerRuleConfigCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Get, "AzureRMLoadBalancerRuleConfig"), OutputType(typeof(PSLoadBalancingRule))] + [Cmdlet(VerbsCommon.Get, "AzureRmLoadBalancerRuleConfig"), OutputType(typeof(PSLoadBalancingRule))] public class GetAzureLoadBalancerRuleConfigCommand : NetworkBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/LoadBalancer/LoadBalancerRule/NewAzureLoadBalancerRuleConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/LoadBalancer/LoadBalancerRule/NewAzureLoadBalancerRuleConfigCommand.cs index 201dc2c058d5..4f83b0a11195 100644 --- a/src/ResourceManager/Network/Commands.Network/LoadBalancer/LoadBalancerRule/NewAzureLoadBalancerRuleConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/LoadBalancer/LoadBalancerRule/NewAzureLoadBalancerRuleConfigCommand.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.New, "AzureRMLoadBalancerRuleConfig"), OutputType(typeof(PSLoadBalancingRule))] + [Cmdlet(VerbsCommon.New, "AzureRmLoadBalancerRuleConfig"), OutputType(typeof(PSLoadBalancingRule))] public class NewAzureLoadBalancerRuleConfigCommand : AzureLoadBalancerRuleConfigBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/LoadBalancer/LoadBalancerRule/RemoveAzureLoadBalancerRuleCommand.cs b/src/ResourceManager/Network/Commands.Network/LoadBalancer/LoadBalancerRule/RemoveAzureLoadBalancerRuleCommand.cs index 0bb366acbf3b..17828e4a80ad 100644 --- a/src/ResourceManager/Network/Commands.Network/LoadBalancer/LoadBalancerRule/RemoveAzureLoadBalancerRuleCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/LoadBalancer/LoadBalancerRule/RemoveAzureLoadBalancerRuleCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Remove, "AzureRMLoadBalancerRuleConfig"), OutputType(typeof(PSLoadBalancer))] + [Cmdlet(VerbsCommon.Remove, "AzureRmLoadBalancerRuleConfig"), OutputType(typeof(PSLoadBalancer))] public class RemoveAzureLoadBalancerRuleCommand : NetworkBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/LoadBalancer/LoadBalancerRule/SetAzureLoadBalancerRuleConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/LoadBalancer/LoadBalancerRule/SetAzureLoadBalancerRuleConfigCommand.cs index c8e907c3a40d..00e82c42d309 100644 --- a/src/ResourceManager/Network/Commands.Network/LoadBalancer/LoadBalancerRule/SetAzureLoadBalancerRuleConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/LoadBalancer/LoadBalancerRule/SetAzureLoadBalancerRuleConfigCommand.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Set, "AzureRMLoadBalancerRuleConfig"), OutputType(typeof(PSLoadBalancer))] + [Cmdlet(VerbsCommon.Set, "AzureRmLoadBalancerRuleConfig"), OutputType(typeof(PSLoadBalancer))] public class SetAzureLoadBalancerRuleConfigCommand : AzureLoadBalancerRuleConfigBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/LoadBalancer/NewAzureLoadBalancerCommand.cs b/src/ResourceManager/Network/Commands.Network/LoadBalancer/NewAzureLoadBalancerCommand.cs index e0618a78080b..2b1697fc92c7 100644 --- a/src/ResourceManager/Network/Commands.Network/LoadBalancer/NewAzureLoadBalancerCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/LoadBalancer/NewAzureLoadBalancerCommand.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.New, "AzureRMLoadBalancer"), OutputType(typeof(PSLoadBalancer))] + [Cmdlet(VerbsCommon.New, "AzureRmLoadBalancer"), OutputType(typeof(PSLoadBalancer))] public class NewAzureLoadBalancerCommand : LoadBalancerBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/LoadBalancer/Probe/AddAzureLoadBalancerProbeConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/LoadBalancer/Probe/AddAzureLoadBalancerProbeConfigCommand.cs index dcb5999e9c5e..38b8d9c46669 100644 --- a/src/ResourceManager/Network/Commands.Network/LoadBalancer/Probe/AddAzureLoadBalancerProbeConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/LoadBalancer/Probe/AddAzureLoadBalancerProbeConfigCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Add, "AzureRMLoadBalancerProbeConfig"), OutputType(typeof(PSLoadBalancer))] + [Cmdlet(VerbsCommon.Add, "AzureRmLoadBalancerProbeConfig"), OutputType(typeof(PSLoadBalancer))] public class AddAzureLoadBalancerProbeConfigCommand : AzureLoadBalancerProbeConfigBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/LoadBalancer/Probe/GetAzureLoadBalancerProbeCommand.cs b/src/ResourceManager/Network/Commands.Network/LoadBalancer/Probe/GetAzureLoadBalancerProbeCommand.cs index 6da5276a2991..e2cbe953bf1b 100644 --- a/src/ResourceManager/Network/Commands.Network/LoadBalancer/Probe/GetAzureLoadBalancerProbeCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/LoadBalancer/Probe/GetAzureLoadBalancerProbeCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Get, "AzureRMLoadBalancerProbeConfig"), OutputType(typeof(PSProbe))] + [Cmdlet(VerbsCommon.Get, "AzureRmLoadBalancerProbeConfig"), OutputType(typeof(PSProbe))] public class GetAzureLoadBalancerProbeCommand : NetworkBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/LoadBalancer/Probe/NewAzureLoadBalancerProbeConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/LoadBalancer/Probe/NewAzureLoadBalancerProbeConfigCommand.cs index 179e9cad4a11..3ceb39a347d4 100644 --- a/src/ResourceManager/Network/Commands.Network/LoadBalancer/Probe/NewAzureLoadBalancerProbeConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/LoadBalancer/Probe/NewAzureLoadBalancerProbeConfigCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.New, "AzureRMLoadBalancerProbeConfig"), OutputType(typeof(PSProbe))] + [Cmdlet(VerbsCommon.New, "AzureRmLoadBalancerProbeConfig"), OutputType(typeof(PSProbe))] public class NewAzureLoadBalancerProbeConfigCommand : AzureLoadBalancerProbeConfigBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/LoadBalancer/Probe/RemoveAzureLoadBalancerProbeCommand.cs b/src/ResourceManager/Network/Commands.Network/LoadBalancer/Probe/RemoveAzureLoadBalancerProbeCommand.cs index 255298aabd08..64a40d565779 100644 --- a/src/ResourceManager/Network/Commands.Network/LoadBalancer/Probe/RemoveAzureLoadBalancerProbeCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/LoadBalancer/Probe/RemoveAzureLoadBalancerProbeCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Remove, "AzureRMLoadBalancerProbeConfig"), OutputType(typeof(PSLoadBalancer))] + [Cmdlet(VerbsCommon.Remove, "AzureRmLoadBalancerProbeConfig"), OutputType(typeof(PSLoadBalancer))] public class RemoveAzureLoadBalancerProbeCommand : NetworkBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/LoadBalancer/Probe/SetAzureLoadBalancerProbeConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/LoadBalancer/Probe/SetAzureLoadBalancerProbeConfigCommand.cs index f091edd27f15..8a5b504c5939 100644 --- a/src/ResourceManager/Network/Commands.Network/LoadBalancer/Probe/SetAzureLoadBalancerProbeConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/LoadBalancer/Probe/SetAzureLoadBalancerProbeConfigCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Set, "AzureRMLoadBalancerProbeConfig"), OutputType(typeof(PSLoadBalancer))] + [Cmdlet(VerbsCommon.Set, "AzureRmLoadBalancerProbeConfig"), OutputType(typeof(PSLoadBalancer))] public class SetAzureLoadBalancerProbeConfigCommand : AzureLoadBalancerProbeConfigBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/LoadBalancer/RemoveAzureLoadBalancerCommand.cs b/src/ResourceManager/Network/Commands.Network/LoadBalancer/RemoveAzureLoadBalancerCommand.cs index 3d43a52dc7d5..3912703f173d 100644 --- a/src/ResourceManager/Network/Commands.Network/LoadBalancer/RemoveAzureLoadBalancerCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/LoadBalancer/RemoveAzureLoadBalancerCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Remove, "AzureRMLoadBalancer")] + [Cmdlet(VerbsCommon.Remove, "AzureRmLoadBalancer")] public class RemoveAzureLoadBalancerCommand : LoadBalancerBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/LoadBalancer/SetAzureLoadBalancerCommand.cs b/src/ResourceManager/Network/Commands.Network/LoadBalancer/SetAzureLoadBalancerCommand.cs index bceea17245e6..3f4ee636ea4f 100644 --- a/src/ResourceManager/Network/Commands.Network/LoadBalancer/SetAzureLoadBalancerCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/LoadBalancer/SetAzureLoadBalancerCommand.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Set, "AzureRMLoadBalancer"), OutputType(typeof(PSLoadBalancer))] + [Cmdlet(VerbsCommon.Set, "AzureRmLoadBalancer"), OutputType(typeof(PSLoadBalancer))] public class SetAzureLoadBalancerCommand : LoadBalancerBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/LocalNetworkGateway/GetAzureLocalNetworkGatewayCommand.cs b/src/ResourceManager/Network/Commands.Network/LocalNetworkGateway/GetAzureLocalNetworkGatewayCommand.cs index 76563bb8f750..d220032b3ecf 100644 --- a/src/ResourceManager/Network/Commands.Network/LocalNetworkGateway/GetAzureLocalNetworkGatewayCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/LocalNetworkGateway/GetAzureLocalNetworkGatewayCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Get, "AzureRMLocalNetworkGateway"), OutputType(typeof(PSLocalNetworkGateway))] + [Cmdlet(VerbsCommon.Get, "AzureRmLocalNetworkGateway"), OutputType(typeof(PSLocalNetworkGateway))] public class GetAzureLocalNetworkGatewayCommand : LocalNetworkGatewayBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/LocalNetworkGateway/NewAzureLocalNetworkGatewayCommand.cs b/src/ResourceManager/Network/Commands.Network/LocalNetworkGateway/NewAzureLocalNetworkGatewayCommand.cs index e270db024f6d..05bbe78f1cea 100644 --- a/src/ResourceManager/Network/Commands.Network/LocalNetworkGateway/NewAzureLocalNetworkGatewayCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/LocalNetworkGateway/NewAzureLocalNetworkGatewayCommand.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.New, "AzureRMLocalNetworkGateway"), OutputType(typeof(PSLocalNetworkGateway))] + [Cmdlet(VerbsCommon.New, "AzureRmLocalNetworkGateway"), OutputType(typeof(PSLocalNetworkGateway))] public class NewAzureLocalNetworkGatewayCommand : LocalNetworkGatewayBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/LocalNetworkGateway/RemoveAzureLocalNetworkGatewayCommand.cs b/src/ResourceManager/Network/Commands.Network/LocalNetworkGateway/RemoveAzureLocalNetworkGatewayCommand.cs index 53a253f8bc74..ac4ba02ba8b8 100644 --- a/src/ResourceManager/Network/Commands.Network/LocalNetworkGateway/RemoveAzureLocalNetworkGatewayCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/LocalNetworkGateway/RemoveAzureLocalNetworkGatewayCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Remove, "AzureRMLocalNetworkGateway")] + [Cmdlet(VerbsCommon.Remove, "AzureRmLocalNetworkGateway")] public class RemoveAzureLocalNetworkGatewayCommand : LocalNetworkGatewayBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/LocalNetworkGateway/UpdateAzureLocalNetworkGatewayCommand.cs b/src/ResourceManager/Network/Commands.Network/LocalNetworkGateway/UpdateAzureLocalNetworkGatewayCommand.cs index 19d78700c6cc..ea7184122c0b 100644 --- a/src/ResourceManager/Network/Commands.Network/LocalNetworkGateway/UpdateAzureLocalNetworkGatewayCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/LocalNetworkGateway/UpdateAzureLocalNetworkGatewayCommand.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Set, "AzureRMLocalNetworkGateway"), OutputType(typeof(PSLocalNetworkGateway))] + [Cmdlet(VerbsCommon.Set, "AzureRmLocalNetworkGateway"), OutputType(typeof(PSLocalNetworkGateway))] public class SetAzureLocalNetworkGatewayCommand : LocalNetworkGatewayBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.Network.dll-Help.xml b/src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.Network.dll-Help.xml index 8d5c442c3ac4..e281f75f8a1e 100644 --- a/src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.Network.dll-Help.xml +++ b/src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.Network.dll-Help.xml @@ -3,7 +3,7 @@ <!-- Updatable Help Version 1.0.0.0 --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Add-AzureRMApplicationGatewayBackendAddressPool</command:name> + <command:name>Add-AzureRmApplicationGatewayBackendAddressPool</command:name> <maml:description> <maml:para>Adds a back-end address pool to an application gateway.</maml:para> </maml:description> @@ -15,11 +15,11 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Add-AzureRMApplicationGatewayBackendAddressPool cmdlet adds a back-end address pool to an application gateway. A back-end address can be specified using an IP address, a fully-qualified domain name (FQDN) or IP configuration IDs.</maml:para> + <maml:para>The Add-AzureRmApplicationGatewayBackendAddressPool cmdlet adds a back-end address pool to an application gateway. A back-end address can be specified using an IP address, a fully-qualified domain name (FQDN) or IP configuration IDs.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Add-AzureRMApplicationGatewayBackendAddressPool</maml:name> + <maml:name>Add-AzureRmApplicationGatewayBackendAddressPool</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>BackendIPConfigurationIds</maml:name> <maml:description> @@ -50,7 +50,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Add-AzureRMApplicationGatewayBackendAddressPool</maml:name> + <maml:name>Add-AzureRmApplicationGatewayBackendAddressPool</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>BackendIPAddresses</maml:name> <maml:description> @@ -81,7 +81,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Add-AzureRMApplicationGatewayBackendAddressPool</maml:name> + <maml:name>Add-AzureRmApplicationGatewayBackendAddressPool</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>BackendFqdns</maml:name> <maml:description> @@ -225,8 +225,8 @@ <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt; $AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $AppGw = Add-AzureRMApplicationGatewayBackendAddressPool -ApplicationGateway $AppGw + <dev:code>PS C:\&gt; $AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $AppGw = Add-AzureRmApplicationGatewayBackendAddressPool -ApplicationGateway $AppGw -Name "Pool02" -BackendFqdns "contoso1.com", " contoso1.com" </dev:code> @@ -248,7 +248,7 @@ PS C:\&gt; $AppGw = Add-AzureRMApplicationGatewayBackendAddressPool -Application <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" + <dev:code>PS C:\&gt;$AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" PS C:\&gt; $AppGw = Add -AzureApplicationGatewayBackendAddressPool -ApplicationGateway $ AppGw -Name "Pool02" -BackendIPAddresses "10.10.10.10", "10.10.10.11" </dev:code> @@ -270,10 +270,10 @@ PS C:\&gt; $AppGw = Add -AzureApplicationGatewayBackendAddressPool -ApplicationG <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$Nic01 = Get-AzureRMNetworkInterface -Name "Nic01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $Nic02 = Get-AzureRMNetworkInterface -Name "Nic02" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $AppGw = Add-AzureRMApplicationGatewayBackendAddressPool -ApplicationGateway $ AppGw + <dev:code>PS C:\&gt;$Nic01 = Get-AzureRmNetworkInterface -Name "Nic01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $Nic02 = Get-AzureRmNetworkInterface -Name "Nic02" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $AppGw = Add-AzureRmApplicationGatewayBackendAddressPool -ApplicationGateway $ AppGw -Name "Pool02" -BackendIPConfigurationIds $nic01.Properties.IpConfigurations[0].Id, $nic02.Properties.IpConfiguration[0].Id </dev:code> <dev:remarks> @@ -293,26 +293,26 @@ PS C:\&gt; $AppGw = Add-AzureRMApplicationGatewayBackendAddressPool -Application </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewayBackendAddressPool</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewayBackendAddressPool</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayBackendAddressPool</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayBackendAddressPool</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMApplicationGatewayBackendAddressPool</maml:linkText> + <maml:linkText>Remove-AzureRmApplicationGatewayBackendAddressPool</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewayBackendAddressPool</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewayBackendAddressPool</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Add-AzureRMApplicationGatewayBackendHttpSettings</command:name> + <command:name>Add-AzureRmApplicationGatewayBackendHttpSettings</command:name> <maml:description> <maml:para> </maml:para> @@ -329,7 +329,7 @@ PS C:\&gt; $AppGw = Add-AzureRMApplicationGatewayBackendAddressPool -Application </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Add-AzureRMApplicationGatewayBackendHttpSettings</maml:name> + <maml:name>Add-AzureRmApplicationGatewayBackendHttpSettings</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -340,7 +340,7 @@ PS C:\&gt; $AppGw = Add-AzureRMApplicationGatewayBackendAddressPool -Application <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue)" position="named" aliases="none"> <maml:name>ApplicationGateway</maml:name> <maml:description> - <maml:para>The Add-AzureRMApplicationGatewayBackendHttpSettings cmdlet adds back-end HTTP settings to an application gateway. </maml:para> + <maml:para>The Add-AzureRmApplicationGatewayBackendHttpSettings cmdlet adds back-end HTTP settings to an application gateway. </maml:para> <maml:para>Back-end HTTP settings are applied to all back-end servers in the pool.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">PSApplicationGateway</command:parameterValue> @@ -382,7 +382,7 @@ PS C:\&gt; $AppGw = Add-AzureRMApplicationGatewayBackendAddressPool -Application <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue)" position="named" aliases="none"> <maml:name>ApplicationGateway</maml:name> <maml:description> - <maml:para>The Add-AzureRMApplicationGatewayBackendHttpSettings cmdlet adds back-end HTTP settings to an application gateway. </maml:para> + <maml:para>The Add-AzureRmApplicationGatewayBackendHttpSettings cmdlet adds back-end HTTP settings to an application gateway. </maml:para> <maml:para>Back-end HTTP settings are applied to all back-end servers in the pool.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">PSApplicationGateway</command:parameterValue> @@ -490,8 +490,8 @@ PS C:\&gt; $AppGw = Add-AzureRMApplicationGatewayBackendAddressPool -Application <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt; $AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $appgw = Add-AzureRMApplicationGatewayBackendHttpSettings -ApplicationGateway $appgw + <dev:code>PS C:\&gt; $AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $appgw = Add-AzureRmApplicationGatewayBackendHttpSettings -ApplicationGateway $appgw -Name "Setting02" -Port 88 -Protocol "HTTP" -CookieBasedAffinity "Disabled" </dev:code> <dev:remarks> @@ -509,26 +509,26 @@ PS C:\&gt; $appgw = Add-AzureRMApplicationGatewayBackendHttpSettings -Applicatio </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewayBackendHttpSettings</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewayBackendHttpSettings</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayBackendHttpSettings</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayBackendHttpSettings</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMApplicationGatewayBackendHttpSettings</maml:linkText> + <maml:linkText>Remove-AzureRmApplicationGatewayBackendHttpSettings</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewayBackendHttpSettings</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewayBackendHttpSettings</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Add-AzureRMApplicationGatewayFrontendIPConfig</command:name> + <command:name>Add-AzureRmApplicationGatewayFrontendIPConfig</command:name> <maml:description> <maml:para>Adds a front-end IP configuration to an application gateway.</maml:para> </maml:description> @@ -540,14 +540,14 @@ PS C:\&gt; $appgw = Add-AzureRMApplicationGatewayBackendHttpSettings -Applicatio <dev:version /> </command:details> <maml:description> - <maml:para>The Add-AzureRMApplicationGatewayFrontendIPConfig cmdlet adds a front-end IP configuration to an application gateway. An application gateway supports two types of front-end IP configurations. + <maml:para>The Add-AzureRmApplicationGatewayFrontendIPConfig cmdlet adds a front-end IP configuration to an application gateway. An application gateway supports two types of front-end IP configurations. -- Public IP addresses -- Private IP addresses using internal load-balancing (ILB) </maml:para> <maml:para>An application gateway can have at most one public IP and one private IP. Add the public IP address and private IP address as separate front-end IPs.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Add-AzureRMApplicationGatewayFrontendIPConfig</maml:name> + <maml:name>Add-AzureRmApplicationGatewayFrontendIPConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>PrivateIPAddress</maml:name> <maml:description> @@ -592,7 +592,7 @@ PS C:\&gt; $appgw = Add-AzureRMApplicationGatewayBackendHttpSettings -Applicatio </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Add-AzureRMApplicationGatewayFrontendIPConfig</maml:name> + <maml:name>Add-AzureRmApplicationGatewayFrontendIPConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>PrivateIPAddress</maml:name> <maml:description> @@ -796,9 +796,9 @@ PS C:\&gt; $appgw = Add-AzureRMApplicationGatewayBackendHttpSettings -Applicatio <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt; $PublicIp = New-AzureRMPublicIpAddress -ResourceGroupName "ResourceGroup01" -Name "PublicIp01" -location "West US" -AllocationMethod Dynamic -PS C:\&gt; $AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $AppGw = Add-AzureRMApplicationGatewayFrontendIPConfig -ApplicationGateway $AppGw -Name "FrontEndIp01" –PublicIPAddress $PublicIp + <dev:code>PS C:\&gt; $PublicIp = New-AzureRmPublicIpAddress -ResourceGroupName "ResourceGroup01" -Name "PublicIp01" -location "West US" -AllocationMethod Dynamic +PS C:\&gt; $AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $AppGw = Add-AzureRmApplicationGatewayFrontendIPConfig -ApplicationGateway $AppGw -Name "FrontEndIp01" –PublicIPAddress $PublicIp </dev:code> <dev:remarks> @@ -820,10 +820,10 @@ PS C:\&gt; $AppGw = Add-AzureRMApplicationGatewayFrontendIPConfig -ApplicationGa <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$VNet = Get-AzureRMvirtualNetwork -Name "VNet01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $Subnet = Get-AzureRMVirtualNetworkSubnetConfig -Name "Subnet01" -VirtualNetwork $VNet -PS C:\&gt; $AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $AppGw = Add-AzureRMApplicationGatewayFrontendIPConfig -ApplicationGateway $AppGw -Name "FrontendIP02" -Subnet $Subnet -PrivateIPAddress 10.0.1.1 + <dev:code>PS C:\&gt;$VNet = Get-AzureRmvirtualNetwork -Name "VNet01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $Subnet = Get-AzureRmVirtualNetworkSubnetConfig -Name "Subnet01" -VirtualNetwork $VNet +PS C:\&gt; $AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $AppGw = Add-AzureRmApplicationGatewayFrontendIPConfig -ApplicationGateway $AppGw -Name "FrontendIP02" -Subnet $Subnet -PrivateIPAddress 10.0.1.1 </dev:code> <dev:remarks> <maml:para>The first command gets a virtual network named VNet01 that belongs to the resource group named ResourceGroup01, and stores it in the $VNet variable.</maml:para> @@ -845,10 +845,10 @@ PS C:\&gt; $AppGw = Add-AzureRMApplicationGatewayFrontendIPConfig -ApplicationGa <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$VNet = Get-AzureRMvirtualNetwork -Name "VNet01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $Subnet = Get-AzureRMVirtualNetworkSubnetConfig -Name "Subnet01" -VirtualNetwork $VNet -PS C:\&gt; $AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $AppGw = Add-AzureRMApplicationGatewayFrontendIPConfig -ApplicationGateway $AppGw -Name "FrontendIP02" -Subnet $Subnet + <dev:code>PS C:\&gt;$VNet = Get-AzureRmvirtualNetwork -Name "VNet01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $Subnet = Get-AzureRmVirtualNetworkSubnetConfig -Name "Subnet01" -VirtualNetwork $VNet +PS C:\&gt; $AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $AppGw = Add-AzureRmApplicationGatewayFrontendIPConfig -ApplicationGateway $AppGw -Name "FrontendIP02" -Subnet $Subnet </dev:code> <dev:remarks> <maml:para>The first command gets a virtual network named VNet01 that belongs to the resource group named ResourceGroup01, and stores it in the $VNet variable.</maml:para> @@ -867,26 +867,26 @@ PS C:\&gt; $AppGw = Add-AzureRMApplicationGatewayFrontendIPConfig -ApplicationGa </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewayFrontendIPConfig</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewayFrontendIPConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayFrontendIPConfig</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayFrontendIPConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMApplicationGatewayFrontendIPConfig</maml:linkText> + <maml:linkText>Remove-AzureRmApplicationGatewayFrontendIPConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewayFrontendIPConfig</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewayFrontendIPConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Add-AzureRMApplicationGatewayFrontendPort</command:name> + <command:name>Add-AzureRmApplicationGatewayFrontendPort</command:name> <maml:description> <maml:para>Adds a front-end port to an application gateway.</maml:para> </maml:description> @@ -898,11 +898,11 @@ PS C:\&gt; $AppGw = Add-AzureRMApplicationGatewayFrontendIPConfig -ApplicationGa <dev:version /> </command:details> <maml:description> - <maml:para>The Add-AzureRMApplicationGatewayFrontendPort cmdlet adds a front-end port to an application gateway.</maml:para> + <maml:para>The Add-AzureRmApplicationGatewayFrontendPort cmdlet adds a front-end port to an application gateway.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Add-AzureRMApplicationGatewayFrontendPort</maml:name> + <maml:name>Add-AzureRmApplicationGatewayFrontendPort</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -1020,8 +1020,8 @@ PS C:\&gt; $AppGw = Add-AzureRMApplicationGatewayFrontendIPConfig -ApplicationGa <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt; $AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $appgw = Add-AzureRMApplicationGatewayFrontendPort -ApplicationGateway $AppGw -Name "FrontEndPort01" –Port 80 + <dev:code>PS C:\&gt; $AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $appgw = Add-AzureRmApplicationGatewayFrontendPort -ApplicationGateway $AppGw -Name "FrontEndPort01" –Port 80 </dev:code> <dev:remarks> <maml:para>The first command gets the application gateway named ApplicationGateway01 that belongs to the resource group named ResourceGroup01 and stores it in the $AppGw variable.</maml:para> @@ -1038,26 +1038,26 @@ PS C:\&gt; $appgw = Add-AzureRMApplicationGatewayFrontendPort -ApplicationGatewa </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewayFrontendPort</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewayFrontendPort</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayFrontendPort</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayFrontendPort</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMApplicationGatewayFrontendPort</maml:linkText> + <maml:linkText>Remove-AzureRmApplicationGatewayFrontendPort</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewayFrontendPort</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewayFrontendPort</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Add-AzureRMApplicationGatewayHttpListener</command:name> + <command:name>Add-AzureRmApplicationGatewayHttpListener</command:name> <maml:description> <maml:para>Adds an HTTP listener to an application gateway.</maml:para> </maml:description> @@ -1069,11 +1069,11 @@ PS C:\&gt; $appgw = Add-AzureRMApplicationGatewayFrontendPort -ApplicationGatewa <dev:version /> </command:details> <maml:description> - <maml:para>The Add-AzureRMApplicationGatewayHttpListener cmdlet adds a HTTP listener to an application gateway.</maml:para> + <maml:para>The Add-AzureRmApplicationGatewayHttpListener cmdlet adds a HTTP listener to an application gateway.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Add-AzureRMApplicationGatewayHttpListener</maml:name> + <maml:name>Add-AzureRmApplicationGatewayHttpListener</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>FrontendIPConfigurationId</maml:name> <maml:description> @@ -1128,7 +1128,7 @@ PS C:\&gt; $appgw = Add-AzureRMApplicationGatewayFrontendPort -ApplicationGatewa </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Add-AzureRMApplicationGatewayHttpListener</maml:name> + <maml:name>Add-AzureRmApplicationGatewayHttpListener</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>FrontendIPConfiguration</maml:name> <maml:description> @@ -1378,8 +1378,8 @@ PS C:\&gt; $appgw = Add-AzureRMApplicationGatewayFrontendPort -ApplicationGatewa <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $Appgw = Add-AzureRMApplicationGatewayHttpListener -ApplicationGateway $AppGw -Name "listener01" -Protocol "Http" -FrontendIpConfiguration $FIP01 -FrontendPort $FP01 + <dev:code>PS C:\&gt;$AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $Appgw = Add-AzureRmApplicationGatewayHttpListener -ApplicationGateway $AppGw -Name "listener01" -Protocol "Http" -FrontendIpConfiguration $FIP01 -FrontendPort $FP01 </dev:code> <dev:remarks> @@ -1400,8 +1400,8 @@ PS C:\&gt; $Appgw = Add-AzureRMApplicationGatewayHttpListener -ApplicationGatewa <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $AppGw = Add-AzureRMApplicationGatewayHttpListener -ApplicationGateway $AppGw + <dev:code>PS C:\&gt;$AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $AppGw = Add-AzureRmApplicationGatewayHttpListener -ApplicationGateway $AppGw -Name "Listener01" -Protocol "Https" -FrontendIpConfiguration $FIP01 -FrontendPort $FP01 – SslCertificate $SSLCert01 </dev:code> <dev:remarks> @@ -1419,26 +1419,26 @@ PS C:\&gt; $AppGw = Add-AzureRMApplicationGatewayHttpListener -ApplicationGatewa </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewayHttpListener</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewayHttpListener</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayHttpListener</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayHttpListener</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMApplicationGatewayHttpListener</maml:linkText> + <maml:linkText>Remove-AzureRmApplicationGatewayHttpListener</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewayHttpListener</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewayHttpListener</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Add-AzureRMApplicationGatewayIPConfiguration</command:name> + <command:name>Add-AzureRmApplicationGatewayIPConfiguration</command:name> <maml:description> <maml:para>Adds an IP configuration to an application gateway.</maml:para> </maml:description> @@ -1450,11 +1450,11 @@ PS C:\&gt; $AppGw = Add-AzureRMApplicationGatewayHttpListener -ApplicationGatewa <dev:version /> </command:details> <maml:description> - <maml:para>The Add-AzureRMApplicationGatewayIPConfiguration cmdlet adds an IP configuration to an application gateway. IP configurations contain the subnet in which the application gateway is deployed.</maml:para> + <maml:para>The Add-AzureRmApplicationGatewayIPConfiguration cmdlet adds an IP configuration to an application gateway. IP configurations contain the subnet in which the application gateway is deployed.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Add-AzureRMApplicationGatewayIPConfiguration</maml:name> + <maml:name>Add-AzureRmApplicationGatewayIPConfiguration</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -1485,7 +1485,7 @@ PS C:\&gt; $AppGw = Add-AzureRMApplicationGatewayHttpListener -ApplicationGatewa </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Add-AzureRMApplicationGatewayIPConfiguration</maml:name> + <maml:name>Add-AzureRmApplicationGatewayIPConfiguration</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -1627,10 +1627,10 @@ PS C:\&gt; $AppGw = Add-AzureRMApplicationGatewayHttpListener -ApplicationGatewa <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$Vnet = Get-AzureRMVirtualNetwork -Name "Vnet01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $Subnet = Get-AzureRMVirtualNetworkSubnetConfig -Name "Subnet01" -VirtualNetwork $Vnet -PS C:\&gt; $AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $AppGw = Add-AzureRMApplicationGatewayIPConfiguration -ApplicationGateway $AppGw -Name "Appgwsubnet01" -Subnet $Subnet + <dev:code>PS C:\&gt;$Vnet = Get-AzureRmVirtualNetwork -Name "Vnet01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $Subnet = Get-AzureRmVirtualNetworkSubnetConfig -Name "Subnet01" -VirtualNetwork $Vnet +PS C:\&gt; $AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $AppGw = Add-AzureRmApplicationGatewayIPConfiguration -ApplicationGateway $AppGw -Name "Appgwsubnet01" -Subnet $Subnet </dev:code> <dev:remarks> <maml:para>The first command creates a virtual network.</maml:para> @@ -1649,26 +1649,26 @@ PS C:\&gt; $AppGw = Add-AzureRMApplicationGatewayIPConfiguration -ApplicationGat </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewayIPConfiguration</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewayIPConfiguration</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayIPConfiguration</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayIPConfiguration</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMApplicationGatewayIPConfiguration</maml:linkText> + <maml:linkText>Remove-AzureRmApplicationGatewayIPConfiguration</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewayIPConfiguration</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewayIPConfiguration</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Add-AzureRMApplicationGatewayRequestRoutingRule</command:name> + <command:name>Add-AzureRmApplicationGatewayRequestRoutingRule</command:name> <maml:description> <maml:para>Adds a request routing rule to an application gateway.</maml:para> </maml:description> @@ -1680,11 +1680,11 @@ PS C:\&gt; $AppGw = Add-AzureRMApplicationGatewayIPConfiguration -ApplicationGat <dev:version /> </command:details> <maml:description> - <maml:para>The Add-AzureRMApplicationGatewayRequestRoutingRule cmdlet adds a request routing rule to an application gateway.</maml:para> + <maml:para>The Add-AzureRmApplicationGatewayRequestRoutingRule cmdlet adds a request routing rule to an application gateway.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Add-AzureRMApplicationGatewayRequestRoutingRule</maml:name> + <maml:name>Add-AzureRmApplicationGatewayRequestRoutingRule</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>BackendAddressPoolId</maml:name> <maml:description> @@ -1736,7 +1736,7 @@ PS C:\&gt; $AppGw = Add-AzureRMApplicationGatewayIPConfiguration -ApplicationGat </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Add-AzureRMApplicationGatewayRequestRoutingRule</maml:name> + <maml:name>Add-AzureRmApplicationGatewayRequestRoutingRule</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>BackendAddressPool</maml:name> <maml:description> @@ -1983,7 +1983,7 @@ PS C:\&gt; $AppGw = Add-AzureRMApplicationGatewayIPConfiguration -ApplicationGat <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" + <dev:code>PS C:\&gt;$AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" PS C:\&gt; $Appgw = Add- AzureApplicationGatewayRequestRoutingRule -ApplicationGateway $AppGw -Name "Rule01" -RuleType Basic -BackendHttpSettings $Setting -HttpListener $Listener -BackendAddressPool $Pool </dev:code> <dev:remarks> @@ -2001,26 +2001,26 @@ PS C:\&gt; $Appgw = Add- AzureApplicationGatewayRequestRoutingRule -ApplicationG </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewayRequestRoutingRule</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewayRequestRoutingRule</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayRequestRoutingRule</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayRequestRoutingRule</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMApplicationGatewayRequestRoutingRule</maml:linkText> + <maml:linkText>Remove-AzureRmApplicationGatewayRequestRoutingRule</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewayRequestRoutingRule</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewayRequestRoutingRule</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Add-AzureRMApplicationGatewaySslCertificate</command:name> + <command:name>Add-AzureRmApplicationGatewaySslCertificate</command:name> <maml:description> <maml:para>Adds an SSL certificate to an application gateway.</maml:para> </maml:description> @@ -2032,11 +2032,11 @@ PS C:\&gt; $Appgw = Add- AzureApplicationGatewayRequestRoutingRule -ApplicationG <dev:version /> </command:details> <maml:description> - <maml:para>The Add-AzureRMApplicationGatewaySslCertificate cmdlet adds an SSL certificate to an application gateway.</maml:para> + <maml:para>The Add-AzureRmApplicationGatewaySslCertificate cmdlet adds an SSL certificate to an application gateway.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Add-AzureRMApplicationGatewaySslCertificate</maml:name> + <maml:name>Add-AzureRmApplicationGatewaySslCertificate</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -2173,8 +2173,8 @@ PS C:\&gt; $Appgw = Add- AzureApplicationGatewayRequestRoutingRule -ApplicationG <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$AppGW = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $AppGW = Add-AzureRMApplicationGatewaySslCertificate -ApplicationGateway $AppGW -Name "Cert01" –CertificateFile "D:\cert01.pfx" –Password "Password01" + <dev:code>PS C:\&gt;$AppGW = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $AppGW = Add-AzureRmApplicationGatewaySslCertificate -ApplicationGateway $AppGW -Name "Cert01" –CertificateFile "D:\cert01.pfx" –Password "Password01" </dev:code> <dev:remarks> <maml:para>This command gets an application gateway named ApplicationGateway01 and then adds an SSL certificate named Cert01 to it.</maml:para> @@ -2190,26 +2190,26 @@ PS C:\&gt; $AppGW = Add-AzureRMApplicationGatewaySslCertificate -ApplicationGate </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewaySslCertificate</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewaySslCertificate</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewaySslCertificate</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewaySslCertificate</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMApplicationGatewaySslCertificate</maml:linkText> + <maml:linkText>Remove-AzureRmApplicationGatewaySslCertificate</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewaySslCertificate</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewaySslCertificate</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Add-AzureRMLoadBalancerBackendAddressPoolConfig</command:name> + <command:name>Add-AzureRmLoadBalancerBackendAddressPoolConfig</command:name> <maml:description> <maml:para>Adds a backend address pool configuration to a load balancer.</maml:para> </maml:description> @@ -2221,11 +2221,11 @@ PS C:\&gt; $AppGW = Add-AzureRMApplicationGatewaySslCertificate -ApplicationGate <dev:version /> </command:details> <maml:description> - <maml:para>The Add-AzureRMLoadBalancerBackend cmdlet adds a backend address pool to an Azure load balancer.</maml:para> + <maml:para>The Add-AzureRmLoadBalancerBackend cmdlet adds a backend address pool to an Azure load balancer.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Add-AzureRMLoadBalancerBackendAddressPoolConfig</maml:name> + <maml:name>Add-AzureRmLoadBalancerBackendAddressPoolConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -2330,10 +2330,10 @@ PS C:\&gt; $AppGW = Add-AzureRMApplicationGatewaySslCertificate -ApplicationGate <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMLoadBalancer -Name "MyLoadBalancer" -ResourceGroupName "myrg" | Add-AzureRMLoadBalancerBackendAddressPoolConfig -Name "BackendAddressPool02" | Set-AzureRMLoadBalancer + <dev:code>PS C:\&gt;Get-AzureRmLoadBalancer -Name "MyLoadBalancer" -ResourceGroupName "myrg" | Add-AzureRmLoadBalancerBackendAddressPoolConfig -Name "BackendAddressPool02" | Set-AzureRmLoadBalancer </dev:code> <dev:remarks> - <maml:para>This command gets the load balancer named MyLoadBalancer, adds the backend address pool named BackendAddressPool02 to MyLoadBalancer, and then uses the Set-AzureRMLoadBalancer cmdlet to update MyLoadBalancer.</maml:para> + <maml:para>This command gets the load balancer named MyLoadBalancer, adds the backend address pool named BackendAddressPool02 to MyLoadBalancer, and then uses the Set-AzureRmLoadBalancer cmdlet to update MyLoadBalancer.</maml:para> <maml:para /> <maml:para /> </dev:remarks> @@ -2346,30 +2346,30 @@ PS C:\&gt; $AppGW = Add-AzureRMApplicationGatewaySslCertificate -ApplicationGate </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMLoadBalancer</maml:linkText> + <maml:linkText>Get-AzureRmLoadBalancer</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMNetworkInterface</maml:linkText> + <maml:linkText>Get-AzureRmNetworkInterface</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMLoadBalancerBackendAddressPoolConfig</maml:linkText> + <maml:linkText>Get-AzureRmLoadBalancerBackendAddressPoolConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMLoadBalancerBackendAddressPoolConfig</maml:linkText> + <maml:linkText>New-AzureRmLoadBalancerBackendAddressPoolConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMLoadBalancerBackendAddressPoolConfig</maml:linkText> + <maml:linkText>Remove-AzureRmLoadBalancerBackendAddressPoolConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Add-AzureRMLoadBalancerFrontendIpConfig</command:name> + <command:name>Add-AzureRmLoadBalancerFrontendIpConfig</command:name> <maml:description> <maml:para>Adds a front-end IP configuration to a load balancer.</maml:para> </maml:description> @@ -2381,11 +2381,11 @@ PS C:\&gt; $AppGW = Add-AzureRMApplicationGatewaySslCertificate -ApplicationGate <dev:version /> </command:details> <maml:description> - <maml:para>The Add-AzureRMLoadBalancerFrontendIpConifg cmdlet adds a front-end IP configuration to an Azure load balancer.</maml:para> + <maml:para>The Add-AzureRmLoadBalancerFrontendIpConifg cmdlet adds a front-end IP configuration to an Azure load balancer.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Add-AzureRMLoadBalancerFrontendIpConfig</maml:name> + <maml:name>Add-AzureRmLoadBalancerFrontendIpConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>PrivateIpAddress</maml:name> <maml:description> @@ -2430,7 +2430,7 @@ PS C:\&gt; $AppGW = Add-AzureRMApplicationGatewaySslCertificate -ApplicationGate </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Add-AzureRMLoadBalancerFrontendIpConfig</maml:name> + <maml:name>Add-AzureRmLoadBalancerFrontendIpConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>PrivateIpAddress</maml:name> <maml:description> @@ -2616,8 +2616,8 @@ PS C:\&gt; $AppGW = Add-AzureRMApplicationGatewaySslCertificate -ApplicationGate <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$Subnet = Get-AzureRMVirtualNetwork -Name "myVnet" -ResourceGroupName "myRg" | Get-AzureRMVirtualNetworkSubnetConfig -Name "mysubnet" -PS C:\&gt; Get-AzureRMLoadBalancer -Name "myLB" -ResourceGroupName "NrpTest" | Add-AzureRMLoadBalancerFrontendIpConfig -Name "frontendName" -Subnet $Subnet | Set-AzureRMLoadBalancer + <dev:code>PS C:\&gt;$Subnet = Get-AzureRmVirtualNetwork -Name "myVnet" -ResourceGroupName "myRg" | Get-AzureRmVirtualNetworkSubnetConfig -Name "mysubnet" +PS C:\&gt; Get-AzureRmLoadBalancer -Name "myLB" -ResourceGroupName "NrpTest" | Add-AzureRmLoadBalancerFrontendIpConfig -Name "frontendName" -Subnet $Subnet | Set-AzureRmLoadBalancer </dev:code> <dev:remarks> <maml:para>This command adds a front-end IP configuration to the load balancer with a dynamic private IP address from the specified subnet.</maml:para> @@ -2636,8 +2636,8 @@ PS C:\&gt; Get-AzureRMLoadBalancer -Name "myLB" -ResourceGroupName "NrpTest" | A <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$Subnet = Get-AzureRMVirtualNetwork -Name "myVnet" -ResourceGroupName "myRg" | Get-AzureRMVirtualNetworkSubnetConfig -Name "mysubnet" -PS C:\&gt; Get-AzureRMLoadBalancer -Name "myLB" -ResourceGroupName "NrpTest" | Add-AzureRMLoadBalancerFrontendIpConfig -Name "frontendName" -Subnet $Subnet -PrivateIpAddress "10.0.1.6" | Set-AzureRMLoadBalancer + <dev:code>PS C:\&gt;$Subnet = Get-AzureRmVirtualNetwork -Name "myVnet" -ResourceGroupName "myRg" | Get-AzureRmVirtualNetworkSubnetConfig -Name "mysubnet" +PS C:\&gt; Get-AzureRmLoadBalancer -Name "myLB" -ResourceGroupName "NrpTest" | Add-AzureRmLoadBalancerFrontendIpConfig -Name "frontendName" -Subnet $Subnet -PrivateIpAddress "10.0.1.6" | Set-AzureRmLoadBalancer </dev:code> <dev:remarks> <maml:para>This command adds a front-end IP configuration to the load balancer with a static private IP address from the specified subnet.</maml:para> @@ -2656,8 +2656,8 @@ PS C:\&gt; Get-AzureRMLoadBalancer -Name "myLB" -ResourceGroupName "NrpTest" | A <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$PublicIp = Get-AzureRMPublicIpAddress -ResourceGroupName "myRG" -Name "myPub" -PS C:\&gt; Get-AzureRMLoadBalancer -Name "myLB" -ResourceGroupName "NrpTest" | Add-AzureRMLoadBalancerFrontendIpConfig -Name "frontendName" -PublicIpAddress $PublicIp | Set-AzureRMLoadBalancer + <dev:code>PS C:\&gt;$PublicIp = Get-AzureRmPublicIpAddress -ResourceGroupName "myRG" -Name "myPub" +PS C:\&gt; Get-AzureRmLoadBalancer -Name "myLB" -ResourceGroupName "NrpTest" | Add-AzureRmLoadBalancerFrontendIpConfig -Name "frontendName" -PublicIpAddress $PublicIp | Set-AzureRmLoadBalancer </dev:code> <dev:remarks> <maml:para>This command adds a front-end IP configuration to the load balancer with a public IP address.</maml:para> @@ -2673,34 +2673,34 @@ PS C:\&gt; Get-AzureRMLoadBalancer -Name "myLB" -ResourceGroupName "NrpTest" | A </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMLoadBalancerFrontendIpConfig</maml:linkText> + <maml:linkText>Get-AzureRmLoadBalancerFrontendIpConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMVirtualNetwork</maml:linkText> + <maml:linkText>Get-AzureRmVirtualNetwork</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMVirtualNetworkSubnetConfig</maml:linkText> + <maml:linkText>Get-AzureRmVirtualNetworkSubnetConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMLoadBalancerFrontendIpConfig</maml:linkText> + <maml:linkText>New-AzureRmLoadBalancerFrontendIpConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMLoadBalancerFrontendIpConfig</maml:linkText> + <maml:linkText>Remove-AzureRmLoadBalancerFrontendIpConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMLoadBalancerFrontendIpConfig</maml:linkText> + <maml:linkText>Set-AzureRmLoadBalancerFrontendIpConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Add-AzureRMLoadBalancerInboundNatRuleConfig</command:name> + <command:name>Add-AzureRmLoadBalancerInboundNatRuleConfig</command:name> <maml:description> <maml:para>Adds an inbound NAT rule configuration to a load balancer.</maml:para> </maml:description> @@ -2712,11 +2712,11 @@ PS C:\&gt; Get-AzureRMLoadBalancer -Name "myLB" -ResourceGroupName "NrpTest" | A <dev:version /> </command:details> <maml:description> - <maml:para>The Add-AzureRMLoadBalancerInboundNatRuleConfig cmdlet adds an inbound network address translation (NAT) rule configuration to an Azure load balancer.</maml:para> + <maml:para>The Add-AzureRmLoadBalancerInboundNatRuleConfig cmdlet adds an inbound network address translation (NAT) rule configuration to an Azure load balancer.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Add-AzureRMLoadBalancerInboundNatRuleConfig</maml:name> + <maml:name>Add-AzureRmLoadBalancerInboundNatRuleConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>BackendPort</maml:name> <maml:description> @@ -2784,7 +2784,7 @@ PS C:\&gt; Get-AzureRMLoadBalancer -Name "myLB" -ResourceGroupName "NrpTest" | A </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Add-AzureRMLoadBalancerInboundNatRuleConfig</maml:name> + <maml:name>Add-AzureRmLoadBalancerInboundNatRuleConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>BackendPort</maml:name> <maml:description> @@ -3017,12 +3017,12 @@ PS C:\&gt; Get-AzureRMLoadBalancer -Name "myLB" -ResourceGroupName "NrpTest" | A <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$Lb = Get-AzureRMLoadBalancer -Name "myLb" -ResourceGroupName "myRg" -PS C:\&gt; $Lb | Add-AzureRMLoadBalancerInboundNatRuleConfig -Name "natRule" -FrontendIPConfiguration$lb.Properties.FrontendIPConfigurations[0] -BackendIpConfiguration $Nic.Properties.IpConfigurations[0] -Protocol "Tcp" -FrontendPort 3350 -BackendPort 3350 -IdleTimeoutInSeconds 17 -EnableFloatingIP | Set-AzureRMLoadBalancer + <dev:code>PS C:\&gt;$Lb = Get-AzureRmLoadBalancer -Name "myLb" -ResourceGroupName "myRg" +PS C:\&gt; $Lb | Add-AzureRmLoadBalancerInboundNatRuleConfig -Name "natRule" -FrontendIPConfiguration$lb.Properties.FrontendIPConfigurations[0] -BackendIpConfiguration $Nic.Properties.IpConfigurations[0] -Protocol "Tcp" -FrontendPort 3350 -BackendPort 3350 -IdleTimeoutInSeconds 17 -EnableFloatingIP | Set-AzureRmLoadBalancer </dev:code> <dev:remarks> <maml:para>The first command gets the load balancer named myLb, and then stores it in the $Lb variable. </maml:para> - <maml:para>The second command adds an inbound NAT rule configuration to the load balancer stored in $Lb, and then uses the Set-AzureRMLoadBalancer cmdlet to update the load balancer.</maml:para> + <maml:para>The second command adds an inbound NAT rule configuration to the load balancer stored in $Lb, and then uses the Set-AzureRmLoadBalancer cmdlet to update the load balancer.</maml:para> <maml:para /> <maml:para /> </dev:remarks> @@ -3035,34 +3035,34 @@ PS C:\&gt; $Lb | Add-AzureRMLoadBalancerInboundNatRuleConfig -Name "natRule" -Fr </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMLoadBalancer</maml:linkText> + <maml:linkText>Get-AzureRmLoadBalancer</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMLoadBalancerInboundNatRuleConfig</maml:linkText> + <maml:linkText>Get-AzureRmLoadBalancerInboundNatRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMLoadBalancerInboundNatRuleConfig</maml:linkText> + <maml:linkText>New-AzureRmLoadBalancerInboundNatRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMLoadBalancerInboundNatRuleConfig</maml:linkText> + <maml:linkText>Remove-AzureRmLoadBalancerInboundNatRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMLoadBalancer</maml:linkText> + <maml:linkText>Set-AzureRmLoadBalancer</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMLoadBalancerInboundNatRuleConfig</maml:linkText> + <maml:linkText>Set-AzureRmLoadBalancerInboundNatRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Add-AzureRMLoadBalancerProbeConfig</command:name> + <command:name>Add-AzureRmLoadBalancerProbeConfig</command:name> <maml:description> <maml:para>Adds a probe configuration to a load balancer.</maml:para> </maml:description> @@ -3074,11 +3074,11 @@ PS C:\&gt; $Lb | Add-AzureRMLoadBalancerInboundNatRuleConfig -Name "natRule" -Fr <dev:version /> </command:details> <maml:description> - <maml:para>The Add-AzureRMLoadBalancerProbeConfig cmdlet adds a probe configuration to an Azure load balancer.</maml:para> + <maml:para>The Add-AzureRmLoadBalancerProbeConfig cmdlet adds a probe configuration to an Azure load balancer.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Add-AzureRMLoadBalancerProbeConfig</maml:name> + <maml:name>Add-AzureRmLoadBalancerProbeConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -3281,10 +3281,10 @@ PS C:\&gt; $Lb | Add-AzureRMLoadBalancerInboundNatRuleConfig -Name "natRule" -Fr <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMLoadBalancer -Name "myLb" -ResourceGroupName "myRg" | Add-AzureRMLoadBalancerProbeConfig -Name "probeName" -RequestPath healthcheck2.aspx -Protocol http -Port 81 -IntervalInSeconds 16 -ProbeCount 3 | Set-AzureRMLoadBalancer + <dev:code>PS C:\&gt;Get-AzureRmLoadBalancer -Name "myLb" -ResourceGroupName "myRg" | Add-AzureRmLoadBalancerProbeConfig -Name "probeName" -RequestPath healthcheck2.aspx -Protocol http -Port 81 -IntervalInSeconds 16 -ProbeCount 3 | Set-AzureRmLoadBalancer </dev:code> <dev:remarks> - <maml:para>This command gets the load balancer named myLb, adds the specified probe configuration to it, and then uses the Set-AzureRMLoadBalancer cmdlet to update the load balancer.</maml:para> + <maml:para>This command gets the load balancer named myLb, adds the specified probe configuration to it, and then uses the Set-AzureRmLoadBalancer cmdlet to update the load balancer.</maml:para> <maml:para /> <maml:para /> </dev:remarks> @@ -3297,30 +3297,30 @@ PS C:\&gt; $Lb | Add-AzureRMLoadBalancerInboundNatRuleConfig -Name "natRule" -Fr </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMLoadBalancerProbeConfig</maml:linkText> + <maml:linkText>Get-AzureRmLoadBalancerProbeConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMLoadBalancerProbeConfig</maml:linkText> + <maml:linkText>New-AzureRmLoadBalancerProbeConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMLoadBalancerProbeConfig</maml:linkText> + <maml:linkText>Remove-AzureRmLoadBalancerProbeConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMLoadBalancer</maml:linkText> + <maml:linkText>Set-AzureRmLoadBalancer</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMLoadBalancerProbeConfig</maml:linkText> + <maml:linkText>Set-AzureRmLoadBalancerProbeConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Add-AzureRMLoadBalancerRuleConfig</command:name> + <command:name>Add-AzureRmLoadBalancerRuleConfig</command:name> <maml:description> <maml:para>Adds a rule configuration to a load balancer.</maml:para> </maml:description> @@ -3332,11 +3332,11 @@ PS C:\&gt; $Lb | Add-AzureRMLoadBalancerInboundNatRuleConfig -Name "natRule" -Fr <dev:version /> </command:details> <maml:description> - <maml:para>The Add-AzureRMLoadBalancerRuleConfig cmdlet adds a rule configuration to an Azure load balancer.</maml:para> + <maml:para>The Add-AzureRmLoadBalancerRuleConfig cmdlet adds a rule configuration to an Azure load balancer.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Add-AzureRMLoadBalancerRuleConfig</maml:name> + <maml:name>Add-AzureRmLoadBalancerRuleConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>BackendAddressPool</maml:name> <maml:description> @@ -3429,7 +3429,7 @@ PS C:\&gt; $Lb | Add-AzureRMLoadBalancerInboundNatRuleConfig -Name "natRule" -Fr </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Add-AzureRMLoadBalancerRuleConfig</maml:name> + <maml:name>Add-AzureRmLoadBalancerRuleConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>BackendAddressPoolId</maml:name> <maml:description> @@ -3747,12 +3747,12 @@ PS C:\&gt; $Lb | Add-AzureRMLoadBalancerInboundNatRuleConfig -Name "natRule" -Fr <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$LoadBalancer = Get-AzureRMLoadBalancer -Name "MyLoadBalancer" -ResourceGroupName "MyResourceGroup" -PS C:\&gt; $LoadBalancer | Add-AzureRMLoadBalancerRuleConfig -Name "LbRuleConfig" -FrontendIPConfiguration $LoadBalancer.Properties.FrontendIPConfigurations[0] -BackendAddressPool $LoadBalancer.Properties.BackendAddressPools[0] -Probe $LoadBalancer.Properties.Probes[0] -Protocol "Tcp" -FrontendPort 80 -BackendPort 80 -IdleTimeoutInSeconds 15 -EnableFloatingIP | Set-AzureRMLoadBalancer + <dev:code>PS C:\&gt;$LoadBalancer = Get-AzureRmLoadBalancer -Name "MyLoadBalancer" -ResourceGroupName "MyResourceGroup" +PS C:\&gt; $LoadBalancer | Add-AzureRmLoadBalancerRuleConfig -Name "LbRuleConfig" -FrontendIPConfiguration $LoadBalancer.Properties.FrontendIPConfigurations[0] -BackendAddressPool $LoadBalancer.Properties.BackendAddressPools[0] -Probe $LoadBalancer.Properties.Probes[0] -Protocol "Tcp" -FrontendPort 80 -BackendPort 80 -IdleTimeoutInSeconds 15 -EnableFloatingIP | Set-AzureRmLoadBalancer </dev:code> <dev:remarks> <maml:para>The first command gets the load balancer named MyLoadBalancer, and then stores it in the $LoadBalancer variable.</maml:para> - <maml:para>The second command adds the rule configuration named LbRuleConfig to the load balancer stored in $LoadBalancer, and then uses the Set-AzureRMLoadBalancerRuleConfig cmdlet to update the rule configuration for $LoadBalancer.</maml:para> + <maml:para>The second command adds the rule configuration named LbRuleConfig to the load balancer stored in $LoadBalancer, and then uses the Set-AzureRmLoadBalancerRuleConfig cmdlet to update the rule configuration for $LoadBalancer.</maml:para> <maml:para /> <maml:para /> </dev:remarks> @@ -3765,26 +3765,26 @@ PS C:\&gt; $LoadBalancer | Add-AzureRMLoadBalancerRuleConfig -Name "LbRuleConfig </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMLoadBalancerRuleConfig</maml:linkText> + <maml:linkText>Get-AzureRmLoadBalancerRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMLoadBalancerRuleConfig</maml:linkText> + <maml:linkText>New-AzureRmLoadBalancerRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMLoadBalancerRuleConfig</maml:linkText> + <maml:linkText>Remove-AzureRmLoadBalancerRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMLoadBalancerRuleConfig</maml:linkText> + <maml:linkText>Set-AzureRmLoadBalancerRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Add-AzureRMNetworkSecurityRuleConfig</command:name> + <command:name>Add-AzureRmNetworkSecurityRuleConfig</command:name> <maml:description> <maml:para>Adds a network security rule configuration to a network security group.</maml:para> </maml:description> @@ -3796,11 +3796,11 @@ PS C:\&gt; $LoadBalancer | Add-AzureRMLoadBalancerRuleConfig -Name "LbRuleConfig <dev:version /> </command:details> <maml:description> - <maml:para>The Add-AzureRMNetworkSecurityRuleConfig cmdlet adds a network security rule configuration to an Azure network security group.</maml:para> + <maml:para>The Add-AzureRmNetworkSecurityRuleConfig cmdlet adds a network security rule configuration to an Azure network security group.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Add-AzureRMNetworkSecurityRuleConfig</maml:name> + <maml:name>Add-AzureRmNetworkSecurityRuleConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Access</maml:name> <maml:description> @@ -4139,26 +4139,26 @@ PS C:\&gt; $LoadBalancer | Add-AzureRMLoadBalancerRuleConfig -Name "LbRuleConfig </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMNetworkSecurityRuleConfig</maml:linkText> + <maml:linkText>Get-AzureRmNetworkSecurityRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMNetworkSecurityRuleConfig</maml:linkText> + <maml:linkText>New-AzureRmNetworkSecurityRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMNetworkSecurityRuleConfig</maml:linkText> + <maml:linkText>Remove-AzureRmNetworkSecurityRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMNetworkSecurityRuleConfig</maml:linkText> + <maml:linkText>Set-AzureRmNetworkSecurityRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Add-AzureRMRouteConfig</command:name> + <command:name>Add-AzureRmRouteConfig</command:name> <maml:description> <maml:para>Adds a route to a route table.</maml:para> </maml:description> @@ -4170,11 +4170,11 @@ PS C:\&gt; $LoadBalancer | Add-AzureRMLoadBalancerRuleConfig -Name "LbRuleConfig <dev:version /> </command:details> <maml:description> - <maml:para>The Add-AzureRMRouteConfig cmdlet adds a route to an Azure route table.</maml:para> + <maml:para>The Add-AzureRmRouteConfig cmdlet adds a route to an Azure route table.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Add-AzureRMRouteConfig</maml:name> + <maml:name>Add-AzureRmRouteConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>AddressPrefix</maml:name> <maml:description> @@ -4354,12 +4354,12 @@ PS C:\&gt; $LoadBalancer | Add-AzureRMLoadBalancerRuleConfig -Name "LbRuleConfig <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$RouteTable = Get-AzureRMRouteTable -ResourceGroupName "ResourceGroup11" -Name "routetable01" -PS C:\&gt; Add-AzureRMRouteConfig -Name "route13" -AddressPrefix 10.3.0.0/16 -NextHopType VnetLocal -RouteTable $RouteTable + <dev:code>PS C:\&gt;$RouteTable = Get-AzureRmRouteTable -ResourceGroupName "ResourceGroup11" -Name "routetable01" +PS C:\&gt; Add-AzureRmRouteConfig -Name "route13" -AddressPrefix 10.3.0.0/16 -NextHopType VnetLocal -RouteTable $RouteTable </dev:code> <dev:remarks> - <maml:para>The first command gets a route table named routetable01 by using the Get-AzureRMRouteTable cmdlet. The command stores the table in the $RouteTable variable.</maml:para> + <maml:para>The first command gets a route table named routetable01 by using the Get-AzureRmRouteTable cmdlet. The command stores the table in the $RouteTable variable.</maml:para> <maml:para>The second command adds a route named route13 to the route table stored in $RouteTable. This route forwards packets to the local virtual network.</maml:para> <maml:para /> <maml:para /> @@ -4376,7 +4376,7 @@ PS C:\&gt; Add-AzureRMRouteConfig -Name "route13" -AddressPrefix 10.3.0.0/16 -Ne <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMRouteTable -ResourceGroupName "ResourceGroup11" -Name "routetable01" | Add-AzureRMRouteConfig -Name "route02" -AddressPrefix 10.2.0.0/16 -NextHopType VnetLocal | Set-AzureRMRouteTable + <dev:code>PS C:\&gt;Get-AzureRmRouteTable -ResourceGroupName "ResourceGroup11" -Name "routetable01" | Add-AzureRmRouteConfig -Name "route02" -AddressPrefix 10.2.0.0/16 -NextHopType VnetLocal | Set-AzureRmRouteTable Name : routetable01 ResourceGroupName : ResourceGroup11 Location : eastus @@ -4419,8 +4419,8 @@ Routes : [ Subnets : [] </dev:code> <dev:remarks> - <maml:para>This command gets the route table named routetable01 by using Get-AzureRMRouteTable. The command passes that table to the current cmdlet by using the pipeline operator. </maml:para> - <maml:para>The current cmdlet adds the route named route02, and then passes the result to the Set-AzureRMRouteTable cmdlet, which updates the table to reflect your changes. </maml:para> + <maml:para>This command gets the route table named routetable01 by using Get-AzureRmRouteTable. The command passes that table to the current cmdlet by using the pipeline operator. </maml:para> + <maml:para>The current cmdlet adds the route named route02, and then passes the result to the Set-AzureRmRouteTable cmdlet, which updates the table to reflect your changes. </maml:para> <maml:para /> <maml:para /> </dev:remarks> @@ -4433,34 +4433,34 @@ Subnets : [] </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMRouteConfig</maml:linkText> + <maml:linkText>Get-AzureRmRouteConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMRouteTable</maml:linkText> + <maml:linkText>Get-AzureRmRouteTable</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMRouteConfig</maml:linkText> + <maml:linkText>New-AzureRmRouteConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMRouteConfig</maml:linkText> + <maml:linkText>Remove-AzureRmRouteConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMRouteConfig</maml:linkText> + <maml:linkText>Set-AzureRmRouteConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMRouteTable</maml:linkText> + <maml:linkText>Set-AzureRmRouteTable</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Add-AzureRMVirtualNetworkSubnetConfig</command:name> + <command:name>Add-AzureRmVirtualNetworkSubnetConfig</command:name> <maml:description> <maml:para>Adds a subnet configuration to a virtual network.</maml:para> </maml:description> @@ -4472,11 +4472,11 @@ Subnets : [] <dev:version /> </command:details> <maml:description> - <maml:para>The Add-AzureRMVirtualNetworkSubnetConfig cmdlet adds a subnet configuration to an existing Azure virtual network.</maml:para> + <maml:para>The Add-AzureRmVirtualNetworkSubnetConfig cmdlet adds a subnet configuration to an existing Azure virtual network.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Add-AzureRMVirtualNetworkSubnetConfig</maml:name> + <maml:name>Add-AzureRmVirtualNetworkSubnetConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="none"> <maml:name>NetworkSecurityGroup</maml:name> <maml:description> @@ -4522,7 +4522,7 @@ Subnets : [] </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Add-AzureRMVirtualNetworkSubnetConfig</maml:name> + <maml:name>Add-AzureRmVirtualNetworkSubnetConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="none"> <maml:name>NetworkSecurityGroupId</maml:name> <maml:description> @@ -4726,26 +4726,26 @@ Subnets : [] </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMVirtualNetworkSubnetConfig</maml:linkText> + <maml:linkText>Get-AzureRmVirtualNetworkSubnetConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMVirtualNetworkSubnetConfig</maml:linkText> + <maml:linkText>New-AzureRmVirtualNetworkSubnetConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMVirtualNetworkSubnetConfig</maml:linkText> + <maml:linkText>Remove-AzureRmVirtualNetworkSubnetConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMVirtualNetworkSubnetConfig</maml:linkText> + <maml:linkText>Set-AzureRmVirtualNetworkSubnetConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMApplicationGatewayBackendAddressPool</command:name> + <command:name>Get-AzureRmApplicationGatewayBackendAddressPool</command:name> <maml:description> <maml:para>Gets a back-end address pool for an application gateway.</maml:para> </maml:description> @@ -4760,7 +4760,7 @@ Subnets : [] </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMApplicationGatewayBackendAddressPool</maml:name> + <maml:name>Get-AzureRmApplicationGatewayBackendAddressPool</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:description> @@ -4778,7 +4778,7 @@ Subnets : [] <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue)" position="named" aliases="none"> <maml:name>ApplicationGateway</maml:name> <maml:description> - <maml:para>The Get-AzureRMApplicationGatewayBackendAddressPool cmdlet gets a back-end address pool for an application gateway.</maml:para> + <maml:para>The Get-AzureRmApplicationGatewayBackendAddressPool cmdlet gets a back-end address pool for an application gateway.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">PSApplicationGateway</command:parameterValue> </command:parameter> @@ -4788,7 +4788,7 @@ Subnets : [] <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue)" position="named" aliases="none"> <maml:name>ApplicationGateway</maml:name> <maml:description> - <maml:para>The Get-AzureRMApplicationGatewayBackendAddressPool cmdlet gets a back-end address pool for an application gateway.</maml:para> + <maml:para>The Get-AzureRmApplicationGatewayBackendAddressPool cmdlet gets a back-end address pool for an application gateway.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">PSApplicationGateway</command:parameterValue> <dev:type> @@ -4871,8 +4871,8 @@ Subnets : [] <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt; $AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $BackendPool = Get-AzureRMApplicationGatewayBackendAddressPool -Name "Pool01" -ApplicationGateway $AppGw + <dev:code>PS C:\&gt; $AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $BackendPool = Get-AzureRmApplicationGatewayBackendAddressPool -Name "Pool01" -ApplicationGateway $AppGw </dev:code> <dev:remarks> <maml:para>The first command gets the application gateway named ApplicationGateway01 in the resource group named ResourceGroup01 and stores it in the $AppGw variable.</maml:para> @@ -4892,8 +4892,8 @@ PS C:\&gt; $BackendPool = Get-AzureRMApplicationGatewayBackendAddressPool -Name <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt; $AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $BackendPools = Get-AzureRMApplicationGatewayBackendAddressPool -ApplicationGateway $AppGw + <dev:code>PS C:\&gt; $AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $BackendPools = Get-AzureRmApplicationGatewayBackendAddressPool -ApplicationGateway $AppGw </dev:code> <dev:remarks> @@ -4911,26 +4911,26 @@ PS C:\&gt; $BackendPools = Get-AzureRMApplicationGatewayBackendAddressPool -Appl </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMApplicationGatewayBackendAddressPool</maml:linkText> + <maml:linkText>Add-AzureRmApplicationGatewayBackendAddressPool</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayBackendAddressPool</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayBackendAddressPool</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMApplicationGatewayBackendAddressPool</maml:linkText> + <maml:linkText>Remove-AzureRmApplicationGatewayBackendAddressPool</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewayBackendAddressPool</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewayBackendAddressPool</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMApplicationGatewayBackendHttpSettings</command:name> + <command:name>Get-AzureRmApplicationGatewayBackendHttpSettings</command:name> <maml:description> <maml:para>Gets the back-end HTTP settings of an application gateway.</maml:para> </maml:description> @@ -4942,11 +4942,11 @@ PS C:\&gt; $BackendPools = Get-AzureRMApplicationGatewayBackendAddressPool -Appl <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMApplicationGatewayBackendHttpSettings cmdlet gets the back-end HTTP settings of an application gateway.</maml:para> + <maml:para>The Get-AzureRmApplicationGatewayBackendHttpSettings cmdlet gets the back-end HTTP settings of an application gateway.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMApplicationGatewayBackendHttpSettings</maml:name> + <maml:name>Get-AzureRmApplicationGatewayBackendHttpSettings</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:description> @@ -5057,8 +5057,8 @@ PS C:\&gt; $BackendPools = Get-AzureRMApplicationGatewayBackendAddressPool -Appl <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt; $AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $Settings = Get-AzureRMApplicationGatewayBackendHttpSettings -Name "Settings01" -ApplicationGateway $AppGw + <dev:code>PS C:\&gt; $AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $Settings = Get-AzureRmApplicationGatewayBackendHttpSettings -Name "Settings01" -ApplicationGateway $AppGw </dev:code> <dev:remarks> <maml:para>The first command gets the application gateway named ApplicationGateway01 in the resource group named ResourceGroup01, and stores it in the $AppGw variable.</maml:para> @@ -5078,8 +5078,8 @@ PS C:\&gt; $Settings = Get-AzureRMApplicationGatewayBackendHttpSettings -Name " <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt; $AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $SettingsList = Get-AzureRMApplicationGatewayBackendHttpSettings -ApplicationGateway $AppGw + <dev:code>PS C:\&gt; $AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $SettingsList = Get-AzureRmApplicationGatewayBackendHttpSettings -ApplicationGateway $AppGw </dev:code> <dev:remarks> <maml:para>The first command gets the application gateway named ApplicationGateway01 in the resource group named ResourceGroup01, and stores it in the $AppGw variable.</maml:para> @@ -5096,26 +5096,26 @@ PS C:\&gt; $SettingsList = Get-AzureRMApplicationGatewayBackendHttpSettings -Ap </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMApplicationGatewayBackendHttpSettings</maml:linkText> + <maml:linkText>Add-AzureRmApplicationGatewayBackendHttpSettings</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayBackendHttpSettings</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayBackendHttpSettings</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMApplicationGatewayBackendHttpSettings</maml:linkText> + <maml:linkText>Remove-AzureRmApplicationGatewayBackendHttpSettings</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewayBackendHttpSettings</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewayBackendHttpSettings</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMApplicationGatewayFrontendIPConfig</command:name> + <command:name>Get-AzureRmApplicationGatewayFrontendIPConfig</command:name> <maml:description> <maml:para>Gets the front-end IP configuration of an application gateway.</maml:para> </maml:description> @@ -5127,11 +5127,11 @@ PS C:\&gt; $SettingsList = Get-AzureRMApplicationGatewayBackendHttpSettings -Ap <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMApplicationGatewayFrontendIPConfig cmdlet gets the front-end IP configuration of an application gateway.</maml:para> + <maml:para>The Get-AzureRmApplicationGatewayFrontendIPConfig cmdlet gets the front-end IP configuration of an application gateway.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMApplicationGatewayFrontendIPConfig</maml:name> + <maml:name>Get-AzureRmApplicationGatewayFrontendIPConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:description> @@ -5242,8 +5242,8 @@ PS C:\&gt; $SettingsList = Get-AzureRMApplicationGatewayBackendHttpSettings -Ap <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt; $AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $FrontEndIP= Get-AzureRMApplicationGatewayFrontendIPConfig -Name "FrontEndIP01" -ApplicationGateway $AppGw + <dev:code>PS C:\&gt; $AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $FrontEndIP= Get-AzureRmApplicationGatewayFrontendIPConfig -Name "FrontEndIP01" -ApplicationGateway $AppGw </dev:code> <dev:remarks> <maml:para>The first command gets an application gateway named ApplicationGateway01 from the resource group named ResourceGroup01, and stores it in the $AppGw variable.</maml:para> @@ -5263,8 +5263,8 @@ PS C:\&gt; $FrontEndIP= Get-AzureRMApplicationGatewayFrontendIPConfig -Name "Fro <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt; $AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $FrontEndIPs= Get-AzureRMApplicationGatewayFrontendIPConfig -ApplicationGateway $AppGw + <dev:code>PS C:\&gt; $AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $FrontEndIPs= Get-AzureRmApplicationGatewayFrontendIPConfig -ApplicationGateway $AppGw </dev:code> <dev:remarks> <maml:para>The first command gets an application gateway named ApplicationGateway01 from the resource group named ResourceGroup01, and stores it in the $AppGw variable.</maml:para> @@ -5281,26 +5281,26 @@ PS C:\&gt; $FrontEndIPs= Get-AzureRMApplicationGatewayFrontendIPConfig -Applica </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMApplicationGatewayFrontendIPConfig</maml:linkText> + <maml:linkText>Add-AzureRmApplicationGatewayFrontendIPConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayFrontendIPConfig</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayFrontendIPConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMApplicationGatewayFrontendIPConfig</maml:linkText> + <maml:linkText>Remove-AzureRmApplicationGatewayFrontendIPConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewayFrontendIPConfig</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewayFrontendIPConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMApplicationGatewayFrontendPort</command:name> + <command:name>Get-AzureRmApplicationGatewayFrontendPort</command:name> <maml:description> <maml:para>Gets the front-end port of an application gateway.</maml:para> </maml:description> @@ -5312,11 +5312,11 @@ PS C:\&gt; $FrontEndIPs= Get-AzureRMApplicationGatewayFrontendIPConfig -Applica <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMApplicationGatewayFrontendPort cmdlet gets the front-end port of an application gateway.</maml:para> + <maml:para>The Get-AzureRmApplicationGatewayFrontendPort cmdlet gets the front-end port of an application gateway.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMApplicationGatewayFrontendPort</maml:name> + <maml:name>Get-AzureRmApplicationGatewayFrontendPort</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:description> @@ -5427,8 +5427,8 @@ PS C:\&gt; $FrontEndIPs= Get-AzureRMApplicationGatewayFrontendIPConfig -Applica <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt; $AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $FrontEndPort = Get-AzureRMApplicationGatewayFrontendIPort -Name "FrontEndPort01" -ApplicationGateway $AppGw + <dev:code>PS C:\&gt; $AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $FrontEndPort = Get-AzureRmApplicationGatewayFrontendIPort -Name "FrontEndPort01" -ApplicationGateway $AppGw </dev:code> <dev:remarks> <maml:para>The first command gets an application gateway named ApplicationGateway01 from the resource group named ResourceGroup01, and stores it in the $AppGw variable.</maml:para> @@ -5448,8 +5448,8 @@ PS C:\&gt; $FrontEndPort = Get-AzureRMApplicationGatewayFrontendIPort -Name "Fro <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt; $AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $FrontEndPorts = Get-AzureRMApplicationGatewayFrontendIPort -ApplicationGateway $AppGw + <dev:code>PS C:\&gt; $AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $FrontEndPorts = Get-AzureRmApplicationGatewayFrontendIPort -ApplicationGateway $AppGw </dev:code> <dev:remarks> <maml:para>The first command gets an application gateway named ApplicationGateway01 from the resource group named ResourceGroup01, and stores it in the $AppGw variable.</maml:para> @@ -5466,26 +5466,26 @@ PS C:\&gt; $FrontEndPorts = Get-AzureRMApplicationGatewayFrontendIPort -Applica </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMApplicationGatewayFrontendPort</maml:linkText> + <maml:linkText>Add-AzureRmApplicationGatewayFrontendPort</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayFrontendPort</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayFrontendPort</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMApplicationGatewayFrontendPort</maml:linkText> + <maml:linkText>Remove-AzureRmApplicationGatewayFrontendPort</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewayFrontendPort</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewayFrontendPort</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMApplicationGatewayHttpListener</command:name> + <command:name>Get-AzureRmApplicationGatewayHttpListener</command:name> <maml:description> <maml:para>Gets the HTTP listener of an application gateway.</maml:para> </maml:description> @@ -5497,11 +5497,11 @@ PS C:\&gt; $FrontEndPorts = Get-AzureRMApplicationGatewayFrontendIPort -Applica <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMApplicationGatewayHttpListener cmdlet gets the HTTP listener of an application gateway.</maml:para> + <maml:para>The Get-AzureRmApplicationGatewayHttpListener cmdlet gets the HTTP listener of an application gateway.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMApplicationGatewayHttpListener</maml:name> + <maml:name>Get-AzureRmApplicationGatewayHttpListener</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:description> @@ -5612,8 +5612,8 @@ PS C:\&gt; $FrontEndPorts = Get-AzureRMApplicationGatewayFrontendIPort -Applica <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$Appgw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $Listener = Get-AzureRMApplicationGatewayHttpListener -Name "Listener01" -ApplicationGateway $Appgw + <dev:code>PS C:\&gt;$Appgw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $Listener = Get-AzureRmApplicationGatewayHttpListener -Name "Listener01" -ApplicationGateway $Appgw </dev:code> <dev:remarks> @@ -5633,8 +5633,8 @@ PS C:\&gt; $Listener = Get-AzureRMApplicationGatewayHttpListener -Name "Listener <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$Appgw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $Listeners = Get-AzureRMApplicationGatewayHttpListener -ApplicationGateway $Appgw + <dev:code>PS C:\&gt;$Appgw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $Listeners = Get-AzureRmApplicationGatewayHttpListener -ApplicationGateway $Appgw </dev:code> <dev:remarks> <maml:para>This command gets a list of HTTP listeners.</maml:para> @@ -5650,26 +5650,26 @@ PS C:\&gt; $Listeners = Get-AzureRMApplicationGatewayHttpListener -ApplicationGa </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMApplicationGatewayHttpListener</maml:linkText> + <maml:linkText>Add-AzureRmApplicationGatewayHttpListener</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayHttpListener</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayHttpListener</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMApplicationGatewayHttpListener</maml:linkText> + <maml:linkText>Remove-AzureRmApplicationGatewayHttpListener</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewayHttpListener</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewayHttpListener</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMApplicationGatewayIPConfiguration</command:name> + <command:name>Get-AzureRmApplicationGatewayIPConfiguration</command:name> <maml:description> <maml:para>Gets the IP configuration of an application gateway.</maml:para> </maml:description> @@ -5681,11 +5681,11 @@ PS C:\&gt; $Listeners = Get-AzureRMApplicationGatewayHttpListener -ApplicationGa <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMApplicationGatewayIPConfiguration cmdlet gets the IP configuration of an application gateway. The IP configuration contains the subnet in which the application gateway is deployed.</maml:para> + <maml:para>The Get-AzureRmApplicationGatewayIPConfiguration cmdlet gets the IP configuration of an application gateway. The IP configuration contains the subnet in which the application gateway is deployed.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMApplicationGatewayIPConfiguration</maml:name> + <maml:name>Get-AzureRmApplicationGatewayIPConfiguration</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:description> @@ -5796,8 +5796,8 @@ PS C:\&gt; $Listeners = Get-AzureRMApplicationGatewayHttpListener -ApplicationGa <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName “ResourceGroup01” -PS C:\&gt; $GatewaySubnet = Get-AzureRMApplicationGatewayIPConfiguration -Name "GatewaySubnet01" -ApplicationGateway $AppGw + <dev:code>PS C:\&gt;$AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName “ResourceGroup01” +PS C:\&gt; $GatewaySubnet = Get-AzureRmApplicationGatewayIPConfiguration -Name "GatewaySubnet01" -ApplicationGateway $AppGw </dev:code> <dev:remarks> <maml:para>The first command gets an application gateway and stores it in the $AppGw variable.</maml:para> @@ -5817,8 +5817,8 @@ PS C:\&gt; $GatewaySubnet = Get-AzureRMApplicationGatewayIPConfiguration -Name " <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $GatewaySubnets = Get-AzureRMApplicationGatewayIPConfiguration -ApplicationGateway $AppGw + <dev:code>PS C:\&gt;$AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $GatewaySubnets = Get-AzureRmApplicationGatewayIPConfiguration -ApplicationGateway $AppGw </dev:code> <dev:remarks> <maml:para>The first command gets an application gateway and stores it in the $AppGw variable.</maml:para> @@ -5835,26 +5835,26 @@ PS C:\&gt; $GatewaySubnets = Get-AzureRMApplicationGatewayIPConfiguration -Appli </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMApplicationGatewayIPConfiguration</maml:linkText> + <maml:linkText>Add-AzureRmApplicationGatewayIPConfiguration</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayIPConfiguration</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayIPConfiguration</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMApplicationGatewayIPConfiguration</maml:linkText> + <maml:linkText>Remove-AzureRmApplicationGatewayIPConfiguration</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewayIPConfiguration</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewayIPConfiguration</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMApplicationGatewayRequestRoutingRule</command:name> + <command:name>Get-AzureRmApplicationGatewayRequestRoutingRule</command:name> <maml:description> <maml:para>Gets the request routing rule of an application gateway.</maml:para> </maml:description> @@ -5866,11 +5866,11 @@ PS C:\&gt; $GatewaySubnets = Get-AzureRMApplicationGatewayIPConfiguration -Appli <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMApplicationGatewayRequestRoutingRule cmdlet gets the request routing rule of an application gateway.</maml:para> + <maml:para>The Get-AzureRmApplicationGatewayRequestRoutingRule cmdlet gets the request routing rule of an application gateway.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMApplicationGatewayRequestRoutingRule</maml:name> + <maml:name>Get-AzureRmApplicationGatewayRequestRoutingRule</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:description> @@ -5981,8 +5981,8 @@ PS C:\&gt; $GatewaySubnets = Get-AzureRMApplicationGatewayIPConfiguration -Appli <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$AppGW = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $Rule = Get-AzureRMApplicationGatewayRequestRoutingRule -"Rule01" -ApplicationGateway $AppGW + <dev:code>PS C:\&gt;$AppGW = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $Rule = Get-AzureRmApplicationGatewayRequestRoutingRule -"Rule01" -ApplicationGateway $AppGW </dev:code> <dev:remarks> <maml:para>This command gets the request routing rule named Rule01.</maml:para> @@ -6001,8 +6001,8 @@ PS C:\&gt; $Rule = Get-AzureRMApplicationGatewayRequestRoutingRule -"Rule01" -Ap <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$AppGW = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $Rules = Get-AzureRMApplicationGatewayRequestRoutingRule -ApplicationGateway $AppGW + <dev:code>PS C:\&gt;$AppGW = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $Rules = Get-AzureRmApplicationGatewayRequestRoutingRule -ApplicationGateway $AppGW </dev:code> <dev:remarks> <maml:para>This command gets a list of request routing rules.</maml:para> @@ -6018,26 +6018,26 @@ PS C:\&gt; $Rules = Get-AzureRMApplicationGatewayRequestRoutingRule -Application </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMApplicationGatewayRequestRoutingRule</maml:linkText> + <maml:linkText>Add-AzureRmApplicationGatewayRequestRoutingRule</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayRequestRoutingRule</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayRequestRoutingRule</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMApplicationGatewayRequestRoutingRule</maml:linkText> + <maml:linkText>Remove-AzureRmApplicationGatewayRequestRoutingRule</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewayRequestRoutingRule</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewayRequestRoutingRule</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMApplicationGatewaySku</command:name> + <command:name>Get-AzureRmApplicationGatewaySku</command:name> <maml:description> <maml:para>Gets the SKU of an application gateway.</maml:para> </maml:description> @@ -6049,11 +6049,11 @@ PS C:\&gt; $Rules = Get-AzureRMApplicationGatewayRequestRoutingRule -Application <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMApplicationGatewaySku cmdlet gets the stock keeping unit (SKU) of an application gateway.</maml:para> + <maml:para>The Get-AzureRmApplicationGatewaySku cmdlet gets the stock keeping unit (SKU) of an application gateway.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMApplicationGatewaySku</maml:name> + <maml:name>Get-AzureRmApplicationGatewaySku</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -6133,8 +6133,8 @@ PS C:\&gt; $Rules = Get-AzureRMApplicationGatewayRequestRoutingRule -Application <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$AppGW = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $SKU = Get-AzureRMApplicationGatewaySku -ApplicationGateway $AppGW + <dev:code>PS C:\&gt;$AppGW = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $SKU = Get-AzureRmApplicationGatewaySku -ApplicationGateway $AppGW </dev:code> <dev:remarks> @@ -6151,18 +6151,18 @@ PS C:\&gt; $SKU = Get-AzureRMApplicationGatewaySku -ApplicationGateway $AppGW </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewaySku</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewaySku</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewaySku</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewaySku</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMApplicationGatewaySslCertificate</command:name> + <command:name>Get-AzureRmApplicationGatewaySslCertificate</command:name> <maml:description> <maml:para>Gets an SSL certificate for an application gateway.</maml:para> </maml:description> @@ -6174,11 +6174,11 @@ PS C:\&gt; $SKU = Get-AzureRMApplicationGatewaySku -ApplicationGateway $AppGW <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMApplicationGatewaySslCertificate cmdlet gets an SSL certificate for an application gateway.</maml:para> + <maml:para>The Get-AzureRmApplicationGatewaySslCertificate cmdlet gets an SSL certificate for an application gateway.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMApplicationGatewaySslCertificate</maml:name> + <maml:name>Get-AzureRmApplicationGatewaySslCertificate</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:description> @@ -6289,8 +6289,8 @@ PS C:\&gt; $SKU = Get-AzureRMApplicationGatewaySku -ApplicationGateway $AppGW <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$AppGW = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $Cert = Get-AzureRMApplicationGatewaySslCertificate -Name "Cert01" -ApplicationGateway $AppGW + <dev:code>PS C:\&gt;$AppGW = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $Cert = Get-AzureRmApplicationGatewaySslCertificate -Name "Cert01" -ApplicationGateway $AppGW </dev:code> <dev:remarks> <maml:para>This command gets the SSL certificate named Cert01 from the application gateway named ApplicationGateway01.</maml:para> @@ -6309,8 +6309,8 @@ PS C:\&gt; $Cert = Get-AzureRMApplicationGatewaySslCertificate -Name "Cert01" -A <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$AppGW = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $Certs = Get-AzureRMApplicationGatewaySslCertificate -ApplicationGateway $AppGW + <dev:code>PS C:\&gt;$AppGW = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $Certs = Get-AzureRmApplicationGatewaySslCertificate -ApplicationGateway $AppGW </dev:code> <dev:remarks> <maml:para>This command gets a list of SSL certificates from the application gateway named ApplicationGateway01.</maml:para> @@ -6326,26 +6326,26 @@ PS C:\&gt; $Certs = Get-AzureRMApplicationGatewaySslCertificate -ApplicationGate </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMApplicationGatewaySslCertificate</maml:linkText> + <maml:linkText>Add-AzureRmApplicationGatewaySslCertificate</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewaySslCertificate</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewaySslCertificate</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMApplicationGatewaySslCertificate</maml:linkText> + <maml:linkText>Remove-AzureRmApplicationGatewaySslCertificate</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewaySslCertificate</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewaySslCertificate</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMApplicationGateway</command:name> + <command:name>Get-AzureRmApplicationGateway</command:name> <maml:description> <maml:para>Gets an application gateway.</maml:para> </maml:description> @@ -6357,11 +6357,11 @@ PS C:\&gt; $Certs = Get-AzureRMApplicationGatewaySslCertificate -ApplicationGate <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMApplicationGateway cmdlet gets an application gateway.</maml:para> + <maml:para>The Get-AzureRmApplicationGateway cmdlet gets an application gateway.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMApplicationGateway</maml:name> + <maml:name>Get-AzureRmApplicationGateway</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="ResourceName"> <maml:name>Name</maml:name> <maml:description> @@ -6472,7 +6472,7 @@ PS C:\&gt; $Certs = Get-AzureRMApplicationGatewaySslCertificate -ApplicationGate <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" + <dev:code>PS C:\&gt;$AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" </dev:code> <dev:remarks> <maml:para>This command gets the application gateway named ApplicationGateway01 that belongs to the resource group named ResourceGroup01 and stores it in the $AppGw variable.</maml:para> @@ -6491,7 +6491,7 @@ PS C:\&gt; $Certs = Get-AzureRMApplicationGatewaySslCertificate -ApplicationGate <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt; $AppGwList = Get-AzureRMApplicationGateway -ResourceGroupName "ResourceGroup01" + <dev:code>PS C:\&gt; $AppGwList = Get-AzureRmApplicationGateway -ResourceGroupName "ResourceGroup01" </dev:code> <dev:remarks> <maml:para>This command gets a list of all the application gateways in the resource group named ResourceGroup01 and stores it in the $AppGwList variable.</maml:para> @@ -6510,7 +6510,7 @@ PS C:\&gt; $Certs = Get-AzureRMApplicationGatewaySslCertificate -ApplicationGate <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt; $AppGwList = Get-AzureRMApplicationGateway + <dev:code>PS C:\&gt; $AppGwList = Get-AzureRmApplicationGateway </dev:code> <dev:remarks> <maml:para>This command gets a list of all the application gateways in the subscription and stores it in the $AppGwList variable.</maml:para> @@ -6526,14 +6526,14 @@ PS C:\&gt; $Certs = Get-AzureRMApplicationGatewaySslCertificate -ApplicationGate </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Stop-AzureRMApplicationGateway</maml:linkText> + <maml:linkText>Stop-AzureRmApplicationGateway</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMLoadBalancerBackendAddressPoolConfig</command:name> + <command:name>Get-AzureRmLoadBalancerBackendAddressPoolConfig</command:name> <maml:description> <maml:para>Gets a backend address pool configuration for a load balancer.</maml:para> </maml:description> @@ -6545,11 +6545,11 @@ PS C:\&gt; $Certs = Get-AzureRMApplicationGatewaySslCertificate -ApplicationGate <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMLoadBalancerBackendAddressPoolConfig cmdlet gets a single backend address pool or a list of backend address pools within a load balancer.</maml:para> + <maml:para>The Get-AzureRmLoadBalancerBackendAddressPoolConfig cmdlet gets a single backend address pool or a list of backend address pools within a load balancer.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMLoadBalancerBackendAddressPoolConfig</maml:name> + <maml:name>Get-AzureRmLoadBalancerBackendAddressPoolConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:description> @@ -6669,22 +6669,22 @@ PS C:\&gt; $Certs = Get-AzureRMApplicationGatewaySslCertificate -ApplicationGate </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMLoadBalancerBackendAddressPoolConfig</maml:linkText> + <maml:linkText>Add-AzureRmLoadBalancerBackendAddressPoolConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMLoadBalancerBackendAddressPoolConfig</maml:linkText> + <maml:linkText>New-AzureRmLoadBalancerBackendAddressPoolConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMLoadBalancerBackendAddressPoolConfig</maml:linkText> + <maml:linkText>Remove-AzureRmLoadBalancerBackendAddressPoolConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMLoadBalancerFrontendIpConfig</command:name> + <command:name>Get-AzureRmLoadBalancerFrontendIpConfig</command:name> <maml:description> <maml:para>Gets a front-end IP configuration in a load balancer.</maml:para> </maml:description> @@ -6696,11 +6696,11 @@ PS C:\&gt; $Certs = Get-AzureRMApplicationGatewaySslCertificate -ApplicationGate <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMLoadBalancerFrontendIpConfig cmdlet gets a front-end IP configuration or a list of front-end IP configurations in a load balancer.</maml:para> + <maml:para>The Get-AzureRmLoadBalancerFrontendIpConfig cmdlet gets a front-end IP configuration or a list of front-end IP configurations in a load balancer.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMLoadBalancerFrontendIpConfig</maml:name> + <maml:name>Get-AzureRmLoadBalancerFrontendIpConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:description> @@ -6820,26 +6820,26 @@ PS C:\&gt; $Certs = Get-AzureRMApplicationGatewaySslCertificate -ApplicationGate </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMLoadBalancerFrontendIpConfig</maml:linkText> + <maml:linkText>Add-AzureRmLoadBalancerFrontendIpConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMLoadBalancerFrontendIpConfig</maml:linkText> + <maml:linkText>New-AzureRmLoadBalancerFrontendIpConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMLoadBalancerFrontendIpConfig</maml:linkText> + <maml:linkText>Remove-AzureRmLoadBalancerFrontendIpConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMLoadBalancerFrontendIpConfig</maml:linkText> + <maml:linkText>Set-AzureRmLoadBalancerFrontendIpConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMLoadBalancerInboundNatRuleConfig</command:name> + <command:name>Get-AzureRmLoadBalancerInboundNatRuleConfig</command:name> <maml:description> <maml:para>Gets an inbound NAT rule configuration for a load balancer.</maml:para> </maml:description> @@ -6851,11 +6851,11 @@ PS C:\&gt; $Certs = Get-AzureRMApplicationGatewaySslCertificate -ApplicationGate <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMLoadBalancerInboundNatRuleConfig cmdlet gets one or more inbound network address translation (NAT) rules in an Azure load balancer.</maml:para> + <maml:para>The Get-AzureRmLoadBalancerInboundNatRuleConfig cmdlet gets one or more inbound network address translation (NAT) rules in an Azure load balancer.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMLoadBalancerInboundNatRuleConfig</maml:name> + <maml:name>Get-AzureRmLoadBalancerInboundNatRuleConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:description> @@ -6975,26 +6975,26 @@ PS C:\&gt; $Certs = Get-AzureRMApplicationGatewaySslCertificate -ApplicationGate </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMLoadBalancerInboundNatRuleConfig</maml:linkText> + <maml:linkText>Add-AzureRmLoadBalancerInboundNatRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMLoadBalancerInboundNatRuleConfig</maml:linkText> + <maml:linkText>New-AzureRmLoadBalancerInboundNatRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMLoadBalancerInboundNatRuleConfig</maml:linkText> + <maml:linkText>Remove-AzureRmLoadBalancerInboundNatRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMLoadBalancerInboundNatRuleConfig</maml:linkText> + <maml:linkText>Set-AzureRmLoadBalancerInboundNatRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMLoadBalancerProbeConfig</command:name> + <command:name>Get-AzureRmLoadBalancerProbeConfig</command:name> <maml:description> <maml:para>Gets a probe configuration for a load balancer.</maml:para> </maml:description> @@ -7006,11 +7006,11 @@ PS C:\&gt; $Certs = Get-AzureRMApplicationGatewaySslCertificate -ApplicationGate <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMLoadBalancerProbeConfig cmdlet gets one or more probe configurations for a load balancer.</maml:para> + <maml:para>The Get-AzureRmLoadBalancerProbeConfig cmdlet gets one or more probe configurations for a load balancer.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMLoadBalancerProbeConfig</maml:name> + <maml:name>Get-AzureRmLoadBalancerProbeConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:description> @@ -7130,26 +7130,26 @@ PS C:\&gt; $Certs = Get-AzureRMApplicationGatewaySslCertificate -ApplicationGate </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMLoadBalancerProbeConfig</maml:linkText> + <maml:linkText>Add-AzureRmLoadBalancerProbeConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMLoadBalancerProbeConfig</maml:linkText> + <maml:linkText>New-AzureRmLoadBalancerProbeConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMLoadBalancerProbeConfig</maml:linkText> + <maml:linkText>Remove-AzureRmLoadBalancerProbeConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMLoadBalancerProbeConfig</maml:linkText> + <maml:linkText>Set-AzureRmLoadBalancerProbeConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMLoadBalancerRuleConfig</command:name> + <command:name>Get-AzureRmLoadBalancerRuleConfig</command:name> <maml:description> <maml:para>Gets the rule configuration for a load balancer.</maml:para> </maml:description> @@ -7161,11 +7161,11 @@ PS C:\&gt; $Certs = Get-AzureRMApplicationGatewaySslCertificate -ApplicationGate <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMLoadBalancerRuleConfig cmdlet gets one or more rule configurations for a load balancer.</maml:para> + <maml:para>The Get-AzureRmLoadBalancerRuleConfig cmdlet gets one or more rule configurations for a load balancer.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMLoadBalancerRuleConfig</maml:name> + <maml:name>Get-AzureRmLoadBalancerRuleConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:description> @@ -7285,26 +7285,26 @@ PS C:\&gt; $Certs = Get-AzureRMApplicationGatewaySslCertificate -ApplicationGate </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMLoadBalancerRuleConfig</maml:linkText> + <maml:linkText>Add-AzureRmLoadBalancerRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMLoadBalancerRuleConfig</maml:linkText> + <maml:linkText>New-AzureRmLoadBalancerRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMLoadBalancerRuleConfig</maml:linkText> + <maml:linkText>Remove-AzureRmLoadBalancerRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMLoadBalancerRuleConfig</maml:linkText> + <maml:linkText>Set-AzureRmLoadBalancerRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMLoadBalancer</command:name> + <command:name>Get-AzureRmLoadBalancer</command:name> <maml:description> <maml:para>Gets a load balancer. </maml:para> </maml:description> @@ -7316,11 +7316,11 @@ PS C:\&gt; $Certs = Get-AzureRMApplicationGatewaySslCertificate -ApplicationGate <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMLoadBalancer cmdlet gets one or more Azure load balancers that are contained in a resource group.</maml:para> + <maml:para>The Get-AzureRmLoadBalancer cmdlet gets one or more Azure load balancers that are contained in a resource group.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMLoadBalancer</maml:name> + <maml:name>Get-AzureRmLoadBalancer</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="ResourceName"> <maml:name>Name</maml:name> <maml:description> @@ -7440,22 +7440,22 @@ PS C:\&gt; $Certs = Get-AzureRMApplicationGatewaySslCertificate -ApplicationGate </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>New-AzureRMLoadBalancer</maml:linkText> + <maml:linkText>New-AzureRmLoadBalancer</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMLoadBalancer</maml:linkText> + <maml:linkText>Remove-AzureRmLoadBalancer</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMLoadBalancer</maml:linkText> + <maml:linkText>Set-AzureRmLoadBalancer</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMLocalNetworkGateway</command:name> + <command:name>Get-AzureRmLocalNetworkGateway</command:name> <maml:description> <maml:para> </maml:para> @@ -7471,7 +7471,7 @@ PS C:\&gt; $Certs = Get-AzureRMApplicationGatewaySslCertificate -ApplicationGate </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMLocalNetworkGateway</maml:name> + <maml:name>Get-AzureRmLocalNetworkGateway</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="ResourceName"> <maml:name>Name</maml:name> <maml:description> @@ -7586,7 +7586,7 @@ PS C:\&gt; $Certs = Get-AzureRMApplicationGatewaySslCertificate -ApplicationGate </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMNetworkInterface</command:name> + <command:name>Get-AzureRmNetworkInterface</command:name> <maml:description> <maml:para>Gets a network interface.</maml:para> </maml:description> @@ -7598,11 +7598,11 @@ PS C:\&gt; $Certs = Get-AzureRMApplicationGatewaySslCertificate -ApplicationGate <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMNetworkInterface cmdlet gets an Azure network interface or a list of Azure network interfaces in a resource group.</maml:para> + <maml:para>The Get-AzureRmNetworkInterface cmdlet gets an Azure network interface or a list of Azure network interfaces in a resource group.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMNetworkInterface</maml:name> + <maml:name>Get-AzureRmNetworkInterface</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="ResourceName"> <maml:name>Name</maml:name> <maml:description> @@ -7722,22 +7722,22 @@ PS C:\&gt; $Certs = Get-AzureRMApplicationGatewaySslCertificate -ApplicationGate </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>New-AzureRMNetworkInterface</maml:linkText> + <maml:linkText>New-AzureRmNetworkInterface</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMNetworkInterface</maml:linkText> + <maml:linkText>Remove-AzureRmNetworkInterface</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMNetworkInterface</maml:linkText> + <maml:linkText>Set-AzureRmNetworkInterface</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMNetworkSecurityGroup</command:name> + <command:name>Get-AzureRmNetworkSecurityGroup</command:name> <maml:description> <maml:para>Gets a network security group.</maml:para> </maml:description> @@ -7749,11 +7749,11 @@ PS C:\&gt; $Certs = Get-AzureRMApplicationGatewaySslCertificate -ApplicationGate <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMNetworkSecurityGroup cmdlet gets an Azure network security group.</maml:para> + <maml:para>The Get-AzureRmNetworkSecurityGroup cmdlet gets an Azure network security group.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMNetworkSecurityGroup</maml:name> + <maml:name>Get-AzureRmNetworkSecurityGroup</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named" aliases="ResourceName"> <maml:name>Name</maml:name> <maml:description> @@ -7873,22 +7873,22 @@ PS C:\&gt; $Certs = Get-AzureRMApplicationGatewaySslCertificate -ApplicationGate </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>New-AzureRMNetworkSecurityGroup</maml:linkText> + <maml:linkText>New-AzureRmNetworkSecurityGroup</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMNetworkSecurityGroup</maml:linkText> + <maml:linkText>Remove-AzureRmNetworkSecurityGroup</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMNetworkSecurityGroup</maml:linkText> + <maml:linkText>Set-AzureRmNetworkSecurityGroup</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMNetworkSecurityRuleConfig</command:name> + <command:name>Get-AzureRmNetworkSecurityRuleConfig</command:name> <maml:description> <maml:para>Get a network security rule configuration for a network security group.</maml:para> </maml:description> @@ -7900,11 +7900,11 @@ PS C:\&gt; $Certs = Get-AzureRMApplicationGatewaySslCertificate -ApplicationGate <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMNetworkSecurityRuleConfig cmdlet gets a network security rule configuration for an Azure network security group.</maml:para> + <maml:para>The Get-AzureRmNetworkSecurityRuleConfig cmdlet gets a network security rule configuration for an Azure network security group.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMNetworkSecurityRuleConfig</maml:name> + <maml:name>Get-AzureRmNetworkSecurityRuleConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>DefaultRules</maml:name> <maml:description> @@ -8042,26 +8042,26 @@ PS C:\&gt; $Certs = Get-AzureRMApplicationGatewaySslCertificate -ApplicationGate </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMNetworkSecurityRuleConfig</maml:linkText> + <maml:linkText>Add-AzureRmNetworkSecurityRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMNetworkSecurityRuleConfig</maml:linkText> + <maml:linkText>New-AzureRmNetworkSecurityRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMNetworkSecurityRuleConfig</maml:linkText> + <maml:linkText>Remove-AzureRmNetworkSecurityRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMNetworkSecurityRuleConfig</maml:linkText> + <maml:linkText>Set-AzureRmNetworkSecurityRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMPublicIpAddress</command:name> + <command:name>Get-AzureRmPublicIpAddress</command:name> <maml:description> <maml:para>Gets a public IP address.</maml:para> </maml:description> @@ -8073,11 +8073,11 @@ PS C:\&gt; $Certs = Get-AzureRMApplicationGatewaySslCertificate -ApplicationGate <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMPublicIPAddress cmdlet gets one or more public IP addresses in a resource group.</maml:para> + <maml:para>The Get-AzureRmPublicIPAddress cmdlet gets one or more public IP addresses in a resource group.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMPublicIpAddress</maml:name> + <maml:name>Get-AzureRmPublicIpAddress</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="ResourceName"> <maml:name>Name</maml:name> <maml:description> @@ -8197,22 +8197,22 @@ PS C:\&gt; $Certs = Get-AzureRMApplicationGatewaySslCertificate -ApplicationGate </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>New-AzureRMPublicIpAddress</maml:linkText> + <maml:linkText>New-AzureRmPublicIpAddress</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMPublicIpAddress</maml:linkText> + <maml:linkText>Remove-AzureRmPublicIpAddress</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMPublicIpAddress</maml:linkText> + <maml:linkText>Set-AzureRmPublicIpAddress</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMRouteConfig</command:name> + <command:name>Get-AzureRmRouteConfig</command:name> <maml:description> <maml:para>Gets routes from a route table. </maml:para> </maml:description> @@ -8224,11 +8224,11 @@ PS C:\&gt; $Certs = Get-AzureRMApplicationGatewaySslCertificate -ApplicationGate <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMRouteConfig cmdlet gets routes from an Azure route table. You can specify a route by name. </maml:para> + <maml:para>The Get-AzureRmRouteConfig cmdlet gets routes from an Azure route table. You can specify a route by name. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMRouteConfig</maml:name> + <maml:name>Get-AzureRmRouteConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:description> @@ -8333,7 +8333,7 @@ PS C:\&gt; $Certs = Get-AzureRMApplicationGatewaySslCertificate -ApplicationGate <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMRouteTable -ResourceGroupName "ResourceGroup11" -Name "routetable01" | Get-AzureRMRouteConfig -Name "route07" + <dev:code>PS C:\&gt;Get-AzureRmRouteTable -ResourceGroupName "ResourceGroup11" -Name "routetable01" | Get-AzureRmRouteConfig -Name "route07" Name : route07 Id : @@ -8344,7 +8344,7 @@ NextHopType : VnetLocal NextHopIpAddress : </dev:code> <dev:remarks> - <maml:para>This command gets the route table named routetable01 by using the Get-AzureRMRouteTable cmdlet. The command passes that table to the current cmdlet by using the pipeline operator. The current cmdlet gets the route named route07 in the route table named routetable01.</maml:para> + <maml:para>This command gets the route table named routetable01 by using the Get-AzureRmRouteTable cmdlet. The command passes that table to the current cmdlet by using the pipeline operator. The current cmdlet gets the route named route07 in the route table named routetable01.</maml:para> <maml:para /> <maml:para /> </dev:remarks> @@ -8357,30 +8357,30 @@ NextHopIpAddress : </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMRouteConfig</maml:linkText> + <maml:linkText>Add-AzureRmRouteConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMRouteTable</maml:linkText> + <maml:linkText>Get-AzureRmRouteTable</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMRouteConfig</maml:linkText> + <maml:linkText>New-AzureRmRouteConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMRouteConfig</maml:linkText> + <maml:linkText>Remove-AzureRmRouteConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMRouteConfig</maml:linkText> + <maml:linkText>Set-AzureRmRouteConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMRouteTable</command:name> + <command:name>Get-AzureRmRouteTable</command:name> <maml:description> <maml:para>Gets route tables.</maml:para> </maml:description> @@ -8392,11 +8392,11 @@ NextHopIpAddress : <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMRouteTable cmdlet gets Azure route tables. You can retrieve a single route table, or retrieve all the route tables in a resource group or in your subscription.</maml:para> + <maml:para>The Get-AzureRmRouteTable cmdlet gets Azure route tables. You can retrieve a single route table, or retrieve all the route tables in a resource group or in your subscription.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMRouteTable</maml:name> + <maml:name>Get-AzureRmRouteTable</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named" aliases="ResourceName"> <maml:name>Name</maml:name> <maml:description> @@ -8501,7 +8501,7 @@ NextHopIpAddress : <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMRouteTable -ResourceGroupName "ResourceGroup11" -Name "routetable01" + <dev:code>PS C:\&gt;Get-AzureRmRouteTable -ResourceGroupName "ResourceGroup11" -Name "routetable01" Name : routetable01 ResourceGroupName : ResourceGroup11 Location : eastus @@ -8538,22 +8538,22 @@ Subnets : [] </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>New-AzureRMRouteTable</maml:linkText> + <maml:linkText>New-AzureRmRouteTable</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMRouteTable</maml:linkText> + <maml:linkText>Remove-AzureRmRouteTable</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMRouteTable</maml:linkText> + <maml:linkText>Set-AzureRmRouteTable</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMVirtualNetworkGatewayConnectionSharedKey</command:name> + <command:name>Get-AzureRmVirtualNetworkGatewayConnectionSharedKey</command:name> <maml:description> <maml:para> </maml:para> @@ -8569,7 +8569,7 @@ Subnets : [] </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMVirtualNetworkGatewayConnectionSharedKey</maml:name> + <maml:name>Get-AzureRmVirtualNetworkGatewayConnectionSharedKey</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="ResourceName"> <maml:name>Name</maml:name> <maml:description> @@ -8684,7 +8684,7 @@ Subnets : [] </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMVirtualNetworkGatewayConnection</command:name> + <command:name>Get-AzureRmVirtualNetworkGatewayConnection</command:name> <maml:description> <maml:para> </maml:para> @@ -8700,7 +8700,7 @@ Subnets : [] </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMVirtualNetworkGatewayConnection</maml:name> + <maml:name>Get-AzureRmVirtualNetworkGatewayConnection</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="ResourceName"> <maml:name>Name</maml:name> <maml:description> @@ -8815,7 +8815,7 @@ Subnets : [] </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMVirtualNetworkGateway</command:name> + <command:name>Get-AzureRmVirtualNetworkGateway</command:name> <maml:description> <maml:para> </maml:para> @@ -8831,7 +8831,7 @@ Subnets : [] </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMVirtualNetworkGateway</maml:name> + <maml:name>Get-AzureRmVirtualNetworkGateway</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="ResourceName"> <maml:name>Name</maml:name> <maml:description> @@ -8946,7 +8946,7 @@ Subnets : [] </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMVirtualNetworkSubnetConfig</command:name> + <command:name>Get-AzureRmVirtualNetworkSubnetConfig</command:name> <maml:description> <maml:para>Gets a subnet in a virtual network.</maml:para> </maml:description> @@ -8958,11 +8958,11 @@ Subnets : [] <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMVirtualNetworkSubnetConfig cmdlet gets one or more subnet configurations in an Azure virtual network.</maml:para> + <maml:para>The Get-AzureRmVirtualNetworkSubnetConfig cmdlet gets one or more subnet configurations in an Azure virtual network.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMVirtualNetworkSubnetConfig</maml:name> + <maml:name>Get-AzureRmVirtualNetworkSubnetConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:description> @@ -9082,26 +9082,26 @@ Subnets : [] </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMVirtualNetworkSubnetConfig</maml:linkText> + <maml:linkText>Add-AzureRmVirtualNetworkSubnetConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMVirtualNetworkSubnetConfig</maml:linkText> + <maml:linkText>New-AzureRmVirtualNetworkSubnetConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMVirtualNetworkSubnetConfig</maml:linkText> + <maml:linkText>Remove-AzureRmVirtualNetworkSubnetConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMVirtualNetworkSubnetConfig</maml:linkText> + <maml:linkText>Set-AzureRmVirtualNetworkSubnetConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMVirtualNetwork</command:name> + <command:name>Get-AzureRmVirtualNetwork</command:name> <maml:description> <maml:para>Gets a virtual network in a resource group.</maml:para> </maml:description> @@ -9113,11 +9113,11 @@ Subnets : [] <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMVirtualNetwork cmdlet gets one or more virtual networks n a resource group.</maml:para> + <maml:para>The Get-AzureRmVirtualNetwork cmdlet gets one or more virtual networks n a resource group.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMVirtualNetwork</maml:name> + <maml:name>Get-AzureRmVirtualNetwork</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="ResourceName"> <maml:name>Name</maml:name> <maml:description> @@ -9237,22 +9237,22 @@ Subnets : [] </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>New-AzureRMVirtualNetwork</maml:linkText> + <maml:linkText>New-AzureRmVirtualNetwork</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMVirtualNetwork</maml:linkText> + <maml:linkText>Remove-AzureRmVirtualNetwork</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMVirtualNetwork</maml:linkText> + <maml:linkText>Set-AzureRmVirtualNetwork</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMApplicationGatewayBackendAddressPool</command:name> + <command:name>New-AzureRmApplicationGatewayBackendAddressPool</command:name> <maml:description> <maml:para>Creates a back-end address pool for an application gateway.</maml:para> </maml:description> @@ -9264,11 +9264,11 @@ Subnets : [] <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMApplicationGatewayBackendAddressPool cmdlet creates a back-end address pool for an Azure application gateway. A back-end address can be specified as an IP address, a fully-qualified domain name (FQDN) or an IP configuration ID.</maml:para> + <maml:para>The New-AzureRmApplicationGatewayBackendAddressPool cmdlet creates a back-end address pool for an Azure application gateway. A back-end address can be specified as an IP address, a fully-qualified domain name (FQDN) or an IP configuration ID.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMApplicationGatewayBackendAddressPool</maml:name> + <maml:name>New-AzureRmApplicationGatewayBackendAddressPool</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>BackendFqdns</maml:name> <maml:description> @@ -9292,7 +9292,7 @@ Subnets : [] </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMApplicationGatewayBackendAddressPool</maml:name> + <maml:name>New-AzureRmApplicationGatewayBackendAddressPool</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>BackendIPAddresses</maml:name> <maml:description> @@ -9316,7 +9316,7 @@ Subnets : [] </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMApplicationGatewayBackendAddressPool</maml:name> + <maml:name>New-AzureRmApplicationGatewayBackendAddressPool</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>BackendIPConfigurationIds</maml:name> <maml:description> @@ -9439,7 +9439,7 @@ Subnets : [] <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$Pool = New-AzureRMApplicationGatewayBackendAddressPool -Name "Pool01" -BackendFqdns "contoso1.com", "contoso2.com" + <dev:code>PS C:\&gt;$Pool = New-AzureRmApplicationGatewayBackendAddressPool -Name "Pool01" -BackendFqdns "contoso1.com", "contoso2.com" </dev:code> <dev:remarks> <maml:para>This command creates a back-end address pool named Pool01 by using the FQDNs of back-end servers, and stores it in the $Pool variable.</maml:para> @@ -9458,7 +9458,7 @@ Subnets : [] <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$Pool = New-AzureRMApplicationGatewayBackendAddressPool -Name "Pool02" -BackendFqdns "10.10.10.10", "10.10.10.11" + <dev:code>PS C:\&gt;$Pool = New-AzureRmApplicationGatewayBackendAddressPool -Name "Pool02" -BackendFqdns "10.10.10.10", "10.10.10.11" </dev:code> <dev:remarks> <maml:para>This command creates a back-end address pool named Pool02 by using the IP addresses of back-end servers, and stores it in the $Pool variable.</maml:para> @@ -9474,26 +9474,26 @@ Subnets : [] </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMApplicationGatewayBackendAddressPool</maml:linkText> + <maml:linkText>Add-AzureRmApplicationGatewayBackendAddressPool</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewayBackendAddressPool</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewayBackendAddressPool</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMApplicationGatewayBackendAddressPool</maml:linkText> + <maml:linkText>Remove-AzureRmApplicationGatewayBackendAddressPool</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewayBackendAddressPool</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewayBackendAddressPool</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMApplicationGatewayBackendHttpSettings</command:name> + <command:name>New-AzureRmApplicationGatewayBackendHttpSettings</command:name> <maml:description> <maml:para>Creates back-end HTTP settings for an application gateway.</maml:para> </maml:description> @@ -9505,11 +9505,11 @@ Subnets : [] <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMApplicationGatewayBackendHttpSettings cmdlet creates back-end HTTP settings for an application gateway. Back-end HTTP settings are applied to all back-end servers in a pool.</maml:para> + <maml:para>The New-AzureRmApplicationGatewayBackendHttpSettings cmdlet creates back-end HTTP settings for an application gateway. Back-end HTTP settings are applied to all back-end servers in a pool.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMApplicationGatewayBackendHttpSettings</maml:name> + <maml:name>New-AzureRmApplicationGatewayBackendHttpSettings</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -9649,7 +9649,7 @@ Subnets : [] <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt; $Setting = New-AzureRMApplicationGatewayBackendHttpSettings -Name "Setting01" -Port 80 -Protocol Http -CookieBasedAffinity Disabled + <dev:code>PS C:\&gt; $Setting = New-AzureRmApplicationGatewayBackendHttpSettings -Name "Setting01" -Port 80 -Protocol Http -CookieBasedAffinity Disabled </dev:code> <dev:remarks> <maml:para>This command creates back-end HTTP settings named Setting01 on port 80, using the HTTP protocol, with cookie-based affinity disabled. The settings are stored in the $Setting variable.</maml:para> @@ -9665,26 +9665,26 @@ Subnets : [] </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMApplicationGatewayBackendHttpSettings</maml:linkText> + <maml:linkText>Add-AzureRmApplicationGatewayBackendHttpSettings</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewayBackendHttpSettings</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewayBackendHttpSettings</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMApplicationGatewayBackendHttpSettings</maml:linkText> + <maml:linkText>Remove-AzureRmApplicationGatewayBackendHttpSettings</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewayBackendHttpSettings</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewayBackendHttpSettings</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMApplicationGatewayFrontendIPConfig</command:name> + <command:name>New-AzureRmApplicationGatewayFrontendIPConfig</command:name> <maml:description> <maml:para>Creates a front-end IP configuration for an application gateway.</maml:para> </maml:description> @@ -9696,7 +9696,7 @@ Subnets : [] <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMApplicationGatewayFrontendIPConfig cmdlet creates a front-end IP configuraton for an Azure application gateway. An application gateway supports two types of front-end IP configuration: + <maml:para>The New-AzureRmApplicationGatewayFrontendIPConfig cmdlet creates a front-end IP configuraton for an Azure application gateway. An application gateway supports two types of front-end IP configuration: -- Public IP addresses -- Private IP addresses using internal load balancing (ILB). @@ -9705,7 +9705,7 @@ Subnets : [] </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMApplicationGatewayFrontendIPConfig</maml:name> + <maml:name>New-AzureRmApplicationGatewayFrontendIPConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>PrivateIPAddress</maml:name> <maml:description> @@ -9743,7 +9743,7 @@ Subnets : [] </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMApplicationGatewayFrontendIPConfig</maml:name> + <maml:name>New-AzureRmApplicationGatewayFrontendIPConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>PrivateIPAddress</maml:name> <maml:description> @@ -9928,8 +9928,8 @@ Subnets : [] <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt; $ PublicIP = New-AzureRMPublicIpAddress -ResourceGroupName "ResourceGroup01" -Name "PublicIP01" -location "West US" -AllocationMethod Dynamic -PS C:\&gt; $FrontEnd = New-AzureRMApplicationGatewayFrontendIPConfig -Name "FrontEndIP01" –PublicIPAddress $PublicIP + <dev:code>PS C:\&gt; $ PublicIP = New-AzureRmPublicIpAddress -ResourceGroupName "ResourceGroup01" -Name "PublicIP01" -location "West US" -AllocationMethod Dynamic +PS C:\&gt; $FrontEnd = New-AzureRmApplicationGatewayFrontendIPConfig -Name "FrontEndIP01" –PublicIPAddress $PublicIP </dev:code> <dev:remarks> <maml:para>The first command creates a public IP resource object and stores it in the $PublicIP variable. </maml:para> @@ -9949,9 +9949,9 @@ PS C:\&gt; $FrontEnd = New-AzureRMApplicationGatewayFrontendIPConfig -Name "Fron <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$VNet = Get-AzureRMvirtualNetwork -Name "VNet01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $Subnet = Get-AzureRMVirtualNetworkSubnetConfig -Name "Subnet01" -VirtualNetwork $VNet -PS C:\&gt; $FrontEnd = New-AzureRMApplicationGatewayFrontendIPConfig -ApplicationGateway -Name "FrontendIP02" -Subnet $Subnet -PrivateIPAddress 10.0.1.1 + <dev:code>PS C:\&gt;$VNet = Get-AzureRmvirtualNetwork -Name "VNet01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $Subnet = Get-AzureRmVirtualNetworkSubnetConfig -Name "Subnet01" -VirtualNetwork $VNet +PS C:\&gt; $FrontEnd = New-AzureRmApplicationGatewayFrontendIPConfig -ApplicationGateway -Name "FrontendIP02" -Subnet $Subnet -PrivateIPAddress 10.0.1.1 </dev:code> <dev:remarks> <maml:para>The first command gets a virtual network named VNet01 that belongs to the resource group named ResourceGroup01, and stores it in the $VNet variable.</maml:para> @@ -9972,9 +9972,9 @@ PS C:\&gt; $FrontEnd = New-AzureRMApplicationGatewayFrontendIPConfig -Applicatio <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$VNet = Get-AzureRMvirtualNetwork -Name "VNet01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $Subnet = Get-AzureRMVirtualNetworkSubnetConfig -Name "Subnet01" -VirtualNetwork $VNet -PS C:\&gt; $FrontEnd = New-AzureRMApplicationGatewayFrontendIPConfig -ApplicationGateway -Name "FrontendIP03" -Subnet $Subnet + <dev:code>PS C:\&gt;$VNet = Get-AzureRmvirtualNetwork -Name "VNet01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $Subnet = Get-AzureRmVirtualNetworkSubnetConfig -Name "Subnet01" -VirtualNetwork $VNet +PS C:\&gt; $FrontEnd = New-AzureRmApplicationGatewayFrontendIPConfig -ApplicationGateway -Name "FrontendIP03" -Subnet $Subnet </dev:code> <dev:remarks> <maml:para>The first command gets a virtual network named VNet01 that belongs to the resource group named ResourceGroup01, and stores it in the $VNet variable.</maml:para> @@ -9992,26 +9992,26 @@ PS C:\&gt; $FrontEnd = New-AzureRMApplicationGatewayFrontendIPConfig -Applicatio </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMApplicationGatewayFrontendIPConfig</maml:linkText> + <maml:linkText>Add-AzureRmApplicationGatewayFrontendIPConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewayFrontendIPConfig</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewayFrontendIPConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMApplicationGatewayFrontendIPConfig</maml:linkText> + <maml:linkText>Remove-AzureRmApplicationGatewayFrontendIPConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewayFrontendIPConfig</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewayFrontendIPConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMApplicationGatewayFrontendPort</command:name> + <command:name>New-AzureRmApplicationGatewayFrontendPort</command:name> <maml:description> <maml:para>Creates a front-end port for an application gateway.</maml:para> </maml:description> @@ -10023,11 +10023,11 @@ PS C:\&gt; $FrontEnd = New-AzureRMApplicationGatewayFrontendIPConfig -Applicatio <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMApplicationGatewayFrontendPort cmdlet creates a front-end port for an Azure application gateway.</maml:para> + <maml:para>The New-AzureRmApplicationGatewayFrontendPort cmdlet creates a front-end port for an Azure application gateway.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMApplicationGatewayFrontendPort</maml:name> + <maml:name>New-AzureRmApplicationGatewayFrontendPort</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -10126,7 +10126,7 @@ PS C:\&gt; $FrontEnd = New-AzureRMApplicationGatewayFrontendIPConfig -Applicatio <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt; $FrontEndPort = New-AzureRMApplicationGatewayFrontendPort -Name “FrontEndPort01” –Port 80 + <dev:code>PS C:\&gt; $FrontEndPort = New-AzureRmApplicationGatewayFrontendPort -Name “FrontEndPort01” –Port 80 </dev:code> <dev:remarks> <maml:para>This command creates a front-end port on port 80 named FrontEndPort01.</maml:para> @@ -10142,26 +10142,26 @@ PS C:\&gt; $FrontEnd = New-AzureRMApplicationGatewayFrontendIPConfig -Applicatio </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMApplicationGatewayFrontendPort</maml:linkText> + <maml:linkText>Add-AzureRmApplicationGatewayFrontendPort</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewayFrontendPort</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewayFrontendPort</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMApplicationGatewayFrontendPort</maml:linkText> + <maml:linkText>Remove-AzureRmApplicationGatewayFrontendPort</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewayFrontendPort</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewayFrontendPort</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMApplicationGatewayHttpListener</command:name> + <command:name>New-AzureRmApplicationGatewayHttpListener</command:name> <maml:description> <maml:para>Creates an HTTP listener for an application gateway.</maml:para> </maml:description> @@ -10173,11 +10173,11 @@ PS C:\&gt; $FrontEnd = New-AzureRMApplicationGatewayFrontendIPConfig -Applicatio <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMApplicationGatewayHttpListener cmdlet creates an HTTP listener for an Azure application gateway. </maml:para> + <maml:para>The New-AzureRmApplicationGatewayHttpListener cmdlet creates an HTTP listener for an Azure application gateway. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMApplicationGatewayHttpListener</maml:name> + <maml:name>New-AzureRmApplicationGatewayHttpListener</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>FrontendIPConfiguration</maml:name> <maml:description> @@ -10225,7 +10225,7 @@ PS C:\&gt; $FrontEnd = New-AzureRMApplicationGatewayFrontendIPConfig -Applicatio </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMApplicationGatewayHttpListener</maml:name> + <maml:name>New-AzureRmApplicationGatewayHttpListener</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>FrontendIPConfigurationId</maml:name> <maml:description> @@ -10456,7 +10456,7 @@ PS C:\&gt; $FrontEnd = New-AzureRMApplicationGatewayFrontendIPConfig -Applicatio <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$Listener = New-AzureRMApplicationGatewayHttpListener -Name "Listener01" -Protocol "Http" -FrontendIpConfiguration $FIp01 -FrontendPort $FP01 + <dev:code>PS C:\&gt;$Listener = New-AzureRmApplicationGatewayHttpListener -Name "Listener01" -Protocol "Http" -FrontendIpConfiguration $FIp01 -FrontendPort $FP01 </dev:code> <dev:remarks> <maml:para>This command creates an HTTP listener.</maml:para> @@ -10475,7 +10475,7 @@ PS C:\&gt; $FrontEnd = New-AzureRMApplicationGatewayFrontendIPConfig -Applicatio <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$Listener = New-AzureRMApplicationGatewayHttpListener -Name "Listener01" -Protocol "Https" -FrontendIpConfiguration $FIp01 -FrontendPort $FP01 – SslCertificate $SSLCert01 + <dev:code>PS C:\&gt;$Listener = New-AzureRmApplicationGatewayHttpListener -Name "Listener01" -Protocol "Https" -FrontendIpConfiguration $FIp01 -FrontendPort $FP01 – SslCertificate $SSLCert01 </dev:code> <dev:remarks> <maml:para>This command creates an HTTP listener that uses SSL offload and provides the SSL certificate in the $SSLCert01 variable.</maml:para> @@ -10491,26 +10491,26 @@ PS C:\&gt; $FrontEnd = New-AzureRMApplicationGatewayFrontendIPConfig -Applicatio </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMApplicationGatewayHttpListener</maml:linkText> + <maml:linkText>Add-AzureRmApplicationGatewayHttpListener</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewayHttpListener</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewayHttpListener</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMApplicationGatewayHttpListener</maml:linkText> + <maml:linkText>Remove-AzureRmApplicationGatewayHttpListener</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewayHttpListener</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewayHttpListener</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMApplicationGatewayIPConfiguration</command:name> + <command:name>New-AzureRmApplicationGatewayIPConfiguration</command:name> <maml:description> <maml:para>Creates an IP configuration for an application gateway.</maml:para> </maml:description> @@ -10522,11 +10522,11 @@ PS C:\&gt; $FrontEnd = New-AzureRMApplicationGatewayFrontendIPConfig -Applicatio <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMApplicationGatewayIPConfiguration cmdlet creates an IP configuration for an application gateway. The IP configuration contains the subnet in which application gateway is deployed.</maml:para> + <maml:para>The New-AzureRmApplicationGatewayIPConfiguration cmdlet creates an IP configuration for an application gateway. The IP configuration contains the subnet in which application gateway is deployed.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMApplicationGatewayIPConfiguration</maml:name> + <maml:name>New-AzureRmApplicationGatewayIPConfiguration</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -10550,7 +10550,7 @@ PS C:\&gt; $FrontEnd = New-AzureRMApplicationGatewayFrontendIPConfig -Applicatio </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMApplicationGatewayIPConfiguration</maml:name> + <maml:name>New-AzureRmApplicationGatewayIPConfiguration</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -10677,9 +10677,9 @@ PS C:\&gt; $FrontEnd = New-AzureRMApplicationGatewayFrontendIPConfig -Applicatio <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$VNet = Get-AzureRMvirtualNetwork -Name "VNet01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $Subnet = Get-AzureRMVirtualNetworkSubnetConfig -Name "Subnet01" -VirtualNetwork $VNet -PS C:\ $GatewayIpConfig = New-AzureRMApplicationGatewayIPConfiguration -Name "AppGwSubnet01" -Subnet $Subnet + <dev:code>PS C:\&gt;$VNet = Get-AzureRmvirtualNetwork -Name "VNet01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $Subnet = Get-AzureRmVirtualNetworkSubnetConfig -Name "Subnet01" -VirtualNetwork $VNet +PS C:\ $GatewayIpConfig = New-AzureRmApplicationGatewayIPConfiguration -Name "AppGwSubnet01" -Subnet $Subnet </dev:code> <dev:remarks> <maml:para>The first command gets a virtual network named VNet01 that belongs to the resource group named ResourceGroup01.</maml:para> @@ -10697,26 +10697,26 @@ PS C:\ $GatewayIpConfig = New-AzureRMApplicationGatewayIPConfiguration -Name "Ap </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMApplicationGatewayIPConfiguration</maml:linkText> + <maml:linkText>Add-AzureRmApplicationGatewayIPConfiguration</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewayIPConfiguration</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewayIPConfiguration</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMApplicationGatewayIPConfiguration</maml:linkText> + <maml:linkText>Remove-AzureRmApplicationGatewayIPConfiguration</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewayIPConfiguration</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewayIPConfiguration</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMApplicationGatewayRequestRoutingRule</command:name> + <command:name>New-AzureRmApplicationGatewayRequestRoutingRule</command:name> <maml:description> <maml:para>Creates a request routing rule for an application gateway.</maml:para> </maml:description> @@ -10728,11 +10728,11 @@ PS C:\ $GatewayIpConfig = New-AzureRMApplicationGatewayIPConfiguration -Name "Ap <dev:version /> </command:details> <maml:description> - <maml:para>The Add-AzureRMApplicationGatewayRequestRoutingRule cmdlet creates a request routing rule for an Azure application gateway.</maml:para> + <maml:para>The Add-AzureRmApplicationGatewayRequestRoutingRule cmdlet creates a request routing rule for an Azure application gateway.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMApplicationGatewayRequestRoutingRule</maml:name> + <maml:name>New-AzureRmApplicationGatewayRequestRoutingRule</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>BackendAddressPool</maml:name> <maml:description> @@ -10777,7 +10777,7 @@ PS C:\ $GatewayIpConfig = New-AzureRMApplicationGatewayIPConfiguration -Name "Ap </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMApplicationGatewayRequestRoutingRule</maml:name> + <maml:name>New-AzureRmApplicationGatewayRequestRoutingRule</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>BackendAddressPoolId</maml:name> <maml:description> @@ -11005,7 +11005,7 @@ PS C:\ $GatewayIpConfig = New-AzureRMApplicationGatewayIPConfiguration -Name "Ap <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$Rule = New-AzureRMApplicationGatewayRequestRoutingRule -Name "Rule01" -RuleType Basic -BackendHttpSettings $Setting -HttpListener $Listener -BackendAddressPool $Pool + <dev:code>PS C:\&gt;$Rule = New-AzureRmApplicationGatewayRequestRoutingRule -Name "Rule01" -RuleType Basic -BackendHttpSettings $Setting -HttpListener $Listener -BackendAddressPool $Pool </dev:code> <dev:remarks> <maml:para>This command creates a request routing rule.</maml:para> @@ -11021,26 +11021,26 @@ PS C:\ $GatewayIpConfig = New-AzureRMApplicationGatewayIPConfiguration -Name "Ap </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMApplicationGatewayRequestRoutingRule</maml:linkText> + <maml:linkText>Add-AzureRmApplicationGatewayRequestRoutingRule</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewayRequestRoutingRule</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewayRequestRoutingRule</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMApplicationGatewayRequestRoutingRule</maml:linkText> + <maml:linkText>Remove-AzureRmApplicationGatewayRequestRoutingRule</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewayRequestRoutingRule</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewayRequestRoutingRule</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMApplicationGatewaySku</command:name> + <command:name>New-AzureRmApplicationGatewaySku</command:name> <maml:description> <maml:para>Creates a SKU for an application gateway.</maml:para> </maml:description> @@ -11052,11 +11052,11 @@ PS C:\ $GatewayIpConfig = New-AzureRMApplicationGatewayIPConfiguration -Name "Ap <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMApplicationGatewaySku cmdlet creates a stock keeping unit (SKU) for an Azure application gateway.</maml:para> + <maml:para>The New-AzureRmApplicationGatewaySku cmdlet creates a stock keeping unit (SKU) for an Azure application gateway.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMApplicationGatewaySku</maml:name> + <maml:name>New-AzureRmApplicationGatewaySku</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -11178,7 +11178,7 @@ PS C:\ $GatewayIpConfig = New-AzureRMApplicationGatewayIPConfiguration -Name "Ap <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$SKU = New-AzureRMApplicationGatewaySku -Name "Standard_Small" -Tier "Standard" -Capacity 2 + <dev:code>PS C:\&gt;$SKU = New-AzureRmApplicationGatewaySku -Name "Standard_Small" -Tier "Standard" -Capacity 2 </dev:code> <dev:remarks> <maml:para>This command creates a SKU named Standard_Small for an Azure application gateway.</maml:para> @@ -11194,18 +11194,18 @@ PS C:\ $GatewayIpConfig = New-AzureRMApplicationGatewayIPConfiguration -Name "Ap </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewaySku</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewaySku</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewaySku</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewaySku</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMApplicationGatewaySslCertificate</command:name> + <command:name>New-AzureRmApplicationGatewaySslCertificate</command:name> <maml:description> <maml:para>Creates an SSL certificate for an Azure application gateway.</maml:para> </maml:description> @@ -11217,11 +11217,11 @@ PS C:\ $GatewayIpConfig = New-AzureRMApplicationGatewayIPConfiguration -Name "Ap <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMApplicationGatewaySslCertificate cmdlet creates an SSL certificate for an Azure application gateway.</maml:para> + <maml:para>The New-AzureRmApplicationGatewaySslCertificate cmdlet creates an SSL certificate for an Azure application gateway.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMApplicationGatewaySslCertificate</maml:name> + <maml:name>New-AzureRmApplicationGatewaySslCertificate</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -11339,7 +11339,7 @@ PS C:\ $GatewayIpConfig = New-AzureRMApplicationGatewayIPConfiguration -Name "Ap <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$Cert = New-AzureRMApplicationGatewaySslCertificate -Name "Cert01" –CertificateFile "D:\cert01.pfx" –Password "Password01" + <dev:code>PS C:\&gt;$Cert = New-AzureRmApplicationGatewaySslCertificate -Name "Cert01" –CertificateFile "D:\cert01.pfx" –Password "Password01" </dev:code> <dev:remarks> <maml:para>This command creates a SSL certificate named Cert01 for the default application gateway.</maml:para> @@ -11355,26 +11355,26 @@ PS C:\ $GatewayIpConfig = New-AzureRMApplicationGatewayIPConfiguration -Name "Ap </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMApplicationGatewaySslCertificate</maml:linkText> + <maml:linkText>Add-AzureRmApplicationGatewaySslCertificate</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewaySslCertificate</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewaySslCertificate</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMApplicationGatewaySslCertificate</maml:linkText> + <maml:linkText>Remove-AzureRmApplicationGatewaySslCertificate</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewaySslCertificate</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewaySslCertificate</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMApplicationGateway</command:name> + <command:name>New-AzureRmApplicationGateway</command:name> <maml:description> <maml:para>Creates an application gateway.</maml:para> </maml:description> @@ -11386,7 +11386,7 @@ PS C:\ $GatewayIpConfig = New-AzureRMApplicationGatewayIPConfiguration -Name "Ap <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMApplicationGateway cmdlet creates an Azure application gateway.</maml:para> + <maml:para>The New-AzureRmApplicationGateway cmdlet creates an Azure application gateway.</maml:para> <maml:para>An application gateway requires the following: -- A resource group. @@ -11399,7 +11399,7 @@ PS C:\ $GatewayIpConfig = New-AzureRMApplicationGatewayIPConfiguration -Name "Ap </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMApplicationGateway</maml:name> + <maml:name>New-AzureRmApplicationGateway</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Force</maml:name> <maml:description> @@ -11726,26 +11726,26 @@ PS C:\ $GatewayIpConfig = New-AzureRMApplicationGatewayIPConfiguration -Name "Ap </maml:para> </maml:introduction> <dev:code>This command creates a resource group for the application gateway. -PS C:\&gt; $ResourceGroup = New-AzureRMResourceGroup -Name "ResourceGroup01" -Location "West US" -Tags @{Name = "Department"; Value = "Marketing"} +PS C:\&gt; $ResourceGroup = New-AzureRmResourceGroup -Name "ResourceGroup01" -Location "West US" -Tags @{Name = "Department"; Value = "Marketing"} These four commands create a virtual network. The first command creates a subnet configuration. The second command creates a virtual network. The third command verifies the subnet configuration and the fourth command verifies that the virtual network is created successfully. -PS C:\&gt; $Subnet = New-AzureRMVirtualNetworkSubnetConfig -Name "Subnet01" -AddressPrefix 10.0.0.0/24 -PS C:\&gt; $VNet = New-AzureRMvirtualNetwork -Name "VNet01" -ResourceGroupName "ResourceGroup01" -Location "West US" -AddressPrefix 10.0.0.0/16 -Subnet $Subnet -PS C:\&gt; $VNet = Get-AzureRMvirtualNetwork -Name "VNet01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $Subnet = Get-AzureRMVirtualNetworkSubnetConfig -Name $Subnet01 -VirtualNetwork $VNet +PS C:\&gt; $Subnet = New-AzureRmVirtualNetworkSubnetConfig -Name "Subnet01" -AddressPrefix 10.0.0.0/24 +PS C:\&gt; $VNet = New-AzureRmvirtualNetwork -Name "VNet01" -ResourceGroupName "ResourceGroup01" -Location "West US" -AddressPrefix 10.0.0.0/16 -Subnet $Subnet +PS C:\&gt; $VNet = Get-AzureRmvirtualNetwork -Name "VNet01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $Subnet = Get-AzureRmVirtualNetworkSubnetConfig -Name $Subnet01 -VirtualNetwork $VNet -The following commands create the application gateway.The first command creates an IP configuration named GatewayIp01 for the subnet created previously.The second command creates a back-end server pool named Pool01 with a list of back-end IP addresses and stores the pool in the $Pool variable.The third command creates the settings for the back-end server pool and stores the settings in the $PoolSetting variable.The forth command creates a front-end port on port 80, names it FrontEndPort01, and stores the port in the $FrontEndPort variable.The fifth command creates a public IP address by using New-AzureRMPublicIpAddress. The sixth command creates a front-end IP configuration using $PublicIp, names it FrontEndPortConfig01, and stores it in the $FrontEndIpConfig variable.The seventh command creates a listener using the previously created $FrontEndIpConfig $FrontEndPort.The eighth command creates a rule for the listener.The ninth command sets the SKU.The tenth command creates the gateway using the objects set by the previous commands. -PS C:\&gt; $GatewayIPconfig = New-AzureRMApplicationGatewayIPConfiguration -Name "GatewayIp01" -Subnet $Subnet -PS C:\&gt; $Pool = New-AzureRMApplicationGatewayBackendAddressPool -Name "Pool01" -BackendIPAddresses 10.10.10.1, 10.10.10.2, 10.10.10.3 -PS C:\&gt; $PoolSetting = New-AzureRMApplicationGatewayBackendHttpSettings -Name "PoolSetting01" -Port 80 -Protocol "Http" -CookieBasedAffinity "Disabled" -PS C:\&gt; $FrontEndPort = New-AzureRMApplicationGatewayFrontendPort -Name "FrontEndPort01" -Port 80 +The following commands create the application gateway.The first command creates an IP configuration named GatewayIp01 for the subnet created previously.The second command creates a back-end server pool named Pool01 with a list of back-end IP addresses and stores the pool in the $Pool variable.The third command creates the settings for the back-end server pool and stores the settings in the $PoolSetting variable.The forth command creates a front-end port on port 80, names it FrontEndPort01, and stores the port in the $FrontEndPort variable.The fifth command creates a public IP address by using New-AzureRmPublicIpAddress. The sixth command creates a front-end IP configuration using $PublicIp, names it FrontEndPortConfig01, and stores it in the $FrontEndIpConfig variable.The seventh command creates a listener using the previously created $FrontEndIpConfig $FrontEndPort.The eighth command creates a rule for the listener.The ninth command sets the SKU.The tenth command creates the gateway using the objects set by the previous commands. +PS C:\&gt; $GatewayIPconfig = New-AzureRmApplicationGatewayIPConfiguration -Name "GatewayIp01" -Subnet $Subnet +PS C:\&gt; $Pool = New-AzureRmApplicationGatewayBackendAddressPool -Name "Pool01" -BackendIPAddresses 10.10.10.1, 10.10.10.2, 10.10.10.3 +PS C:\&gt; $PoolSetting = New-AzureRmApplicationGatewayBackendHttpSettings -Name "PoolSetting01" -Port 80 -Protocol "Http" -CookieBasedAffinity "Disabled" +PS C:\&gt; $FrontEndPort = New-AzureRmApplicationGatewayFrontendPort -Name "FrontEndPort01" -Port 80 # Create a public IP address -PS C:\&gt; $PublicIp = New-AzureRMPublicIpAddress -ResourceGroupName "ResourceGroup01" -Name $PublicIpName -Location "West US" -AllocationMethod "Dynamic" -PS C:\&gt; $FrontEndIpConfig = New-AzureRMApplicationGatewayFrontendIPConfig -Name "FrontEndConfig01" -PublicIPAddress $PublicIp -PS C:\&gt; $Listener = New-AzureRMApplicationGatewayHttpListener -Name $listenerName -Protocol "Http" -FrontendIpConfiguration $FrontEndIpConfig -FrontendPort $ FrontEndPort -PS C:\&gt; $Rule = New-AzureRMApplicationGatewayRequestRoutingRule -Name "Rule01" -RuleType basic -BackendHttpSettings $PoolSetting -HttpListener $Listener -BackendAddressPool $Pool -PS C:\&gt; $Sku = New-AzureRMApplicationGatewaySku -Name "Standard_Small" -Tier Standard -Capacity 2 -PS C:\&gt; $Gateway = New-AzureRMApplicationGateway -Name "AppGateway01" -ResourceGroupName "ResourceGroup01" -Location "West US" -BackendAddressPools $Pool -BackendHttpSettingsCollection $PoolSetting -FrontendIpConfigurations $FrontEndIpConfig -GatewayIpConfigurations $GatewayIpConfig -FrontendPorts $FrontEndPort -HttpListeners $Listener -RequestRoutingRules $Rule -Sku $Sku +PS C:\&gt; $PublicIp = New-AzureRmPublicIpAddress -ResourceGroupName "ResourceGroup01" -Name $PublicIpName -Location "West US" -AllocationMethod "Dynamic" +PS C:\&gt; $FrontEndIpConfig = New-AzureRmApplicationGatewayFrontendIPConfig -Name "FrontEndConfig01" -PublicIPAddress $PublicIp +PS C:\&gt; $Listener = New-AzureRmApplicationGatewayHttpListener -Name $listenerName -Protocol "Http" -FrontendIpConfiguration $FrontEndIpConfig -FrontendPort $ FrontEndPort +PS C:\&gt; $Rule = New-AzureRmApplicationGatewayRequestRoutingRule -Name "Rule01" -RuleType basic -BackendHttpSettings $PoolSetting -HttpListener $Listener -BackendAddressPool $Pool +PS C:\&gt; $Sku = New-AzureRmApplicationGatewaySku -Name "Standard_Small" -Tier Standard -Capacity 2 +PS C:\&gt; $Gateway = New-AzureRmApplicationGateway -Name "AppGateway01" -ResourceGroupName "ResourceGroup01" -Location "West US" -BackendAddressPools $Pool -BackendHttpSettingsCollection $PoolSetting -FrontendIpConfigurations $FrontEndIpConfig -GatewayIpConfigurations $GatewayIpConfig -FrontendPorts $FrontEndPort -HttpListeners $Listener -RequestRoutingRules $Rule -Sku $Sku </dev:code> <dev:remarks> <maml:para>The following commands create an application gateway by first creating a resource group and a virtual network, as well as the following: @@ -11767,50 +11767,50 @@ PS C:\&gt; $Gateway = New-AzureRMApplicationGateway -Name "AppGateway01" -Resour </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayBackendAddressPool</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayBackendAddressPool</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayBackendHttpSettings</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayBackendHttpSettings</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayFrontendIPConfig</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayFrontendIPConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayFrontendPort</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayFrontendPort</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayHttpListener</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayHttpListener</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayIPConfiguration</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayIPConfiguration</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayRequestRoutingRule</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayRequestRoutingRule</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewaySku</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewaySku</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMVirtualNetwork</maml:linkText> + <maml:linkText>New-AzureRmVirtualNetwork</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMVirtualNetworkSubnetConfig</maml:linkText> + <maml:linkText>New-AzureRmVirtualNetworkSubnetConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMLoadBalancerBackendAddressPoolConfig</command:name> + <command:name>New-AzureRmLoadBalancerBackendAddressPoolConfig</command:name> <maml:description> <maml:para>Creates a backend address pool configuration for a load balancer.</maml:para> </maml:description> @@ -11822,11 +11822,11 @@ PS C:\&gt; $Gateway = New-AzureRMApplicationGateway -Name "AppGateway01" -Resour <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMLoadBalancerBackendAddressPoolConfig cmdlet creates a backend address pool configuration for an Azure load balancer.</maml:para> + <maml:para>The New-AzureRmLoadBalancerBackendAddressPoolConfig cmdlet creates a backend address pool configuration for an Azure load balancer.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMLoadBalancerBackendAddressPoolConfig</maml:name> + <maml:name>New-AzureRmLoadBalancerBackendAddressPoolConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -11927,22 +11927,22 @@ PS C:\&gt; $Gateway = New-AzureRMApplicationGateway -Name "AppGateway01" -Resour </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMLoadBalancerBackendAddressPoolConfig</maml:linkText> + <maml:linkText>Add-AzureRmLoadBalancerBackendAddressPoolConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMLoadBalancerBackendAddressPoolConfig</maml:linkText> + <maml:linkText>Get-AzureRmLoadBalancerBackendAddressPoolConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMLoadBalancerBackendAddressPoolConfig</maml:linkText> + <maml:linkText>Remove-AzureRmLoadBalancerBackendAddressPoolConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMLoadBalancerFrontendIpConfig</command:name> + <command:name>New-AzureRmLoadBalancerFrontendIpConfig</command:name> <maml:description> <maml:para>Creates a front-end IP configuration for a load balancer.</maml:para> </maml:description> @@ -11954,11 +11954,11 @@ PS C:\&gt; $Gateway = New-AzureRMApplicationGateway -Name "AppGateway01" -Resour <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMLoadBalancerFrontendIpConfig cmdlet creates a front-end IP configuration for an Azure load balancer.</maml:para> + <maml:para>The New-AzureRmLoadBalancerFrontendIpConfig cmdlet creates a front-end IP configuration for an Azure load balancer.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMLoadBalancerFrontendIpConfig</maml:name> + <maml:name>New-AzureRmLoadBalancerFrontendIpConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>PrivateIpAddress</maml:name> <maml:description> @@ -11996,7 +11996,7 @@ PS C:\&gt; $Gateway = New-AzureRMApplicationGateway -Name "AppGateway01" -Resour </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMLoadBalancerFrontendIpConfig</maml:name> + <maml:name>New-AzureRmLoadBalancerFrontendIpConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>PrivateIpAddress</maml:name> <maml:description> @@ -12178,26 +12178,26 @@ PS C:\&gt; $Gateway = New-AzureRMApplicationGateway -Name "AppGateway01" -Resour </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMLoadBalancerFrontendIpConfig</maml:linkText> + <maml:linkText>Add-AzureRmLoadBalancerFrontendIpConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMLoadBalancerFrontendIpConfig</maml:linkText> + <maml:linkText>Get-AzureRmLoadBalancerFrontendIpConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMLoadBalancerFrontendIpConfig</maml:linkText> + <maml:linkText>Remove-AzureRmLoadBalancerFrontendIpConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMLoadBalancerFrontendIpConfig</maml:linkText> + <maml:linkText>Set-AzureRmLoadBalancerFrontendIpConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMLoadBalancerInboundNatRuleConfig</command:name> + <command:name>New-AzureRmLoadBalancerInboundNatRuleConfig</command:name> <maml:description> <maml:para>Creates an inbound NAT rule configuration for a load balancer.</maml:para> </maml:description> @@ -12209,11 +12209,11 @@ PS C:\&gt; $Gateway = New-AzureRMApplicationGateway -Name "AppGateway01" -Resour <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMLoadBalancerInboundNatRuleConfig cmdlet creates an inbound network address translation (NAT) rule configuration for an Azure load balancer.</maml:para> + <maml:para>The New-AzureRmLoadBalancerInboundNatRuleConfig cmdlet creates an inbound network address translation (NAT) rule configuration for an Azure load balancer.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMLoadBalancerInboundNatRuleConfig</maml:name> + <maml:name>New-AzureRmLoadBalancerInboundNatRuleConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>BackendPort</maml:name> <maml:description> @@ -12274,7 +12274,7 @@ PS C:\&gt; $Gateway = New-AzureRMApplicationGateway -Name "AppGateway01" -Resour </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMLoadBalancerInboundNatRuleConfig</maml:name> + <maml:name>New-AzureRmLoadBalancerInboundNatRuleConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>BackendPort</maml:name> <maml:description> @@ -12503,26 +12503,26 @@ PS C:\&gt; $Gateway = New-AzureRMApplicationGateway -Name "AppGateway01" -Resour </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMLoadBalancerInboundNatRuleConfig</maml:linkText> + <maml:linkText>Add-AzureRmLoadBalancerInboundNatRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMLoadBalancerInboundNatRuleConfig</maml:linkText> + <maml:linkText>Get-AzureRmLoadBalancerInboundNatRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMLoadBalancerInboundNatRuleConfig</maml:linkText> + <maml:linkText>Remove-AzureRmLoadBalancerInboundNatRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMLoadBalancerInboundNatRuleConfig</maml:linkText> + <maml:linkText>Set-AzureRmLoadBalancerInboundNatRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMLoadBalancerProbeConfig</command:name> + <command:name>New-AzureRmLoadBalancerProbeConfig</command:name> <maml:description> <maml:para>Creates a probe configuration for a load balancer.</maml:para> </maml:description> @@ -12534,11 +12534,11 @@ PS C:\&gt; $Gateway = New-AzureRMApplicationGateway -Name "AppGateway01" -Resour <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMLoadBalancerProbeConfig cmdlet creates a probe configuration for an Azure load balancer.</maml:para> + <maml:para>The New-AzureRmLoadBalancerProbeConfig cmdlet creates a probe configuration for an Azure load balancer.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMLoadBalancerProbeConfig</maml:name> + <maml:name>New-AzureRmLoadBalancerProbeConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -12737,26 +12737,26 @@ PS C:\&gt; $Gateway = New-AzureRMApplicationGateway -Name "AppGateway01" -Resour </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMLoadBalancerProbeConfig</maml:linkText> + <maml:linkText>Add-AzureRmLoadBalancerProbeConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMLoadBalancerProbeConfig</maml:linkText> + <maml:linkText>Get-AzureRmLoadBalancerProbeConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMLoadBalancerProbeConfig</maml:linkText> + <maml:linkText>Remove-AzureRmLoadBalancerProbeConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMLoadBalancerProbeConfig</maml:linkText> + <maml:linkText>Set-AzureRmLoadBalancerProbeConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMLoadBalancerRuleConfig</command:name> + <command:name>New-AzureRmLoadBalancerRuleConfig</command:name> <maml:description> <maml:para>Creates a rule configuration for a load balancer.</maml:para> </maml:description> @@ -12768,11 +12768,11 @@ PS C:\&gt; $Gateway = New-AzureRMApplicationGateway -Name "AppGateway01" -Resour <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMLoadBalancerRuleConfig cmdlet creates a rule configuration for an Azure load balancer.</maml:para> + <maml:para>The New-AzureRmLoadBalancerRuleConfig cmdlet creates a rule configuration for an Azure load balancer.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMLoadBalancerRuleConfig</maml:name> + <maml:name>New-AzureRmLoadBalancerRuleConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>BackendAddressPool</maml:name> <maml:description> @@ -12858,7 +12858,7 @@ PS C:\&gt; $Gateway = New-AzureRMApplicationGateway -Name "AppGateway01" -Resour </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMLoadBalancerRuleConfig</maml:name> + <maml:name>New-AzureRmLoadBalancerRuleConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>BackendAddressPoolId</maml:name> <maml:description> @@ -13172,26 +13172,26 @@ PS C:\&gt; $Gateway = New-AzureRMApplicationGateway -Name "AppGateway01" -Resour </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMLoadBalancerRuleConfig</maml:linkText> + <maml:linkText>Add-AzureRmLoadBalancerRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMLoadBalancerRuleConfig</maml:linkText> + <maml:linkText>Get-AzureRmLoadBalancerRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMLoadBalancerRuleConfig</maml:linkText> + <maml:linkText>Remove-AzureRmLoadBalancerRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMLoadBalancerRuleConfig</maml:linkText> + <maml:linkText>Set-AzureRmLoadBalancerRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMLoadBalancer</command:name> + <command:name>New-AzureRmLoadBalancer</command:name> <maml:description> <maml:para>Creates a load balancer.</maml:para> </maml:description> @@ -13203,11 +13203,11 @@ PS C:\&gt; $Gateway = New-AzureRMApplicationGateway -Name "AppGateway01" -Resour <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMLoadBalancer cmdlet creates an Azure load balancer.</maml:para> + <maml:para>The New-AzureRmLoadBalancer cmdlet creates an Azure load balancer.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMLoadBalancer</maml:name> + <maml:name>New-AzureRmLoadBalancer</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="none"> <maml:name>BackendAddressPool</maml:name> <maml:description> @@ -13478,22 +13478,22 @@ PS C:\&gt; $Gateway = New-AzureRMApplicationGateway -Name "AppGateway01" -Resour </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMLoadBalancer</maml:linkText> + <maml:linkText>Get-AzureRmLoadBalancer</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMLoadBalancer</maml:linkText> + <maml:linkText>Remove-AzureRmLoadBalancer</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMLoadBalancer</maml:linkText> + <maml:linkText>Set-AzureRmLoadBalancer</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMLocalNetworkGateway</command:name> + <command:name>New-AzureRmLocalNetworkGateway</command:name> <maml:description> <maml:para> </maml:para> @@ -13509,7 +13509,7 @@ PS C:\&gt; $Gateway = New-AzureRMApplicationGateway -Name "AppGateway01" -Resour </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMLocalNetworkGateway</maml:name> + <maml:name>New-AzureRmLocalNetworkGateway</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="none"> <maml:name>AddressPrefix</maml:name> <maml:description> @@ -13708,7 +13708,7 @@ PS C:\&gt; $Gateway = New-AzureRMApplicationGateway -Name "AppGateway01" -Resour </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMNetworkInterface</command:name> + <command:name>New-AzureRmNetworkInterface</command:name> <maml:description> <maml:para>Creates a network interface.</maml:para> </maml:description> @@ -13720,11 +13720,11 @@ PS C:\&gt; $Gateway = New-AzureRMApplicationGateway -Name "AppGateway01" -Resour <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMNetworkInterface cmdlet creates an Azure network interface.</maml:para> + <maml:para>The New-AzureRmNetworkInterface cmdlet creates an Azure network interface.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMNetworkInterface</maml:name> + <maml:name>New-AzureRmNetworkInterface</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="none"> <maml:name>DnsServer</maml:name> <maml:description> @@ -13839,7 +13839,7 @@ PS C:\&gt; $Gateway = New-AzureRMApplicationGateway -Name "AppGateway01" -Resour </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMNetworkInterface</maml:name> + <maml:name>New-AzureRmNetworkInterface</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="none"> <maml:name>DnsServer</maml:name> <maml:description> @@ -14268,22 +14268,22 @@ PS C:\&gt; $Gateway = New-AzureRMApplicationGateway -Name "AppGateway01" -Resour </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMNetworkInterface</maml:linkText> + <maml:linkText>Get-AzureRmNetworkInterface</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMNetworkInterface</maml:linkText> + <maml:linkText>Remove-AzureRmNetworkInterface</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMNetworkInterface</maml:linkText> + <maml:linkText>Set-AzureRmNetworkInterface</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMNetworkSecurityGroup</command:name> + <command:name>New-AzureRmNetworkSecurityGroup</command:name> <maml:description> <maml:para>Creates a network security group.</maml:para> </maml:description> @@ -14295,11 +14295,11 @@ PS C:\&gt; $Gateway = New-AzureRMApplicationGateway -Name "AppGateway01" -Resour <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMNetworkSecurityGroup cmdlet creates an Azure network security group.</maml:para> + <maml:para>The New-AzureRmNetworkSecurityGroup cmdlet creates an Azure network security group.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMNetworkSecurityGroup</maml:name> + <maml:name>New-AzureRmNetworkSecurityGroup</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Force</maml:name> <maml:description> @@ -14494,22 +14494,22 @@ PS C:\&gt; $Gateway = New-AzureRMApplicationGateway -Name "AppGateway01" -Resour </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMNetworkSecurityGroup</maml:linkText> + <maml:linkText>Get-AzureRmNetworkSecurityGroup</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMNetworkSecurityGroup</maml:linkText> + <maml:linkText>Remove-AzureRmNetworkSecurityGroup</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMNetworkSecurityGroup</maml:linkText> + <maml:linkText>Set-AzureRmNetworkSecurityGroup</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMNetworkSecurityRuleConfig</command:name> + <command:name>New-AzureRmNetworkSecurityRuleConfig</command:name> <maml:description> <maml:para>Creates a network security rule configuration.</maml:para> </maml:description> @@ -14521,11 +14521,11 @@ PS C:\&gt; $Gateway = New-AzureRMApplicationGateway -Name "AppGateway01" -Resour <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMNetworkSecurityRuleConfig cmdlet creates an Azure network security rule configuration for a network security group.</maml:para> + <maml:para>The New-AzureRmNetworkSecurityRuleConfig cmdlet creates an Azure network security rule configuration for a network security group.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMNetworkSecurityRuleConfig</maml:name> + <maml:name>New-AzureRmNetworkSecurityRuleConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Access</maml:name> <maml:description> @@ -14853,26 +14853,26 @@ PS C:\&gt; $Gateway = New-AzureRMApplicationGateway -Name "AppGateway01" -Resour </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMNetworkSecurityRuleConfig</maml:linkText> + <maml:linkText>Add-AzureRmNetworkSecurityRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMNetworkSecurityRuleConfig</maml:linkText> + <maml:linkText>Get-AzureRmNetworkSecurityRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMNetworkSecurityRuleConfig</maml:linkText> + <maml:linkText>Remove-AzureRmNetworkSecurityRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMNetworkSecurityRuleConfig</maml:linkText> + <maml:linkText>Set-AzureRmNetworkSecurityRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMPublicIpAddress</command:name> + <command:name>New-AzureRmPublicIpAddress</command:name> <maml:description> <maml:para>Creates a public IP address.</maml:para> </maml:description> @@ -14884,11 +14884,11 @@ PS C:\&gt; $Gateway = New-AzureRMApplicationGateway -Name "AppGateway01" -Resour <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMPublicIpAddress cmdlet creates a public IP address.</maml:para> + <maml:para>The New-AzureRmPublicIpAddress cmdlet creates a public IP address.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMPublicIpAddress</maml:name> + <maml:name>New-AzureRmPublicIpAddress</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="none"> <maml:name>DomainNameLabel</maml:name> <maml:description> @@ -15143,22 +15143,22 @@ PS C:\&gt; $Gateway = New-AzureRMApplicationGateway -Name "AppGateway01" -Resour </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMPublicIpAddress</maml:linkText> + <maml:linkText>Get-AzureRmPublicIpAddress</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMPublicIpAddress</maml:linkText> + <maml:linkText>Remove-AzureRmPublicIpAddress</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMPublicIpAddress</maml:linkText> + <maml:linkText>Set-AzureRmPublicIpAddress</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMRouteConfig</command:name> + <command:name>New-AzureRmRouteConfig</command:name> <maml:description> <maml:para>Creates a route for a route table.</maml:para> </maml:description> @@ -15170,11 +15170,11 @@ PS C:\&gt; $Gateway = New-AzureRMApplicationGateway -Name "AppGateway01" -Resour <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMRouteConfig cmdlet creates a route for an Azure route table.</maml:para> + <maml:para>The New-AzureRmRouteConfig cmdlet creates a route for an Azure route table.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMRouteConfig</maml:name> + <maml:name>New-AzureRmRouteConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>AddressPrefix</maml:name> <maml:description> @@ -15335,7 +15335,7 @@ PS C:\&gt; $Gateway = New-AzureRMApplicationGateway -Name "AppGateway01" -Resour <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$Route = New-AzureRMRouteConfig -Name "route07" -AddressPrefix 10.1.0.0/16 -NextHopType VnetLocal + <dev:code>PS C:\&gt;$Route = New-AzureRmRouteConfig -Name "route07" -AddressPrefix 10.1.0.0/16 -NextHopType VnetLocal PS C:\&gt; $Route Name : route07 Id : @@ -15360,26 +15360,26 @@ NextHopIpAddress : </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMRouteConfig</maml:linkText> + <maml:linkText>Add-AzureRmRouteConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMRouteConfig</maml:linkText> + <maml:linkText>Get-AzureRmRouteConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMRouteConfig</maml:linkText> + <maml:linkText>Remove-AzureRmRouteConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMRouteConfig</maml:linkText> + <maml:linkText>Set-AzureRmRouteConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMRouteTable</command:name> + <command:name>New-AzureRmRouteTable</command:name> <maml:description> <maml:para>Creates a route table. </maml:para> </maml:description> @@ -15391,11 +15391,11 @@ NextHopIpAddress : <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMRouteTable cmdlet creates an Azure route table.</maml:para> + <maml:para>The New-AzureRmRouteTable cmdlet creates an Azure route table.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMRouteTable</maml:name> + <maml:name>New-AzureRmRouteTable</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Force</maml:name> <maml:description> @@ -15575,8 +15575,8 @@ NextHopIpAddress : <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$Route = New-AzureRMRouteConfig -Name "route07" -AddressPrefix 10.1.0.0/16 -NextHopType VnetLocal -PS C:\&gt; New-AzureRMRouteTable -Name "routetable01" -ResourceGroupName "ResourceGroup11" -Location EASTUS -Route $Route + <dev:code>PS C:\&gt;$Route = New-AzureRmRouteConfig -Name "route07" -AddressPrefix 10.1.0.0/16 -NextHopType VnetLocal +PS C:\&gt; New-AzureRmRouteTable -Name "routetable01" -ResourceGroupName "ResourceGroup11" -Location EASTUS -Route $Route Name : routetable01 ResourceGroupName : ResourceGroup11 Location : eastus @@ -15600,7 +15600,7 @@ Routes : [ Subnets : [] </dev:code> <dev:remarks> - <maml:para>The first command creates a route named route07 by using the New-AzureRMRouteConfig cmdlet, and then stores it in the $Route variable. This route forwards packets to the local virtual network.</maml:para> + <maml:para>The first command creates a route named route07 by using the New-AzureRmRouteConfig cmdlet, and then stores it in the $Route variable. This route forwards packets to the local virtual network.</maml:para> <maml:para>The second command creates a route table named routetable01, and adds the route stored in $route to the new table. The command specifies the resource group to which the table belongs and the location for the table. </maml:para> <maml:para /> <maml:para /> @@ -15614,26 +15614,26 @@ Subnets : [] </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMRouteTable</maml:linkText> + <maml:linkText>Get-AzureRmRouteTable</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMRouteConfig</maml:linkText> + <maml:linkText>New-AzureRmRouteConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMRouteTable</maml:linkText> + <maml:linkText>Remove-AzureRmRouteTable</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMRouteTable</maml:linkText> + <maml:linkText>Set-AzureRmRouteTable</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMVirtualNetworkGatewayConnection</command:name> + <command:name>New-AzureRmVirtualNetworkGatewayConnection</command:name> <maml:description> <maml:para> </maml:para> @@ -15649,7 +15649,7 @@ Subnets : [] </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMVirtualNetworkGatewayConnection</maml:name> + <maml:name>New-AzureRmVirtualNetworkGatewayConnection</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Force</maml:name> <maml:description> @@ -15921,7 +15921,7 @@ Subnets : [] </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMVirtualNetworkGatewayIpConfig</command:name> + <command:name>New-AzureRmVirtualNetworkGatewayIpConfig</command:name> <maml:description> <maml:para> </maml:para> @@ -15937,7 +15937,7 @@ Subnets : [] </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMVirtualNetworkGatewayIpConfig</maml:name> + <maml:name>New-AzureRmVirtualNetworkGatewayIpConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>PrivateIpAddress</maml:name> <maml:description> @@ -15970,7 +15970,7 @@ Subnets : [] </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMVirtualNetworkGatewayIpConfig</maml:name> + <maml:name>New-AzureRmVirtualNetworkGatewayIpConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>PrivateIpAddress</maml:name> <maml:description> @@ -16141,7 +16141,7 @@ Subnets : [] </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMVirtualNetworkGateway</command:name> + <command:name>New-AzureRmVirtualNetworkGateway</command:name> <maml:description> <maml:para> </maml:para> @@ -16157,7 +16157,7 @@ Subnets : [] </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMVirtualNetworkGateway</maml:name> + <maml:name>New-AzureRmVirtualNetworkGateway</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="none"> <maml:name>EnableBgp</maml:name> <maml:description> @@ -16393,7 +16393,7 @@ Subnets : [] </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMVirtualNetworkSubnetConfig</command:name> + <command:name>New-AzureRmVirtualNetworkSubnetConfig</command:name> <maml:description> <maml:para>Creates a virtual network subnet configuration.</maml:para> </maml:description> @@ -16405,11 +16405,11 @@ Subnets : [] <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMVirtualNetworkSubnetConfig cmdlet creates a virtual network subnet configuration.</maml:para> + <maml:para>The New-AzureRmVirtualNetworkSubnetConfig cmdlet creates a virtual network subnet configuration.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMVirtualNetworkSubnetConfig</maml:name> + <maml:name>New-AzureRmVirtualNetworkSubnetConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="none"> <maml:name>NetworkSecurityGroup</maml:name> <maml:description> @@ -16448,7 +16448,7 @@ Subnets : [] </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMVirtualNetworkSubnetConfig</maml:name> + <maml:name>New-AzureRmVirtualNetworkSubnetConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="none"> <maml:name>NetworkSecurityGroupId</maml:name> <maml:description> @@ -16633,26 +16633,26 @@ Subnets : [] </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMVirtualNetworkSubnetConfig</maml:linkText> + <maml:linkText>Add-AzureRmVirtualNetworkSubnetConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMVirtualNetworkSubnetConfig</maml:linkText> + <maml:linkText>Get-AzureRmVirtualNetworkSubnetConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMVirtualNetworkSubnetConfig</maml:linkText> + <maml:linkText>Remove-AzureRmVirtualNetworkSubnetConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMVirtualNetworkSubnetConfig</maml:linkText> + <maml:linkText>Set-AzureRmVirtualNetworkSubnetConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMVirtualNetwork</command:name> + <command:name>New-AzureRmVirtualNetwork</command:name> <maml:description> <maml:para>Creates a virtual network.</maml:para> </maml:description> @@ -16664,11 +16664,11 @@ Subnets : [] <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMVirtualNetwork cmdlet creates an Azure virtual network.</maml:para> + <maml:para>The New-AzureRmVirtualNetwork cmdlet creates an Azure virtual network.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMVirtualNetwork</maml:name> + <maml:name>New-AzureRmVirtualNetwork</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="none"> <maml:name>AddressPrefix</maml:name> <maml:description> @@ -16901,22 +16901,22 @@ Subnets : [] </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMVirtualNetwork</maml:linkText> + <maml:linkText>Get-AzureRmVirtualNetwork</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMVirtualNetwork</maml:linkText> + <maml:linkText>Remove-AzureRmVirtualNetwork</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMVirtualNetwork</maml:linkText> + <maml:linkText>Set-AzureRmVirtualNetwork</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMApplicationGatewayBackendAddressPool</command:name> + <command:name>Remove-AzureRmApplicationGatewayBackendAddressPool</command:name> <maml:description> <maml:para>Removes a back-end address pool from an application gateway.</maml:para> </maml:description> @@ -16928,11 +16928,11 @@ Subnets : [] <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMApplicationGatewayBackendAddressPool cmdlet removes a back-end address pool from an Azure application gateway.</maml:para> + <maml:para>The Remove-AzureRmApplicationGatewayBackendAddressPool cmdlet removes a back-end address pool from an Azure application gateway.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMApplicationGatewayBackendAddressPool</maml:name> + <maml:name>Remove-AzureRmApplicationGatewayBackendAddressPool</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -17032,8 +17032,8 @@ Subnets : [] <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt; $AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; Remove-AzureRMApplicationGatewayBackendAddressPool -ApplicationGateway $AppGw -Name "BackEndPool02" + <dev:code>PS C:\&gt; $AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; Remove-AzureRmApplicationGatewayBackendAddressPool -ApplicationGateway $AppGw -Name "BackEndPool02" </dev:code> <dev:remarks> <maml:para>The first command gets the application gateway named ApplicationGateway01 belonging to the resource group named ResourceGroup01 and saves it in the $AppGw variable. The second command removes the back-end address pool named BackEndPool02 from the application gateway.</maml:para> @@ -17049,26 +17049,26 @@ PS C:\&gt; Remove-AzureRMApplicationGatewayBackendAddressPool -ApplicationGatewa </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMApplicationGatewayBackendAddressPool</maml:linkText> + <maml:linkText>Add-AzureRmApplicationGatewayBackendAddressPool</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewayBackendAddressPool</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewayBackendAddressPool</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayBackendAddressPool</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayBackendAddressPool</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewayBackendAddressPool</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewayBackendAddressPool</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMApplicationGatewayBackendHttpSettings</command:name> + <command:name>Remove-AzureRmApplicationGatewayBackendHttpSettings</command:name> <maml:description> <maml:para>Removes back-end HTTP settings from an application gateway.</maml:para> </maml:description> @@ -17080,11 +17080,11 @@ PS C:\&gt; Remove-AzureRMApplicationGatewayBackendAddressPool -ApplicationGatewa <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMApplicationGatewayBackendHttpSettings cmdlet removes back-end Hypertext Transfer Protocol (HTTP) settings from an Azure application gateway.</maml:para> + <maml:para>The Remove-AzureRmApplicationGatewayBackendHttpSettings cmdlet removes back-end Hypertext Transfer Protocol (HTTP) settings from an Azure application gateway.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMApplicationGatewayBackendHttpSettings</maml:name> + <maml:name>Remove-AzureRmApplicationGatewayBackendHttpSettings</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -17184,8 +17184,8 @@ PS C:\&gt; Remove-AzureRMApplicationGatewayBackendAddressPool -ApplicationGatewa <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt; $AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; Remove-AzureRMApplicationGatewayBackendHttpSettings -ApplicationGateway $AppGw -Name "BackEndSetting02" + <dev:code>PS C:\&gt; $AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; Remove-AzureRmApplicationGatewayBackendHttpSettings -ApplicationGateway $AppGw -Name "BackEndSetting02" </dev:code> <dev:remarks> <maml:para>The first command gets an application gateway named ApplicationGateway01 that belongs to the resource group named ResourceGroup01 and stores it in the $AppGw variable.</maml:para> @@ -17202,26 +17202,26 @@ PS C:\&gt; Remove-AzureRMApplicationGatewayBackendHttpSettings -ApplicationGatew </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMApplicationGatewayBackendHttpSettings</maml:linkText> + <maml:linkText>Add-AzureRmApplicationGatewayBackendHttpSettings</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayBackendHttpSettings</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayBackendHttpSettings</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewayBackendHttpSettings</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewayBackendHttpSettings</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewayBackendHttpSettings</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewayBackendHttpSettings</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMApplicationGatewayFrontendIPConfig</command:name> + <command:name>Remove-AzureRmApplicationGatewayFrontendIPConfig</command:name> <maml:description> <maml:para>Removes a front-end IP configuration from an application gateway.</maml:para> </maml:description> @@ -17233,11 +17233,11 @@ PS C:\&gt; Remove-AzureRMApplicationGatewayBackendHttpSettings -ApplicationGatew <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMApplicationGatewayFrontendIPConfig cmdlet removes frontend IP from an Azure application gateway.</maml:para> + <maml:para>The Remove-AzureRmApplicationGatewayFrontendIPConfig cmdlet removes frontend IP from an Azure application gateway.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMApplicationGatewayFrontendIPConfig</maml:name> + <maml:name>Remove-AzureRmApplicationGatewayFrontendIPConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -17337,8 +17337,8 @@ PS C:\&gt; Remove-AzureRMApplicationGatewayBackendHttpSettings -ApplicationGatew <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt; $AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; Remove-AzureRMApplicationGatewayFrontendIPConfig -ApplicationGateway $AppGw -Name "FrontEndIP02" + <dev:code>PS C:\&gt; $AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; Remove-AzureRmApplicationGatewayFrontendIPConfig -ApplicationGateway $AppGw -Name "FrontEndIP02" </dev:code> <dev:remarks> <maml:para>The first command gets an application gateway named ApplicationGateway01 and stores it in the $AppGw variable.</maml:para> @@ -17355,26 +17355,26 @@ PS C:\&gt; Remove-AzureRMApplicationGatewayFrontendIPConfig -ApplicationGateway </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMApplicationGatewayFrontendIPConfig</maml:linkText> + <maml:linkText>Add-AzureRmApplicationGatewayFrontendIPConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewayFrontendIPConfig</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewayFrontendIPConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayFrontendIPConfig</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayFrontendIPConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewayFrontendIPConfig</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewayFrontendIPConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMApplicationGatewayFrontendPort</command:name> + <command:name>Remove-AzureRmApplicationGatewayFrontendPort</command:name> <maml:description> <maml:para>Removes a front-end port from an application gateway.</maml:para> </maml:description> @@ -17386,11 +17386,11 @@ PS C:\&gt; Remove-AzureRMApplicationGatewayFrontendIPConfig -ApplicationGateway <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMApplicationGatewayFrontendPort cmdlet removes a front-end port from an Azure application gateway.</maml:para> + <maml:para>The Remove-AzureRmApplicationGatewayFrontendPort cmdlet removes a front-end port from an Azure application gateway.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMApplicationGatewayFrontendPort</maml:name> + <maml:name>Remove-AzureRmApplicationGatewayFrontendPort</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -17490,8 +17490,8 @@ PS C:\&gt; Remove-AzureRMApplicationGatewayFrontendIPConfig -ApplicationGateway <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; Remove-AzureRMApplicationGatewayFrontendPort -ApplicationGateway $ AppGw -Name "FrontEndPort02" + <dev:code>PS C:\&gt;$AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; Remove-AzureRmApplicationGatewayFrontendPort -ApplicationGateway $ AppGw -Name "FrontEndPort02" </dev:code> <dev:remarks> <maml:para>The first command gets an application gateway named ApplicationGateway01 that belongs to the resource group named ResourceGroup01 and stores the gateway in $AppGw variable.</maml:para> @@ -17508,26 +17508,26 @@ PS C:\&gt; Remove-AzureRMApplicationGatewayFrontendPort -ApplicationGateway $ Ap </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMApplicationGatewayFrontendPort</maml:linkText> + <maml:linkText>Add-AzureRmApplicationGatewayFrontendPort</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewayFrontendPort</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewayFrontendPort</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayFrontendPort</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayFrontendPort</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewayFrontendPort</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewayFrontendPort</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMApplicationGatewayHttpListener</command:name> + <command:name>Remove-AzureRmApplicationGatewayHttpListener</command:name> <maml:description> <maml:para>Removes an HTTP listener from an application gateway.</maml:para> </maml:description> @@ -17539,11 +17539,11 @@ PS C:\&gt; Remove-AzureRMApplicationGatewayFrontendPort -ApplicationGateway $ Ap <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMApplicationGatewayHttpListener cmdlet removes an HTTP listener from an Azureapplication gateway.</maml:para> + <maml:para>The Remove-AzureRmApplicationGatewayHttpListener cmdlet removes an HTTP listener from an Azureapplication gateway.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMApplicationGatewayHttpListener</maml:name> + <maml:name>Remove-AzureRmApplicationGatewayHttpListener</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -17643,8 +17643,8 @@ PS C:\&gt; Remove-AzureRMApplicationGatewayFrontendPort -ApplicationGateway $ Ap <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; Remove-AzureRMApplicationGatewayHttpListener -ApplicationGateway $AppGw -Name "Listener02" + <dev:code>PS C:\&gt;$AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; Remove-AzureRmApplicationGatewayHttpListener -ApplicationGateway $AppGw -Name "Listener02" </dev:code> <dev:remarks> <maml:para>The first command gets an application gateway and stores it in the $AppGw variable.</maml:para> @@ -17661,26 +17661,26 @@ PS C:\&gt; Remove-AzureRMApplicationGatewayHttpListener -ApplicationGateway $App </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMApplicationGatewayHttpListener</maml:linkText> + <maml:linkText>Add-AzureRmApplicationGatewayHttpListener</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewayHttpListener</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewayHttpListener</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayHttpListener</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayHttpListener</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewayHttpListener</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewayHttpListener</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMApplicationGatewayIPConfiguration</command:name> + <command:name>Remove-AzureRmApplicationGatewayIPConfiguration</command:name> <maml:description> <maml:para>Removes an IP configuration from an application gateway.</maml:para> </maml:description> @@ -17692,11 +17692,11 @@ PS C:\&gt; Remove-AzureRMApplicationGatewayHttpListener -ApplicationGateway $App <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMApplicationGatewayIPConfiguration cmdlet removes an IP configuration from an Azure application gateway.</maml:para> + <maml:para>The Remove-AzureRmApplicationGatewayIPConfiguration cmdlet removes an IP configuration from an Azure application gateway.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMApplicationGatewayIPConfiguration</maml:name> + <maml:name>Remove-AzureRmApplicationGatewayIPConfiguration</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -17796,8 +17796,8 @@ PS C:\&gt; Remove-AzureRMApplicationGatewayHttpListener -ApplicationGateway $App <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; Remove-AzureRMApplicationGatewayIPConfiguration -ApplicationGateway $AppGw -Name "Subnet02" + <dev:code>PS C:\&gt;$AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; Remove-AzureRmApplicationGatewayIPConfiguration -ApplicationGateway $AppGw -Name "Subnet02" </dev:code> <dev:remarks> <maml:para>The first command gets an application gateway and stores it in the $AppGw variable.</maml:para> @@ -17814,26 +17814,26 @@ PS C:\&gt; Remove-AzureRMApplicationGatewayIPConfiguration -ApplicationGateway $ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMApplicationGatewayIPConfiguration</maml:linkText> + <maml:linkText>Add-AzureRmApplicationGatewayIPConfiguration</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewayIPConfiguration</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewayIPConfiguration</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayIPConfiguration</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayIPConfiguration</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewayIPConfiguration</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewayIPConfiguration</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMApplicationGatewayRequestRoutingRule</command:name> + <command:name>Remove-AzureRmApplicationGatewayRequestRoutingRule</command:name> <maml:description> <maml:para>Removes a request routing rule from an application gateway.</maml:para> </maml:description> @@ -17845,11 +17845,11 @@ PS C:\&gt; Remove-AzureRMApplicationGatewayIPConfiguration -ApplicationGateway $ <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMApplicationGatewayRequestRoutingRule cmdlet removes a request routing rule from an Azure application gateway.</maml:para> + <maml:para>The Remove-AzureRmApplicationGatewayRequestRoutingRule cmdlet removes a request routing rule from an Azure application gateway.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMApplicationGatewayRequestRoutingRule</maml:name> + <maml:name>Remove-AzureRmApplicationGatewayRequestRoutingRule</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -17949,8 +17949,8 @@ PS C:\&gt; Remove-AzureRMApplicationGatewayIPConfiguration -ApplicationGateway $ <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; Remove-AzureRMApplicationGatewayRequestRoutingRule -ApplicationGateway $AppGw -Name "Rule02" + <dev:code>PS C:\&gt;$AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; Remove-AzureRmApplicationGatewayRequestRoutingRule -ApplicationGateway $AppGw -Name "Rule02" </dev:code> <dev:remarks> <maml:para>The first command gets an application gateway and stores it in the $AppGw variable.</maml:para> @@ -17967,26 +17967,26 @@ PS C:\&gt; Remove-AzureRMApplicationGatewayRequestRoutingRule -ApplicationGatewa </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMApplicationGatewayRequestRoutingRule</maml:linkText> + <maml:linkText>Add-AzureRmApplicationGatewayRequestRoutingRule</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewayRequestRoutingRule</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewayRequestRoutingRule</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayRequestRoutingRule</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayRequestRoutingRule</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewayRequestRoutingRule</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewayRequestRoutingRule</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMApplicationGatewaySslCertificate</command:name> + <command:name>Remove-AzureRmApplicationGatewaySslCertificate</command:name> <maml:description> <maml:para>Removes an SSL certificate from an Azure application gateway.</maml:para> </maml:description> @@ -17998,11 +17998,11 @@ PS C:\&gt; Remove-AzureRMApplicationGatewayRequestRoutingRule -ApplicationGatewa <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMApplicationGatewaySslCertificate cmdlet removes a Secure Sockets Layer (SSL) certificate from an Azure application gateway.</maml:para> + <maml:para>The Remove-AzureRmApplicationGatewaySslCertificate cmdlet removes a Secure Sockets Layer (SSL) certificate from an Azure application gateway.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMApplicationGatewaySslCertificate</maml:name> + <maml:name>Remove-AzureRmApplicationGatewaySslCertificate</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -18102,8 +18102,8 @@ PS C:\&gt; Remove-AzureRMApplicationGatewayRequestRoutingRule -ApplicationGatewa <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$AppGW = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; Remove-AzureRMApplicationGatewaySslCertificate -ApplicationGateway $AppGW -Name "Cert02" + <dev:code>PS C:\&gt;$AppGW = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; Remove-AzureRmApplicationGatewaySslCertificate -ApplicationGateway $AppGW -Name "Cert02" </dev:code> <dev:remarks> <maml:para>This command removes the SSL certificate named Cert02 from the application gateway named ApplicationGateway01.</maml:para> @@ -18119,26 +18119,26 @@ PS C:\&gt; Remove-AzureRMApplicationGatewaySslCertificate -ApplicationGateway $A </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMApplicationGatewaySslCertificate</maml:linkText> + <maml:linkText>Add-AzureRmApplicationGatewaySslCertificate</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewaySslCertificate</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewaySslCertificate</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewaySslCertificate</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewaySslCertificate</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGatewaySslCertificate</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGatewaySslCertificate</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMApplicationGateway</command:name> + <command:name>Remove-AzureRmApplicationGateway</command:name> <maml:description> <maml:para>Removes an application gateway.</maml:para> </maml:description> @@ -18150,11 +18150,11 @@ PS C:\&gt; Remove-AzureRMApplicationGatewaySslCertificate -ApplicationGateway $A <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMApplicationGateway cmdlet removes an application gateway.</maml:para> + <maml:para>The Remove-AzureRmApplicationGateway cmdlet removes an application gateway.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMApplicationGateway</maml:name> + <maml:name>Remove-AzureRmApplicationGateway</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="none"> <maml:name>Force</maml:name> <maml:description> @@ -18290,7 +18290,7 @@ PS C:\&gt; Remove-AzureRMApplicationGatewaySslCertificate -ApplicationGateway $A <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt; Remove-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" + <dev:code>PS C:\&gt; Remove-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" </dev:code> <dev:remarks> <maml:para>This command removes the application gateway named ApplicationGateway01 in the resource group named ResourceGroup01.</maml:para> @@ -18306,14 +18306,14 @@ PS C:\&gt; Remove-AzureRMApplicationGatewaySslCertificate -ApplicationGateway $A </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Set-AzureRMApplicationGateway</maml:linkText> + <maml:linkText>Set-AzureRmApplicationGateway</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMLoadBalancerBackendAddressPoolConfig</command:name> + <command:name>Remove-AzureRmLoadBalancerBackendAddressPoolConfig</command:name> <maml:description> <maml:para>Removes a backend address pool configuration from a load balancer.</maml:para> </maml:description> @@ -18325,11 +18325,11 @@ PS C:\&gt; Remove-AzureRMApplicationGatewaySslCertificate -ApplicationGateway $A <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMLoadBalancerBackendAddressPoolConfig cmdlet removes a backend address pool from a load balancer.</maml:para> + <maml:para>The Remove-AzureRmLoadBalancerBackendAddressPoolConfig cmdlet removes a backend address pool from a load balancer.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMLoadBalancerBackendAddressPoolConfig</maml:name> + <maml:name>Remove-AzureRmLoadBalancerBackendAddressPoolConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:description> @@ -18449,22 +18449,22 @@ PS C:\&gt; Remove-AzureRMApplicationGatewaySslCertificate -ApplicationGateway $A </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMLoadBalancerBackendAddressPoolConfig</maml:linkText> + <maml:linkText>Add-AzureRmLoadBalancerBackendAddressPoolConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMLoadBalancerBackendAddressPoolConfig</maml:linkText> + <maml:linkText>Get-AzureRmLoadBalancerBackendAddressPoolConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMLoadBalancerBackendAddressPoolConfig</maml:linkText> + <maml:linkText>New-AzureRmLoadBalancerBackendAddressPoolConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMLoadBalancerFrontendIpConfig</command:name> + <command:name>Remove-AzureRmLoadBalancerFrontendIpConfig</command:name> <maml:description> <maml:para>Removes a front-end IP configuration from a load balancer.</maml:para> </maml:description> @@ -18476,11 +18476,11 @@ PS C:\&gt; Remove-AzureRMApplicationGatewaySslCertificate -ApplicationGateway $A <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMLoadBalancerFrontendIpConfig cmdlet removes a front-end IP configuration from an Azure load balancer.</maml:para> + <maml:para>The Remove-AzureRmLoadBalancerFrontendIpConfig cmdlet removes a front-end IP configuration from an Azure load balancer.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMLoadBalancerFrontendIpConfig</maml:name> + <maml:name>Remove-AzureRmLoadBalancerFrontendIpConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:description> @@ -18600,26 +18600,26 @@ PS C:\&gt; Remove-AzureRMApplicationGatewaySslCertificate -ApplicationGateway $A </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMLoadBalancerFrontendIpConfig</maml:linkText> + <maml:linkText>Add-AzureRmLoadBalancerFrontendIpConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMLoadBalancerFrontendIpConfig</maml:linkText> + <maml:linkText>Get-AzureRmLoadBalancerFrontendIpConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMLoadBalancerFrontendIpConfig</maml:linkText> + <maml:linkText>New-AzureRmLoadBalancerFrontendIpConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMLoadBalancerFrontendIpConfig</maml:linkText> + <maml:linkText>Set-AzureRmLoadBalancerFrontendIpConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMLoadBalancerInboundNatRuleConfig</command:name> + <command:name>Remove-AzureRmLoadBalancerInboundNatRuleConfig</command:name> <maml:description> <maml:para>Removes an inbound NAT rule configuration from a load balancer.</maml:para> </maml:description> @@ -18631,11 +18631,11 @@ PS C:\&gt; Remove-AzureRMApplicationGatewaySslCertificate -ApplicationGateway $A <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMLoadBalancerInboundNatRuleConfig cmdlet removes an inbound network address translation (NAT) rule configuration from an Azure load balancer.</maml:para> + <maml:para>The Remove-AzureRmLoadBalancerInboundNatRuleConfig cmdlet removes an inbound network address translation (NAT) rule configuration from an Azure load balancer.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMLoadBalancerInboundNatRuleConfig</maml:name> + <maml:name>Remove-AzureRmLoadBalancerInboundNatRuleConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:description> @@ -18755,26 +18755,26 @@ PS C:\&gt; Remove-AzureRMApplicationGatewaySslCertificate -ApplicationGateway $A </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMLoadBalancerInboundNatRuleConfig</maml:linkText> + <maml:linkText>Add-AzureRmLoadBalancerInboundNatRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMLoadBalancerInboundNatRuleConfig</maml:linkText> + <maml:linkText>Get-AzureRmLoadBalancerInboundNatRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMLoadBalancerInboundNatRuleConfig</maml:linkText> + <maml:linkText>New-AzureRmLoadBalancerInboundNatRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMLoadBalancerInboundNatRuleConfig</maml:linkText> + <maml:linkText>Set-AzureRmLoadBalancerInboundNatRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMLoadBalancerProbeConfig</command:name> + <command:name>Remove-AzureRmLoadBalancerProbeConfig</command:name> <maml:description> <maml:para>Removes a probe configuration from a load balancer.</maml:para> </maml:description> @@ -18786,11 +18786,11 @@ PS C:\&gt; Remove-AzureRMApplicationGatewaySslCertificate -ApplicationGateway $A <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMLoadBalancerProbeConfig cmdlet removes a probe configuration from a load balancer.</maml:para> + <maml:para>The Remove-AzureRmLoadBalancerProbeConfig cmdlet removes a probe configuration from a load balancer.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMLoadBalancerProbeConfig</maml:name> + <maml:name>Remove-AzureRmLoadBalancerProbeConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:description> @@ -18910,26 +18910,26 @@ PS C:\&gt; Remove-AzureRMApplicationGatewaySslCertificate -ApplicationGateway $A </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMLoadBalancerProbeConfig</maml:linkText> + <maml:linkText>Add-AzureRmLoadBalancerProbeConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMLoadBalancerProbeConfig</maml:linkText> + <maml:linkText>Get-AzureRmLoadBalancerProbeConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMLoadBalancerProbeConfig</maml:linkText> + <maml:linkText>New-AzureRmLoadBalancerProbeConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMLoadBalancerProbeConfig</maml:linkText> + <maml:linkText>Set-AzureRmLoadBalancerProbeConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMLoadBalancerRuleConfig</command:name> + <command:name>Remove-AzureRmLoadBalancerRuleConfig</command:name> <maml:description> <maml:para>Removes a rule configuration for a load balancer.</maml:para> </maml:description> @@ -18941,11 +18941,11 @@ PS C:\&gt; Remove-AzureRMApplicationGatewaySslCertificate -ApplicationGateway $A <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMLoadBalancerRuleConfig cmdlet removes a rule configuration for an Azure load balancer.</maml:para> + <maml:para>The Remove-AzureRmLoadBalancerRuleConfig cmdlet removes a rule configuration for an Azure load balancer.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMLoadBalancerRuleConfig</maml:name> + <maml:name>Remove-AzureRmLoadBalancerRuleConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:description> @@ -19065,26 +19065,26 @@ PS C:\&gt; Remove-AzureRMApplicationGatewaySslCertificate -ApplicationGateway $A </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMLoadBalancerRuleConfig</maml:linkText> + <maml:linkText>Add-AzureRmLoadBalancerRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMLoadBalancerRuleConfig</maml:linkText> + <maml:linkText>Get-AzureRmLoadBalancerRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMLoadBalancerRuleConfig</maml:linkText> + <maml:linkText>New-AzureRmLoadBalancerRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMLoadBalancerRuleConfig</maml:linkText> + <maml:linkText>Set-AzureRmLoadBalancerRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMLoadBalancer</command:name> + <command:name>Remove-AzureRmLoadBalancer</command:name> <maml:description> <maml:para>Removes a load balancer.</maml:para> </maml:description> @@ -19096,11 +19096,11 @@ PS C:\&gt; Remove-AzureRMApplicationGatewaySslCertificate -ApplicationGateway $A <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMLoadBalancer cmdlet removes an Azure load balancer.</maml:para> + <maml:para>The Remove-AzureRmLoadBalancer cmdlet removes an Azure load balancer.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMLoadBalancer</maml:name> + <maml:name>Remove-AzureRmLoadBalancer</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="none"> <maml:name>Force</maml:name> <maml:description> @@ -19256,22 +19256,22 @@ PS C:\&gt; Remove-AzureRMApplicationGatewaySslCertificate -ApplicationGateway $A </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMLoadBalancer</maml:linkText> + <maml:linkText>Get-AzureRmLoadBalancer</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMLoadBalancer</maml:linkText> + <maml:linkText>New-AzureRmLoadBalancer</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMLoadBalancer</maml:linkText> + <maml:linkText>Set-AzureRmLoadBalancer</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMLocalNetworkGateway</command:name> + <command:name>Remove-AzureRmLocalNetworkGateway</command:name> <maml:description> <maml:para> </maml:para> @@ -19287,7 +19287,7 @@ PS C:\&gt; Remove-AzureRMApplicationGatewaySslCertificate -ApplicationGateway $A </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMLocalNetworkGateway</maml:name> + <maml:name>Remove-AzureRmLocalNetworkGateway</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Force</maml:name> <maml:description> @@ -19434,7 +19434,7 @@ PS C:\&gt; Remove-AzureRMApplicationGatewaySslCertificate -ApplicationGateway $A </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMNetworkInterface</command:name> + <command:name>Remove-AzureRmNetworkInterface</command:name> <maml:description> <maml:para>Removes a network interface.</maml:para> </maml:description> @@ -19446,11 +19446,11 @@ PS C:\&gt; Remove-AzureRMApplicationGatewaySslCertificate -ApplicationGateway $A <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMNetworkInterface cmdlet removes an Azure network interface.</maml:para> + <maml:para>The Remove-AzureRmNetworkInterface cmdlet removes an Azure network interface.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMNetworkInterface</maml:name> + <maml:name>Remove-AzureRmNetworkInterface</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Force</maml:name> <maml:description> @@ -19606,22 +19606,22 @@ PS C:\&gt; Remove-AzureRMApplicationGatewaySslCertificate -ApplicationGateway $A </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMNetworkInterface</maml:linkText> + <maml:linkText>Get-AzureRmNetworkInterface</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMNetworkInterface</maml:linkText> + <maml:linkText>New-AzureRmNetworkInterface</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMNetworkInterface</maml:linkText> + <maml:linkText>Set-AzureRmNetworkInterface</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMNetworkSecurityGroup</command:name> + <command:name>Remove-AzureRmNetworkSecurityGroup</command:name> <maml:description> <maml:para>Removes a network security group.</maml:para> </maml:description> @@ -19633,11 +19633,11 @@ PS C:\&gt; Remove-AzureRMApplicationGatewaySslCertificate -ApplicationGateway $A <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMNetworkSecurityGroup cmdlet removes an Azure network security group.</maml:para> + <maml:para>The Remove-AzureRmNetworkSecurityGroup cmdlet removes an Azure network security group.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMNetworkSecurityGroup</maml:name> + <maml:name>Remove-AzureRmNetworkSecurityGroup</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Force</maml:name> <maml:description> @@ -19793,22 +19793,22 @@ PS C:\&gt; Remove-AzureRMApplicationGatewaySslCertificate -ApplicationGateway $A </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMNetworkSecurityGroup</maml:linkText> + <maml:linkText>Get-AzureRmNetworkSecurityGroup</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMNetworkSecurityGroup</maml:linkText> + <maml:linkText>New-AzureRmNetworkSecurityGroup</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMNetworkSecurityGroup</maml:linkText> + <maml:linkText>Set-AzureRmNetworkSecurityGroup</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMNetworkSecurityRuleConfig</command:name> + <command:name>Remove-AzureRmNetworkSecurityRuleConfig</command:name> <maml:description> <maml:para>Removes a network security rule from a network security group.</maml:para> </maml:description> @@ -19820,11 +19820,11 @@ PS C:\&gt; Remove-AzureRMApplicationGatewaySslCertificate -ApplicationGateway $A <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMNetworkSecurityRuleConfig cmdlet removes a network security rule configuration from an Azure network security group.</maml:para> + <maml:para>The Remove-AzureRmNetworkSecurityRuleConfig cmdlet removes a network security rule configuration from an Azure network security group.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMNetworkSecurityRuleConfig</maml:name> + <maml:name>Remove-AzureRmNetworkSecurityRuleConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:description> @@ -19944,26 +19944,26 @@ PS C:\&gt; Remove-AzureRMApplicationGatewaySslCertificate -ApplicationGateway $A </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMNetworkSecurityRuleConfig</maml:linkText> + <maml:linkText>Add-AzureRmNetworkSecurityRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMNetworkSecurityRuleConfig</maml:linkText> + <maml:linkText>Get-AzureRmNetworkSecurityRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMNetworkSecurityRuleConfig</maml:linkText> + <maml:linkText>New-AzureRmNetworkSecurityRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMNetworkSecurityRuleConfig</maml:linkText> + <maml:linkText>Set-AzureRmNetworkSecurityRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMPublicIpAddress</command:name> + <command:name>Remove-AzureRmPublicIpAddress</command:name> <maml:description> <maml:para>Removes a public IP address.</maml:para> </maml:description> @@ -19975,11 +19975,11 @@ PS C:\&gt; Remove-AzureRMApplicationGatewaySslCertificate -ApplicationGateway $A <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMPublicIpAddress cmdlet removes an Azure public IP address.</maml:para> + <maml:para>The Remove-AzureRmPublicIpAddress cmdlet removes an Azure public IP address.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMPublicIpAddress</maml:name> + <maml:name>Remove-AzureRmPublicIpAddress</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Force</maml:name> <maml:description> @@ -20135,22 +20135,22 @@ PS C:\&gt; Remove-AzureRMApplicationGatewaySslCertificate -ApplicationGateway $A </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMPublicIpAddress</maml:linkText> + <maml:linkText>Get-AzureRmPublicIpAddress</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMPublicIpAddress</maml:linkText> + <maml:linkText>New-AzureRmPublicIpAddress</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMPublicIpAddress</maml:linkText> + <maml:linkText>Set-AzureRmPublicIpAddress</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMRouteConfig</command:name> + <command:name>Remove-AzureRmRouteConfig</command:name> <maml:description> <maml:para>Removes a route from a route table.</maml:para> </maml:description> @@ -20162,11 +20162,11 @@ PS C:\&gt; Remove-AzureRMApplicationGatewaySslCertificate -ApplicationGateway $A <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMRouteConfig cmdlet removes a route from an Azure route table. </maml:para> + <maml:para>The Remove-AzureRmRouteConfig cmdlet removes a route from an Azure route table. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMRouteConfig</maml:name> + <maml:name>Remove-AzureRmRouteConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -20271,7 +20271,7 @@ PS C:\&gt; Remove-AzureRMApplicationGatewaySslCertificate -ApplicationGateway $A <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMRouteTable -ResourceGroupName "ResourceGroup11" -Name "routetable01" | Remove-AzureRMRouteConfig -Name "route02" | Set-AzureRMRouteTable + <dev:code>PS C:\&gt;Get-AzureRmRouteTable -ResourceGroupName "ResourceGroup11" -Name "routetable01" | Remove-AzureRmRouteConfig -Name "route02" | Set-AzureRmRouteTable Name : routetable01 ResourceGroupName : ResourceGroup11 Location : eastus @@ -20295,8 +20295,8 @@ Routes : [ Subnets : [] </dev:code> <dev:remarks> - <maml:para>This command gets the route table named routetable01 by using the Get-AzureRMRouteTable cmdlet. The command passes that table to the current cmdlet by using the pipeline operator.</maml:para> - <maml:para>The current cmdlet remove the route named route02, and the passes the result to the Set-AzureRMRouteTable cmdlet, which updates the table to reflect your changes. The table no longer contains the route named route02.</maml:para> + <maml:para>This command gets the route table named routetable01 by using the Get-AzureRmRouteTable cmdlet. The command passes that table to the current cmdlet by using the pipeline operator.</maml:para> + <maml:para>The current cmdlet remove the route named route02, and the passes the result to the Set-AzureRmRouteTable cmdlet, which updates the table to reflect your changes. The table no longer contains the route named route02.</maml:para> <maml:para /> <maml:para /> </dev:remarks> @@ -20309,26 +20309,26 @@ Subnets : [] </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMRouteConfig</maml:linkText> + <maml:linkText>Add-AzureRmRouteConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMRouteConfig</maml:linkText> + <maml:linkText>Get-AzureRmRouteConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMRouteConfig</maml:linkText> + <maml:linkText>New-AzureRmRouteConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMRouteConfig</maml:linkText> + <maml:linkText>Set-AzureRmRouteConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMRouteTable</command:name> + <command:name>Remove-AzureRmRouteTable</command:name> <maml:description> <maml:para>Removes a route table.</maml:para> </maml:description> @@ -20340,11 +20340,11 @@ Subnets : [] <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMRouteTable cmdlet removes an Azure route table. </maml:para> + <maml:para>The Remove-AzureRmRouteTable cmdlet removes an Azure route table. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMRouteTable</maml:name> + <maml:name>Remove-AzureRmRouteTable</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Force</maml:name> <maml:description> @@ -20485,7 +20485,7 @@ Subnets : [] <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Remove-AzureRMRouteTable -ResourceGroupName "ResourceGroup11 -Name "routetable01" + <dev:code>PS C:\&gt;Remove-AzureRmRouteTable -ResourceGroupName "ResourceGroup11 -Name "routetable01" Confirm Are you sure you want to remove resource 'routetable01' [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y @@ -20504,22 +20504,22 @@ Are you sure you want to remove resource 'routetable01' </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMRouteTable</maml:linkText> + <maml:linkText>Get-AzureRmRouteTable</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMRouteTable</maml:linkText> + <maml:linkText>New-AzureRmRouteTable</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMRouteTable</maml:linkText> + <maml:linkText>Set-AzureRmRouteTable</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMVirtualNetworkGatewayConnection</command:name> + <command:name>Remove-AzureRmVirtualNetworkGatewayConnection</command:name> <maml:description> <maml:para> </maml:para> @@ -20535,7 +20535,7 @@ Are you sure you want to remove resource 'routetable01' </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMVirtualNetworkGatewayConnection</maml:name> + <maml:name>Remove-AzureRmVirtualNetworkGatewayConnection</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Force</maml:name> <maml:description> @@ -20682,7 +20682,7 @@ Are you sure you want to remove resource 'routetable01' </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMVirtualNetworkGateway</command:name> + <command:name>Remove-AzureRmVirtualNetworkGateway</command:name> <maml:description> <maml:para> </maml:para> @@ -20698,7 +20698,7 @@ Are you sure you want to remove resource 'routetable01' </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMVirtualNetworkGateway</maml:name> + <maml:name>Remove-AzureRmVirtualNetworkGateway</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Force</maml:name> <maml:description> @@ -20845,7 +20845,7 @@ Are you sure you want to remove resource 'routetable01' </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMVirtualNetworkSubnetConfig</command:name> + <command:name>Remove-AzureRmVirtualNetworkSubnetConfig</command:name> <maml:description> <maml:para>Removes a subnet configuration from a virtual network.</maml:para> </maml:description> @@ -20857,11 +20857,11 @@ Are you sure you want to remove resource 'routetable01' <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMVirtualNetworkSubnetConfig cmdlet removes a subnet from an Azure virtual network.</maml:para> + <maml:para>The Remove-AzureRmVirtualNetworkSubnetConfig cmdlet removes a subnet from an Azure virtual network.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMVirtualNetworkSubnetConfig</maml:name> + <maml:name>Remove-AzureRmVirtualNetworkSubnetConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:description> @@ -20979,26 +20979,26 @@ Are you sure you want to remove resource 'routetable01' </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMVirtualNetworkSubnetConfig</maml:linkText> + <maml:linkText>Add-AzureRmVirtualNetworkSubnetConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMVirtualNetworkSubnetConfig</maml:linkText> + <maml:linkText>Get-AzureRmVirtualNetworkSubnetConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMVirtualNetworkSubnetConfig</maml:linkText> + <maml:linkText>New-AzureRmVirtualNetworkSubnetConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMVirtualNetworkSubnetConfig</maml:linkText> + <maml:linkText>Set-AzureRmVirtualNetworkSubnetConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMVirtualNetwork</command:name> + <command:name>Remove-AzureRmVirtualNetwork</command:name> <maml:description> <maml:para>Removes a virtual network.</maml:para> </maml:description> @@ -21010,11 +21010,11 @@ Are you sure you want to remove resource 'routetable01' <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMVirtualNetwork cmdlet removes an Azure virtual network.</maml:para> + <maml:para>The Remove-AzureRmVirtualNetwork cmdlet removes an Azure virtual network.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMVirtualNetwork</maml:name> + <maml:name>Remove-AzureRmVirtualNetwork</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Force</maml:name> <maml:description> @@ -21170,22 +21170,22 @@ Are you sure you want to remove resource 'routetable01' </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMVirtualNetwork</maml:linkText> + <maml:linkText>Get-AzureRmVirtualNetwork</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMVirtualNetwork</maml:linkText> + <maml:linkText>New-AzureRmVirtualNetwork</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMVirtualNetwork</maml:linkText> + <maml:linkText>Set-AzureRmVirtualNetwork</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Reset-AzureRMVirtualNetworkGatewayConnectionSharedKey</command:name> + <command:name>Reset-AzureRmVirtualNetworkGatewayConnectionSharedKey</command:name> <maml:description> <maml:para> </maml:para> @@ -21201,7 +21201,7 @@ Are you sure you want to remove resource 'routetable01' </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Reset-AzureRMVirtualNetworkGatewayConnectionSharedKey</maml:name> + <maml:name>Reset-AzureRmVirtualNetworkGatewayConnectionSharedKey</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Force</maml:name> <maml:description> @@ -21349,7 +21349,7 @@ Are you sure you want to remove resource 'routetable01' </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Reset-AzureRMVirtualNetworkGateway</command:name> + <command:name>Reset-AzureRmVirtualNetworkGateway</command:name> <maml:description> <maml:para> </maml:para> @@ -21365,7 +21365,7 @@ Are you sure you want to remove resource 'routetable01' </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Reset-AzureRMVirtualNetworkGateway</maml:name> + <maml:name>Reset-AzureRmVirtualNetworkGateway</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -21463,7 +21463,7 @@ Are you sure you want to remove resource 'routetable01' </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMApplicationGatewayBackendAddressPool</command:name> + <command:name>Set-AzureRmApplicationGatewayBackendAddressPool</command:name> <maml:description> <maml:para>Updates a back-end address pool for an application gateway.</maml:para> </maml:description> @@ -21475,11 +21475,11 @@ Are you sure you want to remove resource 'routetable01' <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMApplicationGatewayBackendAddressPool cmdlet updates a back-end address pool for an Azure application gateway. Back-end addresses can be specified as IP addresses, fully-qualified domain names (FQDN) or IP configurations IDs.</maml:para> + <maml:para>The Set-AzureRmApplicationGatewayBackendAddressPool cmdlet updates a back-end address pool for an Azure application gateway. Back-end addresses can be specified as IP addresses, fully-qualified domain names (FQDN) or IP configurations IDs.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMApplicationGatewayBackendAddressPool</maml:name> + <maml:name>Set-AzureRmApplicationGatewayBackendAddressPool</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>BackendIPConfigurationIds</maml:name> <maml:description> @@ -21510,7 +21510,7 @@ Are you sure you want to remove resource 'routetable01' </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMApplicationGatewayBackendAddressPool</maml:name> + <maml:name>Set-AzureRmApplicationGatewayBackendAddressPool</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>BackendIPAddresses</maml:name> <maml:description> @@ -21541,7 +21541,7 @@ Are you sure you want to remove resource 'routetable01' </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMApplicationGatewayBackendAddressPool</maml:name> + <maml:name>Set-AzureRmApplicationGatewayBackendAddressPool</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>BackendFqdns</maml:name> <maml:description> @@ -21683,8 +21683,8 @@ Are you sure you want to remove resource 'routetable01' <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayBackendAddressPool -ApplicationGateway $ AppGw + <dev:code>PS C:\&gt;$AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $AppGw = Set-AzureRmApplicationGatewayBackendAddressPool -ApplicationGateway $ AppGw -Name "Pool02" -BackendFqdns "contoso1.com", "contoso2.com" </dev:code> @@ -21706,8 +21706,8 @@ PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayBackendAddressPool -Application <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayBackendAddressPool -ApplicationGateway $ AppGw + <dev:code>PS C:\&gt;$AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $AppGw = Set-AzureRmApplicationGatewayBackendAddressPool -ApplicationGateway $ AppGw -Name "Pool02" -BackendIPAddresses "10.10.10.10", "10.10.10.11" </dev:code> <dev:remarks> @@ -21728,10 +21728,10 @@ PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayBackendAddressPool -Application <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$Nic01 = Get-AzureRMNetworkInterface -Name "Nic01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $Nic02 = Get-AzureRMNetworkInterface -Name "Nic02" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayBackendAddressPool -ApplicationGateway $ AppGw + <dev:code>PS C:\&gt;$Nic01 = Get-AzureRmNetworkInterface -Name "Nic01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $Nic02 = Get-AzureRmNetworkInterface -Name "Nic02" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $AppGw = Set-AzureRmApplicationGatewayBackendAddressPool -ApplicationGateway $ AppGw -Name "Pool02" -BackendIPConfigurationIds $nic01.Properties.IpConfigurations[0].Id, $nic02.Properties.IpConfiguration[0].Id </dev:code> <dev:remarks> @@ -21751,30 +21751,30 @@ PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayBackendAddressPool -Application </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMApplicationGatewayBackendAddressPool</maml:linkText> + <maml:linkText>Add-AzureRmApplicationGatewayBackendAddressPool</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewayBackendAddressPool</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewayBackendAddressPool</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMNetworkInterface</maml:linkText> + <maml:linkText>Get-AzureRmNetworkInterface</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayBackendAddressPool</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayBackendAddressPool</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMApplicationGatewayBackendAddressPool</maml:linkText> + <maml:linkText>Remove-AzureRmApplicationGatewayBackendAddressPool</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMApplicationGatewayBackendHttpSettings</command:name> + <command:name>Set-AzureRmApplicationGatewayBackendHttpSettings</command:name> <maml:description> <maml:para>Updates back-end HTTP settings for an application gateway.</maml:para> </maml:description> @@ -21786,11 +21786,11 @@ PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayBackendAddressPool -Application <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMApplicationGatewayBackendHttpSettings cmdlet updates the back-end Hypertext Transfer Protocol (HTTP) settings for an Azure application gateway. Back-end HTTP settings are applied to all back-end servers in a pool.</maml:para> + <maml:para>The Set-AzureRmApplicationGatewayBackendHttpSettings cmdlet updates the back-end Hypertext Transfer Protocol (HTTP) settings for an Azure application gateway. Back-end HTTP settings are applied to all back-end servers in a pool.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMApplicationGatewayBackendHttpSettings</maml:name> + <maml:name>Set-AzureRmApplicationGatewayBackendHttpSettings</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -21949,8 +21949,8 @@ PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayBackendAddressPool -Application <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt; $AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayBackendHttpSettings -ApplicationGateway $AppGw + <dev:code>PS C:\&gt; $AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $AppGw = Set-AzureRmApplicationGatewayBackendHttpSettings -ApplicationGateway $AppGw -Name "Setting02" -Port 88 -Protocol "Http" -CookieBasedAffinity "Disabled" </dev:code> @@ -21969,26 +21969,26 @@ PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayBackendHttpSettings -Applicatio </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMApplicationGatewayBackendHttpSettings</maml:linkText> + <maml:linkText>Add-AzureRmApplicationGatewayBackendHttpSettings</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewayBackendHttpSettings</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewayBackendHttpSettings</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayBackendHttpSettings</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayBackendHttpSettings</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMApplicationGatewayBackendHttpSettings</maml:linkText> + <maml:linkText>Remove-AzureRmApplicationGatewayBackendHttpSettings</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMApplicationGatewayFrontendIPConfig</command:name> + <command:name>Set-AzureRmApplicationGatewayFrontendIPConfig</command:name> <maml:description> <maml:para>Modifies a front-end IP address configuration.</maml:para> </maml:description> @@ -22000,7 +22000,7 @@ PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayBackendHttpSettings -Applicatio <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMApplicationGatewayFrontendIPConfig cmdlet updates a front-end IP configuration. </maml:para> + <maml:para>The Set-AzureRmApplicationGatewayFrontendIPConfig cmdlet updates a front-end IP configuration. </maml:para> <maml:para>An application gateway supports two types of front-end IP addresses: -- Public IP addresses -- Private IP addresses for which the configuration uses Internal Load Balancing (ILB)</maml:para> @@ -22008,7 +22008,7 @@ PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayBackendHttpSettings -Applicatio </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMApplicationGatewayFrontendIPConfig</maml:name> + <maml:name>Set-AzureRmApplicationGatewayFrontendIPConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>PrivateIPAddress</maml:name> <maml:description> @@ -22053,7 +22053,7 @@ PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayBackendHttpSettings -Applicatio </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMApplicationGatewayFrontendIPConfig</maml:name> + <maml:name>Set-AzureRmApplicationGatewayFrontendIPConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>PrivateIPAddress</maml:name> <maml:description> @@ -22257,9 +22257,9 @@ PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayBackendHttpSettings -Applicatio <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt; $PublicIp = New-AzureRMPublicIpAddress -ResourceGroupName "ResourceGroup01" -Name "PublicIp01" -location "West US" -AllocationMethod Dynamic -PS C:\&gt; $AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayFrontendIPConfig -ApplicationGateway $AppGw -Name "FrontEndIp01" –PublicIPAddress $PublicIp + <dev:code>PS C:\&gt; $PublicIp = New-AzureRmPublicIpAddress -ResourceGroupName "ResourceGroup01" -Name "PublicIp01" -location "West US" -AllocationMethod Dynamic +PS C:\&gt; $AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $AppGw = Set-AzureRmApplicationGatewayFrontendIPConfig -ApplicationGateway $AppGw -Name "FrontEndIp01" –PublicIPAddress $PublicIp </dev:code> <dev:remarks> @@ -22281,10 +22281,10 @@ PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayFrontendIPConfig -ApplicationGa <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$VNet = Get-AzureRMvirtualNetwork -Name "VNet01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $Subnet = Get-AzureRMVirtualNetworkSubnetConfig -Name "Subnet01" -VirtualNetwork $VNet -PS C:\&gt; $AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayFrontendIPConfig -ApplicationGateway $AppGw -Name "FrontendIP02" -Subnet $Subnet -PrivateIPAddress 10.0.1.1 + <dev:code>PS C:\&gt;$VNet = Get-AzureRmvirtualNetwork -Name "VNet01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $Subnet = Get-AzureRmVirtualNetworkSubnetConfig -Name "Subnet01" -VirtualNetwork $VNet +PS C:\&gt; $AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $AppGw = Set-AzureRmApplicationGatewayFrontendIPConfig -ApplicationGateway $AppGw -Name "FrontendIP02" -Subnet $Subnet -PrivateIPAddress 10.0.1.1 </dev:code> <dev:remarks> <maml:para>The first command gets a virtual network named VNet01 that belongs to the resource group named ResourceGroup01, and stores it in the $VNet variable.</maml:para> @@ -22306,10 +22306,10 @@ PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayFrontendIPConfig -ApplicationGa <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$VNet = Get-AzureRMvirtualNetwork -Name "VNet01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $Subnet = Get-AzureRMVirtualNetworkSubnetConfig -Name "Subnet01" -VirtualNetwork $VNet -PS C:\&gt; $AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayFrontendIPConfig -ApplicationGateway $AppGw -Name "FrontendIP02" -Subnet $Subnet + <dev:code>PS C:\&gt;$VNet = Get-AzureRmvirtualNetwork -Name "VNet01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $Subnet = Get-AzureRmVirtualNetworkSubnetConfig -Name "Subnet01" -VirtualNetwork $VNet +PS C:\&gt; $AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $AppGw = Set-AzureRmApplicationGatewayFrontendIPConfig -ApplicationGateway $AppGw -Name "FrontendIP02" -Subnet $Subnet </dev:code> <dev:remarks> <maml:para>The first command gets a virtual network named VNet01 that belongs to the resource group named ResourceGroup01, and stores it in the $VNet variable.</maml:para> @@ -22328,26 +22328,26 @@ PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayFrontendIPConfig -ApplicationGa </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMApplicationGatewayFrontendIPConfig</maml:linkText> + <maml:linkText>Add-AzureRmApplicationGatewayFrontendIPConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewayFrontendIPConfig</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewayFrontendIPConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayFrontendIPConfig</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayFrontendIPConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMApplicationGatewayFrontendIPConfig</maml:linkText> + <maml:linkText>Remove-AzureRmApplicationGatewayFrontendIPConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMApplicationGatewayFrontendPort</command:name> + <command:name>Set-AzureRmApplicationGatewayFrontendPort</command:name> <maml:description> <maml:para>Modifies a front-end port for an application gateway.</maml:para> </maml:description> @@ -22359,11 +22359,11 @@ PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayFrontendIPConfig -ApplicationGa <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMApplicationGatewayFrontendPort cmdlet modifies a front-end port for an application gateway.</maml:para> + <maml:para>The Set-AzureRmApplicationGatewayFrontendPort cmdlet modifies a front-end port for an application gateway.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMApplicationGatewayFrontendPort</maml:name> + <maml:name>Set-AzureRmApplicationGatewayFrontendPort</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -22483,8 +22483,8 @@ PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayFrontendIPConfig -ApplicationGa <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -C:\&gt; $ AppGw = Set-AzureRMApplicationGatewayFrontendPort -ApplicationGateway $ AppGw -Name “FrontEndPort01” –Port 80 + <dev:code>PS C:\&gt;$AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +C:\&gt; $ AppGw = Set-AzureRmApplicationGatewayFrontendPort -ApplicationGateway $ AppGw -Name “FrontEndPort01” –Port 80 </dev:code> <dev:remarks> @@ -22502,26 +22502,26 @@ C:\&gt; $ AppGw = Set-AzureRMApplicationGatewayFrontendPort -ApplicationGateway </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMApplicationGatewayFrontendPort</maml:linkText> + <maml:linkText>Add-AzureRmApplicationGatewayFrontendPort</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewayFrontendPort</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewayFrontendPort</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayFrontendPort</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayFrontendPort</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMApplicationGatewayFrontendPort</maml:linkText> + <maml:linkText>Remove-AzureRmApplicationGatewayFrontendPort</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMApplicationGatewayHttpListener</command:name> + <command:name>Set-AzureRmApplicationGatewayHttpListener</command:name> <maml:description> <maml:para>Modifies an HTTP listener for an application gateway.</maml:para> </maml:description> @@ -22533,11 +22533,11 @@ C:\&gt; $ AppGw = Set-AzureRMApplicationGatewayFrontendPort -ApplicationGateway <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMApplicationGatewayHttpListener cmdlet modifies an HTTP listener for an Azure application gateway.</maml:para> + <maml:para>The Set-AzureRmApplicationGatewayHttpListener cmdlet modifies an HTTP listener for an Azure application gateway.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMApplicationGatewayHttpListener</maml:name> + <maml:name>Set-AzureRmApplicationGatewayHttpListener</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>FrontendIPConfigurationId</maml:name> <maml:description> @@ -22592,7 +22592,7 @@ C:\&gt; $ AppGw = Set-AzureRMApplicationGatewayFrontendPort -ApplicationGateway </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMApplicationGatewayHttpListener</maml:name> + <maml:name>Set-AzureRmApplicationGatewayHttpListener</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>FrontendIPConfiguration</maml:name> <maml:description> @@ -22842,8 +22842,8 @@ C:\&gt; $ AppGw = Set-AzureRMApplicationGatewayFrontendPort -ApplicationGateway <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayHttpListener -ApplicationGateway $AppGw -Name "Listener01" -Protocol Http -FrontendIpConfiguration $FIP01 -FrontendPort 80 + <dev:code>PS C:\&gt;$AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $AppGw = Set-AzureRmApplicationGatewayHttpListener -ApplicationGateway $AppGw -Name "Listener01" -Protocol Http -FrontendIpConfiguration $FIP01 -FrontendPort 80 </dev:code> <dev:remarks> <maml:para>The first command gets the application gateway named ApplicationGateway01 that belongs to the resource group named ResourceGroup01 and stores it in the $AppGw variable.</maml:para> @@ -22860,26 +22860,26 @@ PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayHttpListener -ApplicationGatewa </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMApplicationGatewayHttpListener</maml:linkText> + <maml:linkText>Add-AzureRmApplicationGatewayHttpListener</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewayHttpListener</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewayHttpListener</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayHttpListener</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayHttpListener</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMApplicationGatewayHttpListener</maml:linkText> + <maml:linkText>Remove-AzureRmApplicationGatewayHttpListener</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMApplicationGatewayIPConfiguration</command:name> + <command:name>Set-AzureRmApplicationGatewayIPConfiguration</command:name> <maml:description> <maml:para>Modifies an IP configuration for an application gateway.</maml:para> </maml:description> @@ -22891,11 +22891,11 @@ PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayHttpListener -ApplicationGatewa <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMApplicationGatewayIPConfiguration cmdlet modifies an IP configuration. An IP configuration contains the subnet in which an application gateway is deployed.</maml:para> + <maml:para>The Set-AzureRmApplicationGatewayIPConfiguration cmdlet modifies an IP configuration. An IP configuration contains the subnet in which an application gateway is deployed.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMApplicationGatewayIPConfiguration</maml:name> + <maml:name>Set-AzureRmApplicationGatewayIPConfiguration</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -22926,7 +22926,7 @@ PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayHttpListener -ApplicationGatewa </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMApplicationGatewayIPConfiguration</maml:name> + <maml:name>Set-AzureRmApplicationGatewayIPConfiguration</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -23068,10 +23068,10 @@ PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayHttpListener -ApplicationGatewa <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$VNet = Get-AzureRMVirtualNetwork -Name "VNet01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $Subnet = Get-AzureRMVirtualNetworkSubnetConfig -Name "Subnet01" -VirtualNetwork $VNet -PS C:\&gt; $AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayIPConfiguration -ApplicationGateway $AppGw + <dev:code>PS C:\&gt;$VNet = Get-AzureRmVirtualNetwork -Name "VNet01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $Subnet = Get-AzureRmVirtualNetworkSubnetConfig -Name "Subnet01" -VirtualNetwork $VNet +PS C:\&gt; $AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $AppGw = Set-AzureRmApplicationGatewayIPConfiguration -ApplicationGateway $AppGw -Name "AppgwSubnet01" -Subnet $Subnets </dev:code> <dev:remarks> @@ -23091,26 +23091,26 @@ PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayIPConfiguration -ApplicationGat </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMApplicationGatewayIPConfiguration</maml:linkText> + <maml:linkText>Add-AzureRmApplicationGatewayIPConfiguration</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewayIPConfiguration</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewayIPConfiguration</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayIPConfiguration</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayIPConfiguration</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMApplicationGatewayIPConfiguration</maml:linkText> + <maml:linkText>Remove-AzureRmApplicationGatewayIPConfiguration</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMApplicationGatewayRequestRoutingRule</command:name> + <command:name>Set-AzureRmApplicationGatewayRequestRoutingRule</command:name> <maml:description> <maml:para>Modifies a request routing rule for an application gateway.</maml:para> </maml:description> @@ -23122,11 +23122,11 @@ PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayIPConfiguration -ApplicationGat <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMApplicationGatewayRequestRoutingRule cmdlet modifies a request routing rule.</maml:para> + <maml:para>The Set-AzureRmApplicationGatewayRequestRoutingRule cmdlet modifies a request routing rule.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMApplicationGatewayRequestRoutingRule</maml:name> + <maml:name>Set-AzureRmApplicationGatewayRequestRoutingRule</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>BackendAddressPoolId</maml:name> <maml:description> @@ -23178,7 +23178,7 @@ PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayIPConfiguration -ApplicationGat </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMApplicationGatewayRequestRoutingRule</maml:name> + <maml:name>Set-AzureRmApplicationGatewayRequestRoutingRule</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>BackendAddressPool</maml:name> <maml:description> @@ -23425,8 +23425,8 @@ PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayIPConfiguration -ApplicationGat <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayRequestRoutingRule -ApplicationGateway $AppGw -Name "Rule01" -RuleType Basic -BackendHttpSettings $Setting -HttpListener $Listener -BackendAddressPool $Pool + <dev:code>PS C:\&gt;$AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $AppGw = Set-AzureRmApplicationGatewayRequestRoutingRule -ApplicationGateway $AppGw -Name "Rule01" -RuleType Basic -BackendHttpSettings $Setting -HttpListener $Listener -BackendAddressPool $Pool </dev:code> <dev:remarks> <maml:para>The first command gets the application gateway named ApplicationGateway01 and stores it in the $AppGw variable.</maml:para> @@ -23443,26 +23443,26 @@ PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayRequestRoutingRule -Application </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMApplicationGatewayRequestRoutingRule</maml:linkText> + <maml:linkText>Add-AzureRmApplicationGatewayRequestRoutingRule</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewayRequestRoutingRule</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewayRequestRoutingRule</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewayRequestRoutingRule</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewayRequestRoutingRule</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMApplicationGatewayRequestRoutingRule</maml:linkText> + <maml:linkText>Remove-AzureRmApplicationGatewayRequestRoutingRule</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMApplicationGatewaySku</command:name> + <command:name>Set-AzureRmApplicationGatewaySku</command:name> <maml:description> <maml:para>Modifies the SKU of an application gateway.</maml:para> </maml:description> @@ -23474,11 +23474,11 @@ PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayRequestRoutingRule -Application <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMApplicationGatewaySku cmdlet modifies the stock keeping unit (SKU) of an application gateway.</maml:para> + <maml:para>The Set-AzureRmApplicationGatewaySku cmdlet modifies the stock keeping unit (SKU) of an application gateway.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMApplicationGatewaySku</maml:name> + <maml:name>Set-AzureRmApplicationGatewaySku</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -23619,8 +23619,8 @@ PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewayRequestRoutingRule -Application <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$AppGw = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewaySku –ApplicationGateway $AppGw -Name "Standard_Small" -Tier "Standard" -Capacity 2 + <dev:code>PS C:\&gt;$AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $AppGw = Set-AzureRmApplicationGatewaySku –ApplicationGateway $AppGw -Name "Standard_Small" -Tier "Standard" -Capacity 2 </dev:code> <dev:remarks> <maml:para>The first command gets the application gateway named ApplicationGateway01 that belongs to the resource group named ResourceGroup01, and stores it in the $AppGw variable.</maml:para> @@ -23637,18 +23637,18 @@ PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewaySku –ApplicationGateway $AppG </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewaySku</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewaySku</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewaySku</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewaySku</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMApplicationGatewaySslCertificate</command:name> + <command:name>Set-AzureRmApplicationGatewaySslCertificate</command:name> <maml:description> <maml:para>Sets the goal state of an SSL certificate.</maml:para> </maml:description> @@ -23660,11 +23660,11 @@ PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewaySku –ApplicationGateway $AppG <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMApplicationGatewaySslCertificate cmdlet sets the goal state of an SSL certificate.</maml:para> + <maml:para>The Set-AzureRmApplicationGatewaySslCertificate cmdlet sets the goal state of an SSL certificate.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMApplicationGatewaySslCertificate</maml:name> + <maml:name>Set-AzureRmApplicationGatewaySslCertificate</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -23801,8 +23801,8 @@ PS C:\&gt; $AppGw = Set-AzureRMApplicationGatewaySku –ApplicationGateway $AppG <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$AppGW = Get-AzureRMApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" -PS C:\&gt; $Cert = Set-AzureRMApplicationGatewaySslCertificate –ApplicationGateway $AppGW -Name "Cert01" –CertificateFile "D:\cert01.pfx" –Password "Password01" + <dev:code>PS C:\&gt;$AppGW = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01" +PS C:\&gt; $Cert = Set-AzureRmApplicationGatewaySslCertificate –ApplicationGateway $AppGW -Name "Cert01" –CertificateFile "D:\cert01.pfx" –Password "Password01" </dev:code> <dev:remarks> <maml:para>This command sets the goal state for an SSL certificate from the application gateway named ApplicationGateway01.</maml:para> @@ -23818,26 +23818,26 @@ PS C:\&gt; $Cert = Set-AzureRMApplicationGatewaySslCertificate –ApplicationGat </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMApplicationGatewaySslCertificate</maml:linkText> + <maml:linkText>Add-AzureRmApplicationGatewaySslCertificate</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMApplicationGatewaySslCertificate</maml:linkText> + <maml:linkText>Get-AzureRmApplicationGatewaySslCertificate</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMApplicationGatewaySslCertificate</maml:linkText> + <maml:linkText>New-AzureRmApplicationGatewaySslCertificate</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMApplicationGatewaySslCertificate</maml:linkText> + <maml:linkText>Remove-AzureRmApplicationGatewaySslCertificate</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMApplicationGateway</command:name> + <command:name>Set-AzureRmApplicationGateway</command:name> <maml:description> <maml:para>Updates an application gateway.</maml:para> </maml:description> @@ -23849,11 +23849,11 @@ PS C:\&gt; $Cert = Set-AzureRMApplicationGatewaySslCertificate –ApplicationGat <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMApplicationGateway cmdlet updates an Azure application gateway.</maml:para> + <maml:para>The Set-AzureRmApplicationGateway cmdlet updates an Azure application gateway.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMApplicationGateway</maml:name> + <maml:name>Set-AzureRmApplicationGateway</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -23935,7 +23935,7 @@ PS C:\&gt; $Cert = Set-AzureRMApplicationGatewaySslCertificate –ApplicationGat <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt; $UpdatedAppGw = Set-AzureRMApplicationGateway -ApplicationGateway $AppGw + <dev:code>PS C:\&gt; $UpdatedAppGw = Set-AzureRmApplicationGateway -ApplicationGateway $AppGw </dev:code> <dev:remarks> <maml:para>This command updates the application gateway with settings in the $AppGw variable and stores the updated gateway in the $UpdatedAppGw variable.</maml:para> @@ -23951,14 +23951,14 @@ PS C:\&gt; $Cert = Set-AzureRMApplicationGatewaySslCertificate –ApplicationGat </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Start-AzureRMApplicationGateway</maml:linkText> + <maml:linkText>Start-AzureRmApplicationGateway</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMLoadBalancerFrontendIpConfig</command:name> + <command:name>Set-AzureRmLoadBalancerFrontendIpConfig</command:name> <maml:description> <maml:para>Sets the goal state for a front-end IP configuration in a load balancer.</maml:para> </maml:description> @@ -23970,11 +23970,11 @@ PS C:\&gt; $Cert = Set-AzureRMApplicationGatewaySslCertificate –ApplicationGat <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMLoadBalancerFrontendIpConfig cmdlet sets the goal state for a front-end IP configuration in an Azure load balancer.</maml:para> + <maml:para>The Set-AzureRmLoadBalancerFrontendIpConfig cmdlet sets the goal state for a front-end IP configuration in an Azure load balancer.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMLoadBalancerFrontendIpConfig</maml:name> + <maml:name>Set-AzureRmLoadBalancerFrontendIpConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>PrivateIpAddress</maml:name> <maml:description> @@ -24019,7 +24019,7 @@ PS C:\&gt; $Cert = Set-AzureRMApplicationGatewaySslCertificate –ApplicationGat </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMLoadBalancerFrontendIpConfig</maml:name> + <maml:name>Set-AzureRmLoadBalancerFrontendIpConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>PrivateIpAddress</maml:name> <maml:description> @@ -24220,26 +24220,26 @@ PS C:\&gt; $Cert = Set-AzureRMApplicationGatewaySslCertificate –ApplicationGat </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMLoadBalancerFrontendIpConfig</maml:linkText> + <maml:linkText>Add-AzureRmLoadBalancerFrontendIpConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMLoadBalancerFrontendIpConfig</maml:linkText> + <maml:linkText>Get-AzureRmLoadBalancerFrontendIpConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMLoadBalancerFrontendIpConfig</maml:linkText> + <maml:linkText>New-AzureRmLoadBalancerFrontendIpConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMLoadBalancerFrontendIpConfig</maml:linkText> + <maml:linkText>Remove-AzureRmLoadBalancerFrontendIpConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMLoadBalancerInboundNatRuleConfig</command:name> + <command:name>Set-AzureRmLoadBalancerInboundNatRuleConfig</command:name> <maml:description> <maml:para>Sets an inbound NAT rule configuration for a load balancer.</maml:para> </maml:description> @@ -24251,11 +24251,11 @@ PS C:\&gt; $Cert = Set-AzureRMApplicationGatewaySslCertificate –ApplicationGat <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMLoadBalancerInboundNatRuleConfig cmdlet sets an inbound network address translation (NAT) rule configuration for an Azure load balancer.</maml:para> + <maml:para>The Set-AzureRmLoadBalancerInboundNatRuleConfig cmdlet sets an inbound network address translation (NAT) rule configuration for an Azure load balancer.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMLoadBalancerInboundNatRuleConfig</maml:name> + <maml:name>Set-AzureRmLoadBalancerInboundNatRuleConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>BackendPort</maml:name> <maml:description> @@ -24323,7 +24323,7 @@ PS C:\&gt; $Cert = Set-AzureRMApplicationGatewaySslCertificate –ApplicationGat </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMLoadBalancerInboundNatRuleConfig</maml:name> + <maml:name>Set-AzureRmLoadBalancerInboundNatRuleConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>BackendPort</maml:name> <maml:description> @@ -24571,26 +24571,26 @@ PS C:\&gt; $Cert = Set-AzureRMApplicationGatewaySslCertificate –ApplicationGat </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMLoadBalancerInboundNatRuleConfig</maml:linkText> + <maml:linkText>Add-AzureRmLoadBalancerInboundNatRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMLoadBalancerInboundNatRuleConfig</maml:linkText> + <maml:linkText>Get-AzureRmLoadBalancerInboundNatRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMLoadBalancerInboundNatRuleConfig</maml:linkText> + <maml:linkText>New-AzureRmLoadBalancerInboundNatRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMLoadBalancerInboundNatRuleConfig</maml:linkText> + <maml:linkText>Remove-AzureRmLoadBalancerInboundNatRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMLoadBalancerProbeConfig</command:name> + <command:name>Set-AzureRmLoadBalancerProbeConfig</command:name> <maml:description> <maml:para>Sets the goal state for a probe configuration.</maml:para> </maml:description> @@ -24602,11 +24602,11 @@ PS C:\&gt; $Cert = Set-AzureRMApplicationGatewaySslCertificate –ApplicationGat <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMLoadBalancerProbeConfig cmdlet sets the goal state for a probe configuration.</maml:para> + <maml:para>The Set-AzureRmLoadBalancerProbeConfig cmdlet sets the goal state for a probe configuration.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMLoadBalancerProbeConfig</maml:name> + <maml:name>Set-AzureRmLoadBalancerProbeConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -24824,26 +24824,26 @@ PS C:\&gt; $Cert = Set-AzureRMApplicationGatewaySslCertificate –ApplicationGat </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMLoadBalancerProbeConfig</maml:linkText> + <maml:linkText>Add-AzureRmLoadBalancerProbeConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMLoadBalancerProbeConfig</maml:linkText> + <maml:linkText>Get-AzureRmLoadBalancerProbeConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMLoadBalancerProbeConfig</maml:linkText> + <maml:linkText>New-AzureRmLoadBalancerProbeConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMLoadBalancerProbeConfig</maml:linkText> + <maml:linkText>Remove-AzureRmLoadBalancerProbeConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMLoadBalancerRuleConfig</command:name> + <command:name>Set-AzureRmLoadBalancerRuleConfig</command:name> <maml:description> <maml:para>Sets the goal state for a load balancer rule configuration.</maml:para> </maml:description> @@ -24855,11 +24855,11 @@ PS C:\&gt; $Cert = Set-AzureRMApplicationGatewaySslCertificate –ApplicationGat <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMLoadBalancerRuleConfig cmdlet sets the goal state for a load balancer rule configuration.</maml:para> + <maml:para>The Set-AzureRmLoadBalancerRuleConfig cmdlet sets the goal state for a load balancer rule configuration.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMLoadBalancerRuleConfig</maml:name> + <maml:name>Set-AzureRmLoadBalancerRuleConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>BackendAddressPool</maml:name> <maml:description> @@ -24952,7 +24952,7 @@ PS C:\&gt; $Cert = Set-AzureRMApplicationGatewaySslCertificate –ApplicationGat </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMLoadBalancerRuleConfig</maml:name> + <maml:name>Set-AzureRmLoadBalancerRuleConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>BackendAddressPoolId</maml:name> <maml:description> @@ -25285,26 +25285,26 @@ PS C:\&gt; $Cert = Set-AzureRMApplicationGatewaySslCertificate –ApplicationGat </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMLoadBalancerRuleConfig</maml:linkText> + <maml:linkText>Add-AzureRmLoadBalancerRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMLoadBalancerRuleConfig</maml:linkText> + <maml:linkText>Get-AzureRmLoadBalancerRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMLoadBalancerRuleConfig</maml:linkText> + <maml:linkText>New-AzureRmLoadBalancerRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMLoadBalancerRuleConfig</maml:linkText> + <maml:linkText>Remove-AzureRmLoadBalancerRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMLoadBalancer</command:name> + <command:name>Set-AzureRmLoadBalancer</command:name> <maml:description> <maml:para>Sets the goal state for a load balancer.</maml:para> </maml:description> @@ -25316,11 +25316,11 @@ PS C:\&gt; $Cert = Set-AzureRMApplicationGatewaySslCertificate –ApplicationGat <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMLoadBalancer cmdlet sets the goal state for an Azure load balancer.</maml:para> + <maml:para>The Set-AzureRmLoadBalancer cmdlet sets the goal state for an Azure load balancer.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMLoadBalancer</maml:name> + <maml:name>Set-AzureRmLoadBalancer</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -25421,22 +25421,22 @@ PS C:\&gt; $Cert = Set-AzureRMApplicationGatewaySslCertificate –ApplicationGat </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMLoadBalancer</maml:linkText> + <maml:linkText>Get-AzureRmLoadBalancer</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMLoadBalancer</maml:linkText> + <maml:linkText>New-AzureRmLoadBalancer</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMLoadBalancer</maml:linkText> + <maml:linkText>Remove-AzureRmLoadBalancer</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMLocalNetworkGateway</command:name> + <command:name>Set-AzureRmLocalNetworkGateway</command:name> <maml:description> <maml:para> </maml:para> @@ -25452,7 +25452,7 @@ PS C:\&gt; $Cert = Set-AzureRMApplicationGatewaySslCertificate –ApplicationGat </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMLocalNetworkGateway</maml:name> + <maml:name>Set-AzureRmLocalNetworkGateway</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -25567,7 +25567,7 @@ PS C:\&gt; $Cert = Set-AzureRMApplicationGatewaySslCertificate –ApplicationGat </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMNetworkInterface</command:name> + <command:name>Set-AzureRmNetworkInterface</command:name> <maml:description> <maml:para>Sets the goal state for a network interface.</maml:para> </maml:description> @@ -25579,11 +25579,11 @@ PS C:\&gt; $Cert = Set-AzureRMApplicationGatewaySslCertificate –ApplicationGat <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMNetworkInterface sets the goal state for an Azure network interface.</maml:para> + <maml:para>The Set-AzureRmNetworkInterface sets the goal state for an Azure network interface.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMNetworkInterface</maml:name> + <maml:name>Set-AzureRmNetworkInterface</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -25684,22 +25684,22 @@ PS C:\&gt; $Cert = Set-AzureRMApplicationGatewaySslCertificate –ApplicationGat </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMNetworkInterface</maml:linkText> + <maml:linkText>Get-AzureRmNetworkInterface</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMNetworkInterface</maml:linkText> + <maml:linkText>New-AzureRmNetworkInterface</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMNetworkInterface</maml:linkText> + <maml:linkText>Remove-AzureRmNetworkInterface</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMNetworkSecurityGroup</command:name> + <command:name>Set-AzureRmNetworkSecurityGroup</command:name> <maml:description> <maml:para>Sets the goal state for a network security group.</maml:para> </maml:description> @@ -25711,11 +25711,11 @@ PS C:\&gt; $Cert = Set-AzureRMApplicationGatewaySslCertificate –ApplicationGat <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMNetworkSecurityGroup cmdlet sets the goal state for an Azure network security group.</maml:para> + <maml:para>The Set-AzureRmNetworkSecurityGroup cmdlet sets the goal state for an Azure network security group.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMNetworkSecurityGroup</maml:name> + <maml:name>Set-AzureRmNetworkSecurityGroup</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -25816,22 +25816,22 @@ PS C:\&gt; $Cert = Set-AzureRMApplicationGatewaySslCertificate –ApplicationGat </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMNetworkSecurityGroup</maml:linkText> + <maml:linkText>Get-AzureRmNetworkSecurityGroup</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMNetworkSecurityGroup</maml:linkText> + <maml:linkText>New-AzureRmNetworkSecurityGroup</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMNetworkSecurityGroup</maml:linkText> + <maml:linkText>Remove-AzureRmNetworkSecurityGroup</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMNetworkSecurityRuleConfig</command:name> + <command:name>Set-AzureRmNetworkSecurityRuleConfig</command:name> <maml:description> <maml:para>Sets the goal state for a network security rule configuration.</maml:para> </maml:description> @@ -25843,11 +25843,11 @@ PS C:\&gt; $Cert = Set-AzureRMApplicationGatewaySslCertificate –ApplicationGat <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMNetworkSecurityRuleConfig cmdlet sets the goal state for an Azure network security rule configuration.</maml:para> + <maml:para>The Set-AzureRmNetworkSecurityRuleConfig cmdlet sets the goal state for an Azure network security rule configuration.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMNetworkSecurityRuleConfig</maml:name> + <maml:name>Set-AzureRmNetworkSecurityRuleConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Access</maml:name> <maml:description> @@ -26194,26 +26194,26 @@ PS C:\&gt; $Cert = Set-AzureRMApplicationGatewaySslCertificate –ApplicationGat </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMNetworkSecurityRuleConfig</maml:linkText> + <maml:linkText>Add-AzureRmNetworkSecurityRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMNetworkSecurityRuleConfig</maml:linkText> + <maml:linkText>Get-AzureRmNetworkSecurityRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMNetworkSecurityRuleConfig</maml:linkText> + <maml:linkText>New-AzureRmNetworkSecurityRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMNetworkSecurityRuleConfig</maml:linkText> + <maml:linkText>Remove-AzureRmNetworkSecurityRuleConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMPublicIpAddress</command:name> + <command:name>Set-AzureRmPublicIpAddress</command:name> <maml:description> <maml:para>Sets the goal state for a public IP address.</maml:para> </maml:description> @@ -26225,11 +26225,11 @@ PS C:\&gt; $Cert = Set-AzureRMApplicationGatewaySslCertificate –ApplicationGat <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMPublicIpAddress cmdlet sets the goal state for a public IP address.</maml:para> + <maml:para>The Set-AzureRmPublicIpAddress cmdlet sets the goal state for a public IP address.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMPublicIpAddress</maml:name> + <maml:name>Set-AzureRmPublicIpAddress</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -26330,22 +26330,22 @@ PS C:\&gt; $Cert = Set-AzureRMApplicationGatewaySslCertificate –ApplicationGat </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMPublicIpAddress</maml:linkText> + <maml:linkText>Get-AzureRmPublicIpAddress</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMPublicIpAddress</maml:linkText> + <maml:linkText>New-AzureRmPublicIpAddress</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMPublicIpAddress</maml:linkText> + <maml:linkText>Remove-AzureRmPublicIpAddress</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMRouteConfig</command:name> + <command:name>Set-AzureRmRouteConfig</command:name> <maml:description> <maml:para>Sets the goal state for a route.</maml:para> </maml:description> @@ -26357,11 +26357,11 @@ PS C:\&gt; $Cert = Set-AzureRMApplicationGatewaySslCertificate –ApplicationGat <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMRouteConfig cmdlet sets the goal state for an Azure route.</maml:para> + <maml:para>The Set-AzureRmRouteConfig cmdlet sets the goal state for an Azure route.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMRouteConfig</maml:name> + <maml:name>Set-AzureRmRouteConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>AddressPrefix</maml:name> <maml:description> @@ -26541,7 +26541,7 @@ PS C:\&gt; $Cert = Set-AzureRMApplicationGatewaySslCertificate –ApplicationGat <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMRouteTable -ResourceGroupName "ResourceGroup11" -Name "routetable01" | Set-AzureRMRouteConfig -Name "route02" -AddressPrefix 10.4.0.0/16 -NextHopType VnetLocal | Set-AzureRMRouteTable + <dev:code>PS C:\&gt;Get-AzureRmRouteTable -ResourceGroupName "ResourceGroup11" -Name "routetable01" | Set-AzureRmRouteConfig -Name "route02" -AddressPrefix 10.4.0.0/16 -NextHopType VnetLocal | Set-AzureRmRouteTable Name : routetable01 ResourceGroupName : ResourceGroup11 Location : eastus @@ -26575,8 +26575,8 @@ Routes : [ Subnets : [] </dev:code> <dev:remarks> - <maml:para>This command gets the route table named routetable01 by using the Get-AzureRMRouteTable cmdlet. The command passes that table to the current cmdlet by using the pipeline operator. </maml:para> - <maml:para>The current cmdlet modifies the route named route02, and then passes the result to the Set-AzureRMRouteTable cmdlet, which updates the table to reflect your changes. </maml:para> + <maml:para>This command gets the route table named routetable01 by using the Get-AzureRmRouteTable cmdlet. The command passes that table to the current cmdlet by using the pipeline operator. </maml:para> + <maml:para>The current cmdlet modifies the route named route02, and then passes the result to the Set-AzureRmRouteTable cmdlet, which updates the table to reflect your changes. </maml:para> <maml:para /> <maml:para /> </dev:remarks> @@ -26589,34 +26589,34 @@ Subnets : [] </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMRouteConfig</maml:linkText> + <maml:linkText>Add-AzureRmRouteConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMRouteConfig</maml:linkText> + <maml:linkText>Get-AzureRmRouteConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMRouteTable</maml:linkText> + <maml:linkText>Get-AzureRmRouteTable</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMRouteConfig</maml:linkText> + <maml:linkText>New-AzureRmRouteConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMRouteConfig</maml:linkText> + <maml:linkText>Remove-AzureRmRouteConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMRouteTable</maml:linkText> + <maml:linkText>Set-AzureRmRouteTable</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMRouteTable</command:name> + <command:name>Set-AzureRmRouteTable</command:name> <maml:description> <maml:para>Sets the goal state for a route table.</maml:para> </maml:description> @@ -26628,11 +26628,11 @@ Subnets : [] <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMRouteTable cmdlet sets the goal state for an Azure route table.</maml:para> + <maml:para>The Set-AzureRmRouteTable cmdlet sets the goal state for an Azure route table.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMRouteTable</maml:name> + <maml:name>Set-AzureRmRouteTable</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -26718,7 +26718,7 @@ Subnets : [] <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMRouteTable -ResourceGroupName "ResourceGroup11" -Name "routetable01" | Add-AzureRMRouteConfig -Name "route02" -AddressPrefix 10.2.0.0/16 -NextHopType VnetLocal | Set-AzureRMRouteTable + <dev:code>PS C:\&gt;Get-AzureRmRouteTable -ResourceGroupName "ResourceGroup11" -Name "routetable01" | Add-AzureRmRouteConfig -Name "route02" -AddressPrefix 10.2.0.0/16 -NextHopType VnetLocal | Set-AzureRmRouteTable Name : routetable01 ResourceGroupName : ResourceGroup11 Location : eastus @@ -26761,8 +26761,8 @@ Routes : [ Subnets : [] </dev:code> <dev:remarks> - <maml:para>This command gets the route table named routetable01 by using Get-AzureRMRouteTable cmdlet. The command passes that table to the Add-AzureRMRouteConfig cmdlet by using the pipeline operator. </maml:para> - <maml:para>Add-AzureRMRouteConfig adds the route named route02, and then passes the result to the current cmdlet, which updates the table to reflect your changes. </maml:para> + <maml:para>This command gets the route table named routetable01 by using Get-AzureRmRouteTable cmdlet. The command passes that table to the Add-AzureRmRouteConfig cmdlet by using the pipeline operator. </maml:para> + <maml:para>Add-AzureRmRouteConfig adds the route named route02, and then passes the result to the current cmdlet, which updates the table to reflect your changes. </maml:para> <maml:para /> <maml:para /> </dev:remarks> @@ -26775,26 +26775,26 @@ Subnets : [] </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMRouteConfig</maml:linkText> + <maml:linkText>Add-AzureRmRouteConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMRouteTable</maml:linkText> + <maml:linkText>Get-AzureRmRouteTable</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMRouteTable</maml:linkText> + <maml:linkText>New-AzureRmRouteTable</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMRouteTable</maml:linkText> + <maml:linkText>Remove-AzureRmRouteTable</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMVirtualNetworkGatewayConnectionSharedKey</command:name> + <command:name>Set-AzureRmVirtualNetworkGatewayConnectionSharedKey</command:name> <maml:description> <maml:para> </maml:para> @@ -26810,7 +26810,7 @@ Subnets : [] </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMVirtualNetworkGatewayConnectionSharedKey</maml:name> + <maml:name>Set-AzureRmVirtualNetworkGatewayConnectionSharedKey</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Force</maml:name> <maml:description> @@ -26958,7 +26958,7 @@ Subnets : [] </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMVirtualNetworkGatewayConnection</command:name> + <command:name>Set-AzureRmVirtualNetworkGatewayConnection</command:name> <maml:description> <maml:para> </maml:para> @@ -26974,7 +26974,7 @@ Subnets : [] </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMVirtualNetworkGatewayConnection</maml:name> + <maml:name>Set-AzureRmVirtualNetworkGatewayConnection</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Force</maml:name> <maml:description> @@ -27088,7 +27088,7 @@ Subnets : [] </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMVirtualNetworkSubnetConfig</command:name> + <command:name>Set-AzureRmVirtualNetworkSubnetConfig</command:name> <maml:description> <maml:para>Sets the goal state for a subnet configuration in a virtual network.</maml:para> </maml:description> @@ -27100,11 +27100,11 @@ Subnets : [] <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMVirtualNetworkSubnetConfig cmdlet sets the goal state for a subnet configuration in an Azure virtual network.</maml:para> + <maml:para>The Set-AzureRmVirtualNetworkSubnetConfig cmdlet sets the goal state for a subnet configuration in an Azure virtual network.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMVirtualNetworkSubnetConfig</maml:name> + <maml:name>Set-AzureRmVirtualNetworkSubnetConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="none"> <maml:name>NetworkSecurityGroup</maml:name> <maml:description> @@ -27150,7 +27150,7 @@ Subnets : [] </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMVirtualNetworkSubnetConfig</maml:name> + <maml:name>Set-AzureRmVirtualNetworkSubnetConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="named" aliases="none"> <maml:name>NetworkSecurityGroupId</maml:name> <maml:description> @@ -27354,26 +27354,26 @@ Subnets : [] </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMVirtualNetworkSubnetConfig</maml:linkText> + <maml:linkText>Add-AzureRmVirtualNetworkSubnetConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMVirtualNetworkSubnetConfig</maml:linkText> + <maml:linkText>Get-AzureRmVirtualNetworkSubnetConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMVirtualNetworkSubnetConfig</maml:linkText> + <maml:linkText>New-AzureRmVirtualNetworkSubnetConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMVirtualNetworkSubnetConfig</maml:linkText> + <maml:linkText>Remove-AzureRmVirtualNetworkSubnetConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMVirtualNetwork</command:name> + <command:name>Set-AzureRmVirtualNetwork</command:name> <maml:description> <maml:para>Sets the goal state for a virtual network.</maml:para> </maml:description> @@ -27385,11 +27385,11 @@ Subnets : [] <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMVirtualNetwork cmdlet sets the goal state for an Azure virtual network.</maml:para> + <maml:para>The Set-AzureRmVirtualNetwork cmdlet sets the goal state for an Azure virtual network.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMVirtualNetwork</maml:name> + <maml:name>Set-AzureRmVirtualNetwork</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -27490,22 +27490,22 @@ Subnets : [] </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMVirtualNetwork</maml:linkText> + <maml:linkText>Get-AzureRmVirtualNetwork</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMVirtualNetwork</maml:linkText> + <maml:linkText>New-AzureRmVirtualNetwork</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMVirtualNetwork</maml:linkText> + <maml:linkText>Remove-AzureRmVirtualNetwork</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Start-AzureRMApplicationGateway</command:name> + <command:name>Start-AzureRmApplicationGateway</command:name> <maml:description> <maml:para>Starts an application gateway.</maml:para> </maml:description> @@ -27517,11 +27517,11 @@ Subnets : [] <dev:version /> </command:details> <maml:description> - <maml:para>The Start-AzureRMApplicationGateway cmdlet starts an Azure application gateway</maml:para> + <maml:para>The Start-AzureRmApplicationGateway cmdlet starts an Azure application gateway</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Start-AzureRMApplicationGateway</maml:name> + <maml:name>Start-AzureRmApplicationGateway</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -27602,7 +27602,7 @@ Subnets : [] <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt; $ AppGw = Start-AzureRMApplicationGateway -ApplicationGateway $AppGw + <dev:code>PS C:\&gt; $ AppGw = Start-AzureRmApplicationGateway -ApplicationGateway $AppGw </dev:code> <dev:remarks> <maml:para>This command starts the application gateway stored in the $AppGw variable.</maml:para> @@ -27618,14 +27618,14 @@ Subnets : [] </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Stop-AzureRMApplicationGateway</maml:linkText> + <maml:linkText>Stop-AzureRmApplicationGateway</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Stop-AzureRMApplicationGateway</command:name> + <command:name>Stop-AzureRmApplicationGateway</command:name> <maml:description> <maml:para>Stops an application gateway</maml:para> </maml:description> @@ -27640,7 +27640,7 @@ Subnets : [] </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Stop-AzureRMApplicationGateway</maml:name> + <maml:name>Stop-AzureRmApplicationGateway</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -27721,7 +27721,7 @@ Subnets : [] <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt; $AppGw = Stop-AzureRMApplicationGateway -ApplicationGateway $AppGw + <dev:code>PS C:\&gt; $AppGw = Stop-AzureRmApplicationGateway -ApplicationGateway $AppGw </dev:code> <dev:remarks> <maml:para>This command stops the application gateway stored in the $AppGw variable.</maml:para> @@ -27740,7 +27740,7 @@ Subnets : [] </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Test-AzureRMDnsAvailability</command:name> + <command:name>Test-AzureRmDnsAvailability</command:name> <maml:description> <maml:para> </maml:para> @@ -27756,7 +27756,7 @@ Subnets : [] </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Test-AzureRMDnsAvailability</maml:name> + <maml:name>Test-AzureRmDnsAvailability</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> diff --git a/src/ResourceManager/Network/Commands.Network/NetworkInterface/GetAzureNetworkInterfaceCommand.cs b/src/ResourceManager/Network/Commands.Network/NetworkInterface/GetAzureNetworkInterfaceCommand.cs index e8bd70680168..7181aae4fd83 100644 --- a/src/ResourceManager/Network/Commands.Network/NetworkInterface/GetAzureNetworkInterfaceCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/NetworkInterface/GetAzureNetworkInterfaceCommand.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Get, "AzureRMNetworkInterface"), OutputType(typeof(PSNetworkInterface))] + [Cmdlet(VerbsCommon.Get, "AzureRmNetworkInterface"), OutputType(typeof(PSNetworkInterface))] public class GetAzureNetworkInterfaceCommand : NetworkInterfaceBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/NetworkInterface/NewAzureNetworkInterfaceCommand.cs b/src/ResourceManager/Network/Commands.Network/NetworkInterface/NewAzureNetworkInterfaceCommand.cs index 9091c9dd7752..6e8e8342a772 100644 --- a/src/ResourceManager/Network/Commands.Network/NetworkInterface/NewAzureNetworkInterfaceCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/NetworkInterface/NewAzureNetworkInterfaceCommand.cs @@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.New, "AzureRMNetworkInterface"), OutputType(typeof(PSNetworkInterface))] + [Cmdlet(VerbsCommon.New, "AzureRmNetworkInterface"), OutputType(typeof(PSNetworkInterface))] public class NewAzureNetworkInterfaceCommand : NetworkInterfaceBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/NetworkInterface/RemoveAzureNetworkInterfaceCommand.cs b/src/ResourceManager/Network/Commands.Network/NetworkInterface/RemoveAzureNetworkInterfaceCommand.cs index 0daab6f6b542..df9a61867977 100644 --- a/src/ResourceManager/Network/Commands.Network/NetworkInterface/RemoveAzureNetworkInterfaceCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/NetworkInterface/RemoveAzureNetworkInterfaceCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Remove, "AzureRMNetworkInterface")] + [Cmdlet(VerbsCommon.Remove, "AzureRmNetworkInterface")] public class RemoveAzureNetworkInterfaceCommand : NetworkInterfaceBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/NetworkInterface/SetAzureNetworkInterfaceCommand.cs b/src/ResourceManager/Network/Commands.Network/NetworkInterface/SetAzureNetworkInterfaceCommand.cs index e6a00f4ffbcb..e856156b8c5d 100644 --- a/src/ResourceManager/Network/Commands.Network/NetworkInterface/SetAzureNetworkInterfaceCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/NetworkInterface/SetAzureNetworkInterfaceCommand.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Set, "AzureRMNetworkInterface"), OutputType(typeof(PSNetworkInterface))] + [Cmdlet(VerbsCommon.Set, "AzureRmNetworkInterface"), OutputType(typeof(PSNetworkInterface))] public class SetAzureNetworkInterfaceCommand : NetworkInterfaceBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/GetAzureNetworkSecurityGroupCommand.cs b/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/GetAzureNetworkSecurityGroupCommand.cs index 1b566219a1e7..6f94b71c4229 100644 --- a/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/GetAzureNetworkSecurityGroupCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/GetAzureNetworkSecurityGroupCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Get, "AzureRMNetworkSecurityGroup"), OutputType(typeof(PSNetworkSecurityGroup))] + [Cmdlet(VerbsCommon.Get, "AzureRmNetworkSecurityGroup"), OutputType(typeof(PSNetworkSecurityGroup))] public class GetAzureNetworkSecurityGroupCommand : NetworkSecurityGroupBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/NetworkSecurityRule/AddAzureNetworkSecurityRuleConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/NetworkSecurityRule/AddAzureNetworkSecurityRuleConfigCommand.cs index 1cc854e1b3cc..71cbae55fcde 100644 --- a/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/NetworkSecurityRule/AddAzureNetworkSecurityRuleConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/NetworkSecurityRule/AddAzureNetworkSecurityRuleConfigCommand.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Add, "AzureRMNetworkSecurityRuleConfig"), OutputType(typeof(PSNetworkSecurityGroup))] + [Cmdlet(VerbsCommon.Add, "AzureRmNetworkSecurityRuleConfig"), OutputType(typeof(PSNetworkSecurityGroup))] public class AddAzureNetworkSecurityRuleConfigCommand : AzureNetworkSecurityRuleConfigBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/NetworkSecurityRule/GetAzureNetworkSecurityRuleConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/NetworkSecurityRule/GetAzureNetworkSecurityRuleConfigCommand.cs index 63cdf6ec2efd..316c5f832a31 100644 --- a/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/NetworkSecurityRule/GetAzureNetworkSecurityRuleConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/NetworkSecurityRule/GetAzureNetworkSecurityRuleConfigCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Get, "AzureRMNetworkSecurityRuleConfig"), OutputType(typeof(PSSecurityRule))] + [Cmdlet(VerbsCommon.Get, "AzureRmNetworkSecurityRuleConfig"), OutputType(typeof(PSSecurityRule))] public class GetAzureNetworkSecurityRuleConfigCommand : NetworkBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/NetworkSecurityRule/NewAzureNetworkSecurityRuleConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/NetworkSecurityRule/NewAzureNetworkSecurityRuleConfigCommand.cs index 05bc14ddf70b..078c00328af0 100644 --- a/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/NetworkSecurityRule/NewAzureNetworkSecurityRuleConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/NetworkSecurityRule/NewAzureNetworkSecurityRuleConfigCommand.cs @@ -17,7 +17,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.New, "AzureRMNetworkSecurityRuleConfig"), OutputType(typeof(PSSecurityRule))] + [Cmdlet(VerbsCommon.New, "AzureRmNetworkSecurityRuleConfig"), OutputType(typeof(PSSecurityRule))] public class NewAzureNetworkSecurityRuleConfigCommand : AzureNetworkSecurityRuleConfigBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/NetworkSecurityRule/RemoveAzureNetworkSecurityRuleConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/NetworkSecurityRule/RemoveAzureNetworkSecurityRuleConfigCommand.cs index f620ea01be6a..819c0136ade2 100644 --- a/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/NetworkSecurityRule/RemoveAzureNetworkSecurityRuleConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/NetworkSecurityRule/RemoveAzureNetworkSecurityRuleConfigCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Remove, "AzureRMNetworkSecurityRuleConfig"), OutputType(typeof(PSNetworkSecurityGroup))] + [Cmdlet(VerbsCommon.Remove, "AzureRmNetworkSecurityRuleConfig"), OutputType(typeof(PSNetworkSecurityGroup))] public class RemoveAzureNetworkSecurityRuleConfigCommand : NetworkBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/NetworkSecurityRule/SetAzureNetworkSecurityRuleConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/NetworkSecurityRule/SetAzureNetworkSecurityRuleConfigCommand.cs index 79ffdb5346f8..6a89822cd517 100644 --- a/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/NetworkSecurityRule/SetAzureNetworkSecurityRuleConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/NetworkSecurityRule/SetAzureNetworkSecurityRuleConfigCommand.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Set, "AzureRMNetworkSecurityRuleConfig"), OutputType(typeof(PSNetworkSecurityGroup))] + [Cmdlet(VerbsCommon.Set, "AzureRmNetworkSecurityRuleConfig"), OutputType(typeof(PSNetworkSecurityGroup))] public class SetAzureNetworkSecurityRuleConfigCommand : AzureNetworkSecurityRuleConfigBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/NewAzureNetworkSecurityGroupCommand.cs b/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/NewAzureNetworkSecurityGroupCommand.cs index 91cafd5ef638..4edfafc29c87 100644 --- a/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/NewAzureNetworkSecurityGroupCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/NewAzureNetworkSecurityGroupCommand.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.New, "AzureRMNetworkSecurityGroup"), OutputType(typeof(PSNetworkSecurityGroup))] + [Cmdlet(VerbsCommon.New, "AzureRmNetworkSecurityGroup"), OutputType(typeof(PSNetworkSecurityGroup))] public class NewAzureNetworkSecurityGroupCommand : NetworkSecurityGroupBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/RemoveAzureNetworkSecurityGroupCommand.cs b/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/RemoveAzureNetworkSecurityGroupCommand.cs index b4a1755c0017..69624bf40e99 100644 --- a/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/RemoveAzureNetworkSecurityGroupCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/RemoveAzureNetworkSecurityGroupCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Remove, "AzureRMNetworkSecurityGroup")] + [Cmdlet(VerbsCommon.Remove, "AzureRmNetworkSecurityGroup")] public class RemoveAzureNetworkSecurityGroupCommand : NetworkSecurityGroupBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/SetAzureNetworkSecurityGroupCommand.cs b/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/SetAzureNetworkSecurityGroupCommand.cs index ef3efb5d74d8..93126f28b9ad 100644 --- a/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/SetAzureNetworkSecurityGroupCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/NetworkSecurityGroup/SetAzureNetworkSecurityGroupCommand.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Set, "AzureRMNetworkSecurityGroup"), OutputType(typeof(PSNetworkSecurityGroup))] + [Cmdlet(VerbsCommon.Set, "AzureRmNetworkSecurityGroup"), OutputType(typeof(PSNetworkSecurityGroup))] public class SetAzureNetworkSecurityGroupCommand : NetworkSecurityGroupBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/ProviderWideCmdlets/TestAzureDnsAvailabilityCmdlet.cs b/src/ResourceManager/Network/Commands.Network/ProviderWideCmdlets/TestAzureDnsAvailabilityCmdlet.cs index f41d39a9a2ed..8d5102a75a39 100644 --- a/src/ResourceManager/Network/Commands.Network/ProviderWideCmdlets/TestAzureDnsAvailabilityCmdlet.cs +++ b/src/ResourceManager/Network/Commands.Network/ProviderWideCmdlets/TestAzureDnsAvailabilityCmdlet.cs @@ -17,7 +17,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsDiagnostic.Test, "AzureRMDnsAvailability"), OutputType(typeof(bool))] + [Cmdlet(VerbsDiagnostic.Test, "AzureRmDnsAvailability"), OutputType(typeof(bool))] public class TestAzureDnsAvailabilityCmdlet : NetworkBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/PublicIpAddress/GetAzurePublicIpAddressCommand.cs b/src/ResourceManager/Network/Commands.Network/PublicIpAddress/GetAzurePublicIpAddressCommand.cs index 14c7fd1200eb..3ba1089dfd2a 100644 --- a/src/ResourceManager/Network/Commands.Network/PublicIpAddress/GetAzurePublicIpAddressCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/PublicIpAddress/GetAzurePublicIpAddressCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Get, "AzureRMPublicIpAddress"), OutputType(typeof(PSPublicIpAddress))] + [Cmdlet(VerbsCommon.Get, "AzureRmPublicIpAddress"), OutputType(typeof(PSPublicIpAddress))] public class GetAzurePublicIpAddressCommand : PublicIpAddressBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/PublicIpAddress/NewAzurePublicIpAddressCommand.cs b/src/ResourceManager/Network/Commands.Network/PublicIpAddress/NewAzurePublicIpAddressCommand.cs index bf300e9f7969..ab5179d1e4a6 100644 --- a/src/ResourceManager/Network/Commands.Network/PublicIpAddress/NewAzurePublicIpAddressCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/PublicIpAddress/NewAzurePublicIpAddressCommand.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.New, "AzureRMPublicIpAddress"), OutputType(typeof(PSPublicIpAddress))] + [Cmdlet(VerbsCommon.New, "AzureRmPublicIpAddress"), OutputType(typeof(PSPublicIpAddress))] public class NewAzurePublicIpAddressCommand : PublicIpAddressBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/PublicIpAddress/RemoveAzurePublicIpAddressCommand.cs b/src/ResourceManager/Network/Commands.Network/PublicIpAddress/RemoveAzurePublicIpAddressCommand.cs index 58f5e3e65964..4ed8e323920d 100644 --- a/src/ResourceManager/Network/Commands.Network/PublicIpAddress/RemoveAzurePublicIpAddressCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/PublicIpAddress/RemoveAzurePublicIpAddressCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Remove, "AzureRMPublicIpAddress")] + [Cmdlet(VerbsCommon.Remove, "AzureRmPublicIpAddress")] public class RemoveAzurePublicIpAddressCommand : PublicIpAddressBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/PublicIpAddress/SetAzurePublicIpAddressCommand.cs b/src/ResourceManager/Network/Commands.Network/PublicIpAddress/SetAzurePublicIpAddressCommand.cs index 8ff220894c29..534a48e9081d 100644 --- a/src/ResourceManager/Network/Commands.Network/PublicIpAddress/SetAzurePublicIpAddressCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/PublicIpAddress/SetAzurePublicIpAddressCommand.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Set, "AzureRMPublicIpAddress"), OutputType(typeof(PSPublicIpAddress))] + [Cmdlet(VerbsCommon.Set, "AzureRmPublicIpAddress"), OutputType(typeof(PSPublicIpAddress))] public class SetAzurePublicIpAddressCommand : PublicIpAddressBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/RouteTable/GetAzureRouteTableCommand.cs b/src/ResourceManager/Network/Commands.Network/RouteTable/GetAzureRouteTableCommand.cs index 70c9db60a9ee..d49bf0a0b454 100644 --- a/src/ResourceManager/Network/Commands.Network/RouteTable/GetAzureRouteTableCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/RouteTable/GetAzureRouteTableCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Get, "AzureRMRouteTable"), OutputType(typeof(PSRouteTable))] + [Cmdlet(VerbsCommon.Get, "AzureRmRouteTable"), OutputType(typeof(PSRouteTable))] public class GetAzureRouteTableCommand : RouteTableBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/RouteTable/NewAzureRouteTableCommand.cs b/src/ResourceManager/Network/Commands.Network/RouteTable/NewAzureRouteTableCommand.cs index 190638fae1d3..ac1ef30d1e4a 100644 --- a/src/ResourceManager/Network/Commands.Network/RouteTable/NewAzureRouteTableCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/RouteTable/NewAzureRouteTableCommand.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.New, "AzureRMRouteTable"), OutputType(typeof(PSRouteTable))] + [Cmdlet(VerbsCommon.New, "AzureRmRouteTable"), OutputType(typeof(PSRouteTable))] public class NewAzureRouteTableCommand : RouteTableBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/RouteTable/RemoveAzureRouteTableCommand.cs b/src/ResourceManager/Network/Commands.Network/RouteTable/RemoveAzureRouteTableCommand.cs index 65810b9df3c7..0d3c40ff5098 100644 --- a/src/ResourceManager/Network/Commands.Network/RouteTable/RemoveAzureRouteTableCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/RouteTable/RemoveAzureRouteTableCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Remove, "AzureRMRouteTable")] + [Cmdlet(VerbsCommon.Remove, "AzureRmRouteTable")] public class RemoveAzureRouteTableCommand : RouteTableBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/RouteTable/Route/AddAzureRouteConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/RouteTable/Route/AddAzureRouteConfigCommand.cs index 7ab9ac767ff3..b03840ddb5a7 100644 --- a/src/ResourceManager/Network/Commands.Network/RouteTable/Route/AddAzureRouteConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/RouteTable/Route/AddAzureRouteConfigCommand.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Add, "AzureRMRouteConfig"), OutputType(typeof(PSRouteTable))] + [Cmdlet(VerbsCommon.Add, "AzureRmRouteConfig"), OutputType(typeof(PSRouteTable))] public class AddAzureRouteConfigCommand : AzureRouteConfigBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/RouteTable/Route/GetAzureRouteConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/RouteTable/Route/GetAzureRouteConfigCommand.cs index fa30c7fb4ba6..bbefabc05f0c 100644 --- a/src/ResourceManager/Network/Commands.Network/RouteTable/Route/GetAzureRouteConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/RouteTable/Route/GetAzureRouteConfigCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Get, "AzureRMRouteConfig"), OutputType(typeof(PSRoute))] + [Cmdlet(VerbsCommon.Get, "AzureRmRouteConfig"), OutputType(typeof(PSRoute))] public class GetAzureRouteConfigCommand : NetworkBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/RouteTable/Route/NewAzureRouteConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/RouteTable/Route/NewAzureRouteConfigCommand.cs index f5be419fcf14..fc702827d64d 100644 --- a/src/ResourceManager/Network/Commands.Network/RouteTable/Route/NewAzureRouteConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/RouteTable/Route/NewAzureRouteConfigCommand.cs @@ -17,7 +17,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.New, "AzureRMRouteConfig"), OutputType(typeof(PSRoute))] + [Cmdlet(VerbsCommon.New, "AzureRmRouteConfig"), OutputType(typeof(PSRoute))] public class NewAzureRouteConfigCommand : AzureRouteConfigBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/RouteTable/Route/RemoveAzureRouteConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/RouteTable/Route/RemoveAzureRouteConfigCommand.cs index f345e80d864c..f157b17bc60a 100644 --- a/src/ResourceManager/Network/Commands.Network/RouteTable/Route/RemoveAzureRouteConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/RouteTable/Route/RemoveAzureRouteConfigCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Remove, "AzureRMRouteConfig"), OutputType(typeof(PSRouteTable))] + [Cmdlet(VerbsCommon.Remove, "AzureRmRouteConfig"), OutputType(typeof(PSRouteTable))] public class RemoveAzurReouteConfigCommand : NetworkBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/RouteTable/Route/SetAzureRouteConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/RouteTable/Route/SetAzureRouteConfigCommand.cs index 3372737dd416..562be2c654fc 100644 --- a/src/ResourceManager/Network/Commands.Network/RouteTable/Route/SetAzureRouteConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/RouteTable/Route/SetAzureRouteConfigCommand.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Set, "AzureRMRouteConfig"), OutputType(typeof(PSRouteTable))] + [Cmdlet(VerbsCommon.Set, "AzureRmRouteConfig"), OutputType(typeof(PSRouteTable))] public class SetAzureRouteConfigCommand : AzureRouteConfigBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/RouteTable/SetAzureRouteTableCommand.cs b/src/ResourceManager/Network/Commands.Network/RouteTable/SetAzureRouteTableCommand.cs index d39e8daa6dd8..ac605ddbfc5b 100644 --- a/src/ResourceManager/Network/Commands.Network/RouteTable/SetAzureRouteTableCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/RouteTable/SetAzureRouteTableCommand.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Set, "AzureRMRouteTable"), OutputType(typeof(PSRouteTable))] + [Cmdlet(VerbsCommon.Set, "AzureRmRouteTable"), OutputType(typeof(PSRouteTable))] public class SetAzureRouteTableCommand : RouteTableBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/VirtualNetwork/GetAzureVirtualNetworkCommand.cs b/src/ResourceManager/Network/Commands.Network/VirtualNetwork/GetAzureVirtualNetworkCommand.cs index c91b0a93d6c5..1713034c6ae0 100644 --- a/src/ResourceManager/Network/Commands.Network/VirtualNetwork/GetAzureVirtualNetworkCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/VirtualNetwork/GetAzureVirtualNetworkCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Get, "AzureRMVirtualNetwork"), OutputType(typeof(PSVirtualNetwork))] + [Cmdlet(VerbsCommon.Get, "AzureRmVirtualNetwork"), OutputType(typeof(PSVirtualNetwork))] public class GetAzureVirtualNetworkCommand : VirtualNetworkBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/VirtualNetwork/NewAzureVirtualNetworkCommand.cs b/src/ResourceManager/Network/Commands.Network/VirtualNetwork/NewAzureVirtualNetworkCommand.cs index 915e685f8590..8aa760ed59c7 100644 --- a/src/ResourceManager/Network/Commands.Network/VirtualNetwork/NewAzureVirtualNetworkCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/VirtualNetwork/NewAzureVirtualNetworkCommand.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.New, "AzureRMVirtualNetwork"), OutputType(typeof(PSVirtualNetwork))] + [Cmdlet(VerbsCommon.New, "AzureRmVirtualNetwork"), OutputType(typeof(PSVirtualNetwork))] public class NewAzureVirtualNetworkCommand : VirtualNetworkBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/VirtualNetwork/RemoveAzureVirtualNetworkCommand.cs b/src/ResourceManager/Network/Commands.Network/VirtualNetwork/RemoveAzureVirtualNetworkCommand.cs index 2d17eede27ff..06afcc002dd5 100644 --- a/src/ResourceManager/Network/Commands.Network/VirtualNetwork/RemoveAzureVirtualNetworkCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/VirtualNetwork/RemoveAzureVirtualNetworkCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Remove, "AzureRMVirtualNetwork")] + [Cmdlet(VerbsCommon.Remove, "AzureRmVirtualNetwork")] public class RemoveAzureVirtualNetworkCommand : VirtualNetworkBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/VirtualNetwork/SetAzureVirtualNetworkCommand.cs b/src/ResourceManager/Network/Commands.Network/VirtualNetwork/SetAzureVirtualNetworkCommand.cs index bf480a1bc50e..e34241cb4650 100644 --- a/src/ResourceManager/Network/Commands.Network/VirtualNetwork/SetAzureVirtualNetworkCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/VirtualNetwork/SetAzureVirtualNetworkCommand.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Set, "AzureRMVirtualNetwork"), OutputType(typeof(PSVirtualNetwork))] + [Cmdlet(VerbsCommon.Set, "AzureRmVirtualNetwork"), OutputType(typeof(PSVirtualNetwork))] public class SetAzureVirtualNetworkCommand : VirtualNetworkBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/VirtualNetwork/Subnet/AddAzureVirtualNetworkSubnetConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/VirtualNetwork/Subnet/AddAzureVirtualNetworkSubnetConfigCommand.cs index 5c80fa80c8f5..6ef9ce3fd3bd 100644 --- a/src/ResourceManager/Network/Commands.Network/VirtualNetwork/Subnet/AddAzureVirtualNetworkSubnetConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/VirtualNetwork/Subnet/AddAzureVirtualNetworkSubnetConfigCommand.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Add, "AzureRMVirtualNetworkSubnetConfig", DefaultParameterSetName = "SetByResource"), OutputType(typeof(PSVirtualNetwork))] + [Cmdlet(VerbsCommon.Add, "AzureRmVirtualNetworkSubnetConfig", DefaultParameterSetName = "SetByResource"), OutputType(typeof(PSVirtualNetwork))] public class AddAzureVirtualNetworkSubnetConfigCommand : AzureVirtualNetworkSubnetConfigBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/VirtualNetwork/Subnet/GetAzureVirtualNetworkSubnetConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/VirtualNetwork/Subnet/GetAzureVirtualNetworkSubnetConfigCommand.cs index 4cc4817f113a..2c148f2d9d70 100644 --- a/src/ResourceManager/Network/Commands.Network/VirtualNetwork/Subnet/GetAzureVirtualNetworkSubnetConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/VirtualNetwork/Subnet/GetAzureVirtualNetworkSubnetConfigCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Get, "AzureRMVirtualNetworkSubnetConfig"), OutputType(typeof(PSSubnet))] + [Cmdlet(VerbsCommon.Get, "AzureRmVirtualNetworkSubnetConfig"), OutputType(typeof(PSSubnet))] public class GetAzureVirtualNetworkSubnetConfigCommand : NetworkBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/VirtualNetwork/Subnet/NewAzureVirtualNetworkSubnetConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/VirtualNetwork/Subnet/NewAzureVirtualNetworkSubnetConfigCommand.cs index 07eb03654568..f2398e43e209 100644 --- a/src/ResourceManager/Network/Commands.Network/VirtualNetwork/Subnet/NewAzureVirtualNetworkSubnetConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/VirtualNetwork/Subnet/NewAzureVirtualNetworkSubnetConfigCommand.cs @@ -17,7 +17,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.New, "AzureRMVirtualNetworkSubnetConfig", DefaultParameterSetName = "SetByResource"), OutputType(typeof(PSSubnet))] + [Cmdlet(VerbsCommon.New, "AzureRmVirtualNetworkSubnetConfig", DefaultParameterSetName = "SetByResource"), OutputType(typeof(PSSubnet))] public class NewAzureVirtualNetworkSubnetConfigCommand : AzureVirtualNetworkSubnetConfigBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/VirtualNetwork/Subnet/RemoveAzureVirtualNetworkSubnetConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/VirtualNetwork/Subnet/RemoveAzureVirtualNetworkSubnetConfigCommand.cs index 802f0194d1cf..f2e174f8867e 100644 --- a/src/ResourceManager/Network/Commands.Network/VirtualNetwork/Subnet/RemoveAzureVirtualNetworkSubnetConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/VirtualNetwork/Subnet/RemoveAzureVirtualNetworkSubnetConfigCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Remove, "AzureRMVirtualNetworkSubnetConfig"), OutputType(typeof(PSVirtualNetwork))] + [Cmdlet(VerbsCommon.Remove, "AzureRmVirtualNetworkSubnetConfig"), OutputType(typeof(PSVirtualNetwork))] public class RemoveAzureVirtualNetworkSubnetConfigCommand : NetworkBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/VirtualNetwork/Subnet/SetAzureVirtualNetworkSubnetConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/VirtualNetwork/Subnet/SetAzureVirtualNetworkSubnetConfigCommand.cs index bcf784de2e08..feb12ed9cff2 100644 --- a/src/ResourceManager/Network/Commands.Network/VirtualNetwork/Subnet/SetAzureVirtualNetworkSubnetConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/VirtualNetwork/Subnet/SetAzureVirtualNetworkSubnetConfigCommand.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Set, "AzureRMVirtualNetworkSubnetConfig", DefaultParameterSetName = "SetByResource"), OutputType(typeof(PSVirtualNetwork))] + [Cmdlet(VerbsCommon.Set, "AzureRmVirtualNetworkSubnetConfig", DefaultParameterSetName = "SetByResource"), OutputType(typeof(PSVirtualNetwork))] public class SetAzureVirtualNetworkSubnetConfigCommand : AzureVirtualNetworkSubnetConfigBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/VirtualNetworkGateway/GetAzureVirtualNetworkGatewayCommand.cs b/src/ResourceManager/Network/Commands.Network/VirtualNetworkGateway/GetAzureVirtualNetworkGatewayCommand.cs index 742c767ae048..b8c23adcd096 100644 --- a/src/ResourceManager/Network/Commands.Network/VirtualNetworkGateway/GetAzureVirtualNetworkGatewayCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/VirtualNetworkGateway/GetAzureVirtualNetworkGatewayCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Get, "AzureRMVirtualNetworkGateway"), OutputType(typeof(PSVirtualNetworkGateway))] + [Cmdlet(VerbsCommon.Get, "AzureRmVirtualNetworkGateway"), OutputType(typeof(PSVirtualNetworkGateway))] public class GetAzureVirtualNetworkGatewayCommand : VirtualNetworkGatewayBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/VirtualNetworkGateway/NewAzureVirtualNetworkGatewayCommand.cs b/src/ResourceManager/Network/Commands.Network/VirtualNetworkGateway/NewAzureVirtualNetworkGatewayCommand.cs index 413a9f028d3b..dbe3b6374cb0 100644 --- a/src/ResourceManager/Network/Commands.Network/VirtualNetworkGateway/NewAzureVirtualNetworkGatewayCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/VirtualNetworkGateway/NewAzureVirtualNetworkGatewayCommand.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.New, "AzureRMVirtualNetworkGateway"), OutputType(typeof(PSVirtualNetworkGateway))] + [Cmdlet(VerbsCommon.New, "AzureRmVirtualNetworkGateway"), OutputType(typeof(PSVirtualNetworkGateway))] public class NewAzureVirtualNetworkGatewayCommand : VirtualNetworkGatewayBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/VirtualNetworkGateway/NewAzureVirtualNetworkGatewayIpConfigCommand.cs b/src/ResourceManager/Network/Commands.Network/VirtualNetworkGateway/NewAzureVirtualNetworkGatewayIpConfigCommand.cs index a238976ed348..93223c101d53 100644 --- a/src/ResourceManager/Network/Commands.Network/VirtualNetworkGateway/NewAzureVirtualNetworkGatewayIpConfigCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/VirtualNetworkGateway/NewAzureVirtualNetworkGatewayIpConfigCommand.cs @@ -17,7 +17,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.New, "AzureRMVirtualNetworkGatewayIpConfig"), OutputType(typeof(PSVirtualNetworkGatewayIpConfiguration))] + [Cmdlet(VerbsCommon.New, "AzureRmVirtualNetworkGatewayIpConfig"), OutputType(typeof(PSVirtualNetworkGatewayIpConfiguration))] public class NewAzureVirtualNetworkGatewayIpConfigCommand : AzureLoadBalancerFrontendIpConfigBase { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/VirtualNetworkGateway/RemoveAzureVirtualNetworkGatewayCommand.cs b/src/ResourceManager/Network/Commands.Network/VirtualNetworkGateway/RemoveAzureVirtualNetworkGatewayCommand.cs index 8bc898fe52fb..fa841fcd8357 100644 --- a/src/ResourceManager/Network/Commands.Network/VirtualNetworkGateway/RemoveAzureVirtualNetworkGatewayCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/VirtualNetworkGateway/RemoveAzureVirtualNetworkGatewayCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Remove, "AzureRMVirtualNetworkGateway")] + [Cmdlet(VerbsCommon.Remove, "AzureRmVirtualNetworkGateway")] public class RemoveAzureVirtualNetworkGatewayCommand : VirtualNetworkGatewayBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/VirtualNetworkGateway/ResetAzureVirtualNetworkGatewayCommand.cs b/src/ResourceManager/Network/Commands.Network/VirtualNetworkGateway/ResetAzureVirtualNetworkGatewayCommand.cs index c72fede3f148..d10e8f03b2a6 100644 --- a/src/ResourceManager/Network/Commands.Network/VirtualNetworkGateway/ResetAzureVirtualNetworkGatewayCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/VirtualNetworkGateway/ResetAzureVirtualNetworkGatewayCommand.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Reset, "AzureRMVirtualNetworkGateway"), OutputType(typeof(PSVirtualNetworkGateway))] + [Cmdlet(VerbsCommon.Reset, "AzureRmVirtualNetworkGateway"), OutputType(typeof(PSVirtualNetworkGateway))] public class ResetAzureVirtualNetworkGatewayCommand : VirtualNetworkGatewayBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/Network/Commands.Network/VirtualNetworkGatewayConnection/GetAzureVirtualNetworkGatewayConnectionCommand.cs b/src/ResourceManager/Network/Commands.Network/VirtualNetworkGatewayConnection/GetAzureVirtualNetworkGatewayConnectionCommand.cs index ecb98e0fbb65..9d896e280d06 100644 --- a/src/ResourceManager/Network/Commands.Network/VirtualNetworkGatewayConnection/GetAzureVirtualNetworkGatewayConnectionCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/VirtualNetworkGatewayConnection/GetAzureVirtualNetworkGatewayConnectionCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Get, "AzureRMVirtualNetworkGatewayConnection"), OutputType(typeof(PSVirtualNetworkGatewayConnection))] + [Cmdlet(VerbsCommon.Get, "AzureRmVirtualNetworkGatewayConnection"), OutputType(typeof(PSVirtualNetworkGatewayConnection))] public class GetAzureVirtualNetworkGatewayConnectionCommand : VirtualNetworkGatewayConnectionBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/VirtualNetworkGatewayConnection/GetAzureVirtualNetworkGatewayConnectionSharedKeyCommand.cs b/src/ResourceManager/Network/Commands.Network/VirtualNetworkGatewayConnection/GetAzureVirtualNetworkGatewayConnectionSharedKeyCommand.cs index 22f3e88d807d..672149d5079a 100644 --- a/src/ResourceManager/Network/Commands.Network/VirtualNetworkGatewayConnection/GetAzureVirtualNetworkGatewayConnectionSharedKeyCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/VirtualNetworkGatewayConnection/GetAzureVirtualNetworkGatewayConnectionSharedKeyCommand.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Get, "AzureRMVirtualNetworkGatewayConnectionSharedKey"), OutputType(typeof(string))] + [Cmdlet(VerbsCommon.Get, "AzureRmVirtualNetworkGatewayConnectionSharedKey"), OutputType(typeof(string))] public class GetAzureVirtualNetworkGatewayConnectionSharedKeyCommand : VirtualNetworkGatewayConnectionBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/VirtualNetworkGatewayConnection/NewAzureVirtualNetworkGatewayConnectionCommand.cs b/src/ResourceManager/Network/Commands.Network/VirtualNetworkGatewayConnection/NewAzureVirtualNetworkGatewayConnectionCommand.cs index b3f98166a881..c901f45589f3 100644 --- a/src/ResourceManager/Network/Commands.Network/VirtualNetworkGatewayConnection/NewAzureVirtualNetworkGatewayConnectionCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/VirtualNetworkGatewayConnection/NewAzureVirtualNetworkGatewayConnectionCommand.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.New, "AzureRMVirtualNetworkGatewayConnection"), OutputType(typeof(PSVirtualNetworkGatewayConnection))] + [Cmdlet(VerbsCommon.New, "AzureRmVirtualNetworkGatewayConnection"), OutputType(typeof(PSVirtualNetworkGatewayConnection))] public class NewAzureVirtualNetworkGatewayConnectionCommand : VirtualNetworkGatewayConnectionBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/VirtualNetworkGatewayConnection/RemoveAzureVirtualNetworkGatewayConnectionCommand.cs b/src/ResourceManager/Network/Commands.Network/VirtualNetworkGatewayConnection/RemoveAzureVirtualNetworkGatewayConnectionCommand.cs index bf5691cce53b..40b714a57a59 100644 --- a/src/ResourceManager/Network/Commands.Network/VirtualNetworkGatewayConnection/RemoveAzureVirtualNetworkGatewayConnectionCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/VirtualNetworkGatewayConnection/RemoveAzureVirtualNetworkGatewayConnectionCommand.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Remove, "AzureRMVirtualNetworkGatewayConnection")] + [Cmdlet(VerbsCommon.Remove, "AzureRmVirtualNetworkGatewayConnection")] public class RemoveAzureVirtualNetworkGatewayConnectionCommand : VirtualNetworkGatewayConnectionBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/VirtualNetworkGatewayConnection/ResetAzureVirtualNetworkGatewayConnectionSharedKeyCommand.cs b/src/ResourceManager/Network/Commands.Network/VirtualNetworkGatewayConnection/ResetAzureVirtualNetworkGatewayConnectionSharedKeyCommand.cs index 6752b8579a98..a3b84e23b34f 100644 --- a/src/ResourceManager/Network/Commands.Network/VirtualNetworkGatewayConnection/ResetAzureVirtualNetworkGatewayConnectionSharedKeyCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/VirtualNetworkGatewayConnection/ResetAzureVirtualNetworkGatewayConnectionSharedKeyCommand.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Reset, "AzureRMVirtualNetworkGatewayConnectionSharedKey"), OutputType(typeof(string))] + [Cmdlet(VerbsCommon.Reset, "AzureRmVirtualNetworkGatewayConnectionSharedKey"), OutputType(typeof(string))] public class ResetAzureVirtualNetworkGatewayConnectionSharedKeyCommand : VirtualNetworkGatewayConnectionBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/VirtualNetworkGatewayConnection/SetAzureVirtualNetworkGatewayConnectionSharedKeyCommand.cs b/src/ResourceManager/Network/Commands.Network/VirtualNetworkGatewayConnection/SetAzureVirtualNetworkGatewayConnectionSharedKeyCommand.cs index 7d372985c23e..5b1cb594e4f0 100644 --- a/src/ResourceManager/Network/Commands.Network/VirtualNetworkGatewayConnection/SetAzureVirtualNetworkGatewayConnectionSharedKeyCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/VirtualNetworkGatewayConnection/SetAzureVirtualNetworkGatewayConnectionSharedKeyCommand.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Set, "AzureRMVirtualNetworkGatewayConnectionSharedKey"), OutputType(typeof(string))] + [Cmdlet(VerbsCommon.Set, "AzureRmVirtualNetworkGatewayConnectionSharedKey"), OutputType(typeof(string))] public class NewAzureVirtualNetworkGatewayConnectionSharedKeyCommand : VirtualNetworkGatewayConnectionBaseCmdlet { [Alias("ResourceName")] diff --git a/src/ResourceManager/Network/Commands.Network/VirtualNetworkGatewayConnection/UpdateAzureVirtualNetworkGatewayConnectionCommand.cs b/src/ResourceManager/Network/Commands.Network/VirtualNetworkGatewayConnection/UpdateAzureVirtualNetworkGatewayConnectionCommand.cs index ed719f254420..00dd7bc56eb7 100644 --- a/src/ResourceManager/Network/Commands.Network/VirtualNetworkGatewayConnection/UpdateAzureVirtualNetworkGatewayConnectionCommand.cs +++ b/src/ResourceManager/Network/Commands.Network/VirtualNetworkGatewayConnection/UpdateAzureVirtualNetworkGatewayConnectionCommand.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Set, "AzureRMVirtualNetworkGatewayConnection"), OutputType(typeof(PSVirtualNetworkGatewayConnection))] + [Cmdlet(VerbsCommon.Set, "AzureRmVirtualNetworkGatewayConnection"), OutputType(typeof(PSVirtualNetworkGatewayConnection))] public class SetAzureVirtualNetworkGatewayConnectionCommand : VirtualNetworkGatewayConnectionBaseCmdlet { [Parameter( diff --git a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/ScenarioTests/Common.ps1 b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/ScenarioTests/Common.ps1 index ecd702cdcf17..28e3faa7d8d4 100644 --- a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/ScenarioTests/Common.ps1 +++ b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/ScenarioTests/Common.ps1 @@ -36,7 +36,7 @@ Gets a valid storage account resource id #> function Get-StorageResourceId($rgname, $resourcename) { - $subscription = (Get-AzureRMSubscription -Default).SubscriptionId + $subscription = (Get-AzureRmSubscription -Default).SubscriptionId return "/subscriptions/$subscription/resourcegroups/$rgname/providers/microsoft.storage/storageaccounts/$resourcename" } @@ -46,7 +46,7 @@ Gets the default location for Operational Insights #> function Get-ProviderLocation() { - $location = Get-AzureRMLocation | where {$_.Name -eq "Microsoft.OperationalInsights\workspaces"} + $location = Get-AzureRmLocation | where {$_.Name -eq "Microsoft.OperationalInsights\workspaces"} if ($location -eq $null) { "East US" } else { diff --git a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/ScenarioTests/StorageInsightTests.cs b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/ScenarioTests/StorageInsightTests.cs index 1cc2c128ae99..e71cd984a2e8 100644 --- a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/ScenarioTests/StorageInsightTests.cs +++ b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/ScenarioTests/StorageInsightTests.cs @@ -19,14 +19,14 @@ namespace Microsoft.Azure.Commands.OperationalInsights.Test { public class StorageInsightTests : OperationalInsightsScenarioTestBase { - [Fact(Skip = "PSGet Migration: TODO: Get-AzureRMSubscription")] + [Fact(Skip = "PSGet Migration: TODO: Get-AzureRmSubscription")] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestStorageInsightCreateUpdateDelete() { RunPowerShellTest("Test-StorageInsightCreateUpdateDelete"); } - [Fact(Skip = "PSGet Migration: TODO: Get-AzureRMSubscription")] + [Fact(Skip = "PSGet Migration: TODO: Get-AzureRmSubscription")] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestStorageInsightCreateFailsWithoutWorkspace() { diff --git a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/ScenarioTests/StorageInsightTests.ps1 b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/ScenarioTests/StorageInsightTests.ps1 index 6d33d5534703..d65bedfdb201 100644 --- a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/ScenarioTests/StorageInsightTests.ps1 +++ b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/ScenarioTests/StorageInsightTests.ps1 @@ -25,13 +25,13 @@ function Test-StorageInsightCreateUpdateDelete $said = Get-StorageResourceId $rgname $saname $wslocation = Get-ProviderLocation - New-AzureRMResourceGroup -Name $rgname -Location $wslocation -Force + New-AzureRmResourceGroup -Name $rgname -Location $wslocation -Force # Create a workspace to house the storage insight - $workspace = New-AzureRMOperationalInsightsWorkspace -ResourceGroupName $rgname -Name $wsname -Location $wslocation -Force + $workspace = New-AzureRmOperationalInsightsWorkspace -ResourceGroupName $rgname -Name $wsname -Location $wslocation -Force # Create a storage insight - $storageinsight = New-AzureRMOperationalInsightsStorageInsight -ResourceGroupName $rgname -WorkspaceName $wsname -Name $siname -Tables @("WADWindowsEventLogsTable", "LinuxSyslogVer2v0") -Containers @("wad-iis-logfiles") -StorageAccountResourceId $said -StorageAccountKey "fakekey" + $storageinsight = New-AzureRmOperationalInsightsStorageInsight -ResourceGroupName $rgname -WorkspaceName $wsname -Name $siname -Tables @("WADWindowsEventLogsTable", "LinuxSyslogVer2v0") -Containers @("wad-iis-logfiles") -StorageAccountResourceId $said -StorageAccountKey "fakekey" Assert-AreEqual $siname $storageInsight.Name Assert-NotNull $storageInsight.ResourceId Assert-AreEqual $rgname $storageInsight.ResourceGroupName @@ -42,7 +42,7 @@ function Test-StorageInsightCreateUpdateDelete Assert-AreEqualArray @("wad-iis-logfiles") $storageInsight.Containers # Get the storage insight that was created - $storageInsight = Get-AzureRMOperationalInsightsStorageInsight -ResourceGroupName $rgname -WorkspaceName $wsname -Name $siname + $storageInsight = Get-AzureRmOperationalInsightsStorageInsight -ResourceGroupName $rgname -WorkspaceName $wsname -Name $siname Assert-AreEqual $siname $storageInsight.Name Assert-NotNull $storageInsight.ResourceId Assert-AreEqual $rgname $storageInsight.ResourceGroupName @@ -54,44 +54,44 @@ function Test-StorageInsightCreateUpdateDelete # Create a second storage insight for list testing $sinametwo = Get-ResourceName - $storageinsight = New-AzureRMOperationalInsightsStorageInsight -ResourceGroupName $rgname -WorkspaceName $wsname -Name $sinametwo -Tables @("WADWindowsEventLogsTable", "LinuxSyslogVer2v0") -StorageAccountResourceId $said -StorageAccountKey "fakekey" + $storageinsight = New-AzureRmOperationalInsightsStorageInsight -ResourceGroupName $rgname -WorkspaceName $wsname -Name $sinametwo -Tables @("WADWindowsEventLogsTable", "LinuxSyslogVer2v0") -StorageAccountResourceId $said -StorageAccountKey "fakekey" # List the storage insight in the workspace (both param sets) - $storageinsights = Get-AzureRMOperationalInsightsStorageInsight -ResourceGroupName $rgname -WorkspaceName $wsname + $storageinsights = Get-AzureRmOperationalInsightsStorageInsight -ResourceGroupName $rgname -WorkspaceName $wsname Assert-AreEqual 2 $storageinsights.Count Assert-AreEqual 1 ($storageinsights | Where {$_.Name -eq $siname}).Count Assert-AreEqual 1 ($storageinsights | Where {$_.Name -eq $sinametwo}).Count - $storageinsights = Get-AzureRMOperationalInsightsStorageInsight -Workspace $workspace + $storageinsights = Get-AzureRmOperationalInsightsStorageInsight -Workspace $workspace Assert-AreEqual 2 $storageinsights.Count Assert-AreEqual 1 ($storageinsights | Where {$_.Name -eq $siname}).Count Assert-AreEqual 1 ($storageinsights | Where {$_.Name -eq $sinametwo}).Count # Delete one of the storage insights - Remove-AzureRMOperationalInsightsStorageInsight -ResourceGroupName $rgname -WorkspaceName $wsname -Name $sinametwo -Force - Assert-ThrowsContains { Get-AzureRMOperationalInsightsStorageInsight -Workspace $workspace -Name $sinametwo } "Not Found" - $storageinsights = Get-AzureRMOperationalInsightsStorageInsight -Workspace $workspace + Remove-AzureRmOperationalInsightsStorageInsight -ResourceGroupName $rgname -WorkspaceName $wsname -Name $sinametwo -Force + Assert-ThrowsContains { Get-AzureRmOperationalInsightsStorageInsight -Workspace $workspace -Name $sinametwo } "Not Found" + $storageinsights = Get-AzureRmOperationalInsightsStorageInsight -Workspace $workspace Assert-AreEqual 1 $storageinsights.Count Assert-AreEqual 1 ($storageinsights | Where {$_.Name -eq $siname}).Count Assert-AreEqual 0 ($storageinsights | Where {$_.Name -eq $sinametwo}).Count # Perform an update on the storage insight - $storageinsight = Set-AzureRMOperationalInsightsStorageInsight -ResourceGroupName $rgname -WorkspaceName $wsname -Name $siname -Tables @("WADWindowsEventLogsTable") -Containers @() -StorageAccountKey "anotherfakekey" + $storageinsight = Set-AzureRmOperationalInsightsStorageInsight -ResourceGroupName $rgname -WorkspaceName $wsname -Name $siname -Tables @("WADWindowsEventLogsTable") -Containers @() -StorageAccountKey "anotherfakekey" Assert-AreEqualArray @("WADWindowsEventLogsTable") $storageInsight.Tables Assert-AreEqualArray @() $storageInsight.Containers - $storageinsight = $storageinsight | Set-AzureRMOperationalInsightsStorageInsight -Tables @() -Containers @("wad-iis-logfiles") + $storageinsight = $storageinsight | Set-AzureRmOperationalInsightsStorageInsight -Tables @() -Containers @("wad-iis-logfiles") Assert-AreEqualArray @() $storageInsight.Tables Assert-AreEqualArray @("wad-iis-logfiles") $storageInsight.Containers - $storageinsight = New-AzureRMOperationalInsightsStorageInsight -Workspace $workspace -Name $siname -Tables @("WADWindowsEventLogsTable") -Containers @("wad-iis-logfiles") -StorageAccountKey "anotherfakekey" -StorageAccountResourceId $said -Force + $storageinsight = New-AzureRmOperationalInsightsStorageInsight -Workspace $workspace -Name $siname -Tables @("WADWindowsEventLogsTable") -Containers @("wad-iis-logfiles") -StorageAccountKey "anotherfakekey" -StorageAccountResourceId $said -Force Assert-AreEqualArray @("WADWindowsEventLogsTable") $storageInsight.Tables Assert-AreEqualArray @("wad-iis-logfiles") $storageInsight.Containers # Delete the remaining storage insight via piping - Remove-AzureRMOperationalInsightsStorageInsight -Workspace $workspace -Name $siname -Force - Assert-ThrowsContains { Get-AzureRMOperationalInsightsStorageInsight -Workspace $workspace -Name $siname } "Not Found" - $storageinsights = Get-AzureRMOperationalInsightsStorageInsight -Workspace $workspace + Remove-AzureRmOperationalInsightsStorageInsight -Workspace $workspace -Name $siname -Force + Assert-ThrowsContains { Get-AzureRmOperationalInsightsStorageInsight -Workspace $workspace -Name $siname } "Not Found" + $storageinsights = Get-AzureRmOperationalInsightsStorageInsight -Workspace $workspace Assert-AreEqual 0 $storageinsights.Count } @@ -108,7 +108,7 @@ function Test-StorageInsightCreateFailsWithoutWorkspace $said = Get-StorageResourceId $rgname $saname $wslocation = Get-ProviderLocation - New-AzureRMResourceGroup -Name $rgname -Location $wslocation -Force + New-AzureRmResourceGroup -Name $rgname -Location $wslocation -Force - Assert-ThrowsContains { New-AzureRMOperationalInsightsStorageInsight -ResourceGroupName $rgname -WorkspaceName $wsname -Name $siname -Tables @("WADWindowsEventLogsTable", "LinuxSyslogVer2v0") -StorageAccountResourceId $said -StorageAccountKey "fakekey" } "ResourceNotFound" + Assert-ThrowsContains { New-AzureRmOperationalInsightsStorageInsight -ResourceGroupName $rgname -WorkspaceName $wsname -Name $siname -Tables @("WADWindowsEventLogsTable", "LinuxSyslogVer2v0") -StorageAccountResourceId $said -StorageAccountKey "fakekey" } "ResourceNotFound" } \ No newline at end of file diff --git a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/ScenarioTests/WorkspaceTests.ps1 b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/ScenarioTests/WorkspaceTests.ps1 index e27c406d475f..a04f062567b2 100644 --- a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/ScenarioTests/WorkspaceTests.ps1 +++ b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/ScenarioTests/WorkspaceTests.ps1 @@ -22,10 +22,10 @@ function Test-WorkspaceCreateUpdateDelete $rgname = Get-ResourceGroupName $wslocation = Get-ProviderLocation - New-AzureRMResourceGroup -Name $rgname -Location $wslocation -Force + New-AzureRmResourceGroup -Name $rgname -Location $wslocation -Force # Create and get a workspace - $workspace = New-AzureRMOperationalInsightsWorkspace -ResourceGroupName $rgname -Name $wsname -Location $wslocation -Sku free -Tags @{"tag1" = "val1"} -Force + $workspace = New-AzureRmOperationalInsightsWorkspace -ResourceGroupName $rgname -Name $wsname -Location $wslocation -Sku free -Tags @{"tag1" = "val1"} -Force Assert-AreEqual $rgname $workspace.ResourceGroupName Assert-AreEqual $wsname $workspace.Name Assert-AreEqual $wslocation $workspace.Location @@ -35,7 +35,7 @@ function Test-WorkspaceCreateUpdateDelete Assert-NotNull $workspace.CustomerId Assert-NotNull $workspace.PortalUrl - $workspace = Get-AzureRMOperationalInsightsWorkspace -ResourceGroupName $rgname -Name $wsname + $workspace = Get-AzureRmOperationalInsightsWorkspace -ResourceGroupName $rgname -Name $wsname Assert-AreEqual $rgname $workspace.ResourceGroupName Assert-AreEqual $wsname $workspace.Name Assert-AreEqual $wslocation $workspace.Location @@ -47,46 +47,46 @@ function Test-WorkspaceCreateUpdateDelete # Create a second workspace for list testing $wstwoname = Get-ResourceName - $workspacetwo = New-AzureRMOperationalInsightsWorkspace -ResourceGroupName $rgname -Name $wstwoname -Location $wslocation -Force + $workspacetwo = New-AzureRmOperationalInsightsWorkspace -ResourceGroupName $rgname -Name $wstwoname -Location $wslocation -Force # List the workspaces in the subscription - $workspaces = Get-AzureRMOperationalInsightsWorkspace + $workspaces = Get-AzureRmOperationalInsightsWorkspace Assert-AreEqual 2 $workspaces.Count Assert-AreEqual 1 ($workspaces | Where {$_.Name -eq $wsname}).Count Assert-AreEqual 1 ($workspaces | Where {$_.Name -eq $wstwoname}).Count # List the workspaces in the resource group - $workspaces = Get-AzureRMOperationalInsightsWorkspace -ResourceGroupName $rgname + $workspaces = Get-AzureRmOperationalInsightsWorkspace -ResourceGroupName $rgname Assert-AreEqual 2 $workspaces.Count Assert-AreEqual 1 ($workspaces | Where {$_.Name -eq $wsname}).Count Assert-AreEqual 1 ($workspaces | Where {$_.Name -eq $wstwoname}).Count # Delete the second workspace - Remove-AzureRMOperationalInsightsWorkspace -ResourceGroupName $rgName -Name $wstwoname -Force - Assert-ThrowsContains { Get-AzureRMOperationalInsightsWorkspace -ResourceGroupName $rgname -Name $wstwoname } "ResourceNotFound" - $workspaces = Get-AzureRMOperationalInsightsWorkspace + Remove-AzureRmOperationalInsightsWorkspace -ResourceGroupName $rgName -Name $wstwoname -Force + Assert-ThrowsContains { Get-AzureRmOperationalInsightsWorkspace -ResourceGroupName $rgname -Name $wstwoname } "ResourceNotFound" + $workspaces = Get-AzureRmOperationalInsightsWorkspace Assert-AreEqual 1 $workspaces.Count Assert-AreEqual 1 ($workspaces | Where {$_.Name -eq $wsname}).Count Assert-AreEqual 0 ($workspaces | Where {$_.Name -eq $wstwoname}).Count # Update the tags on the workspace - $workspace = Set-AzureRMOperationalInsightsWorkspace -ResourceGroupName $rgname -Name $wsname -Tags @{"foo" = "bar"; "foo2" = "bar2"} + $workspace = Set-AzureRmOperationalInsightsWorkspace -ResourceGroupName $rgname -Name $wsname -Tags @{"foo" = "bar"; "foo2" = "bar2"} Assert-AreEqual 2 $workspace.Tags.Count - $workspace = $workspace | New-AzureRMOperationalInsightsWorkspace -Tags @{"foo" = "bar"} -Force + $workspace = $workspace | New-AzureRmOperationalInsightsWorkspace -Tags @{"foo" = "bar"} -Force Assert-AreEqual 1 $workspace.Tags.Count # Clear the tags and update the sku via piping - $workspace | Set-AzureRMOperationalInsightsWorkspace -Tags @{} -Sku standard - $workspace = Get-AzureRMOperationalInsightsWorkspace -ResourceGroupName $rgname -Name $wsname + $workspace | Set-AzureRmOperationalInsightsWorkspace -Tags @{} -Sku standard + $workspace = Get-AzureRmOperationalInsightsWorkspace -ResourceGroupName $rgname -Name $wsname Assert-AreEqual 0 $workspace.Tags.Count Assert-AreEqual standard $workspace.Sku # Delete the original workspace via piping - $workspace | Remove-AzureRMOperationalInsightsWorkspace -Force - $workspaces = Get-AzureRMOperationalInsightsWorkspace -ResourceGroupName $rgname + $workspace | Remove-AzureRmOperationalInsightsWorkspace -Force + $workspaces = Get-AzureRmOperationalInsightsWorkspace -ResourceGroupName $rgname Assert-AreEqual 0 $workspaces.Count - Assert-ThrowsContains { Get-AzureRMOperationalInsightsWorkspace -ResourceGroupName $rgname -Name wsname } "ResourceNotFound" + Assert-ThrowsContains { Get-AzureRmOperationalInsightsWorkspace -ResourceGroupName $rgname -Name wsname } "ResourceNotFound" } <# @@ -99,36 +99,36 @@ function Test-WorkspaceActions $rgname = Get-ResourceGroupName $wslocation = Get-ProviderLocation - New-AzureRMResourceGroup -Name $rgname -Location $wslocation -Force + New-AzureRmResourceGroup -Name $rgname -Location $wslocation -Force # Query link targets for an identity - $accounts = Get-AzureRMOperationalInsightsLinkTargets + $accounts = Get-AzureRmOperationalInsightsLinkTargets Assert-AreEqual 0 $accounts.Count # Attempt to link a workspace to an invalid account - Assert-ThrowsContains { New-AzureRMOperationalInsightsWorkspace -ResourceGroupName $rgname -Name $wsname -Location $wslocation -CustomerId ([guid]::NewGuid()) } "not a valid link target" + Assert-ThrowsContains { New-AzureRmOperationalInsightsWorkspace -ResourceGroupName $rgname -Name $wsname -Location $wslocation -CustomerId ([guid]::NewGuid()) } "not a valid link target" # Create a real workspace for use in the rest of the test - $workspace = New-AzureRMOperationalInsightsWorkspace -ResourceGroupName $rgname -Name $wsname -Location $wslocation -Sku "STANDARD" -Tags @{"tag1" = "val1"} -Force + $workspace = New-AzureRmOperationalInsightsWorkspace -ResourceGroupName $rgname -Name $wsname -Location $wslocation -Sku "STANDARD" -Tags @{"tag1" = "val1"} -Force # Get the shared keys (both param sets) - $keys = Get-AzureRMOperationalInsightsWorkspaceSharedKeys -ResourceGroupName $rgname -Name $wsname + $keys = Get-AzureRmOperationalInsightsWorkspaceSharedKeys -ResourceGroupName $rgname -Name $wsname Assert-NotNull $keys.PrimarySharedKey Assert-NotNull $keys.SecondarySharedKey - $keys = $workspace | Get-AzureRMOperationalInsightsWorkspaceSharedKeys + $keys = $workspace | Get-AzureRmOperationalInsightsWorkspaceSharedKeys Assert-NotNull $keys.PrimarySharedKey Assert-NotNull $keys.SecondarySharedKey # List the management groups (both param sets) - $mgs = Get-AzureRMOperationalInsightsWorkspaceManagementGroups -ResourceGroupName $rgname -Name $wsname + $mgs = Get-AzureRmOperationalInsightsWorkspaceManagementGroups -ResourceGroupName $rgname -Name $wsname Assert-AreEqual 0 $mgs.Count - $mgs = $workspace | Get-AzureRMOperationalInsightsWorkspaceManagementGroups + $mgs = $workspace | Get-AzureRmOperationalInsightsWorkspaceManagementGroups Assert-AreEqual 0 $mgs.Count # List the usages for a workspace (both param sets) - $usages = Get-AzureRMOperationalInsightsWorkspaceUsage -ResourceGroupName $rgname -Name $wsname + $usages = Get-AzureRmOperationalInsightsWorkspaceUsage -ResourceGroupName $rgname -Name $wsname Assert-AreEqual 1 $usages.Count Assert-AreEqual "DataAnalyzed" $usages[0].Id Assert-NotNull $usages[0].Name @@ -136,7 +136,7 @@ function Test-WorkspaceActions Assert-AreEqual "Bytes" $usages[0].Unit Assert-AreEqual ([Timespan]::FromDays(1)) $usages[0].QuotaPeriod - $usages = $workspace | Get-AzureRMOperationalInsightsWorkspaceUsage + $usages = $workspace | Get-AzureRmOperationalInsightsWorkspaceUsage Assert-AreEqual 1 $usages.Count Assert-AreEqual "DataAnalyzed" $usages[0].Id Assert-NotNull $usages[0].Name diff --git a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Constants.cs b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Constants.cs index 02798e1f5190..205713b656f5 100644 --- a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Constants.cs +++ b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Constants.cs @@ -16,16 +16,16 @@ namespace Microsoft.Azure.Commands.OperationalInsights { internal static class Constants { - public const string LinkTargets = "AzureRMOperationalInsightsLinkTargets"; + public const string LinkTargets = "AzureRmOperationalInsightsLinkTargets"; - public const string Workspace = "AzureRMOperationalInsightsWorkspace"; + public const string Workspace = "AzureRmOperationalInsightsWorkspace"; - public const string WorkspaceSharedKeys = "AzureRMOperationalInsightsWorkspaceSharedKeys"; + public const string WorkspaceSharedKeys = "AzureRmOperationalInsightsWorkspaceSharedKeys"; - public const string WorkspaceManagementGroups = "AzureRMOperationalInsightsWorkspaceManagementGroups"; + public const string WorkspaceManagementGroups = "AzureRmOperationalInsightsWorkspaceManagementGroups"; - public const string WorkspaceUsage = "AzureRMOperationalInsightsWorkspaceUsage"; + public const string WorkspaceUsage = "AzureRmOperationalInsightsWorkspaceUsage"; - public const string StorageInsight = "AzureRMOperationalInsightsStorageInsight"; + public const string StorageInsight = "AzureRmOperationalInsightsStorageInsight"; } } \ No newline at end of file diff --git a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Microsoft.Azure.Commands.OperationalInsights.dll-Help.xml b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Microsoft.Azure.Commands.OperationalInsights.dll-Help.xml index 57da874b200a..d6bf0c879e66 100644 --- a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Microsoft.Azure.Commands.OperationalInsights.dll-Help.xml +++ b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Microsoft.Azure.Commands.OperationalInsights.dll-Help.xml @@ -2,7 +2,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMOperationalInsightsLinkTargets</command:name> + <command:name>Get-AzureRmOperationalInsightsLinkTargets</command:name> <maml:description> <maml:para>Lists existing accounts that are not associated with an Azure subscription.</maml:para> </maml:description> @@ -14,11 +14,11 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMOperationalInsightsLinkTargets cmdlet lists existing accounts that are not associated with an Azure subscription. To link a new workspace to an existing account, use a customer id returned by this operation in the customer id property of a new workspace.</maml:para> + <maml:para>The Get-AzureRmOperationalInsightsLinkTargets cmdlet lists existing accounts that are not associated with an Azure subscription. To link a new workspace to an existing account, use a customer id returned by this operation in the customer id property of a new workspace.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMOperationalInsightsLinkTargets</maml:name> + <maml:name>Get-AzureRmOperationalInsightsLinkTargets</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> @@ -84,7 +84,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMOperationalInsightsStorageInsight</command:name> + <command:name>Get-AzureRmOperationalInsightsStorageInsight</command:name> <maml:description> <maml:para>Gets information about an existing storage insight</maml:para> </maml:description> @@ -96,11 +96,11 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMOperationalInsightsStorageInsight cmdlet gets information about an existing storage insight. If a storage insight name is specified, this cmdlet gets information about that Storage Insight. If you do not specify a name, this cmdlet gets information about all storage insights in a workspace.</maml:para> + <maml:para>The Get-AzureRmOperationalInsightsStorageInsight cmdlet gets information about an existing storage insight. If a storage insight name is specified, this cmdlet gets information about that Storage Insight. If you do not specify a name, this cmdlet gets information about all storage insights in a workspace.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMOperationalInsightsStorageInsight</maml:name> + <maml:name>Get-AzureRmOperationalInsightsStorageInsight</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -131,7 +131,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMOperationalInsightsStorageInsight</maml:name> + <maml:name>Get-AzureRmOperationalInsightsStorageInsight</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Workspace</maml:name> <maml:description> @@ -259,7 +259,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMOperationalInsightsWorkspace</command:name> + <command:name>Get-AzureRmOperationalInsightsWorkspace</command:name> <maml:description> <maml:para>Gets information about an existing workspace</maml:para> </maml:description> @@ -271,11 +271,11 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMOperationalInsightsWorkspace cmdlet gets information about an existing workspace. If a workspace name is specified, this cmdlet gets information about that workspace. If you do not specify a name, this cmdlet gets information about all workspaces in a resource group. If you do not specify a name and resource group, this cmdlet gets information about all workspaces in a subscription.</maml:para> + <maml:para>The Get-AzureRmOperationalInsightsWorkspace cmdlet gets information about an existing workspace. If a workspace name is specified, this cmdlet gets information about that workspace. If you do not specify a name, this cmdlet gets information about all workspaces in a resource group. If you do not specify a name and resource group, this cmdlet gets information about all workspaces in a subscription.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMOperationalInsightsWorkspace</maml:name> + <maml:name>Get-AzureRmOperationalInsightsWorkspace</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -379,7 +379,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMOperationalInsightsWorkspaceManagementGroups</command:name> + <command:name>Get-AzureRmOperationalInsightsWorkspaceManagementGroups</command:name> <maml:description> <maml:para>Gets information about the management groups connected to a workspace</maml:para> </maml:description> @@ -391,11 +391,11 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMOperationalInsightsWorkspaceManagementGroups cmdlet lists the management groups that are connected to a workspace.</maml:para> + <maml:para>The Get-AzureRmOperationalInsightsWorkspaceManagementGroups cmdlet lists the management groups that are connected to a workspace.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMOperationalInsightsWorkspaceManagementGroups</maml:name> + <maml:name>Get-AzureRmOperationalInsightsWorkspaceManagementGroups</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -499,7 +499,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMOperationalInsightsWorkspaceSharedKeys</command:name> + <command:name>Get-AzureRmOperationalInsightsWorkspaceSharedKeys</command:name> <maml:description> <maml:para>Gets the shared keys for a workspace</maml:para> </maml:description> @@ -511,11 +511,11 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMOperationalInsightsWorkspaceSharedKeys cmdlet lists the shared keys for a workspace. The keys are used to connect Operational Insights agents to the workspace.</maml:para> + <maml:para>The Get-AzureRmOperationalInsightsWorkspaceSharedKeys cmdlet lists the shared keys for a workspace. The keys are used to connect Operational Insights agents to the workspace.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMOperationalInsightsWorkspaceSharedKeys</maml:name> + <maml:name>Get-AzureRmOperationalInsightsWorkspaceSharedKeys</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -619,7 +619,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMOperationalInsightsWorkspaceUsage</command:name> + <command:name>Get-AzureRmOperationalInsightsWorkspaceUsage</command:name> <maml:description> <maml:para>Gets the usage data for a workspace</maml:para> </maml:description> @@ -631,11 +631,11 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMOperationalInsightsWorkspaceUsage cmdlet retrieves the usage data for a workspace. This exposes how much data has been analyzed by the workspace over a certain period.</maml:para> + <maml:para>The Get-AzureRmOperationalInsightsWorkspaceUsage cmdlet retrieves the usage data for a workspace. This exposes how much data has been analyzed by the workspace over a certain period.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMOperationalInsightsWorkspaceUsage</maml:name> + <maml:name>Get-AzureRmOperationalInsightsWorkspaceUsage</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -739,7 +739,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>New-AzureRMOperationalInsightsStorageInsight</command:name> + <command:name>New-AzureRmOperationalInsightsStorageInsight</command:name> <maml:description> <maml:para>Creates a new storage insight inside a workspace</maml:para> </maml:description> @@ -751,11 +751,11 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMOperationalInsightsStorageInsight cmdlet creates a new storage insight in an existing workspace.</maml:para> + <maml:para>The New-AzureRmOperationalInsightsStorageInsight cmdlet creates a new storage insight in an existing workspace.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMOperationalInsightsStorageInsight</maml:name> + <maml:name>New-AzureRmOperationalInsightsStorageInsight</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -780,7 +780,7 @@ <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="4"> <maml:name>StorageAccountResourceId</maml:name> <maml:description> - <maml:para>Specifies the Azure resource if of a storage account. This can be retrieved by executing the Get-AzureRMStorageAccount cmdlet and accessing the Id parameter of the result.</maml:para> + <maml:para>Specifies the Azure resource if of a storage account. This can be retrieved by executing the Get-AzureRmStorageAccount cmdlet and accessing the Id parameter of the result.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -821,7 +821,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMOperationalInsightsStorageInsight</maml:name> + <maml:name>New-AzureRmOperationalInsightsStorageInsight</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Workspace</maml:name> <maml:description> @@ -839,7 +839,7 @@ <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="4"> <maml:name>StorageAccountResourceId</maml:name> <maml:description> - <maml:para>Specifies the Azure resource if of a storage account. This can be retrieved by executing the Get-AzureRMStorageAccount cmdlet and accessing the Id parameter of the result.</maml:para> + <maml:para>Specifies the Azure resource if of a storage account. This can be retrieved by executing the Get-AzureRmStorageAccount cmdlet and accessing the Id parameter of the result.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -920,7 +920,7 @@ <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="4"> <maml:name>StorageAccountResourceId</maml:name> <maml:description> - <maml:para>Specifies the Azure resource if of a storage account. This can be retrieved by executing the Get-AzureRMStorageAccount cmdlet and accessing the Id parameter of the result.</maml:para> + <maml:para>Specifies the Azure resource if of a storage account. This can be retrieved by executing the Get-AzureRmStorageAccount cmdlet and accessing the Id parameter of the result.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -1044,7 +1044,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>New-AzureRMOperationalInsightsWorkspace</command:name> + <command:name>New-AzureRmOperationalInsightsWorkspace</command:name> <maml:description> <maml:para>Creates a new workspace</maml:para> </maml:description> @@ -1056,11 +1056,11 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMOperationalInsightsWorkspace cmdlet creates a new workspace in the specifies resource group and location.</maml:para> + <maml:para>The New-AzureRmOperationalInsightsWorkspace cmdlet creates a new workspace in the specifies resource group and location.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMOperationalInsightsWorkspace</maml:name> + <maml:name>New-AzureRmOperationalInsightsWorkspace</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -1092,7 +1092,7 @@ <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="4"> <maml:name>CustomerId</maml:name> <maml:description> - <maml:para>Specifies an existing account that this workspace will be linked to. The Get-AzureRMOperationalInsightsLinkTargets cmdlet can be used to list the potential accounts.</maml:para> + <maml:para>Specifies an existing account that this workspace will be linked to. The Get-AzureRmOperationalInsightsLinkTargets cmdlet can be used to list the potential accounts.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">Nullable`1[Guid]</command:parameterValue> </command:parameter> @@ -1171,7 +1171,7 @@ <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="4"> <maml:name>CustomerId</maml:name> <maml:description> - <maml:para>Specifies an existing account that this workspace will be linked to. The Get-AzureRMOperationalInsightsLinkTargets cmdlet can be used to list the potential accounts.</maml:para> + <maml:para>Specifies an existing account that this workspace will be linked to. The Get-AzureRmOperationalInsightsLinkTargets cmdlet can be used to list the potential accounts.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">Nullable`1[Guid]</command:parameterValue> <dev:type> @@ -1259,7 +1259,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Remove-AzureRMOperationalInsightsStorageInsight</command:name> + <command:name>Remove-AzureRmOperationalInsightsStorageInsight</command:name> <maml:description> <maml:para>Deletes an existing storage insight</maml:para> </maml:description> @@ -1271,11 +1271,11 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMOperationalInsightsStorageInsight cmdlet deletes an existing storage insight from a workspace.</maml:para> + <maml:para>The Remove-AzureRmOperationalInsightsStorageInsight cmdlet deletes an existing storage insight from a workspace.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMOperationalInsightsStorageInsight</maml:name> + <maml:name>Remove-AzureRmOperationalInsightsStorageInsight</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -1313,7 +1313,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMOperationalInsightsStorageInsight</maml:name> + <maml:name>Remove-AzureRmOperationalInsightsStorageInsight</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Workspace</maml:name> <maml:description> @@ -1460,7 +1460,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Remove-AzureRMOperationalInsightsWorkspace</command:name> + <command:name>Remove-AzureRmOperationalInsightsWorkspace</command:name> <maml:description> <maml:para>Deletes an existing workspace</maml:para> </maml:description> @@ -1472,11 +1472,11 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMOperationalInsightsWorkspace cmdlet deletes an existing workspace. If this workspace was linked to an existing account via the CustomerId parameter at creation time the original account will not be deleted in the Operational Insights portal.</maml:para> + <maml:para>The Remove-AzureRmOperationalInsightsWorkspace cmdlet deletes an existing workspace. If this workspace was linked to an existing account via the CustomerId parameter at creation time the original account will not be deleted in the Operational Insights portal.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMOperationalInsightsWorkspace</maml:name> + <maml:name>Remove-AzureRmOperationalInsightsWorkspace</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -1599,7 +1599,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Set-AzureRMOperationalInsightsStorageInsight</command:name> + <command:name>Set-AzureRmOperationalInsightsStorageInsight</command:name> <maml:description> <maml:para>Updates an existing storage insight</maml:para> </maml:description> @@ -1611,11 +1611,11 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMOperationalInsightsStorageInsight cmdlet allows the configuration of an existing storage insight to be changed.</maml:para> + <maml:para>The Set-AzureRmOperationalInsightsStorageInsight cmdlet allows the configuration of an existing storage insight to be changed.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMOperationalInsightsStorageInsight</maml:name> + <maml:name>Set-AzureRmOperationalInsightsStorageInsight</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -1667,7 +1667,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMOperationalInsightsStorageInsight</maml:name> + <maml:name>Set-AzureRmOperationalInsightsStorageInsight</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Workspace</maml:name> <maml:description> @@ -1852,7 +1852,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Set-AzureRMOperationalInsightsWorkspace</command:name> + <command:name>Set-AzureRmOperationalInsightsWorkspace</command:name> <maml:description> <maml:para>Updates an existing workspace</maml:para> </maml:description> @@ -1864,11 +1864,11 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMOperationalInsightsWorkspace cmdlet allows the configuration of an existing workspace to be changed.</maml:para> + <maml:para>The Set-AzureRmOperationalInsightsWorkspace cmdlet allows the configuration of an existing workspace to be changed.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMOperationalInsightsWorkspace</maml:name> + <maml:name>Set-AzureRmOperationalInsightsWorkspace</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -1906,7 +1906,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMOperationalInsightsWorkspace</maml:name> + <maml:name>Set-AzureRmOperationalInsightsWorkspace</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Workspace</maml:name> <maml:description> @@ -2053,7 +2053,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMResourceProvider</command:name> + <command:name>Get-AzureRmResourceProvider</command:name> <maml:description> <maml:para /> </maml:description> diff --git a/src/ResourceManager/Profile/Commands.Profile.Test/Commands.Profile.Test.csproj b/src/ResourceManager/Profile/Commands.Profile.Test/Commands.Profile.Test.csproj index 28ac587d6253..0f80c686ac38 100644 --- a/src/ResourceManager/Profile/Commands.Profile.Test/Commands.Profile.Test.csproj +++ b/src/ResourceManager/Profile/Commands.Profile.Test/Commands.Profile.Test.csproj @@ -177,7 +177,7 @@ </Reference> </ItemGroup> <ItemGroup> - <Compile Include="AzureRMProfileTests.cs" /> + <Compile Include="AzureRmProfileTests.cs" /> <Compile Include="EnvironmentCmdletTests.cs" /> <Compile Include="MockSubscriptionClientFactory.cs" /> <Compile Include="ProfileController.cs" /> diff --git a/src/ResourceManager/Profile/Commands.Profile.Test/SubscriptionCmdletTests.ps1 b/src/ResourceManager/Profile/Commands.Profile.Test/SubscriptionCmdletTests.ps1 index 6b439945edb5..8f2face12e47 100644 --- a/src/ResourceManager/Profile/Commands.Profile.Test/SubscriptionCmdletTests.ps1 +++ b/src/ResourceManager/Profile/Commands.Profile.Test/SubscriptionCmdletTests.ps1 @@ -18,18 +18,18 @@ Tests each of the major parts of retrieving subscriptions in ARM mode #> function Test-GetSubscriptionsEndToEnd { - $allSubscriptions = Get-AzureRMSubscription -All + $allSubscriptions = Get-AzureRmSubscription -All $firstSubscription = $allSubscriptions[0] $id = $firstSubscription.Id $tenant = $firstSubscription.GetProperty([Microsoft.Azure.Common.Authentication.Models.AzureSubscription+Property]::Tenants) - $subscription = Get-AzureRMSubscription -SubscriptionId $id -Tenant $tenant + $subscription = Get-AzureRmSubscription -SubscriptionId $id -Tenant $tenant Assert-True { $subscription -ne $null } Assert-AreEqual $id $subscription.Id - $subscription = Get-AzureRMSubscription -SubscriptionId $id + $subscription = Get-AzureRmSubscription -SubscriptionId $id Assert-True { $subscription -ne $null } Assert-AreEqual $id $subscription.Id - $mostSubscriptions = Get-AzureRMSubscription + $mostSubscriptions = Get-AzureRmSubscription Assert-True {$mostSubscriptions.Count -gt 0} - $tenantSubscriptions = Get-AzureRMSubscription -Tenant $tenant + $tenantSubscriptions = Get-AzureRmSubscription -Tenant $tenant Assert-True {$tenantSubscriptions.Count -gt 0} } \ No newline at end of file diff --git a/src/ResourceManager/Profile/Commands.Profile/Account/LoginAzureRMAccount.cs b/src/ResourceManager/Profile/Commands.Profile/Account/LoginAzureRMAccount.cs index af96dc1e24c6..16c853790ed9 100644 --- a/src/ResourceManager/Profile/Commands.Profile/Account/LoginAzureRMAccount.cs +++ b/src/ResourceManager/Profile/Commands.Profile/Account/LoginAzureRMAccount.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Profile /// <summary> /// Cmdlet to log into an environment and download the subscriptions /// </summary> - [Cmdlet("Login", "AzureRMAccount", DefaultParameterSetName = "User")] + [Cmdlet("Login", "AzureRmAccount", DefaultParameterSetName = "User")] [OutputType(typeof(AzureRMProfile))] public class LoginAzureRMAccountCommand : AzureRMCmdlet { diff --git a/src/ResourceManager/Profile/Commands.Profile/Context/GetAzureRMContext.cs b/src/ResourceManager/Profile/Commands.Profile/Context/GetAzureRMContext.cs index fbd2b5260b56..29d8b3ee9dbd 100644 --- a/src/ResourceManager/Profile/Commands.Profile/Context/GetAzureRMContext.cs +++ b/src/ResourceManager/Profile/Commands.Profile/Context/GetAzureRMContext.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Profile /// <summary> /// Cmdlet to get current context. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMContext")] + [Cmdlet(VerbsCommon.Get, "AzureRmContext")] [OutputType(typeof(AzureContext))] public class GetAzureRMContextCommand : AzureRMCmdlet { diff --git a/src/ResourceManager/Profile/Commands.Profile/Context/SetAzureRMContext.cs b/src/ResourceManager/Profile/Commands.Profile/Context/SetAzureRMContext.cs index 444b9eccaf08..0a58e1d3198f 100644 --- a/src/ResourceManager/Profile/Commands.Profile/Context/SetAzureRMContext.cs +++ b/src/ResourceManager/Profile/Commands.Profile/Context/SetAzureRMContext.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Profile /// <summary> /// Cmdlet to change current Azure context. /// </summary> - [Cmdlet(VerbsCommon.Set, "AzureRMContext")] + [Cmdlet(VerbsCommon.Set, "AzureRmContext")] [OutputType(typeof(AzureContext))] public class SetAzureRMContextCommand : AzureRMCmdlet { diff --git a/src/ResourceManager/Profile/Commands.Profile/Environment/AddAzureRMEnvironment.cs b/src/ResourceManager/Profile/Commands.Profile/Environment/AddAzureRMEnvironment.cs index ed6a70c778d5..ec46a2135a4a 100644 --- a/src/ResourceManager/Profile/Commands.Profile/Environment/AddAzureRMEnvironment.cs +++ b/src/ResourceManager/Profile/Commands.Profile/Environment/AddAzureRMEnvironment.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Profile /// <summary> /// Cmdlet to add Azure Environment to Profile. /// </summary> - [Cmdlet(VerbsCommon.Add, "AzureRMEnvironment")] + [Cmdlet(VerbsCommon.Add, "AzureRmEnvironment")] [OutputType(typeof(PSAzureEnvironment))] public class AddAzureRMEnvironmentCommand : AzureRMCmdlet { diff --git a/src/ResourceManager/Profile/Commands.Profile/Environment/GetAzureRMEnvironment.cs b/src/ResourceManager/Profile/Commands.Profile/Environment/GetAzureRMEnvironment.cs index 1213ee3403eb..3b372088989b 100644 --- a/src/ResourceManager/Profile/Commands.Profile/Environment/GetAzureRMEnvironment.cs +++ b/src/ResourceManager/Profile/Commands.Profile/Environment/GetAzureRMEnvironment.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Profile /// <summary> /// Cmdlet to get current Azure Environment from Profile. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMEnvironment")] + [Cmdlet(VerbsCommon.Get, "AzureRmEnvironment")] [OutputType(typeof(List<PSAzureEnvironment>))] public class GetAzureRMEnvironmentCommand : AzureRMCmdlet { diff --git a/src/ResourceManager/Profile/Commands.Profile/Environment/RemoveAzureRMEnvironment.cs b/src/ResourceManager/Profile/Commands.Profile/Environment/RemoveAzureRMEnvironment.cs index 4bc5af5134d6..be3c4dd2d768 100644 --- a/src/ResourceManager/Profile/Commands.Profile/Environment/RemoveAzureRMEnvironment.cs +++ b/src/ResourceManager/Profile/Commands.Profile/Environment/RemoveAzureRMEnvironment.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Profile /// <summary> /// Cmdlet to remove Azure Environment from Profile. /// </summary> - [Cmdlet(VerbsCommon.Remove, "AzureRMEnvironment")] + [Cmdlet(VerbsCommon.Remove, "AzureRmEnvironment")] [OutputType(typeof(PSAzureEnvironment))] public class RemoveAzureRMEnvironmentCommand : AzureRMCmdlet { diff --git a/src/ResourceManager/Profile/Commands.Profile/Environment/SetAzureRMEnvironment.cs b/src/ResourceManager/Profile/Commands.Profile/Environment/SetAzureRMEnvironment.cs index 2a03a33038d7..03ab683b8318 100644 --- a/src/ResourceManager/Profile/Commands.Profile/Environment/SetAzureRMEnvironment.cs +++ b/src/ResourceManager/Profile/Commands.Profile/Environment/SetAzureRMEnvironment.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Profile /// <summary> /// Cmdlet to set Azure Environment in Profile. /// </summary> - [Cmdlet(VerbsCommon.Set, "AzureRMEnvironment")] + [Cmdlet(VerbsCommon.Set, "AzureRmEnvironment")] [OutputType(typeof(PSAzureEnvironment))] public class SetAzureRMEnvironmentCommand : AzureRMCmdlet { diff --git a/src/ResourceManager/Profile/Commands.Profile/Profile/SaveAzureRMProfile.cs b/src/ResourceManager/Profile/Commands.Profile/Profile/SaveAzureRMProfile.cs index fef739b115a8..b29af2fc4569 100644 --- a/src/ResourceManager/Profile/Commands.Profile/Profile/SaveAzureRMProfile.cs +++ b/src/ResourceManager/Profile/Commands.Profile/Profile/SaveAzureRMProfile.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Profile /// <summary> /// Saves Microsoft Azure profile. /// </summary> - [Cmdlet(VerbsData.Save, "AzureRMProfile"), OutputType(typeof(AzureRMProfile))] + [Cmdlet(VerbsData.Save, "AzureRmProfile"), OutputType(typeof(AzureRMProfile))] public class SaveAzureRMProfileCommand : AzureRMCmdlet { [Parameter(Mandatory = false, Position = 0, ValueFromPipelineByPropertyName = true)] diff --git a/src/ResourceManager/Profile/Commands.Profile/Profile/SelectAzureRMProfile.cs b/src/ResourceManager/Profile/Commands.Profile/Profile/SelectAzureRMProfile.cs index f31fdfcab16f..04d27ff7ef91 100644 --- a/src/ResourceManager/Profile/Commands.Profile/Profile/SelectAzureRMProfile.cs +++ b/src/ResourceManager/Profile/Commands.Profile/Profile/SelectAzureRMProfile.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Profile /// <summary> /// Selects Microsoft Azure profile. /// </summary> - [Cmdlet(VerbsCommon.Select, "AzureRMProfile"), OutputType(typeof(AzureRMProfile))] + [Cmdlet(VerbsCommon.Select, "AzureRmProfile"), OutputType(typeof(AzureRMProfile))] public class SelectAzureRMProfileCommand : AzureRMCmdlet { internal const string InMemoryProfileParameterSet = "InMemoryProfile"; diff --git a/src/ResourceManager/Profile/Commands.Profile/Properties/Resources.Designer.cs b/src/ResourceManager/Profile/Commands.Profile/Properties/Resources.Designer.cs index 074f68f865e5..ac0eae9ab4c0 100644 --- a/src/ResourceManager/Profile/Commands.Profile/Properties/Resources.Designer.cs +++ b/src/ResourceManager/Profile/Commands.Profile/Properties/Resources.Designer.cs @@ -70,7 +70,7 @@ internal static string AzureProfileMustNotBeNull { } /// <summary> - /// Looks up a localized string similar to Could not authenticate your user account {0} with the common tenant. Please login again using Login-AzureRMAccount.. + /// Looks up a localized string similar to Could not authenticate your user account {0} with the common tenant. Please login again using Login-AzureRmAccount.. /// </summary> internal static string CommonTenantAuthFailed { get { @@ -88,7 +88,7 @@ internal static string NoAccountProvided { } /// <summary> - /// Looks up a localized string similar to Please provide a valid tenant Id on the command line or execute Login-AzureRMAccount.. + /// Looks up a localized string similar to Please provide a valid tenant Id on the command line or execute Login-AzureRmAccount.. /// </summary> internal static string NoValidTenant { get { @@ -106,7 +106,7 @@ internal static string SubscriptionNotFoundError { } /// <summary> - /// Looks up a localized string similar to Could not authenticate with tenant {0}. Please ensure that your account has access to this tenant and log in with Login-AzureRMAccount. + /// Looks up a localized string similar to Could not authenticate with tenant {0}. Please ensure that your account has access to this tenant and log in with Login-AzureRmAccount. /// </summary> internal static string TenantAuthFailed { get { diff --git a/src/ResourceManager/Profile/Commands.Profile/Properties/Resources.resx b/src/ResourceManager/Profile/Commands.Profile/Properties/Resources.resx index 59a19b8d2483..ea1af986447d 100644 --- a/src/ResourceManager/Profile/Commands.Profile/Properties/Resources.resx +++ b/src/ResourceManager/Profile/Commands.Profile/Properties/Resources.resx @@ -121,18 +121,18 @@ <value>Selected profile must not be null.</value> </data> <data name="CommonTenantAuthFailed" xml:space="preserve"> - <value>Could not authenticate your user account {0} with the common tenant. Please login again using Login-AzureRMAccount.</value> + <value>Could not authenticate your user account {0} with the common tenant. Please login again using Login-AzureRmAccount.</value> </data> <data name="NoAccountProvided" xml:space="preserve"> <value>(no account provided)</value> </data> <data name="NoValidTenant" xml:space="preserve"> - <value>Please provide a valid tenant Id on the command line or execute Login-AzureRMAccount.</value> + <value>Please provide a valid tenant Id on the command line or execute Login-AzureRmAccount.</value> </data> <data name="SubscriptionNotFoundError" xml:space="preserve"> <value>Subscription {0} was not found in tenant {1}. Please verify that the subscription exists in this tenant.</value> </data> <data name="TenantAuthFailed" xml:space="preserve"> - <value>Could not authenticate with tenant {0}. Please ensure that your account has access to this tenant and log in with Login-AzureRMAccount</value> + <value>Could not authenticate with tenant {0}. Please ensure that your account has access to this tenant and log in with Login-AzureRmAccount</value> </data> </root> \ No newline at end of file diff --git a/src/ResourceManager/Profile/Commands.Profile/Subscription/GetAzureRMSubscription.cs b/src/ResourceManager/Profile/Commands.Profile/Subscription/GetAzureRMSubscription.cs index 8a42352a407e..e95e905f75d8 100644 --- a/src/ResourceManager/Profile/Commands.Profile/Subscription/GetAzureRMSubscription.cs +++ b/src/ResourceManager/Profile/Commands.Profile/Subscription/GetAzureRMSubscription.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.Profile { - [Cmdlet(VerbsCommon.Get, "AzureRMSubscription", DefaultParameterSetName = ListInTenantParameterSet), + [Cmdlet(VerbsCommon.Get, "AzureRmSubscription", DefaultParameterSetName = ListInTenantParameterSet), OutputType(typeof(AzureSubscription))] public class GetAzureRMSubscriptionCommand : AzureRMCmdlet { diff --git a/src/ResourceManager/Profile/Commands.Profile/Tenant/GetAzureRMTenant.cs b/src/ResourceManager/Profile/Commands.Profile/Tenant/GetAzureRMTenant.cs index bc86ea0e656f..4735ef83d7f6 100644 --- a/src/ResourceManager/Profile/Commands.Profile/Tenant/GetAzureRMTenant.cs +++ b/src/ResourceManager/Profile/Commands.Profile/Tenant/GetAzureRMTenant.cs @@ -22,8 +22,8 @@ namespace Microsoft.Azure.Commands.Profile /// <summary> /// Cmdlet to get user tenant information. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMTenant")] - [Alias("Get-AzureRMDomain")] + [Cmdlet(VerbsCommon.Get, "AzureRmTenant")] + [Alias("Get-AzureRmDomain")] [OutputType(typeof(List<AzureTenant>))] public class GetAzureRMTenantCommand : AzureRMCmdlet { diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache.Test/ScenarioTests/RedisCacheTests.ps1 b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/ScenarioTests/RedisCacheTests.ps1 index 962cf2debae9..ea4bdc4dcf75 100644 --- a/src/ResourceManager/RedisCache/Commands.RedisCache.Test/ScenarioTests/RedisCacheTests.ps1 +++ b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/ScenarioTests/RedisCacheTests.ps1 @@ -11,7 +11,7 @@ function Test-RedisCache $location = "North Central US" # Creating Cache - $cacheCreated = New-AzureRMRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName -Location $location -Size 250MB -Sku Basic + $cacheCreated = New-AzureRmRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName -Location $location -Size 250MB -Sku Basic Assert-AreEqual $cacheName $cacheCreated.Name Assert-AreEqual $location $cacheCreated.Location @@ -32,7 +32,7 @@ function Test-RedisCache for ($i = 0; $i -le 60; $i++) { [Microsoft.WindowsAzure.Commands.Utilities.Common.TestMockSupport]::Delay(30000) - $cacheGet = Get-AzureRMRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName + $cacheGet = Get-AzureRmRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName if ([string]::Compare("succeeded", $cacheGet[0].ProvisioningState, $True) -eq 0) { Assert-AreEqual $cacheName $cacheGet[0].Name @@ -52,7 +52,7 @@ function Test-RedisCache } # Updating Cache - $cacheUpdated = Set-AzureRMRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName -RedisConfiguration @{"maxmemory-policy" = "allkeys-lru"} -EnableNonSslPort $true + $cacheUpdated = Set-AzureRmRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName -RedisConfiguration @{"maxmemory-policy" = "allkeys-lru"} -EnableNonSslPort $true Assert-AreEqual $cacheName $cacheUpdated.Name Assert-AreEqual $location $cacheUpdated.Location @@ -72,7 +72,7 @@ function Test-RedisCache Assert-NotNull $cacheUpdated.SecondaryKey "SecondaryKey do not exists" # List all cache in resource group - $cachesInResourceGroup = Get-AzureRMRedisCache -ResourceGroupName $resourceGroupName + $cachesInResourceGroup = Get-AzureRmRedisCache -ResourceGroupName $resourceGroupName Assert-True {$cachesInResourceGroup.Count -ge 1} $found = 0 @@ -97,7 +97,7 @@ function Test-RedisCache Assert-True {$found -eq 1} "Cache created earlier is not found." # List all cache in subscription - $cachesInSubscription = Get-AzureRMRedisCache + $cachesInSubscription = Get-AzureRmRedisCache Assert-True {$cachesInSubscription.Count -ge 1} Assert-True {$cachesInSubscription.Count -ge $cachesInResourceGroup.Count} @@ -123,17 +123,17 @@ function Test-RedisCache Assert-True {$found -eq 1} "Cache created earlier is not found." # Get cache keys - $cacheKeysBeforeUpdate = Get-AzureRMRedisCacheKey -ResourceGroupName $resourceGroupName -Name $cacheName + $cacheKeysBeforeUpdate = Get-AzureRmRedisCacheKey -ResourceGroupName $resourceGroupName -Name $cacheName Assert-NotNull $cacheKeysBeforeUpdate.PrimaryKey "PrimaryKey do not exists" Assert-NotNull $cacheKeysBeforeUpdate.SecondaryKey "SecondaryKey do not exists" # Regenerate primary key - $cacheKeysAfterUpdate = New-AzureRMRedisCacheKey -ResourceGroupName $resourceGroupName -Name $cacheName -KeyType Primary -Force + $cacheKeysAfterUpdate = New-AzureRmRedisCacheKey -ResourceGroupName $resourceGroupName -Name $cacheName -KeyType Primary -Force Assert-AreEqual $cacheKeysBeforeUpdate.SecondaryKey $cacheKeysAfterUpdate.SecondaryKey Assert-AreNotEqual $cacheKeysBeforeUpdate.PrimaryKey $cacheKeysAfterUpdate.PrimaryKey # Delete cache - Assert-True {Remove-AzureRMRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName -Force -PassThru} "Remove cache failed." + Assert-True {Remove-AzureRmRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName -Force -PassThru} "Remove cache failed." } @@ -150,7 +150,7 @@ function Test-SetNonExistingRedisCacheTest $location = "North Central US" # Creating Cache - Assert-Throws {Set-AzureRMRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName -RedisConfiguration @{"maxmemory-policy" = "allkeys-random"} } + Assert-Throws {Set-AzureRmRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName -RedisConfiguration @{"maxmemory-policy" = "allkeys-random"} } } <# @@ -166,7 +166,7 @@ function Test-RedisCachePipeline $location = "North Central US" # Creating Cache - $cacheCreated = New-AzureRMRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName -Location $location -Size 250MB -Sku Basic -EnableNonSslPort $true + $cacheCreated = New-AzureRmRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName -Location $location -Size 250MB -Sku Basic -EnableNonSslPort $true Assert-AreEqual $cacheName $cacheCreated.Name Assert-AreEqual $location $cacheCreated.Location @@ -188,7 +188,7 @@ function Test-RedisCachePipeline for ($i = 0; $i -le 60; $i++) { [Microsoft.WindowsAzure.Commands.Utilities.Common.TestMockSupport]::Delay(30000) - $cacheGet = Get-AzureRMRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName + $cacheGet = Get-AzureRmRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName if ([string]::Compare("succeeded", $cacheGet[0].ProvisioningState, $True) -eq 0) { Assert-AreEqual $cacheName $cacheGet[0].Name @@ -208,8 +208,8 @@ function Test-RedisCachePipeline } # Updating Cache using pipeline - Get-AzureRMRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName | Set-AzureRMRedisCache -RedisConfiguration @{"maxmemory-policy" = "allkeys-random"} -EnableNonSslPort $false - $cacheUpdatedPiped = Get-AzureRMRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName + Get-AzureRmRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName | Set-AzureRmRedisCache -RedisConfiguration @{"maxmemory-policy" = "allkeys-random"} -EnableNonSslPort $false + $cacheUpdatedPiped = Get-AzureRmRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName Assert-AreEqual $cacheName $cacheUpdatedPiped.Name Assert-AreEqual $location $cacheUpdatedPiped.Location @@ -226,17 +226,17 @@ function Test-RedisCachePipeline Assert-False { $cacheUpdatedPiped.EnableNonSslPort } # Get cache keys - $cacheKeysBeforeUpdate = Get-AzureRMRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName | Get-AzureRMRedisCacheKey + $cacheKeysBeforeUpdate = Get-AzureRmRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName | Get-AzureRmRedisCacheKey Assert-NotNull $cacheKeysBeforeUpdate.PrimaryKey "PrimaryKey do not exists" Assert-NotNull $cacheKeysBeforeUpdate.SecondaryKey "SecondaryKey do not exists" # Regenerate primary key - $cacheKeysAfterUpdate = Get-AzureRMRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName | New-AzureRMRedisCacheKey -KeyType Primary -Force + $cacheKeysAfterUpdate = Get-AzureRmRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName | New-AzureRmRedisCacheKey -KeyType Primary -Force Assert-AreEqual $cacheKeysBeforeUpdate.SecondaryKey $cacheKeysAfterUpdate.SecondaryKey Assert-AreNotEqual $cacheKeysBeforeUpdate.PrimaryKey $cacheKeysAfterUpdate.PrimaryKey # Delete cache - Assert-True {Get-AzureRMRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName | Remove-AzureRMRedisCache -Force -PassThru} "Remove cache failed." + Assert-True {Get-AzureRmRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName | Remove-AzureRmRedisCache -Force -PassThru} "Remove cache failed." } <# @@ -252,10 +252,10 @@ function Test-SetRedisCacheBugFixTest $location = "North Central US" # Updating Cache - $cacheUpdated = Set-AzureRMRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName -EnableNonSslPort $true + $cacheUpdated = Set-AzureRmRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName -EnableNonSslPort $true Assert-True { $cacheUpdated.EnableNonSslPort } - $cacheUpdated2 = Set-AzureRMRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName -RedisConfiguration @{"maxmemory-policy" = "allkeys-lru"} + $cacheUpdated2 = Set-AzureRmRedisCache -ResourceGroupName $resourceGroupName -Name $cacheName -RedisConfiguration @{"maxmemory-policy" = "allkeys-lru"} Assert-AreEqual "allkeys-lru" $cacheUpdated2.RedisConfiguration.Item("maxmemory-policy") Assert-True { $cacheUpdated2.EnableNonSslPort } } \ No newline at end of file diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/GetAzureRedisCache.cs b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/GetAzureRedisCache.cs index 6568bcb252e8..bb905dcf77ed 100644 --- a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/GetAzureRedisCache.cs +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/GetAzureRedisCache.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.RedisCache using System.Collections.Generic; using System.Management.Automation; - [Cmdlet(VerbsCommon.Get, "AzureRMRedisCache", DefaultParameterSetName = BaseParameterSetName), OutputType(typeof(List<RedisCacheAttributes>))] + [Cmdlet(VerbsCommon.Get, "AzureRmRedisCache", DefaultParameterSetName = BaseParameterSetName), OutputType(typeof(List<RedisCacheAttributes>))] public class GetAzureRedisCache : RedisCacheCmdletBase { internal const string BaseParameterSetName = "All In Subscription"; diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/GetAzureRedisCacheKey.cs b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/GetAzureRedisCacheKey.cs index 2b3c3a2601bf..b69d95823add 100644 --- a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/GetAzureRedisCacheKey.cs +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/GetAzureRedisCacheKey.cs @@ -17,7 +17,7 @@ namespace Microsoft.Azure.Commands.RedisCache using Microsoft.Azure.Management.Redis.Models; using System.Management.Automation; - [Cmdlet(VerbsCommon.Get, "AzureRMRedisCacheKey"), OutputType(typeof(RedisAccessKeys))] + [Cmdlet(VerbsCommon.Get, "AzureRmRedisCacheKey"), OutputType(typeof(RedisAccessKeys))] public class GetAzureRedisCacheKey : RedisCacheCmdletBase { [Parameter(ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Name of resource group under which cache exists.")] diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/NewAzureRedisCache.cs b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/NewAzureRedisCache.cs index 12dcacfa96de..cca419c5d864 100644 --- a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/NewAzureRedisCache.cs +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/NewAzureRedisCache.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.RedisCache using Hyak.Common; using System.Collections; - [Cmdlet(VerbsCommon.New, "AzureRMRedisCache"), OutputType(typeof(RedisCacheAttributesWithAccessKeys))] + [Cmdlet(VerbsCommon.New, "AzureRmRedisCache"), OutputType(typeof(RedisCacheAttributesWithAccessKeys))] public class NewAzureRedisCache : RedisCacheCmdletBase { [Parameter(ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Name of resource group under which you want to create cache.")] diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/NewAzureRedisCacheKey.cs b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/NewAzureRedisCacheKey.cs index cdc5e2e29d04..d1bcb77d03a9 100644 --- a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/NewAzureRedisCacheKey.cs +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/NewAzureRedisCacheKey.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.RedisCache using Microsoft.Azure.Management.Redis.Models; using System.Management.Automation; - [Cmdlet(VerbsCommon.New, "AzureRMRedisCacheKey"), OutputType(typeof(RedisAccessKeys))] + [Cmdlet(VerbsCommon.New, "AzureRmRedisCacheKey"), OutputType(typeof(RedisAccessKeys))] public class NewAzureRedisCacheKey : RedisCacheCmdletBase { [Parameter(ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Name of resource group under which cache exists.")] diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/RemoveAzureRedisCache.cs b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/RemoveAzureRedisCache.cs index 52bae9408013..da50d30c4cd0 100644 --- a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/RemoveAzureRedisCache.cs +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/RemoveAzureRedisCache.cs @@ -17,7 +17,7 @@ namespace Microsoft.Azure.Commands.RedisCache using Microsoft.Azure.Commands.RedisCache.Properties; using System.Management.Automation; - [Cmdlet(VerbsCommon.Remove, "AzureRMRedisCache"), OutputType(typeof(bool))] + [Cmdlet(VerbsCommon.Remove, "AzureRmRedisCache"), OutputType(typeof(bool))] public class RemoveAzureRedisCache : RedisCacheCmdletBase { [Parameter(ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Name of resource group under which cache exists.")] diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/SetAzureRedisCache.cs b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/SetAzureRedisCache.cs index a7f9dd35ddc6..f4d1e2f84fd8 100644 --- a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/SetAzureRedisCache.cs +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/SetAzureRedisCache.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.RedisCache using System.Management.Automation; using SkuStrings = Microsoft.Azure.Management.Redis.Models.SkuName; - [Cmdlet(VerbsCommon.Set, "AzureRMRedisCache", DefaultParameterSetName = MaxMemoryParameterSetName), OutputType(typeof(RedisCacheAttributesWithAccessKeys))] + [Cmdlet(VerbsCommon.Set, "AzureRmRedisCache", DefaultParameterSetName = MaxMemoryParameterSetName), OutputType(typeof(RedisCacheAttributesWithAccessKeys))] public class SetAzureRedisCache : RedisCacheCmdletBase { internal const string MaxMemoryParameterSetName = "Only MaxMemoryPolicy"; diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Microsoft.Azure.Commands.RedisCache.dll-Help.xml b/src/ResourceManager/RedisCache/Commands.RedisCache/Microsoft.Azure.Commands.RedisCache.dll-Help.xml index bf2f0f023260..7d0a776fdbee 100644 --- a/src/ResourceManager/RedisCache/Commands.RedisCache/Microsoft.Azure.Commands.RedisCache.dll-Help.xml +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Microsoft.Azure.Commands.RedisCache.dll-Help.xml @@ -2,7 +2,7 @@ <helpItems xmlns="http://msh" schema="maml"> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMRedisCache</command:name> + <command:name>Get-AzureRmRedisCache</command:name> <maml:description> <maml:para>Gets details about a single cache or all caches in the specified resource group or all caches in the current subscription.</maml:para> </maml:description> @@ -14,24 +14,24 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMRedisCache cmdlet gets the details about a cache or caches depending on input parameters. If both ResourceGroupName and Name parameters are provided then Get-AzureRMRedisCache will return details about the specific cache name provided.</maml:para> + <maml:para>The Get-AzureRmRedisCache cmdlet gets the details about a cache or caches depending on input parameters. If both ResourceGroupName and Name parameters are provided then Get-AzureRmRedisCache will return details about the specific cache name provided.</maml:para> <maml:para>If only ResourceGroupName is provided than it will return details about all caches in the specified resource group.</maml:para> <maml:para>If no parameters are given than it will return details about all caches the current subscription.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMRedisCache</maml:name> + <maml:name>Get-AzureRmRedisCache</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases=""> <maml:name>Name</maml:name> <maml:description> - <maml:para>The name of the cache. If Name is provided along with ResourceGroupName then Get-AzureRMRedisCache returns the details of the specified cache.</maml:para> + <maml:para>The name of the cache. If Name is provided along with ResourceGroupName then Get-AzureRmRedisCache returns the details of the specified cache.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases=""> <maml:name>ResourceGroupName</maml:name> <maml:description> - <maml:para>The name of the resource group that contains the cache or caches. If ResourceGroupName is provided with Name then Get-AzureRMRedisCache returns the details of the cache specified by Name. If only the ResourceGroup parameter is provided, then details for all caches in the resource group are returned.</maml:para> + <maml:para>The name of the resource group that contains the cache or caches. If ResourceGroupName is provided with Name then Get-AzureRmRedisCache returns the details of the cache specified by Name. If only the ResourceGroup parameter is provided, then details for all caches in the resource group are returned.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -41,7 +41,7 @@ <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases=""> <maml:name>Name</maml:name> <maml:description> - <maml:para>The name of the cache. When this parameter is provided along with ResourceGroupName, Get-AzureRMRedisCache returns the details for the cache.</maml:para> + <maml:para>The name of the cache. When this parameter is provided along with ResourceGroupName, Get-AzureRmRedisCache returns the details for the cache.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -54,7 +54,7 @@ <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases=""> <maml:name>ResourceGroupName</maml:name> <maml:description> - <maml:para>The name of the resource group that contains the cache or caches. If ResourceGroupName is provided with Name then Get-AzureRMRedisCache returns the details of the cache specified by Name. If only the ResourceGroup parameter is provided, then details for all caches in the resource group are returned.</maml:para> + <maml:para>The name of the resource group that contains the cache or caches. If ResourceGroupName is provided with Name then Get-AzureRmRedisCache returns the details of the cache specified by Name. If only the ResourceGroup parameter is provided, then details for all caches in the resource group are returned.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -106,7 +106,7 @@ <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMRedisCache -ResourceGroupName myGroup -Name myexists + <dev:code>PS C:\&gt;Get-AzureRmRedisCache -ResourceGroupName myGroup -Name myexists ResourceGroupName : myGroup Id : /subscriptions/a559b6fd-3a84-40bb-a450-b0db5ed37dfe/resourceGroups/myGroup/providers/Microsoft.Cache/Redis/myexists @@ -140,7 +140,7 @@ </maml:para> </maml:introduction> <dev:code> - PS C:\&gt;Get-AzureRMRedisCache -ResourceGroupName myGroup + PS C:\&gt;Get-AzureRmRedisCache -ResourceGroupName myGroup ResourceGroupName : myGroup Id : /subscriptions/a559b6fd-3a84-40bb-a450-b0db5ed37dfe/resourceGroups/myGroup/providers/Microsoft.Cache/Redis/myexists @@ -189,7 +189,7 @@ </maml:para> </maml:introduction> <dev:code> - PS C:\&gt;Get-AzureRMRedisCache + PS C:\&gt;Get-AzureRmRedisCache ResourceGroupName : myGroup Id : /subscriptions/a559b6fd-3a84-40bb-a450-b0db5ed37dfe/resourceGroups/myGroup/providers/Microsoft.Cache/Redis/myexists @@ -256,7 +256,7 @@ </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMRedisCache</command:name> + <command:name>New-AzureRmRedisCache</command:name> <maml:description> <maml:para>Creates a new redis cache.</maml:para> </maml:description> @@ -268,11 +268,11 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMRedisCache cmdlet creates a new redis cache.</maml:para> + <maml:para>The New-AzureRmRedisCache cmdlet creates a new redis cache.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMRedisCache</maml:name> + <maml:name>New-AzureRmRedisCache</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases=""> <maml:name>Name</maml:name> <maml:description> @@ -475,7 +475,7 @@ </maml:para> </maml:introduction> <dev:code> - PS C:\&gt;New-AzureRMRedisCache -ResourceGroupName myGroup -Name mycache -Location "North Central US" + PS C:\&gt;New-AzureRmRedisCache -ResourceGroupName myGroup -Name mycache -Location "North Central US" PrimaryKey : pJ+jruGKPHDKsEC8kmoybobH3TZx2njBR3ipEsquZFo= SecondaryKey : sJ+jruGKPHDKsEC8kmoybobH3TZx2njBR3ipEsquZFo= @@ -511,7 +511,7 @@ </maml:para> </maml:introduction> <dev:code> - PS C:\&gt;New-AzureRMRedisCache -ResourceGroupName mygroup -Name mycache -Location "North Central US" -Size 250MB -Sku Standard -RedisConfiguration @{"maxmemory-policy" = "allkeys-random"} -Force + PS C:\&gt;New-AzureRmRedisCache -ResourceGroupName mygroup -Name mycache -Location "North Central US" -Size 250MB -Sku Standard -RedisConfiguration @{"maxmemory-policy" = "allkeys-random"} -Force PrimaryKey : pJ+jruGKPHDKsEC8kmoybobH3TZx2njBR3ipEsquZFo= SecondaryKey : sJ+jruGKPHDKsEC8kmoybobH3TZx2njBR3ipEsquZFo= @@ -550,7 +550,7 @@ </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMRedisCache</command:name> + <command:name>Remove-AzureRmRedisCache</command:name> <maml:description> <maml:para>Remove redis cache if exists.</maml:para> </maml:description> @@ -562,11 +562,11 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMRedisCache cmdlet removes a redis cache if it exists.</maml:para> + <maml:para>The Remove-AzureRmRedisCache cmdlet removes a redis cache if it exists.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMRedisCache</maml:name> + <maml:name>Remove-AzureRmRedisCache</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases=""> <maml:name>Name</maml:name> <maml:description> @@ -590,7 +590,7 @@ <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""> <maml:name>PassThru</maml:name> <maml:description> - <maml:para>By default Remove-AzureRMRedisCache removes the cache and does not return any value. If the PassThru parameter is provided then Remove-AzureRMRedisCache returns a boolean value indicating the success of the operation.</maml:para> + <maml:para>By default Remove-AzureRmRedisCache removes the cache and does not return any value. If the PassThru parameter is provided then Remove-AzureRmRedisCache returns a boolean value indicating the success of the operation.</maml:para> </maml:description> </command:parameter> </command:syntaxItem> @@ -636,7 +636,7 @@ <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases=""> <maml:name>PassThru</maml:name> <maml:description> - <maml:para>By default Remove-AzureRMRedisCache removes the cache and does not return any value. If the PassThru parameter is provided then Remove-AzureRMRedisCache returns a boolean value indicating the success of the operation.</maml:para> + <maml:para>By default Remove-AzureRmRedisCache removes the cache and does not return any value. If the PassThru parameter is provided then Remove-AzureRmRedisCache returns a boolean value indicating the success of the operation.</maml:para> </maml:description> <dev:type> <maml:name>SwitchParameter</maml:name> @@ -687,7 +687,7 @@ </maml:para> </maml:introduction> <dev:code> - PS C:\&gt;Remove-AzureRMRedisCache -ResourceGroupName myGroup -Name mycache -Force -PassThru + PS C:\&gt;Remove-AzureRmRedisCache -ResourceGroupName myGroup -Name mycache -Force -PassThru True </dev:code> @@ -707,7 +707,7 @@ </maml:para> </maml:introduction> <dev:code> - PS C:\&gt;Remove-AzureRMRedisCache -ResourceGroupName myGroup -Name mycache -Force + PS C:\&gt;Remove-AzureRmRedisCache -ResourceGroupName myGroup -Name mycache -Force </dev:code> <dev:remarks> <maml:para>This command removes a redis cache.</maml:para> @@ -728,7 +728,7 @@ </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMRedisCacheKey</command:name> + <command:name>Get-AzureRmRedisCacheKey</command:name> <maml:description> <maml:para>Gets the accesskeys for the specified redis cache.</maml:para> </maml:description> @@ -740,11 +740,11 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMRedisCacheKey cmdlet gets the access keys for the specified cache.</maml:para> + <maml:para>The Get-AzureRmRedisCacheKey cmdlet gets the access keys for the specified cache.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMRedisCacheKey</maml:name> + <maml:name>Get-AzureRmRedisCacheKey</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases=""> <maml:name>Name</maml:name> <maml:description> @@ -831,7 +831,7 @@ </maml:para> </maml:introduction> <dev:code> - PS C:\&gt;Get-AzureRMRedisCacheKey -ResourceGroupName myGroup -Name myexists + PS C:\&gt;Get-AzureRmRedisCacheKey -ResourceGroupName myGroup -Name myexists PrimaryKey : pJ+jruGKPHDKsEC8kmoybobH3TZx2njBR3ipEsquZFo= SecondaryKey : sJ+jruGKPHDKsEC8kmoybobH3TZx2njBR3ipEsquZFo= @@ -856,7 +856,7 @@ </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMRedisCacheKey</command:name> + <command:name>New-AzureRmRedisCacheKey</command:name> <maml:description> <maml:para>Regenerates the access key of a redis cache.</maml:para> </maml:description> @@ -868,11 +868,11 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMRedisCacheKey cmdlet regenerate the access key of a redis cache.</maml:para> + <maml:para>The New-AzureRmRedisCacheKey cmdlet regenerate the access key of a redis cache.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMRedisCacheKey</maml:name> + <maml:name>New-AzureRmRedisCacheKey</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases=""> <maml:name>Name</maml:name> <maml:description> @@ -996,7 +996,7 @@ </maml:para> </maml:introduction> <dev:code> - PS C:\&gt;New-AzureRMRedisCacheKey -ResourceGroupName myGroup -Name mycache -KeyType Primary -Force + PS C:\&gt;New-AzureRmRedisCacheKey -ResourceGroupName myGroup -Name mycache -KeyType Primary -Force PrimaryKey : pJ+jruGKPHDKsEC8kmoybobH3TZx2njBR3ipEsquZFo= SecondaryKey : sJ+jruGKPHDKsEC8kmoybobH3TZx2njBR3ipEsquZFo= @@ -1018,7 +1018,7 @@ </maml:para> </maml:introduction> <dev:code> - PS C:\&gt;New-AzureRMRedisCacheKey -ResourceGroupName myGroup -Name mycache -KeyType Secondary -Force + PS C:\&gt;New-AzureRmRedisCacheKey -ResourceGroupName myGroup -Name mycache -KeyType Secondary -Force PrimaryKey : pJ+jruGKPHDKsEC8kmoybobH3TZx2njBR3ipEsquZFo= SecondaryKey : sJ+jruGKPHDKsEC8kmoybobH3TZx2njBR3ipEsquZFo= @@ -1043,7 +1043,7 @@ </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMRedisCache</command:name> + <command:name>Set-AzureRmRedisCache</command:name> <maml:description> <maml:para>Set redis cache updatable parameters.</maml:para> </maml:description> @@ -1055,11 +1055,11 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMRedisCache cmdlet sets redis cache parameters.</maml:para> + <maml:para>The Set-AzureRmRedisCache cmdlet sets redis cache parameters.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMRedisCache</maml:name> + <maml:name>Set-AzureRmRedisCache</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases=""> <maml:name>Name</maml:name> <maml:description> @@ -1222,7 +1222,7 @@ </maml:para> </maml:introduction> <dev:code> - PS C:\&gt;New-AzureRMRedisCache -ResourceGroupName mygroup -Name mycache -RedisConfiguration @{"maxmemory-policy" = "allkeys-random"} + PS C:\&gt;New-AzureRmRedisCache -ResourceGroupName mygroup -Name mycache -RedisConfiguration @{"maxmemory-policy" = "allkeys-random"} PrimaryKey : pJ+jruGKPHDKsEC8kmoybobH3TZx2njBR3ipEsquZFo= SecondaryKey : sJ+jruGKPHDKsEC8kmoybobH3TZx2njBR3ipEsquZFo= diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/GetAzureResourceCmdlet.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/GetAzureResourceCmdlet.cs index b636eaa36979..1f858d190f69 100644 --- a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/GetAzureResourceCmdlet.cs +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/GetAzureResourceCmdlet.cs @@ -29,7 +29,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// <summary> /// Cmdlet to get existing resources. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMResource", DefaultParameterSetName = GetAzureResourceCmdlet.ListResourcesParameterSet), OutputType(typeof(PSObject))] + [Cmdlet(VerbsCommon.Get, "AzureRmResource", DefaultParameterSetName = GetAzureResourceCmdlet.ListResourcesParameterSet), OutputType(typeof(PSObject))] public sealed class GetAzureResourceCmdlet : ResourceManagerCmdletBase { /// <summary> diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/GetAzureResourceGroupDeploymentOperationCmdlet.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/GetAzureResourceGroupDeploymentOperationCmdlet.cs index bf26b6fc0db3..7f651538a2c8 100644 --- a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/GetAzureResourceGroupDeploymentOperationCmdlet.cs +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/GetAzureResourceGroupDeploymentOperationCmdlet.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// <summary> /// Gets the deployment operation. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMResourceGroupDeploymentOperation"), OutputType(typeof(PSObject))] + [Cmdlet(VerbsCommon.Get, "AzureRmResourceGroupDeploymentOperation"), OutputType(typeof(PSObject))] public class GetAzureResourceGroupDeploymentOperationCmdlet : ResourceManagerCmdletBase { /// <summary> @@ -64,7 +64,7 @@ protected override void OnProcessRecord() if(!string.IsNullOrEmpty(this.ApiVersion)) { - this.WriteWarning("The parameter ApiVersion in Get-AzureRMResourceGroupDeploymentOperation cmdlet is being deprecated and will be removed in a future release."); + this.WriteWarning("The parameter ApiVersion in Get-AzureRmResourceGroupDeploymentOperation cmdlet is being deprecated and will be removed in a future release."); } this.RunCmdlet(); diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/GetAzureResourceLockCmdlet.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/GetAzureResourceLockCmdlet.cs index c92c0b471939..e8ee28eb24d0 100644 --- a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/GetAzureResourceLockCmdlet.cs +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/GetAzureResourceLockCmdlet.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// <summary> /// Gets the resource lock. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMResourceLock"), OutputType(typeof(PSObject))] + [Cmdlet(VerbsCommon.Get, "AzureRmResourceLock"), OutputType(typeof(PSObject))] public class GetAzureResourceLockCmdlet : ResourceLockManagementCmdletBase { /// <summary> diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/InvokeAzureResourceActionCmdlet.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/InvokeAzureResourceActionCmdlet.cs index d963cca06577..1da27845b24e 100644 --- a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/InvokeAzureResourceActionCmdlet.cs +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/InvokeAzureResourceActionCmdlet.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// <summary> /// A cmdlet that invokes a resource action. /// </summary> - [Cmdlet(VerbsLifecycle.Invoke, "AzureRMResourceAction", SupportsShouldProcess = true, DefaultParameterSetName = ResourceManipulationCmdletBase.ResourceIdParameterSet), OutputType(typeof(PSObject))] + [Cmdlet(VerbsLifecycle.Invoke, "AzureRmResourceAction", SupportsShouldProcess = true, DefaultParameterSetName = ResourceManipulationCmdletBase.ResourceIdParameterSet), OutputType(typeof(PSObject))] public sealed class InvokAzureResourceActionCmdlet : ResourceManipulationCmdletBase { /// <summary> diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/MoveAzureResourceCmdlet.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/MoveAzureResourceCmdlet.cs index 9871a58adf67..8607250c6ce1 100644 --- a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/MoveAzureResourceCmdlet.cs +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/MoveAzureResourceCmdlet.cs @@ -27,7 +27,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// <summary> /// Moves existing resources to a new resource group or subscription. /// </summary> - [Cmdlet(VerbsCommon.Move, "AzureRMResource", SupportsShouldProcess = true), OutputType(typeof(bool))] + [Cmdlet(VerbsCommon.Move, "AzureRmResource", SupportsShouldProcess = true), OutputType(typeof(bool))] public class MoveAzureResourceCommand : ResourceManagerCmdletBase { /// <summary> diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/NewAzureResourceCmdlet.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/NewAzureResourceCmdlet.cs index 374daef5975d..20ae91629c14 100644 --- a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/NewAzureResourceCmdlet.cs +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/NewAzureResourceCmdlet.cs @@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// <summary> /// A cmdlet that creates a new azure resource. /// </summary> - [Cmdlet(VerbsCommon.New, "AzureRMResource", SupportsShouldProcess = true, DefaultParameterSetName = ResourceManipulationCmdletBase.ResourceIdParameterSet), OutputType(typeof(PSObject))] + [Cmdlet(VerbsCommon.New, "AzureRmResource", SupportsShouldProcess = true, DefaultParameterSetName = ResourceManipulationCmdletBase.ResourceIdParameterSet), OutputType(typeof(PSObject))] public sealed class NewAzureResourceCmdlet : ResourceManipulationCmdletBase { /// <summary> diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/NewAzureResourceLockCmdlet.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/NewAzureResourceLockCmdlet.cs index 25ffcf833038..2fb062f0d08e 100644 --- a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/NewAzureResourceLockCmdlet.cs +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/NewAzureResourceLockCmdlet.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// <summary> /// The new azure resource lock cmdlet. /// </summary> - [Cmdlet(VerbsCommon.New, "AzureRMResourceLock", SupportsShouldProcess = true, DefaultParameterSetName = ResourceLockManagementCmdletBase.SubscriptionResourceLevelLock), OutputType(typeof(PSObject))] + [Cmdlet(VerbsCommon.New, "AzureRmResourceLock", SupportsShouldProcess = true, DefaultParameterSetName = ResourceLockManagementCmdletBase.SubscriptionResourceLevelLock), OutputType(typeof(PSObject))] public class NewAzureResourceLockCmdlet : ResourceLockManagementCmdletBase { /// <summary> diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/GetAzurePolicyDefinition.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/GetAzurePolicyDefinition.cs index 70f819d1b07d..a861805494d0 100644 --- a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/GetAzurePolicyDefinition.cs +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/GetAzurePolicyDefinition.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// <summary> /// Gets the policy definition. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMPolicyDefinition", DefaultParameterSetName = GetAzurePolicyDefinitionCmdlet.ParameterlessSet), OutputType(typeof(PSObject))] + [Cmdlet(VerbsCommon.Get, "AzureRmPolicyDefinition", DefaultParameterSetName = GetAzurePolicyDefinitionCmdlet.ParameterlessSet), OutputType(typeof(PSObject))] public class GetAzurePolicyDefinitionCmdlet : PolicyDefinitionCmdletBase { /// <summary> diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/NewAzurePolicyDefinition.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/NewAzurePolicyDefinition.cs index ffc9b743e821..63cd2a756c49 100644 --- a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/NewAzurePolicyDefinition.cs +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/NewAzurePolicyDefinition.cs @@ -27,7 +27,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// <summary> /// Creates the policy definition. /// </summary> - [Cmdlet(VerbsCommon.New, "AzureRMPolicyDefinition"), OutputType(typeof(PSObject))] + [Cmdlet(VerbsCommon.New, "AzureRmPolicyDefinition"), OutputType(typeof(PSObject))] public class NewAzurePolicyDefinitionCmdlet : PolicyDefinitionCmdletBase { /// <summary> diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/RemoveAzurePolicyDefinition.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/RemoveAzurePolicyDefinition.cs index c56c6f4d76b3..688de1bd7c68 100644 --- a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/RemoveAzurePolicyDefinition.cs +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/RemoveAzurePolicyDefinition.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// <summary> /// Removes the policy definition. /// </summary> - [Cmdlet(VerbsCommon.Remove, "AzureRMPolicyDefinition", DefaultParameterSetName = RemoveAzurePolicyDefinitionCmdlet.PolicyDefinitionNameParameterSet), OutputType(typeof(bool))] + [Cmdlet(VerbsCommon.Remove, "AzureRmPolicyDefinition", DefaultParameterSetName = RemoveAzurePolicyDefinitionCmdlet.PolicyDefinitionNameParameterSet), OutputType(typeof(bool))] public class RemoveAzurePolicyDefinitionCmdlet : PolicyDefinitionCmdletBase { /// <summary> diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/SetAzurePolicyDefinition.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/SetAzurePolicyDefinition.cs index 66a8d0e9948b..911f3d21eb7f 100644 --- a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/SetAzurePolicyDefinition.cs +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Policy/SetAzurePolicyDefinition.cs @@ -27,7 +27,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// <summary> /// Sets the policy definition. /// </summary> - [Cmdlet(VerbsCommon.Set, "AzureRMPolicyDefinition", DefaultParameterSetName = SetAzurePolicyDefinitionCmdlet.PolicyDefinitionNameParameterSet), OutputType(typeof(PSObject))] + [Cmdlet(VerbsCommon.Set, "AzureRmPolicyDefinition", DefaultParameterSetName = SetAzurePolicyDefinitionCmdlet.PolicyDefinitionNameParameterSet), OutputType(typeof(PSObject))] public class SetAzurePolicyDefinitionCmdlet : PolicyDefinitionCmdletBase { /// <summary> diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/RemoveAzureResourceCmdlet.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/RemoveAzureResourceCmdlet.cs index 03fb7c1118dd..ffc77f12c300 100644 --- a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/RemoveAzureResourceCmdlet.cs +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/RemoveAzureResourceCmdlet.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// <summary> /// A cmdlet that removes an azure resource. /// </summary> - [Cmdlet(VerbsCommon.Remove, "AzureRMResource", SupportsShouldProcess = true, DefaultParameterSetName = ResourceManipulationCmdletBase.ResourceIdParameterSet), OutputType(typeof(bool))] + [Cmdlet(VerbsCommon.Remove, "AzureRmResource", SupportsShouldProcess = true, DefaultParameterSetName = ResourceManipulationCmdletBase.ResourceIdParameterSet), OutputType(typeof(bool))] public class RemoveAzureResourceCmdlet : ResourceManipulationCmdletBase { /// <summary> diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/RemoveAzureResourceLockCmdlet.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/RemoveAzureResourceLockCmdlet.cs index 87e2615027e8..1f4fd13dcfb0 100644 --- a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/RemoveAzureResourceLockCmdlet.cs +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/RemoveAzureResourceLockCmdlet.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// <summary> /// The remove azure resource lock cmdlet. /// </summary> - [Cmdlet(VerbsCommon.Remove, "AzureRMResourceLock", SupportsShouldProcess = true), OutputType(typeof(PSObject))] + [Cmdlet(VerbsCommon.Remove, "AzureRmResourceLock", SupportsShouldProcess = true), OutputType(typeof(PSObject))] public class RemoveAzureResourceLockCmdlet : ResourceLockManagementCmdletBase { /// <summary> diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/SetAzureResourceCmdlet.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/SetAzureResourceCmdlet.cs index b122e2206691..e77d64b07c89 100644 --- a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/SetAzureResourceCmdlet.cs +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/SetAzureResourceCmdlet.cs @@ -27,7 +27,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// <summary> /// A cmdlet that creates a new azure resource. /// </summary> - [Cmdlet(VerbsCommon.Set, "AzureRMResource", SupportsShouldProcess = true, DefaultParameterSetName = ResourceManipulationCmdletBase.ResourceIdParameterSet), OutputType(typeof(PSObject))] + [Cmdlet(VerbsCommon.Set, "AzureRmResource", SupportsShouldProcess = true, DefaultParameterSetName = ResourceManipulationCmdletBase.ResourceIdParameterSet), OutputType(typeof(PSObject))] public sealed class SetAzureResourceCmdlet : ResourceManipulationCmdletBase { /// <summary> @@ -87,7 +87,7 @@ protected override void OnProcessRecord() if(!string.IsNullOrEmpty(this.ODataQuery)) { - this.WriteWarning("The ODataQuery parameter is being deprecated in Set-AzureRMResource cmdlet and will be removed in a future release."); + this.WriteWarning("The ODataQuery parameter is being deprecated in Set-AzureRmResource cmdlet and will be removed in a future release."); } var resourceId = this.GetResourceId(); diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/SetAzureResourceLockCmdlet.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/SetAzureResourceLockCmdlet.cs index c168aee214f1..edf3b3789b42 100644 --- a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/SetAzureResourceLockCmdlet.cs +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/SetAzureResourceLockCmdlet.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// <summary> /// The set resource lock cmdlet. /// </summary> - [Cmdlet(VerbsCommon.Set, "AzureRMResourceLock", SupportsShouldProcess = true, DefaultParameterSetName = ResourceLockManagementCmdletBase.SubscriptionResourceLevelLock), OutputType(typeof(PSObject))] + [Cmdlet(VerbsCommon.Set, "AzureRmResourceLock", SupportsShouldProcess = true, DefaultParameterSetName = ResourceLockManagementCmdletBase.SubscriptionResourceLevelLock), OutputType(typeof(PSObject))] public class SetAzureResourceLockCmdlet : NewAzureResourceLockCmdlet { /// <summary> diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/TestAzureResourceCmdlet.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/TestAzureResourceCmdlet.cs index b980354d68a2..cfbb130dd77a 100644 --- a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/TestAzureResourceCmdlet.cs +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/TestAzureResourceCmdlet.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// <summary> /// Cmdlet to check if a resource exists or not /// </summary> - [Cmdlet(VerbsDiagnostic.Test, "AzureRMResource", DefaultParameterSetName = TestAzureResoruceCmdlet.GetTenantResourceParameterSet), OutputType(typeof(bool))] + [Cmdlet(VerbsDiagnostic.Test, "AzureRmResource", DefaultParameterSetName = TestAzureResoruceCmdlet.GetTenantResourceParameterSet), OutputType(typeof(bool))] public sealed class TestAzureResoruceCmdlet : ResourceManagerCmdletBase { /// <summary> diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/TestAzureResourceGroupCmdlet.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/TestAzureResourceGroupCmdlet.cs index 74e107d72698..c951f2d4b7e3 100644 --- a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/TestAzureResourceGroupCmdlet.cs +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/TestAzureResourceGroupCmdlet.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// <summary> /// Cmdlet to check if a resource group exists or not /// </summary> - [Cmdlet(VerbsDiagnostic.Test, "AzureRMResourceGroup"), OutputType(typeof(bool))] + [Cmdlet(VerbsDiagnostic.Test, "AzureRmResourceGroup"), OutputType(typeof(bool))] public sealed class TestAzureResoruceGroupCmdlet : ResourceManagerCmdletBase { /// <summary> diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Microsoft.Azure.Commands.ResourceManager.Cmdlets.dll-Help.xml b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Microsoft.Azure.Commands.ResourceManager.Cmdlets.dll-Help.xml index c7de93f98193..f53666401905 100644 --- a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Microsoft.Azure.Commands.ResourceManager.Cmdlets.dll-Help.xml +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Microsoft.Azure.Commands.ResourceManager.Cmdlets.dll-Help.xml @@ -3,7 +3,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMResource</command:name> + <command:name>Get-AzureRmResource</command:name> <maml:description> <maml:para>Gets existing resources.</maml:para> </maml:description> @@ -19,7 +19,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMResource</maml:name> + <maml:name>Get-AzureRmResource</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ResourceName</maml:name> <maml:description> @@ -155,7 +155,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMResource</maml:name> + <maml:name>Get-AzureRmResource</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ResourceId</maml:name> <maml:description> @@ -228,7 +228,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMResource</maml:name> + <maml:name>Get-AzureRmResource</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ResourceName</maml:name> <maml:description> @@ -336,7 +336,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMResource</maml:name> + <maml:name>Get-AzureRmResource</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ResourceName</maml:name> <maml:description> @@ -472,7 +472,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMResource</maml:name> + <maml:name>Get-AzureRmResource</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ResourceName</maml:name> <maml:description> @@ -594,7 +594,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMResource</maml:name> + <maml:name>Get-AzureRmResource</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ResourceName</maml:name> <maml:description> @@ -1015,7 +1015,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>Get-AzureRMResource -ResourceType microsoft.web/sites -ResourceGroupName myResourceGroup -ResourceName myWebsite</dev:code> + <dev:code>Get-AzureRmResource -ResourceType microsoft.web/sites -ResourceGroupName myResourceGroup -ResourceName myWebsite</dev:code> <dev:remarks> <maml:para>Gets resource of type microsoft.web/sites and name myWebsite under myResourceGroup</maml:para> <maml:para /> @@ -1035,7 +1035,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>Get-AzureRMResource -ResourceType microsoft.web/sites -ResourceGroupName myResourceGroup -ResourceName myWebsite -OutputObjectFormat New</dev:code> + <dev:code>Get-AzureRmResource -ResourceType microsoft.web/sites -ResourceGroupName myResourceGroup -ResourceName myWebsite -OutputObjectFormat New</dev:code> <dev:remarks> <maml:para>Gets resource of type microsoft.web/sites and name myWebsite under myResourceGroup. The output object format for Properties of the resource will be the new format</maml:para> <maml:para /> @@ -1057,7 +1057,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMResourceGroupDeploymentOperation</command:name> + <command:name>Get-AzureRmResourceGroupDeploymentOperation</command:name> <maml:description> <maml:para>Gets the resource group deployment operation</maml:para> </maml:description> @@ -1073,7 +1073,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMResourceGroupDeploymentOperation</maml:name> + <maml:name>Get-AzureRmResourceGroupDeploymentOperation</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>DeploymentName</maml:name> <maml:description> @@ -1270,7 +1270,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>Get-AzureRMResourceGroupDeploymentOperation -DeploymentName test -ResourceGroupName test</dev:code> + <dev:code>Get-AzureRmResourceGroupDeploymentOperation -DeploymentName test -ResourceGroupName test</dev:code> <dev:remarks> <maml:para>Gets deployment operation with name &quot;test&quot; under resource group &quot;test&quot;</maml:para> <maml:para /> @@ -1292,7 +1292,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMResourceLock</command:name> + <command:name>Get-AzureRmResourceLock</command:name> <maml:description> <maml:para>Gets the azure resource lock.</maml:para> </maml:description> @@ -1308,7 +1308,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMResourceLock</maml:name> + <maml:name>Get-AzureRmResourceLock</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AtScope</maml:name> <maml:description> @@ -1367,7 +1367,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMResourceLock</maml:name> + <maml:name>Get-AzureRmResourceLock</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AtScope</maml:name> <maml:description> @@ -1440,7 +1440,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMResourceLock</maml:name> + <maml:name>Get-AzureRmResourceLock</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AtScope</maml:name> <maml:description> @@ -1513,7 +1513,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMResourceLock</maml:name> + <maml:name>Get-AzureRmResourceLock</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AtScope</maml:name> <maml:description> @@ -1579,7 +1579,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMResourceLock</maml:name> + <maml:name>Get-AzureRmResourceLock</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AtScope</maml:name> <maml:description> @@ -1631,7 +1631,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMResourceLock</maml:name> + <maml:name>Get-AzureRmResourceLock</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AtScope</maml:name> <maml:description> @@ -1888,7 +1888,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>Get-AzureRMResourceLock -LockName test -ResourceName myResource -ResourceType microsoft.web/sites -ResourceGroupName myResourceGroup</dev:code> + <dev:code>Get-AzureRmResourceLock -LockName test -ResourceName myResource -ResourceType microsoft.web/sites -ResourceGroupName myResourceGroup</dev:code> <dev:remarks> <maml:para>Gets the resource lock &quot;test&quot;</maml:para> <maml:para /> @@ -1910,7 +1910,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Move-AzureRMResource</command:name> + <command:name>Move-AzureRmResource</command:name> <maml:description> <maml:para>Moves existing resources to a new resource group or subscription.</maml:para> </maml:description> @@ -1926,7 +1926,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Move-AzureRMResource</maml:name> + <maml:name>Move-AzureRmResource</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DestinationResourceGroupName</maml:name> <maml:description> @@ -2199,8 +2199,8 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>$r = Get-AzureRMResource -Name test -ResourceType Microsoft.ClassicCompute/storageAccounts -ResourceName mystorageaccount - Move-AzureRMResource -ResourceId $r.ResourceId -DestinationResourceGroupName test</dev:code> + <dev:code>$r = Get-AzureRmResource -Name test -ResourceType Microsoft.ClassicCompute/storageAccounts -ResourceName mystorageaccount + Move-AzureRmResource -ResourceId $r.ResourceId -DestinationResourceGroupName test</dev:code> <dev:remarks> <maml:para>Moves the existing resource into &quot;test&quot; resource group</maml:para> <maml:para /> @@ -2222,7 +2222,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>New-AzureRMResource</command:name> + <command:name>New-AzureRmResource</command:name> <maml:description> <maml:para>Create a new azure resource.</maml:para> </maml:description> @@ -2238,7 +2238,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMResource</maml:name> + <maml:name>New-AzureRmResource</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Location</maml:name> <maml:description> @@ -2360,7 +2360,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMResource</maml:name> + <maml:name>New-AzureRmResource</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Location</maml:name> <maml:description> @@ -2524,7 +2524,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMResource</maml:name> + <maml:name>New-AzureRmResource</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Location</maml:name> <maml:description> @@ -3016,7 +3016,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>New-AzureRMResource -Location &quot;West US&quot; -Properties @{&quot;test&quot;=&quot;test&quot;} -ResourceName myTestSiteName -ResourceType microsoft.web/sites -ResourceGroupName myResourceGroup -Force</dev:code> + <dev:code>New-AzureRmResource -Location &quot;West US&quot; -Properties @{&quot;test&quot;=&quot;test&quot;} -ResourceName myTestSiteName -ResourceType microsoft.web/sites -ResourceGroupName myResourceGroup -Force</dev:code> <dev:remarks> <maml:para>Create a new website</maml:para> <maml:para /> @@ -3038,7 +3038,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>New-AzureRMResourceLock</command:name> + <command:name>New-AzureRmResourceLock</command:name> <maml:description> <maml:para>Create a new resource lock.</maml:para> </maml:description> @@ -3054,7 +3054,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMResourceLock</maml:name> + <maml:name>New-AzureRmResourceLock</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LockLevel</maml:name> <maml:description> @@ -3148,7 +3148,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMResourceLock</maml:name> + <maml:name>New-AzureRmResourceLock</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LockLevel</maml:name> <maml:description> @@ -3235,7 +3235,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMResourceLock</maml:name> + <maml:name>New-AzureRmResourceLock</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LockLevel</maml:name> <maml:description> @@ -3336,7 +3336,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMResourceLock</maml:name> + <maml:name>New-AzureRmResourceLock</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LockLevel</maml:name> <maml:description> @@ -3437,7 +3437,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMResourceLock</maml:name> + <maml:name>New-AzureRmResourceLock</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LockLevel</maml:name> <maml:description> @@ -3517,7 +3517,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMResourceLock</maml:name> + <maml:name>New-AzureRmResourceLock</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LockLevel</maml:name> <maml:description> @@ -3850,7 +3850,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>New-AzureRMResourceLock -LockLevel CanNotDelete -LockNotes &quot;My lock notes&quot; -LockName mylock -ResourceName mySite -ResourceType microsoft.web/sites</dev:code> + <dev:code>New-AzureRmResourceLock -LockLevel CanNotDelete -LockNotes &quot;My lock notes&quot; -LockName mylock -ResourceName mySite -ResourceType microsoft.web/sites</dev:code> <dev:remarks> <maml:para>Create a new resource lock on a website</maml:para> <maml:para /> @@ -3872,7 +3872,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Remove-AzureRMResource</command:name> + <command:name>Remove-AzureRmResource</command:name> <maml:description> <maml:para>Removes the azure resource.</maml:para> </maml:description> @@ -3888,7 +3888,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMResource</maml:name> + <maml:name>Remove-AzureRmResource</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ResourceId</maml:name> <maml:description> @@ -3961,7 +3961,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMResource</maml:name> + <maml:name>Remove-AzureRmResource</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ResourceName</maml:name> <maml:description> @@ -4076,7 +4076,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMResource</maml:name> + <maml:name>Remove-AzureRmResource</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ResourceName</maml:name> <maml:description> @@ -4435,7 +4435,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>Remove-AzureRMResource -ResourceId /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Web/sites/myTestSiteName -Force</dev:code> + <dev:code>Remove-AzureRmResource -ResourceId /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Web/sites/myTestSiteName -Force</dev:code> <dev:remarks> <maml:para>Removes the existing website resource</maml:para> <maml:para /> @@ -4457,7 +4457,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Remove-AzureRMResourceLock</command:name> + <command:name>Remove-AzureRmResourceLock</command:name> <maml:description> <maml:para>Removes the azure resource lock.</maml:para> </maml:description> @@ -4473,7 +4473,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMResourceLock</maml:name> + <maml:name>Remove-AzureRmResourceLock</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ResourceId</maml:name> <maml:description> @@ -4546,7 +4546,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMResourceLock</maml:name> + <maml:name>Remove-AzureRmResourceLock</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ResourceName</maml:name> <maml:description> @@ -4654,7 +4654,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMResourceLock</maml:name> + <maml:name>Remove-AzureRmResourceLock</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ResourceName</maml:name> <maml:description> @@ -5013,7 +5013,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>Remove-AzureRMResourceLock -ResourceId /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/mystorageaccount/providers/Microsoft.Authorization/locks/test</dev:code> + <dev:code>Remove-AzureRmResourceLock -ResourceId /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/mystorageaccount/providers/Microsoft.Authorization/locks/test</dev:code> <dev:remarks> <maml:para /> <maml:para /> @@ -5035,7 +5035,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Set-AzureRMResource</command:name> + <command:name>Set-AzureRmResource</command:name> <maml:description> <maml:para>Updates an existing azure resource.</maml:para> </maml:description> @@ -5051,7 +5051,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMResource</maml:name> + <maml:name>Set-AzureRmResource</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Kind</maml:name> <maml:description> @@ -5166,7 +5166,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMResource</maml:name> + <maml:name>Set-AzureRmResource</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Kind</maml:name> <maml:description> @@ -5323,7 +5323,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMResource</maml:name> + <maml:name>Set-AzureRmResource</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Kind</maml:name> <maml:description> @@ -5797,9 +5797,9 @@ <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> <dev:code> - $r = Get-AzureRMResource -ResourceType microsoft.web/sites -ResourceGroupName myResourceGroup -ResourceName mySite -OutputObjectFormat New + $r = Get-AzureRmResource -ResourceType microsoft.web/sites -ResourceGroupName myResourceGroup -ResourceName mySite -OutputObjectFormat New $r.Properties.Enabled = &quot;False&quot; - $r | Set-AzureRMResource -Force -OutputObjectFormat New + $r | Set-AzureRmResource -Force -OutputObjectFormat New </dev:code> <dev:remarks> <maml:para /> @@ -5822,7 +5822,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Set-AzureRMResourceLock</command:name> + <command:name>Set-AzureRmResourceLock</command:name> <maml:description> <maml:para>Updates an existing resource lock.</maml:para> </maml:description> @@ -5838,7 +5838,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMResourceLock</maml:name> + <maml:name>Set-AzureRmResourceLock</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LockLevel</maml:name> <maml:description> @@ -5932,7 +5932,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMResourceLock</maml:name> + <maml:name>Set-AzureRmResourceLock</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LockLevel</maml:name> <maml:description> @@ -6019,7 +6019,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMResourceLock</maml:name> + <maml:name>Set-AzureRmResourceLock</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LockLevel</maml:name> <maml:description> @@ -6120,7 +6120,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMResourceLock</maml:name> + <maml:name>Set-AzureRmResourceLock</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LockLevel</maml:name> <maml:description> @@ -6221,7 +6221,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMResourceLock</maml:name> + <maml:name>Set-AzureRmResourceLock</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LockLevel</maml:name> <maml:description> @@ -6301,7 +6301,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMResourceLock</maml:name> + <maml:name>Set-AzureRmResourceLock</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LockLevel</maml:name> <maml:description> @@ -6622,7 +6622,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>Set-AzureRMResourceLock -LockName test -ResourceName myResource -ResourceType microsoft.web/sites -ResourceGroupName myResourceGroup -LockLevel CanNotDelete -LockNotes &quot;Updated note&quot;</dev:code> + <dev:code>Set-AzureRmResourceLock -LockName test -ResourceName myResource -ResourceType microsoft.web/sites -ResourceGroupName myResourceGroup -LockLevel CanNotDelete -LockNotes &quot;Updated note&quot;</dev:code> <dev:remarks> <maml:para>Updates existing resource lock</maml:para> <maml:para /> diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/Features/GetAzureProviderFeatureCmdletTests.cs b/src/ResourceManager/Resources/Commands.Resources.Test/Features/GetAzureProviderFeatureCmdletTests.cs index c21e2ea20f7a..039142ed4d01 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/Features/GetAzureProviderFeatureCmdletTests.cs +++ b/src/ResourceManager/Resources/Commands.Resources.Test/Features/GetAzureProviderFeatureCmdletTests.cs @@ -74,7 +74,7 @@ public GetAzureProviderFeatureCmdletTests() } /// <summary> - /// Validates all Get-AzureRMResourceProvider parameter combinations + /// Validates all Get-AzureRmResourceProvider parameter combinations /// </summary> [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/Features/RegisterProviderFeatureCmdletTests.cs b/src/ResourceManager/Resources/Commands.Resources.Test/Features/RegisterProviderFeatureCmdletTests.cs index 055b53f7ada9..bfde5178b31d 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/Features/RegisterProviderFeatureCmdletTests.cs +++ b/src/ResourceManager/Resources/Commands.Resources.Test/Features/RegisterProviderFeatureCmdletTests.cs @@ -77,7 +77,7 @@ public RegisterAzureProviderFeatureCmdletTests() } /// <summary> - /// Validates all Register-AzureRMResourceProvider scenarios + /// Validates all Register-AzureRmResourceProvider scenarios /// </summary> [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/Providers/GetAzureProviderCmdletTests.cs b/src/ResourceManager/Resources/Commands.Resources.Test/Providers/GetAzureProviderCmdletTests.cs index 662c97887acc..8ffbce848eb0 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/Providers/GetAzureProviderCmdletTests.cs +++ b/src/ResourceManager/Resources/Commands.Resources.Test/Providers/GetAzureProviderCmdletTests.cs @@ -71,7 +71,7 @@ public GetAzureProviderCmdletTests() } /// <summary> - /// Validates all Get-AzureRMResourceProvider parameter combinations + /// Validates all Get-AzureRmResourceProvider parameter combinations /// </summary> [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/Providers/RegisterResourceProviderCmdletTests.cs b/src/ResourceManager/Resources/Commands.Resources.Test/Providers/RegisterResourceProviderCmdletTests.cs index 9611f215f3b8..f1f003ef12a4 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/Providers/RegisterResourceProviderCmdletTests.cs +++ b/src/ResourceManager/Resources/Commands.Resources.Test/Providers/RegisterResourceProviderCmdletTests.cs @@ -77,7 +77,7 @@ public RegisterAzureProviderCmdletTests() } /// <summary> - /// Validates all Register-AzureRMResourceProvider scenarios + /// Validates all Register-AzureRmResourceProvider scenarios /// </summary> [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/Providers/UnregisterResourceProviderCmdletTests.cs b/src/ResourceManager/Resources/Commands.Resources.Test/Providers/UnregisterResourceProviderCmdletTests.cs index 5b28f5d3ce9e..d76481047beb 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/Providers/UnregisterResourceProviderCmdletTests.cs +++ b/src/ResourceManager/Resources/Commands.Resources.Test/Providers/UnregisterResourceProviderCmdletTests.cs @@ -77,7 +77,7 @@ public UnregisterAzureProviderCmdletTests() } /// <summary> - /// Validates all Unregister-AzureRMResourceProvider scenarios + /// Validates all Unregister-AzureRmResourceProvider scenarios /// </summary> [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ActiveDirectoryTests.ps1 b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ActiveDirectoryTests.ps1 index b5b5377b0c6b..2035a0b2e36b 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ActiveDirectoryTests.ps1 +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ActiveDirectoryTests.ps1 @@ -19,7 +19,7 @@ Tests getting Active Directory groups. function Test-GetAllADGroups { # Test - $groups = Get-AzureRMADGroup + $groups = Get-AzureRmADGroup # Assert Assert-NotNull($groups) @@ -39,7 +39,7 @@ function Test-GetADGroupWithSearchString # Test # Select at most 10 groups. Groups are restricted to contain "test" to fasten the test - $groups = Get-AzureRMADGroup -SearchString $displayName + $groups = Get-AzureRmADGroup -SearchString $displayName # Assert Assert-AreEqual $groups.Count 1 @@ -55,7 +55,7 @@ function Test-GetADGroupWithBadSearchString { # Test # Select at most 10 groups. Groups are restricted to contain "test" to fasten the test - $groups = Get-AzureRMADGroup -SearchString "BadSearchString" + $groups = Get-AzureRmADGroup -SearchString "BadSearchString" # Assert Assert-Null($groups) @@ -70,7 +70,7 @@ function Test-GetADGroupWithObjectId param([string]$objectId) # Test - $groups = Get-AzureRMADGroup -ObjectId $objectId + $groups = Get-AzureRmADGroup -ObjectId $objectId # Assert Assert-AreEqual $groups.Count 1 @@ -87,7 +87,7 @@ function Test-GetADGroupSecurityEnabled param([string]$objectId, [string]$securityEnabled) # Test - $groups = Get-AzureRMADGroup -ObjectId $objectId + $groups = Get-AzureRmADGroup -ObjectId $objectId # Assert Assert-AreEqual $groups.Count 1 @@ -103,7 +103,7 @@ Tests getting Active Directory groups. function Test-GetADGroupWithBadObjectId { # Test - $groups = Get-AzureRMADGroup -ObjectId "baadc0de-baad-c0de-baad-c0debaadc0de" + $groups = Get-AzureRmADGroup -ObjectId "baadc0de-baad-c0de-baad-c0debaadc0de" # Assert Assert-Null $groups @@ -118,7 +118,7 @@ function Test-GetADGroupWithUserObjectId param([string]$objectId) # Test - $groups = Get-AzureRMADGroup -ObjectId $objectId + $groups = Get-AzureRmADGroup -ObjectId $objectId # Assert Assert-Null $groups @@ -133,7 +133,7 @@ function Test-GetADGroupMemberWithGroupObjectId param([string]$groupObjectId, [string]$userObjectId, [string]$userName) # Test - $members = Get-AzureRMADGroupMember -GroupObjectId $groupObjectId + $members = Get-AzureRmADGroupMember -GroupObjectId $groupObjectId # Assert Assert-AreEqual $members.Count 1 @@ -148,7 +148,7 @@ Tests getting members from an Active Directory group. function Test-GetADGroupMemberWithBadGroupObjectId { # Test - $members = Get-AzureRMADGroupMember -GroupObjectId "baadc0de-baad-c0de-baad-c0debaadc0de" + $members = Get-AzureRmADGroupMember -GroupObjectId "baadc0de-baad-c0de-baad-c0debaadc0de" # Assert Assert-Null($members) @@ -163,7 +163,7 @@ function Test-GetADGroupMemberWithUserObjectId param([string]$objectId) # Test - $members = Get-AzureRMADGroupMember -GroupObjectId $objectId + $members = Get-AzureRmADGroupMember -GroupObjectId $objectId # Assert Assert-Null($members) @@ -178,7 +178,7 @@ function Test-GetADGroupMemberFromEmptyGroup param([string]$objectId) # Test - $members = Get-AzureRMADGroupMember -GroupObjectId $objectId + $members = Get-AzureRmADGroupMember -GroupObjectId $objectId # Assert Assert-Null($members) @@ -193,7 +193,7 @@ function Test-GetADServicePrincipalWithObjectId param([string]$objectId) # Test - $servicePrincipals = Get-AzureRMADServicePrincipal -ObjectId $objectId + $servicePrincipals = Get-AzureRmADServicePrincipal -ObjectId $objectId # Assert Assert-AreEqual $servicePrincipals.Count 1 @@ -207,7 +207,7 @@ Tests getting Active Directory service principals. function Test-GetADServicePrincipalWithBadObjectId { # Test - $servicePrincipals = Get-AzureRMADServicePrincipal -ObjectId "baadc0de-baad-c0de-baad-c0debaadc0de" + $servicePrincipals = Get-AzureRmADServicePrincipal -ObjectId "baadc0de-baad-c0de-baad-c0debaadc0de" # Assert Assert-Null($servicePrincipals) @@ -222,7 +222,7 @@ function Test-GetADServicePrincipalWithUserObjectId param([string]$objectId) # Test - $servicePrincipals = Get-AzureRMADServicePrincipal -ObjectId $objectId + $servicePrincipals = Get-AzureRmADServicePrincipal -ObjectId $objectId # Assert Assert-Null($servicePrincipals) @@ -237,7 +237,7 @@ function Test-GetADServicePrincipalWithSPN param([string]$SPN) # Test - $servicePrincipals = Get-AzureRMADServicePrincipal -ServicePrincipalName $SPN + $servicePrincipals = Get-AzureRmADServicePrincipal -ServicePrincipalName $SPN # Assert Assert-AreEqual $servicePrincipals.Count 1 @@ -252,7 +252,7 @@ Tests getting Active Directory service principals. function Test-GetADServicePrincipalWithBadSPN { # Test - $servicePrincipals = Get-AzureRMADServicePrincipal -ServicePrincipalName "badspn" + $servicePrincipals = Get-AzureRmADServicePrincipal -ServicePrincipalName "badspn" # Assert Assert-Null($servicePrincipals) @@ -267,7 +267,7 @@ function Test-GetADServicePrincipalWithSearchString param([string]$displayName) # Test - $servicePrincipals = Get-AzureRMADServicePrincipal -SearchString $displayName + $servicePrincipals = Get-AzureRmADServicePrincipal -SearchString $displayName # Assert Assert-AreEqual $servicePrincipals.Count 1 @@ -283,7 +283,7 @@ Tests getting Active Directory service principals. function Test-GetADServicePrincipalWithBadSearchString { # Test - $servicePrincipals = Get-AzureRMADServicePrincipal -SearchString "badsearchstring" + $servicePrincipals = Get-AzureRmADServicePrincipal -SearchString "badsearchstring" # Assert Assert-Null($servicePrincipals) @@ -296,7 +296,7 @@ Tests getting Active Directory users. function Test-GetAllADUser { # Test - $users = Get-AzureRMADUser + $users = Get-AzureRmADUser # Assert Assert-NotNull($users) @@ -315,7 +315,7 @@ function Test-GetADUserWithObjectId param([string]$objectId) # Test - $users = Get-AzureRMADUser -ObjectId $objectId + $users = Get-AzureRmADUser -ObjectId $objectId # Assert Assert-AreEqual $users.Count 1 @@ -334,7 +334,7 @@ function Test-GetADUserWithMail param([string]$mail) # Test - $users = Get-AzureRMADUser -Mail $mail + $users = Get-AzureRmADUser -Mail $mail # Assert Assert-AreEqual $users.Count 1 @@ -350,7 +350,7 @@ Tests getting Active Directory users. function Test-GetADUserWithBadObjectId { # Test - $users = Get-AzureRMADUser -ObjectId "baadc0de-baad-c0de-baad-c0debaadc0de" + $users = Get-AzureRmADUser -ObjectId "baadc0de-baad-c0de-baad-c0debaadc0de" # Assert Assert-Null($users) @@ -365,7 +365,7 @@ function Test-GetADUserWithGroupObjectId param([string]$objectId) # Test - $users = Get-AzureRMADUser -ObjectId $objectId + $users = Get-AzureRmADUser -ObjectId $objectId # Assert Assert-Null($users) @@ -380,7 +380,7 @@ function Test-GetADUserWithUPN param([string]$UPN) # Test - $users = Get-AzureRMADUser -UserPrincipalName $UPN + $users = Get-AzureRmADUser -UserPrincipalName $UPN # Assert Assert-AreEqual $users.Count 1 @@ -396,7 +396,7 @@ Tests getting Active Directory users. function Test-GetADUserWithFPOUPN { # Test - $users = Get-AzureRMADUser -UserPrincipalName "azsdkposhteam_outlook.com#EXT#@rbactest.onmicrosoft.com" + $users = Get-AzureRmADUser -UserPrincipalName "azsdkposhteam_outlook.com#EXT#@rbactest.onmicrosoft.com" # Assert Assert-AreEqual $users.Count 1 @@ -412,7 +412,7 @@ Tests getting Active Directory users. function Test-GetADUserWithBadUPN { # Test - $users = Get-AzureRMADUser -UserPrincipalName "baduser@rbactest.onmicrosoft.com" + $users = Get-AzureRmADUser -UserPrincipalName "baduser@rbactest.onmicrosoft.com" # Assert Assert-Null($users) @@ -428,7 +428,7 @@ function Test-GetADUserWithSearchString # Test # Select at most 10 users. Users are restricted to contain "test" to fasten the test - $users = Get-AzureRMADUser -SearchString $displayName + $users = Get-AzureRmADUser -SearchString $displayName # Assert Assert-NotNull($users) @@ -445,7 +445,7 @@ function Test-GetADUserWithBadSearchString { # Test # Select at most 10 users. Users are restricted to contain "test" to fasten the test - $users = Get-AzureRMADUser -SearchString "badsearchstring" + $users = Get-AzureRmADUser -SearchString "badsearchstring" # Assert Assert-Null($users) @@ -463,7 +463,7 @@ function Test-NewADApplication $identifierUri = "http://" + $displayName # Test - $application = New-AzureRMADApplication -DisplayName $displayName -HomePage $homePage -IdentifierUris $identifierUri + $application = New-AzureRmADApplication -DisplayName $displayName -HomePage $homePage -IdentifierUris $identifierUri # Assert Assert-NotNull $application @@ -478,7 +478,7 @@ function Test-NewADServicePrincipal param([string]$applicationId) # Test - $servicePrincipal = New-AzureRMADServicePrincipal -ApplicationId $applicationId + $servicePrincipal = New-AzureRmADServicePrincipal -ApplicationId $applicationId # Assert Assert-NotNull $servicePrincipal diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/AuthorizationTests.ps1 b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/AuthorizationTests.ps1 index 6c36ffbbf529..324db565f263 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/AuthorizationTests.ps1 +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/AuthorizationTests.ps1 @@ -25,47 +25,47 @@ function Test-AuthorizationEndToEnd <# Role Definitions #> # Can list role definitions - $roleDefinitions = Get-AzureRMRoleDefinition + $roleDefinitions = Get-AzureRmRoleDefinition Assert-True { $roleDefinitions.Count -gt 0 } # Can get one role definition - $roleDefinition = Get-AzureRMRoleDefinition -Name $roleDefinitions[0].Name + $roleDefinition = Get-AzureRmRoleDefinition -Name $roleDefinitions[0].Name Assert-AreEqual $roleDefinitions[0].Name $roleDefinition.Name # Does not throw when getting a non-existing role definition - $roleDefinition = Get-AzureRMRoleDefinition -Name "not-there" + $roleDefinition = Get-AzureRmRoleDefinition -Name "not-there" Assert-Null $roleDefinition <# Role Assignments #> $rg = Get-ResourceGroupName - $defaultSubscription = Get-AzureRMSubscription -Default + $defaultSubscription = Get-AzureRmSubscription -Default $principal = $defaultSubscription.ActiveDirectoryUserId - $roleDef = $(Get-AzureRMRoleDefinition)[0].Name + $roleDef = $(Get-AzureRmRoleDefinition)[0].Name $expectedScope = "/subscriptions/" + $defaultSubscription.SubscriptionId # List role assignments is piped to get remove role assignment - Get-AzureRMRoleAssignment | Remove-AzureRMRoleAssignment -Force - $roleAssignments = Get-AzureRMRoleAssignment + Get-AzureRmRoleAssignment | Remove-AzureRmRoleAssignment -Force + $roleAssignments = Get-AzureRmRoleAssignment Assert-AreEqual 0 $roleAssignments.Count # Create role assignment with default scope [Microsoft.Azure.Commands.Resources.Models.Authorization.PoliciesClient]::RoleAssignmentNames.Enqueue("C6408EC2-C27D-49C3-87ED-F49AC8354B76") - $roleAssignment = New-AzureRMRoleAssignment -Principal $principal -RoleDefinitionName $roleDef + $roleAssignment = New-AzureRmRoleAssignment -Principal $principal -RoleDefinitionName $roleDef Assert-AreEqual $principal $roleAssignment.Principal Assert-AreEqual $expectedScope $roleAssignment.Scope - $roleAssignment | Remove-AzureRMRoleAssignment -Force + $roleAssignment | Remove-AzureRmRoleAssignment -Force # Create role assignment with resource group scope $expectedScope = $expectedScope + "/resourceGroups/$rg" [Microsoft.Azure.Commands.Resources.Models.Authorization.PoliciesClient]::RoleAssignmentNames.Enqueue("6CAFE07B-DEA4-4097-A0DB-50E844D70615") - $roleAssignment = New-AzureRMRoleAssignment -Principal $principal -RoleDefinitionName $roleDef -ResourceGroup $rg + $roleAssignment = New-AzureRmRoleAssignment -Principal $principal -RoleDefinitionName $roleDef -ResourceGroup $rg Assert-AreEqual $principal $roleAssignment.Principal Assert-AreEqual $expectedScope $roleAssignment.Scope # Throws if trying to recreate an existing role assignment [Microsoft.Azure.Commands.Resources.Models.Authorization.PoliciesClient]::RoleAssignmentNames.Enqueue("0BD5EC77-F955-4470-83B9-582CED1EA177") - Assert-Throws { New-AzureRMRoleAssignment -Principal $principal -RoleDefinitionName $roleDef -ResourceGroup $rg } + Assert-Throws { New-AzureRmRoleAssignment -Principal $principal -RoleDefinitionName $roleDef -ResourceGroup $rg } - $roleAssignment | Remove-AzureRMRoleAssignment -Force + $roleAssignment | Remove-AzureRmRoleAssignment -Force } \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/Common.ps1 b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/Common.ps1 index 04e39d1534e2..1fb936d65e91 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/Common.ps1 +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/Common.ps1 @@ -36,7 +36,7 @@ Gets the default location for a provider #> function Get-ProviderLocation($provider) { - $location = Get-AzureRMLocation | where {$_.Name -eq $provider} + $location = Get-AzureRmLocation | where {$_.Name -eq $provider} if ($location -eq $null) { "West US" } else { @@ -60,6 +60,6 @@ Cleans the created resource groups function Clean-ResourceGroup($rgname) { if ([Microsoft.Azure.Test.HttpRecorder.HttpMockServer]::Mode -ne [Microsoft.Azure.Test.HttpRecorder.HttpRecorderMode]::Playback) { - Remove-AzureRMResourceGroup -Name $rgname -Force + Remove-AzureRmResourceGroup -Name $rgname -Force } } \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/DeploymentTests.ps1 b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/DeploymentTests.ps1 index eebfdb16f052..65ebbbe7eac0 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/DeploymentTests.ps1 +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/DeploymentTests.ps1 @@ -25,7 +25,7 @@ function Test-ValidateDeployment $location = Get-ProviderLocation "Microsoft.Web/sites" # Test - New-AzureRMResourceGroup -Name $rgname -Location $rglocation + New-AzureRmResourceGroup -Name $rgname -Location $rglocation $list = Test-AzureResourceGroupTemplate -ResourceGroupName $rgname -TemplateFile Build2014_Website_App.json -siteName $rname -hostingPlanName $rname -siteLocation $location -sku Free -workerSize 0 @@ -46,9 +46,9 @@ function Test-NewDeploymentFromTemplateFile $location = Get-ProviderLocation "Microsoft.Web/sites" # Test - New-AzureRMResourceGroup -Name $rgname -Location $rglocation + New-AzureRmResourceGroup -Name $rgname -Location $rglocation - $deployment = New-AzureRMResourceGroupDeployment -ResourceGroupName $rgname -TemplateFile Build2014_Website_App.json -siteName $rname -hostingPlanName $rname -siteLocation $location -sku Free -workerSize 0 + $deployment = New-AzureRmResourceGroupDeployment -ResourceGroupName $rgname -TemplateFile Build2014_Website_App.json -siteName $rname -hostingPlanName $rname -siteLocation $location -sku Free -workerSize 0 # Assert Assert-AreEqual Succeeded $deployment.ProvisioningStatelean-ResourceGroup $rgname diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/MoveResourceTest.ps1 b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/MoveResourceTest.ps1 index 86911a1342ed..cdd6d3f4ee4c 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/MoveResourceTest.ps1 +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/MoveResourceTest.ps1 @@ -27,21 +27,21 @@ function Test-MoveAzureResource $providerNamespace = "Providers.Test" $resourceType = $providerNamespace + "/statefulResources" - Register-AzureRMResourceProvider -ProviderNamespace $providerNamespace -Force - New-AzureRMResourceGroup -Name $sourceResourceGroupName -Location $location -Force - New-AzureRMResourceGroup -Name $destinationResourceGroupName -Location $location -Force - $resource1 = New-AzureRMResource -Name $testResourceName1 -Location $location -Tags @{Name = "testtag"; Value = "testval"} -ResourceGroupName $sourceResourceGroupName -ResourceType $resourceType -PropertyObject @{"administratorLogin" = "adminuser"; "administratorLoginPassword" = "P@ssword1"} -ApiVersion $apiversion -Force - $resource2 = New-AzureRMResource -Name $testResourceName2 -Location $location -Tags @{Name = "testtag"; Value = "testval"} -ResourceGroupName $sourceResourceGroupName -ResourceType $resourceType -PropertyObject @{"administratorLogin" = "adminuser"; "administratorLoginPassword" = "P@ssword1"} -ApiVersion $apiversion -Force + Register-AzureRmResourceProvider -ProviderNamespace $providerNamespace -Force + New-AzureRmResourceGroup -Name $sourceResourceGroupName -Location $location -Force + New-AzureRmResourceGroup -Name $destinationResourceGroupName -Location $location -Force + $resource1 = New-AzureRmResource -Name $testResourceName1 -Location $location -Tags @{Name = "testtag"; Value = "testval"} -ResourceGroupName $sourceResourceGroupName -ResourceType $resourceType -PropertyObject @{"administratorLogin" = "adminuser"; "administratorLoginPassword" = "P@ssword1"} -ApiVersion $apiversion -Force + $resource2 = New-AzureRmResource -Name $testResourceName2 -Location $location -Tags @{Name = "testtag"; Value = "testval"} -ResourceGroupName $sourceResourceGroupName -ResourceType $resourceType -PropertyObject @{"administratorLogin" = "adminuser"; "administratorLoginPassword" = "P@ssword1"} -ApiVersion $apiversion -Force - Get-AzureRMResource -ResourceGroupName $sourceResourceGroupName | Move-AzureRMResource -DestinationResourceGroupName $destinationResourceGroupName -Force + Get-AzureRmResource -ResourceGroupName $sourceResourceGroupName | Move-AzureRmResource -DestinationResourceGroupName $destinationResourceGroupName -Force $endTime = [DateTime]::UtcNow.AddMinutes(10) - while ([DateTime]::UtcNow -lt $endTime -and (@(Get-AzureRMResource -ResourceGroupName $sourceResourceGroupName).Length -gt 0)) + while ([DateTime]::UtcNow -lt $endTime -and (@(Get-AzureRmResource -ResourceGroupName $sourceResourceGroupName).Length -gt 0)) { [Microsoft.WindowsAzure.Commands.Utilities.Common.TestMockSupport]::Delay(1000) } - Assert-True { @(Get-AzureRMResource -ResourceGroupName $sourceResourceGroupName).Length -eq 0 } - Assert-True { @(Get-AzureRMResource -ResourceGroupName $destinationResourceGroupName).Length -eq 2 } + Assert-True { @(Get-AzureRmResource -ResourceGroupName $sourceResourceGroupName).Length -eq 0 } + Assert-True { @(Get-AzureRmResource -ResourceGroupName $destinationResourceGroupName).Length -eq 2 } } diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ProviderFeatureTests.ps1 b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ProviderFeatureTests.ps1 index 2c6d8f21967b..bdfb04f1f8ab 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ProviderFeatureTests.ps1 +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ProviderFeatureTests.ps1 @@ -18,23 +18,23 @@ #> function Test-AzureProviderFeature { - $defaultProviderFeatures = Get-AzureRMProviderFeature + $defaultProviderFeatures = Get-AzureRmProviderFeature - $allProviderFeatures = Get-AzureRMProviderFeature -ListAvailable + $allProviderFeatures = Get-AzureRmProviderFeature -ListAvailable Assert-True { $allProviderFeatures.Length -gt $defaultProviderFeatures.Length } - $batchFeatures = Get-AzureRMProviderFeature -ProviderName "Microsoft.Batch" + $batchFeatures = Get-AzureRmProviderFeature -ProviderName "Microsoft.Batch" Assert-True { $batchFeatures.Length -eq 0 } - $batchFeatures = Get-AzureRMProviderFeature -ProviderName "Microsoft.Batch" -ListAvailable + $batchFeatures = Get-AzureRmProviderFeature -ProviderName "Microsoft.Batch" -ListAvailable Assert-True { $batchFeatures.Length -gt 0 } - Register-AzureRMProviderFeature -ProviderName "Microsoft.Cache" -FeatureName "betaAccess3" -Force + Register-AzureRmProviderFeature -ProviderName "Microsoft.Cache" -FeatureName "betaAccess3" -Force - $cacheRegisteredFeatures = Get-AzureRMProviderFeature -ProviderName "Microsoft.Cache" + $cacheRegisteredFeatures = Get-AzureRmProviderFeature -ProviderName "Microsoft.Cache" Assert-True { $cacheRegisteredFeatures.Length -gt 0 } } diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ProviderTests.ps1 b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ProviderTests.ps1 index f4f05f3f7a4e..5e0f0902e2e8 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ProviderTests.ps1 +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ProviderTests.ps1 @@ -18,33 +18,33 @@ #> function Test-AzureProvider { - $defaultProviders = Get-AzureRMResourceProvider + $defaultProviders = Get-AzureRmResourceProvider Assert-True { $defaultProviders.Length -gt 0 } - $allProviders = Get-AzureRMResourceProvider -ListAvailable + $allProviders = Get-AzureRmResourceProvider -ListAvailable Assert-True { $allProviders.Length -gt $defaultProviders.Length } - Register-AzureRMResourceProvider -ProviderName "Microsoft.ApiManagement" -Force + Register-AzureRmResourceProvider -ProviderName "Microsoft.ApiManagement" -Force $endTime = [DateTime]::UtcNow.AddMinutes(5) - while ([DateTime]::UtcNow -lt $endTime -and @(Get-AzureRMResourceProvider -ProviderName "Microsoft.ApiManagement").RegistrationState -ne "Registered") + while ([DateTime]::UtcNow -lt $endTime -and @(Get-AzureRmResourceProvider -ProviderName "Microsoft.ApiManagement").RegistrationState -ne "Registered") { [Microsoft.WindowsAzure.Commands.Utilities.Common.TestMockSupport]::Delay(1000) } - Assert-True { @(Get-AzureRMResourceProvider -ProviderName "Microsoft.ApiManagement").RegistrationState -eq "Registered" } + Assert-True { @(Get-AzureRmResourceProvider -ProviderName "Microsoft.ApiManagement").RegistrationState -eq "Registered" } - Unregister-AzureRMResourceProvider -ProviderName "Microsoft.ApiManagement" -Force + Unregister-AzureRmResourceProvider -ProviderName "Microsoft.ApiManagement" -Force - while ([DateTime]::UtcNow -lt $endTime -and @(Get-AzureRMResourceProvider -ProviderName "Microsoft.ApiManagement").RegistrationState -ne "Unregistered") + while ([DateTime]::UtcNow -lt $endTime -and @(Get-AzureRmResourceProvider -ProviderName "Microsoft.ApiManagement").RegistrationState -ne "Unregistered") { [Microsoft.WindowsAzure.Commands.Utilities.Common.TestMockSupport]::Delay(1000) } - Assert-True { @(Get-AzureRMResourceProvider -ProviderName "Microsoft.ApiManagement").RegistrationState -eq "Unregistered" } + Assert-True { @(Get-AzureRmResourceProvider -ProviderName "Microsoft.ApiManagement").RegistrationState -eq "Unregistered" } } <# @@ -54,11 +54,11 @@ function Test-AzureProvider function Test-AzureProviderOperation { # Get all actions by all providers - $allActions = Get-AzureRMProviderOperation * + $allActions = Get-AzureRmProviderOperation * Assert-True { $allActions.Length -gt 0 } # Get all actions of microsoft.insights provider - $insightsActions = Get-AzureRMProviderOperation Microsoft.Insights/* + $insightsActions = Get-AzureRmProviderOperation Microsoft.Insights/* $insightsActions Assert-True { $insightsActions.Length -gt 0 } Assert-True { $allActions.Length -gt $insightsActions.Length } @@ -75,7 +75,7 @@ function Test-AzureProviderOperation } # Case insenstive search - $insightsCaseActions = Get-AzureRMProviderOperation MicROsoFt.InSIghTs/* + $insightsCaseActions = Get-AzureRmProviderOperation MicROsoFt.InSIghTs/* Assert-True { $insightsCaseActions.Length -gt 0 } Assert-True { $insightsCaseActions.Length -eq $insightsActions.Length } foreach ($action in $insightsCaseActions) @@ -84,7 +84,7 @@ function Test-AzureProviderOperation } # Get all Read actions of microsoft.insights provider - $insightsReadActions = Get-AzureRMProviderOperation Microsoft.Insights/*/read + $insightsReadActions = Get-AzureRmProviderOperation Microsoft.Insights/*/read Assert-True { $insightsReadActions.Length -gt 0 } Assert-True { $insightsActions.Length -gt $insightsReadActions.Length } foreach ($action in $insightsReadActions) @@ -94,7 +94,7 @@ function Test-AzureProviderOperation } # Get all Read actions of all providers - $readActions = Get-AzureRMProviderOperation */read + $readActions = Get-AzureRmProviderOperation */read Assert-True { $readActions.Length -gt 0 } Assert-True { $readActions.Length -lt $allActions.Length } Assert-True { $readActions.Length -gt $insightsReadActions.Length } @@ -105,17 +105,17 @@ function Test-AzureProviderOperation } # Get a particular action - $action = Get-AzureRMProviderOperation Microsoft.OperationalInsights/workspaces/usages/read + $action = Get-AzureRmProviderOperation Microsoft.OperationalInsights/workspaces/usages/read Assert-AreEqual $action.Operation.ToLower() "Microsoft.OperationalInsights/workspaces/usages/read".ToLower(); # Get an invalid action - $action = Get-AzureRMProviderOperation Microsoft.OperationalInsights/workspaces/usages/read/123 + $action = Get-AzureRmProviderOperation Microsoft.OperationalInsights/workspaces/usages/read/123 Assert-True { $action.Length -eq 0 } # Get actions for non-existing provider $exceptionMessage = "ProviderNotFound: Provider NonExistentProvider not found."; - Assert-Throws { Get-AzureRMProviderOperation NonExistentProvider/* } $exceptionMessage + Assert-Throws { Get-AzureRmProviderOperation NonExistentProvider/* } $exceptionMessage # Get action for non-existing provider - Assert-Throws { Get-AzureRMProviderOperation NonExistentProvider/servers/read } $exceptionMessage + Assert-Throws { Get-AzureRmProviderOperation NonExistentProvider/servers/read } $exceptionMessage } \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceGroupTests.ps1 b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceGroupTests.ps1 index 0904b4447f86..842660bbc4e7 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceGroupTests.ps1 +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceGroupTests.ps1 @@ -25,8 +25,8 @@ function Test-CreatesNewSimpleResourceGroup try { # Test - $actual = New-AzureRMResourceGroup -Name $rgname -Location $location -Tags @{Name = "testtag"; Value = "testval"} - $expected = Get-AzureRMResourceGroup -Name $rgname + $actual = New-AzureRmResourceGroup -Name $rgname -Location $location -Tags @{Name = "testtag"; Value = "testval"} + $expected = Get-AzureRmResourceGroup -Name $rgname # Assert Assert-AreEqual $expected.ResourceGroupName $actual.ResourceGroupName @@ -52,17 +52,17 @@ function Test-UpdatesExistingResourceGroup try { # Test update without tag - Assert-Throws { Set-AzureRMResourceGroup -Name $rgname -Tags @{"testtag" = "testval"} } "ResourceGroupNotFound: Resource group '$rgname' could not be found." + Assert-Throws { Set-AzureRmResourceGroup -Name $rgname -Tags @{"testtag" = "testval"} } "ResourceGroupNotFound: Resource group '$rgname' could not be found." - $new = New-AzureRMResourceGroup -Name $rgname -Location $location + $new = New-AzureRmResourceGroup -Name $rgname -Location $location # Test update with bad tag format - Assert-Throws { Set-AzureRMResourceGroup -Name $rgname -Tags @{"testtag" = "testval"} } "Invalid tag format. Expect @{Name = `"tagName`"} or @{Name = `"tagName`"; Value = `"tagValue`"}" + Assert-Throws { Set-AzureRmResourceGroup -Name $rgname -Tags @{"testtag" = "testval"} } "Invalid tag format. Expect @{Name = `"tagName`"} or @{Name = `"tagName`"; Value = `"tagValue`"}" # Test update with bad tag format - Assert-Throws { Set-AzureRMResourceGroup -Name $rgname -Tags @{Name = "testtag"; Value = "testval"}, @{Name = "testtag"; Value = "testval2"} } "Invalid tag format. Ensure that each tag has a unique name. Example: @{Name = `"tagName1`"; Value = `"tagValue1`"}, @{Name = `"tagName2`"; Value = `"tagValue2`"}" + Assert-Throws { Set-AzureRmResourceGroup -Name $rgname -Tags @{Name = "testtag"; Value = "testval"}, @{Name = "testtag"; Value = "testval2"} } "Invalid tag format. Ensure that each tag has a unique name. Example: @{Name = `"tagName1`"; Value = `"tagValue1`"}, @{Name = `"tagName2`"; Value = `"tagValue2`"}" - $actual = Set-AzureRMResourceGroup -Name $rgname -Tags @{Name = "testtag"; Value = "testval"} - $expected = Get-AzureRMResourceGroup -Name $rgname + $actual = Set-AzureRmResourceGroup -Name $rgname -Tags @{Name = "testtag"; Value = "testval"} + $expected = Get-AzureRmResourceGroup -Name $rgname # Assert Assert-AreEqual $expected.ResourceGroupName $actual.ResourceGroupName @@ -88,14 +88,14 @@ function Test-CreatesAndRemoveResourceGroupViaPiping $location = Get-ProviderLocation ResourceManagement # Test - New-AzureRMResourceGroup -Name $rgname1 -Location $location - New-AzureRMResourceGroup -Name $rgname2 -Location $location + New-AzureRmResourceGroup -Name $rgname1 -Location $location + New-AzureRmResourceGroup -Name $rgname2 -Location $location - Get-AzureRMResourceGroup | where {$_.ResourceGroupName -eq $rgname1 -or $_.ResourceGroupName -eq $rgname2} | Remove-AzureRMResourceGroup -Force + Get-AzureRmResourceGroup | where {$_.ResourceGroupName -eq $rgname1 -or $_.ResourceGroupName -eq $rgname2} | Remove-AzureRmResourceGroup -Force # Assert - Assert-Throws { Get-AzureRMResourceGroup -Name $rgname1 } "Provided resource group does not exist." - Assert-Throws { Get-AzureRMResourceGroup -Name $rgname2 } "Provided resource group does not exist." + Assert-Throws { Get-AzureRmResourceGroup -Name $rgname1 } "Provided resource group does not exist." + Assert-Throws { Get-AzureRmResourceGroup -Name $rgname2 } "Provided resource group does not exist." } <# @@ -107,7 +107,7 @@ function Test-GetNonExistingResourceGroup # Setup $rgname = Get-ResourceGroupName - Assert-Throws { Get-AzureRMResourceGroup -Name $rgname } "Provided resource group does not exist." + Assert-Throws { Get-AzureRmResourceGroup -Name $rgname } "Provided resource group does not exist." } <# @@ -119,7 +119,7 @@ function Test-NewResourceGroupInNonExistingLocation # Setup $rgname = Get-ResourceGroupName - Assert-Throws { New-AzureRMResourceGroup -Name $rgname -Location 'non-existing' } + Assert-Throws { New-AzureRmResourceGroup -Name $rgname -Location 'non-existing' } } <# @@ -131,7 +131,7 @@ function Test-RemoveNonExistingResourceGroup # Setup $rgname = Get-ResourceGroupName - Assert-Throws { Remove-AzureRMResourceGroup $rgname -Force } "Provided resource group does not exist." + Assert-Throws { Remove-AzureRmResourceGroup $rgname -Force } "Provided resource group does not exist." } <# @@ -146,41 +146,41 @@ function Test-AzureTagsEndToEnd Clean-Tags # Create tag without values - New-AzureRMTag $tag1 + New-AzureRmTag $tag1 - $tag = Get-AzureRMTag $tag1 + $tag = Get-AzureRmTag $tag1 Assert-AreEqual $tag1 $tag.Name # Add value to the tag (adding same value should pass) - New-AzureRMTag $tag1 value1 - New-AzureRMTag $tag1 value1 - New-AzureRMTag $tag1 value2 + New-AzureRmTag $tag1 value1 + New-AzureRmTag $tag1 value1 + New-AzureRmTag $tag1 value2 - $tag = Get-AzureRMTag $tag1 + $tag = Get-AzureRmTag $tag1 Assert-AreEqual 2 $tag.Values.Count # Create tag with values - New-AzureRMTag $tag2 value1 - New-AzureRMTag $tag2 value2 - New-AzureRMTag $tag2 value3 + New-AzureRmTag $tag2 value1 + New-AzureRmTag $tag2 value2 + New-AzureRmTag $tag2 value3 - $tags = Get-AzureRMTag + $tags = Get-AzureRmTag Assert-AreEqual 2 $tags.Count # Remove entire tag - $tag = Remove-AzureRMTag $tag1 -Force -PassThru + $tag = Remove-AzureRmTag $tag1 -Force -PassThru - $tags = Get-AzureRMTag + $tags = Get-AzureRmTag Assert-AreEqual $tag1 $tag.Name # Remove tag value - $tag = Remove-AzureRMTag $tag2 value1 -Force -PassThru + $tag = Remove-AzureRmTag $tag2 value1 -Force -PassThru - $tags = Get-AzureRMTag + $tags = Get-AzureRmTag Assert-AreEqual 0 $tags.Count # Get a non-existing tag - Assert-Throws { Get-AzureRMTag "non-existing" } + Assert-Throws { Get-AzureRmTag "non-existing" } Clean-Tags } @@ -212,7 +212,7 @@ function Test-NewDeploymentAndProviderRegistration } # Test - $deployment = New-AzureRMResourceGroup -Name $rgname -Location $location -GalleryTemplateIdentity $template -cacheName $rname -cacheLocation $location + $deployment = New-AzureRmResourceGroup -Name $rgname -Location $location -GalleryTemplateIdentity $template -cacheName $rname -cacheLocation $location # Assert $client = New-Object Microsoft.Azure.Commands.Resources.Models.ResourcesClient $subscription @@ -242,9 +242,9 @@ function Test-RemoveDeployment try { # Test - New-AzureRMResourceGroup -Name $rgName -Location "west us" - $deployment = New-AzureRMResourceGroupDeployment -ResourceGroupName $rgName -Name $deploymentName -TemplateUri $templateUri - Assert-True { Remove-AzureRMResourceGroupDeployment -ResourceGroupName $deployment.ResourceGroupName -Name $deployment.DeploymentName -Force -PassThru } + New-AzureRmResourceGroup -Name $rgName -Location "west us" + $deployment = New-AzureRmResourceGroupDeployment -ResourceGroupName $rgName -Name $deploymentName -TemplateUri $templateUri + Assert-True { Remove-AzureRmResourceGroupDeployment -ResourceGroupName $deployment.ResourceGroupName -Name $deployment.DeploymentName -Force -PassThru } } finally { @@ -264,21 +264,21 @@ function Test-NewResourceGroupWithTemplateThenGetWithAndWithoutDetails try { # Test - $actual = New-AzureRMResourceGroup -Name $rgname -Location $location -TemplateFile $templateFile ` + $actual = New-AzureRmResourceGroup -Name $rgname -Location $location -TemplateFile $templateFile ` -siteName $websiteName -hostingPlanName "test" -siteLocation "West US" ` -Tag @{ Name = "testtag"; Value = "testval" } - $expected1 = Get-AzureRMResourceGroup -Name $rgname + $expected1 = Get-AzureRmResourceGroup -Name $rgname # Assert Assert-AreEqual $expected1.ResourceGroupName $actual.ResourceGroupName Assert-AreEqual $expected1.Tags[0]["Name"] $actual.Tags[0]["Name"] Assert-AreEqual $expected1.Resources.Count 2 - $expected2 = Get-AzureRMResourceGroup + $expected2 = Get-AzureRmResourceGroup # Assert Assert-AreEqual $expected2[0].Resources.Count 0 - $expected3 = Get-AzureRMResourceGroup -Detailed + $expected3 = Get-AzureRmResourceGroup -Detailed $names = $expected3 | Select-Object -ExpandProperty ResourceGroupName $index = [Array]::IndexOf($names, $expected1.ResourceGroupName) # Assert diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceTests.ps1 b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceTests.ps1 index 51d34f8ab2a2..1443513b2ef7 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceTests.ps1 +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceTests.ps1 @@ -27,11 +27,11 @@ function Test-CreatesNewSimpleResource $resourceType = "Microsoft.Sql/servers" # Test - New-AzureRMResourceGroup -Name $rgname -Location $rglocation - $actual = New-AzureRMResource -Name $rname -Location $location -Tags @{Name = "testtag"; Value = "testval"} -ResourceGroupName $rgname -ResourceType $resourceType -PropertyObject @{"administratorLogin" = "adminuser"; "administratorLoginPassword" = "P@ssword1"} -ApiVersion $apiversion - $expected = Get-AzureRMResource -Name $rname -ResourceGroupName $rgname -ResourceType $resourceType -ApiVersion $apiversion + New-AzureRmResourceGroup -Name $rgname -Location $rglocation + $actual = New-AzureRmResource -Name $rname -Location $location -Tags @{Name = "testtag"; Value = "testval"} -ResourceGroupName $rgname -ResourceType $resourceType -PropertyObject @{"administratorLogin" = "adminuser"; "administratorLoginPassword" = "P@ssword1"} -ApiVersion $apiversion + $expected = Get-AzureRmResource -Name $rname -ResourceGroupName $rgname -ResourceType $resourceType -ApiVersion $apiversion - $list = Get-AzureRMResource -ResourceGroupName $rgname + $list = Get-AzureRmResource -ResourceGroupName $rgname # Assert Assert-AreEqual $expected.Name $actual.Name @@ -58,20 +58,20 @@ function Test-CreatesNewComplexResource $apiversion = "2014-04-01" # Test - New-AzureRMResourceGroup -Name $rgname -Location $rglocation - $actualParent = New-AzureRMResource -Name $rnameParent -Location $location -ResourceGroupName $rgname -ResourceType $resourceTypeParent -PropertyObject @{"administratorLogin" = "adminuser"; "administratorLoginPassword" = "P@ssword1"} -ApiVersion $apiversion - $expectedParent = Get-AzureRMResource -Name $rnameParent -ResourceGroupName $rgname -ResourceType $resourceTypeParent -ApiVersion $apiversion + New-AzureRmResourceGroup -Name $rgname -Location $rglocation + $actualParent = New-AzureRmResource -Name $rnameParent -Location $location -ResourceGroupName $rgname -ResourceType $resourceTypeParent -PropertyObject @{"administratorLogin" = "adminuser"; "administratorLoginPassword" = "P@ssword1"} -ApiVersion $apiversion + $expectedParent = Get-AzureRmResource -Name $rnameParent -ResourceGroupName $rgname -ResourceType $resourceTypeParent -ApiVersion $apiversion - $actualChild = New-AzureRMResource -Name $rnameChild -Location $location -ResourceGroupName $rgname -ResourceType $resourceTypeChild -ParentResource servers/$rnameParent -PropertyObject @{"edition" = "Web"; "collation" = "SQL_Latin1_General_CP1_CI_AS"; "maxSizeBytes" = "1073741824"} -ApiVersion $apiversion - $expectedChild = Get-AzureRMResource -Name $rnameChild -ResourceGroupName $rgname -ResourceType $resourceTypeChild -ParentResource servers/$rnameParent -ApiVersion $apiversion + $actualChild = New-AzureRmResource -Name $rnameChild -Location $location -ResourceGroupName $rgname -ResourceType $resourceTypeChild -ParentResource servers/$rnameParent -PropertyObject @{"edition" = "Web"; "collation" = "SQL_Latin1_General_CP1_CI_AS"; "maxSizeBytes" = "1073741824"} -ApiVersion $apiversion + $expectedChild = Get-AzureRmResource -Name $rnameChild -ResourceGroupName $rgname -ResourceType $resourceTypeChild -ParentResource servers/$rnameParent -ApiVersion $apiversion - $list = Get-AzureRMResource -ResourceGroupName $rgname + $list = Get-AzureRmResource -ResourceGroupName $rgname $parentFromList = $list | where {$_.ResourceType -eq $resourceTypeParent} | Select-Object -First 1 $childFromList = $list | where {$_.ResourceType -eq $resourceTypeChild} | Select-Object -First 1 - $listOfServers = Get-AzureRMResource -ResourceType $resourceTypeParent -ResourceGroupName $rgname - $listOfDatabases = Get-AzureRMResource -ResourceType $resourceTypeChild -ResourceGroupName $rgname + $listOfServers = Get-AzureRmResource -ResourceType $resourceTypeParent -ResourceGroupName $rgname + $listOfDatabases = Get-AzureRmResource -ResourceType $resourceTypeChild -ResourceGroupName $rgname # Assert Assert-AreEqual $expectedParent.Name $actualParent.Name @@ -106,11 +106,11 @@ function Test-GetResourcesViaPiping $apiversion = "2014-04-01" # Test - New-AzureRMResourceGroup -Name $rgname -Location $rglocation - New-AzureRMResource -Name $rnameParent -Location $location -ResourceGroupName $rgname -ResourceType $resourceTypeParent -PropertyObject @{"administratorLogin" = "adminuser"; "administratorLoginPassword" = "P@ssword1"} -ApiVersion $apiversion - New-AzureRMResource -Name $rnameChild -Location $location -ResourceGroupName $rgname -ResourceType $resourceTypeChild -ParentResource servers/$rnameParent -PropertyObject @{"edition" = "Web"; "collation" = "SQL_Latin1_General_CP1_CI_AS"; "maxSizeBytes" = "1073741824"} -ApiVersion $apiversion + New-AzureRmResourceGroup -Name $rgname -Location $rglocation + New-AzureRmResource -Name $rnameParent -Location $location -ResourceGroupName $rgname -ResourceType $resourceTypeParent -PropertyObject @{"administratorLogin" = "adminuser"; "administratorLoginPassword" = "P@ssword1"} -ApiVersion $apiversion + New-AzureRmResource -Name $rnameChild -Location $location -ResourceGroupName $rgname -ResourceType $resourceTypeChild -ParentResource servers/$rnameParent -PropertyObject @{"edition" = "Web"; "collation" = "SQL_Latin1_General_CP1_CI_AS"; "maxSizeBytes" = "1073741824"} -ApiVersion $apiversion - $list = Get-AzureRMResourceGroup -Name $rgname | Get-AzureRMResource + $list = Get-AzureRmResourceGroup -Name $rgname | Get-AzureRmResource $serverFromList = $list | where {$_.ResourceType -eq $resourceTypeParent} | Select-Object -First 1 $databaseFromList = $list | where {$_.ResourceType -eq $resourceTypeChild} | Select-Object -First 1 @@ -133,9 +133,9 @@ function Test-GetResourcesFromEmptyGroup $location = Get-ProviderLocation ResourceManagement # Test - New-AzureRMResourceGroup -Name $rgname -Location $location - $listViaPiping = Get-AzureRMResourceGroup -Name $rgname | Get-AzureRMResource - $listViaDirect = Get-AzureRMResource -ResourceGroupName $rgname + New-AzureRmResourceGroup -Name $rgname -Location $location + $listViaPiping = Get-AzureRmResourceGroup -Name $rgname | Get-AzureRmResource + $listViaDirect = Get-AzureRmResource -ResourceGroupName $rgname # Assert Assert-AreEqual 0 @($listViaPiping).Count @@ -152,7 +152,7 @@ function Test-GetResourcesFromNonExisingGroup $rgname = Get-ResourceGroupName # Test - Assert-Throws { Get-AzureRMResource -ResourceGroupName $rgname } "Provided resource group does not exist." + Assert-Throws { Get-AzureRmResource -ResourceGroupName $rgname } "Provided resource group does not exist." } <# @@ -162,7 +162,7 @@ Nagative test. Get resources from non-existing type. function Test-GetResourcesForNonExisingType { # Test - $list = Get-AzureRMResource -ResourceType 'Non-Existing' + $list = Get-AzureRmResource -ResourceType 'Non-Existing' # Assert Assert-AreEqual 0 @($list).Count @@ -183,10 +183,10 @@ function Test-GetResourceForNonExisingResource $apiversion = "2014-04-01" # Test - New-AzureRMResourceGroup -Name $rgname -Location $location - Assert-Throws { Get-AzureRMResource -Name $rname -ResourceGroupName $rgname -ResourceType $resourceTypeWeb -ApiVersion $apiversion } "Provided resource does not exist." - Assert-Throws { Get-AzureRMResource -Name $rname -ResourceGroupName $rgname -ResourceType $resourceTypeSql -ApiVersion $apiversion } "Provided resource does not exist." - Assert-Throws { Get-AzureRMResource -Name $rname -ResourceGroupName $rgname -ResourceType 'Microsoft.Fake/nonexisting' -ApiVersion $apiversion } "Provided resource does not exist." + New-AzureRmResourceGroup -Name $rgname -Location $location + Assert-Throws { Get-AzureRmResource -Name $rname -ResourceGroupName $rgname -ResourceType $resourceTypeWeb -ApiVersion $apiversion } "Provided resource does not exist." + Assert-Throws { Get-AzureRmResource -Name $rname -ResourceGroupName $rgname -ResourceType $resourceTypeSql -ApiVersion $apiversion } "Provided resource does not exist." + Assert-Throws { Get-AzureRmResource -Name $rname -ResourceGroupName $rgname -ResourceType 'Microsoft.Fake/nonexisting' -ApiVersion $apiversion } "Provided resource does not exist." } <# @@ -206,11 +206,11 @@ function Test-GetResourcesViaPipingFromAnotherResource $apiversion = "2014-04-01" # Test - New-AzureRMResourceGroup -Name $rgname -Location $rglocation - New-AzureRMResource -Name $rnameParent -Location $location -ResourceGroupName $rgname -ResourceType $resourceTypeParent -PropertyObject @{"administratorLogin" = "adminuser"; "administratorLoginPassword" = "P@ssword1"} -ApiVersion $apiversion - New-AzureRMResource -Name $rnameChild -Location $location -ResourceGroupName $rgname -ResourceType $resourceTypeChild -ParentResource servers/$rnameParent -PropertyObject @{"edition" = "Web"; "collation" = "SQL_Latin1_General_CP1_CI_AS"; "maxSizeBytes" = "1073741824"} -ApiVersion $apiversion + New-AzureRmResourceGroup -Name $rgname -Location $rglocation + New-AzureRmResource -Name $rnameParent -Location $location -ResourceGroupName $rgname -ResourceType $resourceTypeParent -PropertyObject @{"administratorLogin" = "adminuser"; "administratorLoginPassword" = "P@ssword1"} -ApiVersion $apiversion + New-AzureRmResource -Name $rnameChild -Location $location -ResourceGroupName $rgname -ResourceType $resourceTypeChild -ParentResource servers/$rnameParent -PropertyObject @{"edition" = "Web"; "collation" = "SQL_Latin1_General_CP1_CI_AS"; "maxSizeBytes" = "1073741824"} -ApiVersion $apiversion - $list = Get-AzureRMResource -ResourceGroupName $rgname | Get-AzureRMResource -ApiVersion $apiversion + $list = Get-AzureRmResource -ResourceGroupName $rgname | Get-AzureRmResource -ApiVersion $apiversion # Assert Assert-AreEqual 2 @($list).Count @@ -231,12 +231,12 @@ function Test-MoveAResource $resourceType = "Providers.Test/statefulResources" # Test - New-AzureRMResourceGroup -Name $rgname -Location $rglocation - New-AzureRMResourceGroup -Name $rgname2 -Location $rglocation - $resource = New-AzureRMResource -Name $rname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} -ResourceGroupName $rgname -ResourceType $resourceType -PropertyObject @{"key" = "value"} -ApiVersion $apiversion -Force - Move-AzureRMResource -ResourceId $resource.ResourceId -DestinationResourceGroupName $rgname2 -Force + New-AzureRmResourceGroup -Name $rgname -Location $rglocation + New-AzureRmResourceGroup -Name $rgname2 -Location $rglocation + $resource = New-AzureRmResource -Name $rname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} -ResourceGroupName $rgname -ResourceType $resourceType -PropertyObject @{"key" = "value"} -ApiVersion $apiversion -Force + Move-AzureRmResource -ResourceId $resource.ResourceId -DestinationResourceGroupName $rgname2 -Force - $movedResource = Get-AzureRMResource -ResourceGroupName $rgname2 -ResourceName $rname -ResourceType $resourceType + $movedResource = Get-AzureRmResource -ResourceGroupName $rgname2 -ResourceName $rname -ResourceType $resourceType # Assert Assert-AreEqual $movedResource.Name $resource.Name @@ -258,11 +258,11 @@ function Test-SetAResource $resourceType = "Providers.Test/statefulResources" # Test - New-AzureRMResourceGroup -Name $rgname -Location $rglocation - $resource = New-AzureRMResource -Name $rname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} -ResourceGroupName $rgname -ResourceType $resourceType -PropertyObject @{"key" = "value"} -ApiVersion $apiversion -Force - Set-AzureRMResource -ResourceGroupName $rgname -ResourceName $rname -ResourceType $resourceType -Properties @{"key2" = "value2"} -Force + New-AzureRmResourceGroup -Name $rgname -Location $rglocation + $resource = New-AzureRmResource -Name $rname -Location $rglocation -Tags @{Name = "testtag"; Value = "testval"} -ResourceGroupName $rgname -ResourceType $resourceType -PropertyObject @{"key" = "value"} -ApiVersion $apiversion -Force + Set-AzureRmResource -ResourceGroupName $rgname -ResourceName $rname -ResourceType $resourceType -Properties @{"key2" = "value2"} -Force - $modifiedResource = Get-AzureRMResource -ResourceGroupName $rgname -ResourceName $rname -ResourceType $resourceType + $modifiedResource = Get-AzureRmResource -ResourceGroupName $rgname -ResourceName $rname -ResourceType $resourceType # Assert Assert-AreEqual $modifiedResource.Properties.key2 "value2" diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/RoleAssignmentTests.cs b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/RoleAssignmentTests.cs index a0b9be5369c6..96d22e99864a 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/RoleAssignmentTests.cs +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/RoleAssignmentTests.cs @@ -37,21 +37,21 @@ public void RaAuthorizationChangeLog() ResourcesController.NewInstance.RunPsTest("Test-RaAuthorizationChangeLog"); } - [Fact(Skip = "PSGet Migration: TODO: Get-AzureRMSubscription")] + [Fact(Skip = "PSGet Migration: TODO: Get-AzureRmSubscription")] [Trait(Category.AcceptanceType, Category.CheckIn)] public void RaClassicAdmins() { ResourcesController.NewInstance.RunPsTest("Test-RaClassicAdmins"); } - [Fact(Skip = "PSGet Migration: TODO: Get-AzureRMSubscription")] + [Fact(Skip = "PSGet Migration: TODO: Get-AzureRmSubscription")] [Trait(Category.AcceptanceType, Category.CheckIn)] public void RaNegativeScenarios() { ResourcesController.NewInstance.RunPsTest("Test-RaNegativeScenarios"); } - [Fact(Skip = "PSGet Migration: TODO: Get-AzureRMSubscription")] + [Fact(Skip = "PSGet Migration: TODO: Get-AzureRmSubscription")] [Trait(Category.AcceptanceType, Category.CheckIn)] public void RaByScope() { @@ -72,7 +72,7 @@ public void RaByResource() ResourcesController.NewInstance.RunPsTest("Test-RaByResource"); } - [Fact(Skip = "PSGet Migration: TODO: Get-AzureRMSubscription")] + [Fact(Skip = "PSGet Migration: TODO: Get-AzureRmSubscription")] [Trait(Category.AcceptanceType, Category.CheckIn)] public void RaByServicePrincipal() { diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/RoleAssignmentTests.ps1 b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/RoleAssignmentTests.ps1 index 585047d91b5e..6f6af842db37 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/RoleAssignmentTests.ps1 +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/RoleAssignmentTests.ps1 @@ -20,11 +20,11 @@ function Test-RaClassicAdmins { # Setup Add-Type -Path ".\\Microsoft.Azure.Commands.Resources.dll" - $subscription = Get-AzureRMSubscription -Current + $subscription = Get-AzureRmSubscription -Current # Test [Microsoft.Azure.Commands.Resources.Models.Authorization.AuthorizationClient]::RoleAssignmentNames.Enqueue("8D7DD69E-9AE2-44A1-94D8-F7BC8E12645E") - $classic = Get-AzureRMRoleAssignment -IncludeClassicAdministrators | Where-Object { $_.Scope -ieq ('/subscriptions/' + $subscription.SubscriptionId) -and $_.RoleDefinitionName.ToLower().Contains('administrator')} + $classic = Get-AzureRmRoleAssignment -IncludeClassicAdministrators | Where-Object { $_.Scope -ieq ('/subscriptions/' + $subscription.SubscriptionId) -and $_.RoleDefinitionName.ToLower().Contains('administrator')} # Assert Assert-NotNull $classic @@ -40,27 +40,27 @@ function Test-RaNegativeScenarios # Setup Add-Type -Path ".\\Microsoft.Azure.Commands.Resources.dll" - $subscription = Get-AzureRMSubscription -Current + $subscription = Get-AzureRmSubscription -Current # Bad OID does not throw when getting a non-existing role assignment $badOid = 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa' - $badOidResult = Get-AzureRMRoleAssignment -ObjectId $badOid + $badOidResult = Get-AzureRmRoleAssignment -ObjectId $badOid Assert-Null $badOidResult # Bad UPN $badUpn = 'nonexistent@provider.com' $badUpnException = "The provided information does not map to an AD object id." - Assert-Throws { Get-AzureRMRoleAssignment -UserPrincipalName $badUpn } $badUpnException + Assert-Throws { Get-AzureRmRoleAssignment -UserPrincipalName $badUpn } $badUpnException # Bad SPN $badSpn = 'bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb' $badSpnException = "The provided information does not map to an AD object id." - Assert-Throws { Get-AzureRMRoleAssignment -ServicePrincipalName $badSpn } $badSpnException + Assert-Throws { Get-AzureRmRoleAssignment -ServicePrincipalName $badSpn } $badSpnException # Bad Scope $badScope = '/subscriptions/'+ $subscription.SubscriptionId +'/providers/nonexistent' $badScopeException = "InvalidResourceNamespace: The resource namespace 'nonexistent' is invalid." - Assert-Throws { Get-AzureRMRoleAssignment -Scope $badScope } $badScopeException + Assert-Throws { Get-AzureRmRoleAssignment -Scope $badScope } $badScopeException } <# @@ -73,15 +73,15 @@ function Test-RaByScope Add-Type -Path ".\\Microsoft.Azure.Commands.Resources.dll" $definitionName = 'Reader' - $users = Get-AzureRMADUser | Select-Object -First 1 -Wait - $subscription = Get-AzureRMSubscription -Current - $resourceGroups = Get-AzureRMResourceGroup | Select-Object -Last 1 -Wait + $users = Get-AzureRmADUser | Select-Object -First 1 -Wait + $subscription = Get-AzureRmSubscription -Current + $resourceGroups = Get-AzureRmResourceGroup | Select-Object -Last 1 -Wait $scope = '/subscriptions/'+ $subscription.SubscriptionId +'/resourceGroups/' + $resourceGroups[0].ResourceGroupName Assert-AreEqual 1 $users.Count "There should be at least one user to run the test." # Test [Microsoft.Azure.Commands.Resources.Models.Authorization.AuthorizationClient]::RoleAssignmentNames.Enqueue("fa1a4d3b-2cca-406b-8956-6b6b32377641") - $newAssignment = New-AzureRMRoleAssignment ` + $newAssignment = New-AzureRmRoleAssignment ` -ObjectId $users[0].Id.Guid ` -RoleDefinitionName $definitionName ` -Scope $scope @@ -108,14 +108,14 @@ function Test-RaByResourceGroup Add-Type -Path ".\\Microsoft.Azure.Commands.Resources.dll" $definitionName = 'Contributor' - $users = Get-AzureRMADUser | Select-Object -Last 1 -Wait - $resourceGroups = Get-AzureRMResourceGroup | Select-Object -Last 1 -Wait + $users = Get-AzureRmADUser | Select-Object -Last 1 -Wait + $resourceGroups = Get-AzureRmResourceGroup | Select-Object -Last 1 -Wait Assert-AreEqual 1 $users.Count "There should be at least one user to run the test." Assert-AreEqual 1 $resourceGroups.Count "No resource group found. Unable to run the test." # Test [Microsoft.Azure.Commands.Resources.Models.Authorization.AuthorizationClient]::RoleAssignmentNames.Enqueue("7a750d57-9d92-4be1-ad66-f099cecffc01") - $newAssignment = New-AzureRMRoleAssignment ` + $newAssignment = New-AzureRmRoleAssignment ` -ObjectId $users[0].Id.Guid ` -RoleDefinitionName $definitionName ` -ResourceGroupName $resourceGroups[0].ResourceGroupName @@ -141,16 +141,16 @@ function Test-RaByResource Add-Type -Path ".\\Microsoft.Azure.Commands.Resources.dll" $definitionName = 'Owner' - $groups = Get-AzureRMADGroup | Select-Object -Last 1 -Wait + $groups = Get-AzureRmADGroup | Select-Object -Last 1 -Wait Assert-AreEqual 1 $groups.Count "There should be at least one group to run the test." - $resourceGroups = Get-AzureRMResourceGroup | Select-Object -Last 1 -Wait + $resourceGroups = Get-AzureRmResourceGroup | Select-Object -Last 1 -Wait Assert-AreEqual 1 $resourceGroups.Count "No resource group found. Unable to run the test." - $resource = Get-AzureRMResource -ResourceGroupName $resourceGroups[0].ResourceGroupName + $resource = Get-AzureRmResource -ResourceGroupName $resourceGroups[0].ResourceGroupName Assert-NotNull $resource "Cannot find any resource to continue test execution." # Test [Microsoft.Azure.Commands.Resources.Models.Authorization.AuthorizationClient]::RoleAssignmentNames.Enqueue("78D6502F-74FC-4800-BB0A-0E1A7BEBECA4") - $newAssignment = New-AzureRMRoleAssignment ` + $newAssignment = New-AzureRmRoleAssignment ` -ObjectId $groups[0].Id.Guid ` -RoleDefinitionName $definitionName ` -ResourceGroupName $resourceGroups[0].ResourceGroupName ` @@ -178,15 +178,15 @@ function Test-RaByServicePrincipal Add-Type -Path ".\\Microsoft.Azure.Commands.Resources.dll" $definitionName = 'Reader' - $servicePrincipals = Get-AzureRMADServicePrincipal | Select-Object -Last 1 -Wait - $subscription = Get-AzureRMSubscription -Current - $resourceGroups = Get-AzureRMResourceGroup | Select-Object -Last 1 -Wait + $servicePrincipals = Get-AzureRmADServicePrincipal | Select-Object -Last 1 -Wait + $subscription = Get-AzureRmSubscription -Current + $resourceGroups = Get-AzureRmResourceGroup | Select-Object -Last 1 -Wait $scope = '/subscriptions/'+ $subscription.SubscriptionId +'/resourceGroups/' + $resourceGroups[0].ResourceGroupName Assert-AreEqual 1 $servicePrincipals.Count "No service principals found. Unable to run the test." # Test [Microsoft.Azure.Commands.Resources.Models.Authorization.AuthorizationClient]::RoleAssignmentNames.Enqueue("a4b82891-ebee-4568-b606-632899bf9453") - $newAssignment = New-AzureRMRoleAssignment ` + $newAssignment = New-AzureRmRoleAssignment ` -ServicePrincipalName $servicePrincipals[0].DisplayName ` -RoleDefinitionName $definitionName ` -Scope $scope @@ -214,14 +214,14 @@ function Test-RaByUpn Add-Type -Path ".\\Microsoft.Azure.Commands.Resources.dll" $definitionName = 'Contributor' - $users = Get-AzureRMADUser | Select-Object -Last 1 -Wait - $resourceGroups = Get-AzureRMResourceGroup | Select-Object -Last 1 -Wait + $users = Get-AzureRmADUser | Select-Object -Last 1 -Wait + $resourceGroups = Get-AzureRmResourceGroup | Select-Object -Last 1 -Wait Assert-AreEqual 1 $users.Count "There should be at least one user to run the test." Assert-AreEqual 1 $resourceGroups.Count "No resource group found. Unable to run the test." # Test [Microsoft.Azure.Commands.Resources.Models.Authorization.AuthorizationClient]::RoleAssignmentNames.Enqueue("8d7dd69e-9ae2-44a1-94d8-f7bc8e12645e") - $newAssignment = New-AzureRMRoleAssignment ` + $newAssignment = New-AzureRmRoleAssignment ` -UPN $users[0].Mail ` -RoleDefinitionName $definitionName ` -ResourceGroupName $resourceGroups[0].ResourceGroupName @@ -245,7 +245,7 @@ function Test-RaUserPermissions # Setup # Test - $permissions = Get-AzureRMResourceGroup -Name $rgName + $permissions = Get-AzureRmResourceGroup -Name $rgName # Assert Assert-AreEqual 1 $permissions.Permissions.Count "User should have only one permission." @@ -255,11 +255,11 @@ function Test-RaUserPermissions <# .SYNOPSIS -Tests verifies Get-AzureRMAuthorizationChangeLog +Tests verifies Get-AzureRmAuthorizationChangeLog #> function Test-RaAuthorizationChangeLog { - $log1 = Get-AzureRMAuthorizationChangeLog -startTime 2015-08-27 -EndTime 2015-08-27T22:30:00Z + $log1 = Get-AzureRmAuthorizationChangeLog -startTime 2015-08-27 -EndTime 2015-08-27T22:30:00Z # Assert Assert-True { $log1.Count -ge 1 } "At least one record should be returned for the user" @@ -278,7 +278,7 @@ function CreateRoleAssignment Add-Type -Path ".\\Microsoft.Azure.Commands.Resources.dll" [Microsoft.Azure.Commands.Resources.Models.Authorization.AuthorizationClient]::RoleAssignmentNames.Enqueue($roleAssignmentId) - $newAssignment = New-AzureRMRoleAssignment ` + $newAssignment = New-AzureRmRoleAssignment ` -ObjectId $userId ` -RoleDefinitionName $definitionName ` -ResourceGroupName $resourceGroupName @@ -294,7 +294,7 @@ function DeleteRoleAssignment { param([Parameter(Mandatory=$true)] [object] $roleAssignment) - Remove-AzureRMRoleAssignment -ObjectId $roleAssignment.ObjectId.Guid ` + Remove-AzureRmRoleAssignment -ObjectId $roleAssignment.ObjectId.Guid ` -Scope $roleAssignment.Scope ` -RoleDefinitionName $roleAssignment.RoleDefinitionName ` -Force @@ -308,7 +308,7 @@ function VerifyRoleAssignmentDeleted { param([Parameter(Mandatory=$true)] [object] $roleAssignment) - $deletedRoleAssignment = Get-AzureRMRoleAssignment -ObjectId $roleAssignment.ObjectId.Guid ` + $deletedRoleAssignment = Get-AzureRmRoleAssignment -ObjectId $roleAssignment.ObjectId.Guid ` -Scope $roleAssignment.Scope ` -RoleDefinitionName $roleAssignment.RoleDefinitionName Assert-Null $deletedRoleAssignment diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/RoleDefinitionTests.ps1 b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/RoleDefinitionTests.ps1 index a1f48691e09a..ab99d20166b7 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/RoleDefinitionTests.ps1 +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/RoleDefinitionTests.ps1 @@ -24,9 +24,9 @@ function Test-RoleDefinitionCreateTests # Basic positive case - read from file $rdName = 'CustomRole Tests Role' [Microsoft.Azure.Commands.Resources.Models.Authorization.AuthorizationClient]::RoleDefinitionNames.Enqueue("8D7DD69E-9AE2-44A1-94D8-F7BC8E12645E") - New-AzureRMRoleDefinition -InputFile .\Resources\NewRoleDefinition.json + New-AzureRmRoleDefinition -InputFile .\Resources\NewRoleDefinition.json - $rd = Get-AzureRMRoleDefinition -Name $rdName + $rd = Get-AzureRmRoleDefinition -Name $rdName Assert-AreEqual "Test role" $rd.Description Assert-AreEqual $true $rd.IsCustom Assert-NotNull $rd.Actions @@ -35,7 +35,7 @@ function Test-RoleDefinitionCreateTests Assert-NotNull $rd.AssignableScopes # Basic positive case - read from object - $roleDef = Get-AzureRMRoleDefinition -Name "Virtual Machine Contributor" + $roleDef = Get-AzureRmRoleDefinition -Name "Virtual Machine Contributor" $roleDef.Id = $null $roleDef.Name = "Virtual machine admins" $roleDef.Actions.Add("Microsoft.ClassicCompute/virtualMachines/restart/action") @@ -43,16 +43,16 @@ function Test-RoleDefinitionCreateTests $roleDef.AssignableScopes[0] = "/subscriptions/4004a9fd-d58e-48dc-aeb2-4a4aec58606f" [Microsoft.Azure.Commands.Resources.Models.Authorization.AuthorizationClient]::RoleDefinitionNames.Enqueue("032F61D2-ED09-40C9-8657-26A273DA7BAE") - New-AzureRMRoleDefinition -Role $roleDef - $addedRoleDef = Get-AzureRMRoleDefinition -Name "Virtual machine admins" + New-AzureRmRoleDefinition -Role $roleDef + $addedRoleDef = Get-AzureRmRoleDefinition -Name "Virtual machine admins" Assert-NotNull $addedRoleDef.Actions Assert-AreEqual $roleDef.Description $addedRoleDef.Description Assert-AreEqual $roleDef.AssignableScopes $addedRoleDef.AssignableScopes Assert-AreEqual $true $addedRoleDef.IsCustom - Remove-AzureRMRoleDefinition -Id $addedRoleDef.Id -Force - Remove-AzureRMRoleDefinition -Id $rd.Id -Force + Remove-AzureRmRoleDefinition -Id $addedRoleDef.Id -Force + Remove-AzureRmRoleDefinition -Id $rd.Id -Force } <# @@ -66,7 +66,7 @@ function Test-RdNegativeScenarios # Does not throw when getting a non-existing role assignment $rdName = 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa' - $rdNull = Get-AzureRMRoleDefinition -Name $rdName + $rdNull = Get-AzureRmRoleDefinition -Name $rdName Assert-Null $rdNull $rdId = '85E460B3-89E9-48BA-9DCD-A8A99D64A674' @@ -74,27 +74,27 @@ function Test-RdNegativeScenarios $badIdException = "RoleDefinitionDoesNotExist: The specified role definition with ID '" + $rdId + "' does not exist." # Throws on trying to update the a role that does not exist - Assert-Throws { Set-AzureRMRoleDefinition -InputFile .\Resources\RoleDefinition.json } $badIdException + Assert-Throws { Set-AzureRmRoleDefinition -InputFile .\Resources\RoleDefinition.json } $badIdException # Role Defintion not provided. $roleDefNotProvided = "Parameter set cannot be resolved using the specified named parameters." - Assert-Throws { Set-AzureRMRoleDefinition } $roleDefNotProvided + Assert-Throws { Set-AzureRmRoleDefinition } $roleDefNotProvided # Input file not provided. $roleDefNotProvided = "Cannot validate argument on parameter 'InputFile'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again." - Assert-Throws { Set-AzureRMRoleDefinition -InputFile "" } $roleDefNotProvided - Assert-Throws { Set-AzureRMRoleDefinition -InputFile "" -Role $rdNull } $roleDefNotProvided + Assert-Throws { Set-AzureRmRoleDefinition -InputFile "" } $roleDefNotProvided + Assert-Throws { Set-AzureRmRoleDefinition -InputFile "" -Role $rdNull } $roleDefNotProvided # Role not provided. $roleDefNotProvided = "Cannot validate argument on parameter 'Role'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again." - Assert-Throws { Set-AzureRMRoleDefinition -Role $rdNull } $roleDefNotProvided - Assert-Throws { Set-AzureRMRoleDefinition -InputFile .\Resources\RoleDefinition.json -Role $rd } $roleDefNotProvided + Assert-Throws { Set-AzureRmRoleDefinition -Role $rdNull } $roleDefNotProvided + Assert-Throws { Set-AzureRmRoleDefinition -InputFile .\Resources\RoleDefinition.json -Role $rd } $roleDefNotProvided #TODO add check for valid input file and valid role # Throws on trying to delete a role that does not exist $missingSubscription = "MissingSubscription: The request did not have a provided subscription. All requests must have an associated subscription Id." - Assert-Throws { Remove-AzureRMRoleDefinition -Id $rdId -Force} $missingSubscription + Assert-Throws { Remove-AzureRmRoleDefinition -Id $rdId -Force} $missingSubscription } <# @@ -109,19 +109,19 @@ function Test-RDPositiveScenarios # Create a role definition with Name rdNamme. $rdName = 'Another tests role' [Microsoft.Azure.Commands.Resources.Models.Authorization.AuthorizationClient]::RoleDefinitionNames.Enqueue("032F61D2-ED09-40C9-8657-26A273DA7BAE") - $rd = New-AzureRMRoleDefinition -InputFile .\Resources\RoleDefinition.json - $rd = Get-AzureRMRoleDefinition -Name $rdName + $rd = New-AzureRmRoleDefinition -InputFile .\Resources\RoleDefinition.json + $rd = Get-AzureRmRoleDefinition -Name $rdName # Update the role definition with action that was created in the step above. $rd.Actions.Add('Microsoft.Authorization/*/read') - $updatedRd = Set-AzureRMRoleDefinition -Role $rd + $updatedRd = Set-AzureRmRoleDefinition -Role $rd Assert-NotNull $updatedRd # delete the role definition - $deletedRd = Remove-AzureRMRoleDefinition -Id $rd.Id -Force -PassThru + $deletedRd = Remove-AzureRmRoleDefinition -Id $rd.Id -Force -PassThru Assert-AreEqual $rd.Name $deletedRd.Name # try to read the deleted role definition - $readRd = Get-AzureRMRoleDefinition -Name $rd.Name + $readRd = Get-AzureRmRoleDefinition -Name $rd.Name Assert-Null $readRd } diff --git a/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/GetAzureADGroupCommand.cs b/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/GetAzureADGroupCommand.cs index 6fab6503543c..b430cb31a56a 100644 --- a/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/GetAzureADGroupCommand.cs +++ b/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/GetAzureADGroupCommand.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.ActiveDirectory /// <summary> /// Get AD groups. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMADGroup", DefaultParameterSetName = ParameterSet.Empty), OutputType(typeof(List<PSADGroup>))] + [Cmdlet(VerbsCommon.Get, "AzureRmADGroup", DefaultParameterSetName = ParameterSet.Empty), OutputType(typeof(List<PSADGroup>))] public class GetAzureADGroupCommand : ActiveDirectoryBaseCmdlet { [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.SearchString, diff --git a/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/GetAzureADGroupMemberCommand.cs b/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/GetAzureADGroupMemberCommand.cs index fa99a9ee5d50..aef69114b2c7 100644 --- a/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/GetAzureADGroupMemberCommand.cs +++ b/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/GetAzureADGroupMemberCommand.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.ActiveDirectory /// <summary> /// Get AD groups members. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMADGroupMember", DefaultParameterSetName = ParameterSet.Empty), OutputType(typeof(List<PSADObject>))] + [Cmdlet(VerbsCommon.Get, "AzureRmADGroupMember", DefaultParameterSetName = ParameterSet.Empty), OutputType(typeof(List<PSADObject>))] public class GetAzureADGroupMemberCommand : ActiveDirectoryBaseCmdlet { [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The user email address.")] diff --git a/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/GetAzureADServicePrincipalCommand.cs b/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/GetAzureADServicePrincipalCommand.cs index 6e3105bb94a1..2ea162654386 100644 --- a/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/GetAzureADServicePrincipalCommand.cs +++ b/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/GetAzureADServicePrincipalCommand.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.ActiveDirectory /// <summary> /// Get AD users. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMADServicePrincipal", DefaultParameterSetName = ParameterSet.Empty), OutputType(typeof(List<PSADServicePrincipal>))] + [Cmdlet(VerbsCommon.Get, "AzureRmADServicePrincipal", DefaultParameterSetName = ParameterSet.Empty), OutputType(typeof(List<PSADServicePrincipal>))] public class GetAzureADServicePrincipalCommand : ActiveDirectoryBaseCmdlet { [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.SearchString, diff --git a/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/GetAzureADUserCommand.cs b/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/GetAzureADUserCommand.cs index ed09e8d2c9f4..363f5a25c56f 100644 --- a/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/GetAzureADUserCommand.cs +++ b/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/GetAzureADUserCommand.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.ActiveDirectory /// <summary> /// Get AD users. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMADUser", DefaultParameterSetName = ParameterSet.Empty), OutputType(typeof(List<PSADUser>))] + [Cmdlet(VerbsCommon.Get, "AzureRmADUser", DefaultParameterSetName = ParameterSet.Empty), OutputType(typeof(List<PSADUser>))] public class GetAzureADUserCommand : ActiveDirectoryBaseCmdlet { [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.SearchString, diff --git a/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/NewAzureADApplicationCommand.cs b/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/NewAzureADApplicationCommand.cs index 5ea68347a5bf..95dc47d5de74 100644 --- a/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/NewAzureADApplicationCommand.cs +++ b/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/NewAzureADApplicationCommand.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.ActiveDirectory /// <summary> /// Creates a new AD application. /// </summary> - [Cmdlet(VerbsCommon.New, "AzureRMADApplication", DefaultParameterSetName = ParameterSet.ApplicationWithoutCredential), OutputType(typeof(PSADApplication))] + [Cmdlet(VerbsCommon.New, "AzureRmADApplication", DefaultParameterSetName = ParameterSet.ApplicationWithoutCredential), OutputType(typeof(PSADApplication))] public class NewAzureADApplicationCommand : ActiveDirectoryBaseCmdlet { [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.ApplicationWithoutCredential, diff --git a/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/NewAzureADServicePrincipalCommand.cs b/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/NewAzureADServicePrincipalCommand.cs index 596634392cbb..dceb53df25a7 100644 --- a/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/NewAzureADServicePrincipalCommand.cs +++ b/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/NewAzureADServicePrincipalCommand.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.ActiveDirectory /// <summary> /// Creates a new service principal. /// </summary> - [Cmdlet(VerbsCommon.New, "AzureRMADServicePrincipal"), OutputType(typeof(PSADServicePrincipal))] + [Cmdlet(VerbsCommon.New, "AzureRmADServicePrincipal"), OutputType(typeof(PSADServicePrincipal))] public class NewAzureADServicePrincipalCommand : ActiveDirectoryBaseCmdlet { [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The application id for which service principal is created.")] diff --git a/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/RemoveAzureADApplicationCommand.cs b/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/RemoveAzureADApplicationCommand.cs index a632e6e58c6f..d1e3beebf1a3 100644 --- a/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/RemoveAzureADApplicationCommand.cs +++ b/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/RemoveAzureADApplicationCommand.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.ActiveDirectory /// <summary> /// Removes the AD application. /// </summary> - [Cmdlet(VerbsCommon.Remove, "AzureRMADApplication")] + [Cmdlet(VerbsCommon.Remove, "AzureRmADApplication")] public class RemoveAzureADApplicationCommand : ActiveDirectoryBaseCmdlet { [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The application object id.")] diff --git a/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/RemoveAzureADServicePrincipalCommand.cs b/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/RemoveAzureADServicePrincipalCommand.cs index 2b45ec8a25a1..c55c23e04664 100644 --- a/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/RemoveAzureADServicePrincipalCommand.cs +++ b/src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/RemoveAzureADServicePrincipalCommand.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.ActiveDirectory /// <summary> /// Removes the service principal. /// </summary> - [Cmdlet(VerbsCommon.Remove, "AzureRMADServicePrincipal"), OutputType(typeof(PSADServicePrincipal))] + [Cmdlet(VerbsCommon.Remove, "AzureRmADServicePrincipal"), OutputType(typeof(PSADServicePrincipal))] public class RemoveAzureADServicePrincipalCommand : ActiveDirectoryBaseCmdlet { [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.ObjectId, diff --git a/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 b/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 index 42b855dcd71d..3b1c088c3ad2 100644 --- a/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 +++ b/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 @@ -122,11 +122,11 @@ VariablesToExport = '*' # Aliases to export from this module AliasesToExport = @( - 'Get-AzureRMSqlDatabaseServerAuditingPolicy', - 'Remove-AzureRMSqlDatabaseServerAuditing', - 'Set-AzureRMSqlDatabaseServerAuditingPolicy', - 'Use-AzureRMSqlDatabaseServerAuditingPolicy', - 'Get-AzureRMStorageContainerAcl', + 'Get-AzureRmSqlDatabaseServerAuditingPolicy', + 'Remove-AzureRmSqlDatabaseServerAuditing', + 'Set-AzureRmSqlDatabaseServerAuditingPolicy', + 'Use-AzureRmSqlDatabaseServerAuditingPolicy', + 'Get-AzureRmStorageContainerAcl', 'Start-CopyAzureStorageBlob', 'Stop-CopyAzureStorageBlob' ) diff --git a/src/ResourceManager/Resources/Commands.Resources/Microsoft.Azure.Commands.Resources.dll-Help.xml b/src/ResourceManager/Resources/Commands.Resources/Microsoft.Azure.Commands.Resources.dll-Help.xml index 0be1c4bf3606..871eedf15b07 100644 --- a/src/ResourceManager/Resources/Commands.Resources/Microsoft.Azure.Commands.Resources.dll-Help.xml +++ b/src/ResourceManager/Resources/Commands.Resources/Microsoft.Azure.Commands.Resources.dll-Help.xml @@ -2,7 +2,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMADGroup</command:name> + <command:name>Get-AzureRmADGroup</command:name> <maml:description> <maml:para>Filters active directory groups.</maml:para> </maml:description> @@ -19,7 +19,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMADGroup</maml:name> + <maml:name>Get-AzureRmADGroup</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ObjectId</maml:name> <maml:description> @@ -36,7 +36,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMADGroup</maml:name> + <maml:name>Get-AzureRmADGroup</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>SearchString</maml:name> <maml:description> @@ -53,7 +53,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMADGroup</maml:name> + <maml:name>Get-AzureRmADGroup</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ObjectId</maml:name> <maml:description> @@ -148,7 +148,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMADGroup -ObjectId 85F89C90-780E-4AA6-9F4F-6F268D322EEE</dev:code> + <dev:code>PS C:\&gt; Get-AzureRmADGroup -ObjectId 85F89C90-780E-4AA6-9F4F-6F268D322EEE</dev:code> <dev:remarks> <maml:para>Gets group with 85F89C90-780E-4AA6-9F4F-6F268D322EEE id</maml:para> <maml:para /> @@ -168,7 +168,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMADGroup -SearchString Joe</dev:code> + <dev:code>PS C:\&gt; Get-AzureRmADGroup -SearchString Joe</dev:code> <dev:remarks> <maml:para>Filters all ad groups that has Joe in the display name.</maml:para> <maml:para /> @@ -188,7 +188,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMADGroup</dev:code> + <dev:code>PS C:\&gt; Get-AzureRmADGroup</dev:code> <dev:remarks> <maml:para>Gets all AD groups</maml:para> <maml:para /> @@ -206,15 +206,15 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMADUser</maml:linkText> + <maml:linkText>Get-AzureRmADUser</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMADServicePrincipal</maml:linkText> + <maml:linkText>Get-AzureRmADServicePrincipal</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMADGroupMember</maml:linkText> + <maml:linkText>Get-AzureRmADGroupMember</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> @@ -222,7 +222,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMADGroupMember</command:name> + <command:name>Get-AzureRmADGroupMember</command:name> <maml:description> <maml:para>Get a group members.</maml:para> </maml:description> @@ -239,7 +239,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMADGroupMember</maml:name> + <maml:name>Get-AzureRmADGroupMember</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>GroupObjectId</maml:name> <maml:description> @@ -322,7 +322,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMADGroupMember -GroupObjectId 85F89C90-780E-4AA6-9F4F-6F268D322EEE</dev:code> + <dev:code>PS C:\&gt; Get-AzureRmADGroupMember -GroupObjectId 85F89C90-780E-4AA6-9F4F-6F268D322EEE</dev:code> <dev:remarks> <maml:para>Gets group members with 85F89C90-780E-4AA6-9F4F-6F268D322EEE id</maml:para> <maml:para /> @@ -340,15 +340,15 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMADUser</maml:linkText> + <maml:linkText>Get-AzureRmADUser</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMADServicePrincipal</maml:linkText> + <maml:linkText>Get-AzureRmADServicePrincipal</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMADGroupMemberMember</maml:linkText> + <maml:linkText>Get-AzureRmADGroupMemberMember</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> @@ -356,7 +356,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMADServicePrincipal</command:name> + <command:name>Get-AzureRmADServicePrincipal</command:name> <maml:description> <maml:para>Filters active directory service principals.</maml:para> </maml:description> @@ -373,7 +373,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMADServicePrincipal</maml:name> + <maml:name>Get-AzureRmADServicePrincipal</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ServicePrincipalName</maml:name> <maml:description> @@ -390,7 +390,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMADServicePrincipal</maml:name> + <maml:name>Get-AzureRmADServicePrincipal</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>SearchString</maml:name> <maml:description> @@ -407,7 +407,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMADServicePrincipal</maml:name> + <maml:name>Get-AzureRmADServicePrincipal</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ObjectId</maml:name> <maml:description> @@ -424,7 +424,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMADServicePrincipal</maml:name> + <maml:name>Get-AzureRmADServicePrincipal</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ServicePrincipalName</maml:name> <maml:description> @@ -531,7 +531,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMADServicePrincipal -SPN 36f81fc3-b00f-48cd-8218-3879f51ff39f</dev:code> + <dev:code>PS C:\&gt; Get-AzureRmADServicePrincipal -SPN 36f81fc3-b00f-48cd-8218-3879f51ff39f</dev:code> <dev:remarks> <maml:para>Gets service principals with 36f81fc3-b00f-48cd-8218-3879f51ff39f SPN</maml:para> <maml:para /> @@ -551,7 +551,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMADServicePrincipal -SearchString Web</dev:code> + <dev:code>PS C:\&gt; Get-AzureRmADServicePrincipal -SearchString Web</dev:code> <dev:remarks> <maml:para>Filters all ad service principals that has Web in the display name.</maml:para> <maml:para /> @@ -571,7 +571,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMADServicePrincipal</dev:code> + <dev:code>PS C:\&gt; Get-AzureRmADServicePrincipal</dev:code> <dev:remarks> <maml:para>Gets all AD service principals</maml:para> <maml:para /> @@ -589,15 +589,15 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMADGroup</maml:linkText> + <maml:linkText>Get-AzureRmADGroup</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMADUser</maml:linkText> + <maml:linkText>Get-AzureRmADUser</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMADGroupMember</maml:linkText> + <maml:linkText>Get-AzureRmADGroupMember</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> @@ -605,7 +605,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMADUser</command:name> + <command:name>Get-AzureRmADUser</command:name> <maml:description> <maml:para>Filters active directory users.</maml:para> </maml:description> @@ -622,7 +622,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMADUser</maml:name> + <maml:name>Get-AzureRmADUser</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>UserPrincipalName</maml:name> <maml:description> @@ -639,7 +639,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMADUser</maml:name> + <maml:name>Get-AzureRmADUser</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>SearchString</maml:name> <maml:description> @@ -656,7 +656,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMADUser</maml:name> + <maml:name>Get-AzureRmADUser</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ObjectId</maml:name> <maml:description> @@ -673,7 +673,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMADUser</maml:name> + <maml:name>Get-AzureRmADUser</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>UserPrincipalName</maml:name> <maml:description> @@ -690,7 +690,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMADUser</maml:name> + <maml:name>Get-AzureRmADUser</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Mail</maml:name> <maml:description> @@ -809,7 +809,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMADUser -UPN foo@domain.com</dev:code> + <dev:code>PS C:\&gt; Get-AzureRmADUser -UPN foo@domain.com</dev:code> <dev:remarks> <maml:para>Gets user with foo@domain.com</maml:para> <maml:para /> @@ -829,7 +829,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMADUser -SearchString Joe</dev:code> + <dev:code>PS C:\&gt; Get-AzureRmADUser -SearchString Joe</dev:code> <dev:remarks> <maml:para>Filters all ad users that has Joe in the display name.</maml:para> <maml:para /> @@ -849,7 +849,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMADUser</dev:code> + <dev:code>PS C:\&gt; Get-AzureRmADUser</dev:code> <dev:remarks> <maml:para>Gets all AD users</maml:para> <maml:para /> @@ -867,15 +867,15 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMADGroup</maml:linkText> + <maml:linkText>Get-AzureRmADGroup</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMADServicePrincipal</maml:linkText> + <maml:linkText>Get-AzureRmADServicePrincipal</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMADGroupMember</maml:linkText> + <maml:linkText>Get-AzureRmADGroupMember</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> @@ -883,7 +883,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMLocation</command:name> + <command:name>Get-AzureRmLocation</command:name> <maml:description> <maml:para>Gets the resource types and the Azure data center locations that support them.</maml:para> </maml:description> @@ -896,11 +896,11 @@ </command:details> <maml:description> <maml:para>This is the Description section</maml:para> - <maml:para>The Get-AzureRMLocation cmdlet gets the Azure data center locations that support each resource type. This cmdlet returns all resource types and locations. It has no parameters.A resource is a user-managed entity, such as a website, database server, or database. When you create a resource, you need to specify a location, and not every location supports all resource types. Before you create your resources, use this cmdlet to find a location for each resource.Azure resources are members of a resource group, which is a collection of resources that are deployed as a unit. Resource groups have a location, but the group and its members do not need to be in the same location.</maml:para> + <maml:para>The Get-AzureRmLocation cmdlet gets the Azure data center locations that support each resource type. This cmdlet returns all resource types and locations. It has no parameters.A resource is a user-managed entity, such as a website, database server, or database. When you create a resource, you need to specify a location, and not every location supports all resource types. Before you create your resources, use this cmdlet to find a location for each resource.Azure resources are members of a resource group, which is a collection of resources that are deployed as a unit. Resource groups have a location, but the group and its members do not need to be in the same location.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMLocation</maml:name> + <maml:name>Get-AzureRmLocation</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> @@ -964,7 +964,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMLocation + <dev:code>PS C:\&gt;Get-AzureRmLocation Name Locations @@ -1009,7 +1009,7 @@ microsoft.network/Subnets Central US, West Europe <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMLocation | Where-Object Name -like &quot;*web*site*&quot; + <dev:code>PS C:\&gt;Get-AzureRmLocation | Where-Object Name -like &quot;*web*site*&quot; Name Locations ---- --------- @@ -1017,12 +1017,12 @@ Microsoft.Web/sites North Central US, Central USPS -C:\&gt;New-AzureRMResource -Name MyWebSite -Location &apos;North Central US&apos; ...</dev:code> +C:\&gt;New-AzureRmResource -Name MyWebSite -Location &apos;North Central US&apos; ...</dev:code> <dev:remarks> <maml:para>This examples shows how to find a location that supports a web site resource and how to use the location in a command to create a web site.</maml:para> <maml:para /> <maml:para /> - <maml:para>The first command uses the Get-AzureRMLocation cmdlet to get all resource types and their locations. It pipes the output to the Where-Object cmdlet, which selects only resources with names that include &quot;web&quot; and &quot;site&quot;. The output shows that the Azure data centers in the North Central US and Central US support web sites.The second command uses the New-AzureRMResource cmdlet to create a new web site. The value of the Location parameter, which is required, is North Central US.</maml:para> + <maml:para>The first command uses the Get-AzureRmLocation cmdlet to get all resource types and their locations. It pipes the output to the Where-Object cmdlet, which selects only resources with names that include &quot;web&quot; and &quot;site&quot;. The output shows that the Azure data centers in the North Central US and Central US support web sites.The second command uses the New-AzureRmResource cmdlet to create a new web site. The value of the Location parameter, which is required, is North Central US.</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> @@ -1043,7 +1043,7 @@ C:\&gt;New-AzureRMResource -Name MyWebSite -Location &apos;North Central US&apos <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMResourceProvider</command:name> + <command:name>Get-AzureRmResourceProvider</command:name> <maml:description> <maml:para /> </maml:description> @@ -1059,7 +1059,7 @@ C:\&gt;New-AzureRMResource -Name MyWebSite -Location &apos;North Central US&apos </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMResourceProvider</maml:name> + <maml:name>Get-AzureRmResourceProvider</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ListAvailable</maml:name> <maml:description> @@ -1076,7 +1076,7 @@ C:\&gt;New-AzureRMResource -Name MyWebSite -Location &apos;North Central US&apos </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMResourceProvider</maml:name> + <maml:name>Get-AzureRmResourceProvider</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ProviderNamespace</maml:name> <maml:description> @@ -1173,7 +1173,7 @@ C:\&gt;New-AzureRMResource -Name MyWebSite -Location &apos;North Central US&apos <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMProviderFeature</command:name> + <command:name>Get-AzureRmProviderFeature</command:name> <maml:description> <maml:para /> </maml:description> @@ -1189,7 +1189,7 @@ C:\&gt;New-AzureRMResource -Name MyWebSite -Location &apos;North Central US&apos </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMProviderFeature</maml:name> + <maml:name>Get-AzureRmProviderFeature</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProviderNamespace</maml:name> <maml:description> @@ -1213,7 +1213,7 @@ C:\&gt;New-AzureRMResource -Name MyWebSite -Location &apos;North Central US&apos </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMProviderFeature</maml:name> + <maml:name>Get-AzureRmProviderFeature</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProviderNamespace</maml:name> <maml:description> @@ -1329,7 +1329,7 @@ C:\&gt;New-AzureRMResource -Name MyWebSite -Location &apos;North Central US&apos <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMProviderOperation</command:name> + <command:name>Get-AzureRmProviderOperation</command:name> <maml:description> <maml:para>Gets the operations or actions allowed by an Azure resource provider.</maml:para> </maml:description> @@ -1341,12 +1341,12 @@ C:\&gt;New-AzureRMResource -Name MyWebSite -Location &apos;North Central US&apos <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMProviderOperation gets the operations exposed by Azure resource providers. Operations can be composed to create custom roles in Azure RBAC. The command takes as input an action string (with possible wildcard (*) character(s)) which determines the action details to display. Use Get-AzureRMProviderOperation * to return all operations allowed by all resource providers. Use a specific action string to get the details of a particular action. + <maml:para>The Get-AzureRmProviderOperation gets the operations exposed by Azure resource providers. Operations can be composed to create custom roles in Azure RBAC. The command takes as input an action string (with possible wildcard (*) character(s)) which determines the action details to display. Use Get-AzureRmProviderOperation * to return all operations allowed by all resource providers. Use a specific action string to get the details of a particular action. This command throws ProviderNotFound exception if an invalid resource provider is specified in the action string.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMProviderOperation</maml:name> + <maml:name>Get-AzureRmProviderOperation</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>ActionString</maml:name> <maml:description> @@ -1429,7 +1429,7 @@ This command throws ProviderNotFound exception if an invalid resource provider i <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMProviderOperation *</dev:code> + <dev:code>PS C:\&gt; Get-AzureRmProviderOperation *</dev:code> <dev:remarks> <maml:para /> <maml:para /> @@ -1449,7 +1449,7 @@ This command throws ProviderNotFound exception if an invalid resource provider i <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMProviderOperation Microsoft.Insights/*</dev:code> + <dev:code>PS C:\&gt; Get-AzureRmProviderOperation Microsoft.Insights/*</dev:code> <dev:remarks> <maml:para /> <maml:para /> @@ -1469,7 +1469,7 @@ This command throws ProviderNotFound exception if an invalid resource provider i <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMProviderOperation */virtualMachines/*</dev:code> + <dev:code>PS C:\&gt; Get-AzureRmProviderOperation */virtualMachines/*</dev:code> <dev:remarks> <maml:para /> <maml:para /> @@ -1491,7 +1491,7 @@ This command throws ProviderNotFound exception if an invalid resource provider i <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMResourceGroup</command:name> + <command:name>Get-AzureRmResourceGroup</command:name> <maml:description> <maml:para>Gets Azure resource groups</maml:para> </maml:description> @@ -1504,11 +1504,11 @@ This command throws ProviderNotFound exception if an invalid resource provider i </command:details> <maml:description> <maml:para>This is the Description section</maml:para> - <maml:para>The Get-AzureRMResourceGroup cmdlet gets the Azure resource groups in your subscription. You can use the Name parameter to select resource groups by name. The default is all resource groups.An Azure resource is a user-managed Azure entity, such as a database server, database, or web site. An Azure resource group is a collection of Azure resources that are deployed as a unit.</maml:para> + <maml:para>The Get-AzureRmResourceGroup cmdlet gets the Azure resource groups in your subscription. You can use the Name parameter to select resource groups by name. The default is all resource groups.An Azure resource is a user-managed Azure entity, such as a database server, database, or web site. An Azure resource group is a collection of Azure resources that are deployed as a unit.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMResourceGroup</maml:name> + <maml:name>Get-AzureRmResourceGroup</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>Name</maml:name> <maml:description> @@ -1525,11 +1525,11 @@ This command throws ProviderNotFound exception if an invalid resource provider i </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMResourceGroup</maml:name> + <maml:name>Get-AzureRmResourceGroup</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>Tag</maml:name> <maml:description> - <maml:para>Gets resource groups that have the specified Azure tags. Enter a hash table with a Name key or Name and Value keys. Wildcard characters are not supported.A &quot;tag&quot; is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. To add a tag to a resource group, use the Tag parameter of the New-AzureRMResourceGroup or Set-AzureRMResourceGroup cmdlets. To create a predefined tag, use the New-AzureRMTag cmdlet.For help with hash tables in Windows PowerShell, type: Get-Help about_Hashtables.</maml:para> + <maml:para>Gets resource groups that have the specified Azure tags. Enter a hash table with a Name key or Name and Value keys. Wildcard characters are not supported.A &quot;tag&quot; is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. To add a tag to a resource group, use the Tag parameter of the New-AzureRmResourceGroup or Set-AzureRmResourceGroup cmdlets. To create a predefined tag, use the New-AzureRmTag cmdlet.For help with hash tables in Windows PowerShell, type: Get-Help about_Hashtables.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Hashtable</command:parameterValue> </command:parameter> @@ -1577,7 +1577,7 @@ This command throws ProviderNotFound exception if an invalid resource provider i <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>Tag</maml:name> <maml:description> - <maml:para>Gets resource groups that have the specified Azure tags. Enter a hash table with a Name key or Name and Value keys. Wildcard characters are not supported.A &quot;tag&quot; is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. To add a tag to a resource group, use the Tag parameter of the New-AzureRMResourceGroup or Set-AzureRMResourceGroup cmdlets. To create a predefined tag, use the New-AzureRMTag cmdlet.For help with hash tables in Windows PowerShell, type: Get-Help about_Hashtables.</maml:para> + <maml:para>Gets resource groups that have the specified Azure tags. Enter a hash table with a Name key or Name and Value keys. Wildcard characters are not supported.A &quot;tag&quot; is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. To add a tag to a resource group, use the Tag parameter of the New-AzureRmResourceGroup or Set-AzureRmResourceGroup cmdlets. To create a predefined tag, use the New-AzureRmTag cmdlet.For help with hash tables in Windows PowerShell, type: Get-Help about_Hashtables.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Hashtable</command:parameterValue> <dev:type> @@ -1639,7 +1639,7 @@ This command throws ProviderNotFound exception if an invalid resource provider i <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResourceGroup -Detailed + <dev:code>PS C:\&gt;Get-AzureRmResourceGroup -Detailed Name: Contoso Location: West US Resources: @@ -1676,7 +1676,7 @@ Resources: <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResourceGroup -Name EngineerBlog + <dev:code>PS C:\&gt;Get-AzureRmResourceGroup -Name EngineerBlog Name: EngineerBlog Location: East US Resources: @@ -1704,14 +1704,14 @@ Resources: <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResourceGroup -Detailed | Where-Object {$_.Resources.Type -like &quot;*serverFarms*&quot;} | Select-Object -Property ResourceGroupName + <dev:code>PS C:\&gt;Get-AzureRmResourceGroup -Detailed | Where-Object {$_.Resources.Type -like &quot;*serverFarms*&quot;} | Select-Object -Property ResourceGroupName Contoso EngineerBlog</dev:code> <dev:remarks> <maml:para>The command uses the Where-Object, ForEach-Object, and Select-Object cmdlets to get the names of resource groups that include Azure database server farms. You can use commands like this one to find resource groups with resources or properties of interest.</maml:para> <maml:para /> <maml:para /> - <maml:para>The command uses the Get-AzureRMResourceGroup cmdlet to get all resource groups in the subscription. It pipes the resource groups to the Where-Object cmdlet, which returns only the resource groups that include server farm resources. The command pipes those resource groups to the Select-Object cmdlet, which returns only the value of the ResourceGroupName property of each resource group.</maml:para> + <maml:para>The command uses the Get-AzureRmResourceGroup cmdlet to get all resource groups in the subscription. It pipes the resource groups to the Where-Object cmdlet, which returns only the resource groups that include server farm resources. The command pipes those resource groups to the Select-Object cmdlet, which returns only the value of the ResourceGroupName property of each resource group.</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> @@ -1726,9 +1726,9 @@ EngineerBlog</dev:code> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResourceGroup -Tag @{Name=&quot;CostCenter&quot;;Value=&quot;Development&quot;} + <dev:code>PS C:\&gt;Get-AzureRmResourceGroup -Tag @{Name=&quot;CostCenter&quot;;Value=&quot;Development&quot;} -PS C:\&gt;Get-AzureRMResourceGroup -Tag @{Name=&quot;CostCenter&quot;}</dev:code> +PS C:\&gt;Get-AzureRmResourceGroup -Tag @{Name=&quot;CostCenter&quot;}</dev:code> <dev:remarks> <maml:para>These commands get resource groups by tag. The first command gets resource groups that have a &quot;CostCenter&quot; tag with a value of &quot;Development&quot;. The second command gets all resource groups that have a &quot;CostCenter&quot; tag, regardless of its value.</maml:para> <maml:para /> @@ -1748,9 +1748,9 @@ PS C:\&gt;Get-AzureRMResourceGroup -Tag @{Name=&quot;CostCenter&quot;}</dev:code <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResourceGroup -Name ContosoRG + <dev:code>PS C:\&gt;Get-AzureRmResourceGroup -Name ContosoRG -PS C:\&gt;(Get-AzureRMResourceGroup -Name ContosoRG).Tags +PS C:\&gt;(Get-AzureRmResourceGroup -Name ContosoRG).Tags Tags: @@ -1780,11 +1780,11 @@ Tags: <maml:uri>http://go.microsoft.com/fwlink/?LinkID=393047</maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMResourceGroup</maml:linkText> + <maml:linkText>New-AzureRmResourceGroup</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMResourceGroup</maml:linkText> + <maml:linkText>Remove-AzureRmResourceGroup</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> @@ -1792,7 +1792,7 @@ Tags: <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMResourceGroupDeployment</command:name> + <command:name>Get-AzureRmResourceGroupDeployment</command:name> <maml:description> <maml:para>Gets the deployments in a resource group.</maml:para> </maml:description> @@ -1805,11 +1805,11 @@ Tags: </command:details> <maml:description> <maml:para>This is the Description section</maml:para> - <maml:para>The Get-AzureRMResourceGroupDeployment cmdlet gets the deployments in an Azure resource group. You can use the Name (DeploymentName) and ProvisioningState parameters to filter the deployments. By default, Get-AzureRMResourceGroupDeployment returns all deployments for a specified resource group.An Azure resource is a user-managed Azure entity, such as a database server, database, or web site. An Azure resource group is a collection of Azure resources that are deployed as a unit. A deployment is the operation that makes the resources in the resource group available for use.This cmdlet is very useful for tracking. For debugging, use it with the Get-AzureRMResourceGroupLog cmdlet.</maml:para> + <maml:para>The Get-AzureRmResourceGroupDeployment cmdlet gets the deployments in an Azure resource group. You can use the Name (DeploymentName) and ProvisioningState parameters to filter the deployments. By default, Get-AzureRmResourceGroupDeployment returns all deployments for a specified resource group.An Azure resource is a user-managed Azure entity, such as a database server, database, or web site. An Azure resource group is a collection of Azure resources that are deployed as a unit. A deployment is the operation that makes the resources in the resource group available for use.This cmdlet is very useful for tracking. For debugging, use it with the Get-AzureRmResourceGroupLog cmdlet.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMResourceGroupDeployment</maml:name> + <maml:name>Get-AzureRmResourceGroupDeployment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -1820,14 +1820,14 @@ Tags: <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> <maml:name>Name</maml:name> <maml:description> - <maml:para>Gets only the deployment with the specified name. Wildcards are not permitted. This parameter is optional. By default, Get-AzureRMResourceGroupDeployment returns all deployments for the specified resource group.</maml:para> + <maml:para>Gets only the deployment with the specified name. Wildcards are not permitted. This parameter is optional. By default, Get-AzureRmResourceGroupDeployment returns all deployments for the specified resource group.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ProvisioningState</maml:name> <maml:description> - <maml:para>Gets only the deployments with the specified provisioning state. Valid values include, but are not limited to: Canceled, Deprovisioning, Failed, NotProvisioned, Provisioned, Provisioning, and Succeeded. This parameter is optional. By default, Get-AzureRMResourceGroupDeployment returns all deployments for the specified resource group.</maml:para> + <maml:para>Gets only the deployments with the specified provisioning state. Valid values include, but are not limited to: Canceled, Deprovisioning, Failed, NotProvisioned, Provisioned, Provisioning, and Succeeded. This parameter is optional. By default, Get-AzureRmResourceGroupDeployment returns all deployments for the specified resource group.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -1856,7 +1856,7 @@ Tags: <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> <maml:name>Name</maml:name> <maml:description> - <maml:para>Gets only the deployment with the specified name. Wildcards are not permitted. This parameter is optional. By default, Get-AzureRMResourceGroupDeployment returns all deployments for the specified resource group.</maml:para> + <maml:para>Gets only the deployment with the specified name. Wildcards are not permitted. This parameter is optional. By default, Get-AzureRmResourceGroupDeployment returns all deployments for the specified resource group.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -1868,7 +1868,7 @@ Tags: <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ProvisioningState</maml:name> <maml:description> - <maml:para>Gets only the deployments with the specified provisioning state. Valid values include, but are not limited to: Canceled, Deprovisioning, Failed, NotProvisioned, Provisioned, Provisioning, and Succeeded. This parameter is optional. By default, Get-AzureRMResourceGroupDeployment returns all deployments for the specified resource group.</maml:para> + <maml:para>Gets only the deployments with the specified provisioning state. Valid values include, but are not limited to: Canceled, Deprovisioning, Failed, NotProvisioned, Provisioned, Provisioning, and Succeeded. This parameter is optional. By default, Get-AzureRmResourceGroupDeployment returns all deployments for the specified resource group.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -1930,7 +1930,7 @@ Tags: <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResourceGroupDeployment -ResourceGroupName ContosoLabsRG + <dev:code>PS C:\&gt;Get-AzureRmResourceGroupDeployment -ResourceGroupName ContosoLabsRG DeploymentName : WordPress.WordPress ResourceGroupName : ContosoLabsRG ProvisioningState : Succeeded @@ -1979,9 +1979,9 @@ Outputs :</dev:code> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResourceGroupDeployment -ResourceGroupName ContosoLabsRG -Name DeployWebsite1</dev:code> + <dev:code>PS C:\&gt;Get-AzureRmResourceGroupDeployment -ResourceGroupName ContosoLabsRG -Name DeployWebsite1</dev:code> <dev:remarks> - <maml:para>This command gets the DeployWebsite1 deployment of the ContosoLabsRG resource group. You can assign a name to a deployment when you create it by using the New-AzureRMResourceGroup or New-AzureRMResourceGroupDeployment cmdlets. If you do not assign a name, the cmdlets provide a default name based on the template used to create the deployment.</maml:para> + <maml:para>This command gets the DeployWebsite1 deployment of the ContosoLabsRG resource group. You can assign a name to a deployment when you create it by using the New-AzureRmResourceGroup or New-AzureRmResourceGroupDeployment cmdlets. If you do not assign a name, the cmdlets provide a default name based on the template used to create the deployment.</maml:para> <maml:para /> <maml:para /> <maml:para></maml:para> @@ -1999,7 +1999,7 @@ Outputs :</dev:code> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResourceGroupDeployment -ResourceGroupName ContosoLabsRG -ProvisioningState NotProvisioned</dev:code> + <dev:code>PS C:\&gt;Get-AzureRmResourceGroupDeployment -ResourceGroupName ContosoLabsRG -ProvisioningState NotProvisioned</dev:code> <dev:remarks> <maml:para>This command gets the deployments of the ContosoLabsRG resource group that are not yet provisioned.</maml:para> <maml:para /> @@ -2019,7 +2019,7 @@ Outputs :</dev:code> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResourceGroup | Get-AzureRMResourceGroupDeployment | Format-Table ResourceGroupName, DeploymentName, ProvisioningState + <dev:code>PS C:\&gt;Get-AzureRmResourceGroup | Get-AzureRmResourceGroupDeployment | Format-Table ResourceGroupName, DeploymentName, ProvisioningState ResourceGroupName DeploymentName ProvisioningState ----------------- -------------- ----------------- ContosoAppa001 Microsoft.WebSiteSQLDatabase.0.1.0-p... Succeeded @@ -2054,7 +2054,7 @@ ContosoLabsRG WordPress.WordPress Succ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMResourceGroupGalleryTemplate</command:name> + <command:name>Get-AzureRmResourceGroupGalleryTemplate</command:name> <maml:description> <maml:para>Gets resource group templates in the gallery</maml:para> </maml:description> @@ -2067,22 +2067,22 @@ ContosoLabsRG WordPress.WordPress Succ </command:details> <maml:description> <maml:para>This is the Description section</maml:para> - <maml:para>The Get-AzureRMResourceGroupGalleryTemplate cmdlet gets resource group gallery templates from the template gallery that Azure hosts. To save a gallery template as a JSON file, use the Save-AzureRMResourceGroupGalleryTemplate cmdlet.A resource group template is a JSON string that defines a resource group for a complex entity, such as a web portal, a blog, a photo gallery, a commerce site, or a wiki. The template defines the resources that are typically needed for the entity, such as web sites, database servers, databases and storage accounts, and includes parameters for user-defined values, such as the names and properties of the resources. To create a resource group with a template, just identify the template and provide values for its parameters.You can create your own templates or use the Get-AzureRMResourceGroupGalleryTemplate get a template from the template gallery that Azure hosts. You can also create templates by editing the gallery templates. If you create or edit a template, be sure to use the Test-AzureResourceGroupTemplate cmdlet to verify that your template and its parameters are valid.To create a resource group with a custom or gallery template, use the New-AzureRMResourceGroup or New-AzureRMResourceGroupDeployment cmdlets.By default the cmdlet gets only the latest version of the template. To get all versions, use the -AllVersions parameter flag.</maml:para> + <maml:para>The Get-AzureRmResourceGroupGalleryTemplate cmdlet gets resource group gallery templates from the template gallery that Azure hosts. To save a gallery template as a JSON file, use the Save-AzureRmResourceGroupGalleryTemplate cmdlet.A resource group template is a JSON string that defines a resource group for a complex entity, such as a web portal, a blog, a photo gallery, a commerce site, or a wiki. The template defines the resources that are typically needed for the entity, such as web sites, database servers, databases and storage accounts, and includes parameters for user-defined values, such as the names and properties of the resources. To create a resource group with a template, just identify the template and provide values for its parameters.You can create your own templates or use the Get-AzureRmResourceGroupGalleryTemplate get a template from the template gallery that Azure hosts. You can also create templates by editing the gallery templates. If you create or edit a template, be sure to use the Test-AzureResourceGroupTemplate cmdlet to verify that your template and its parameters are valid.To create a resource group with a custom or gallery template, use the New-AzureRmResourceGroup or New-AzureRmResourceGroupDeployment cmdlets.By default the cmdlet gets only the latest version of the template. To get all versions, use the -AllVersions parameter flag.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMResourceGroupGalleryTemplate</maml:name> + <maml:name>Get-AzureRmResourceGroupGalleryTemplate</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Publisher</maml:name> <maml:description> - <maml:para>Gets only gallery templates from the specified publisher. Enter one publisher name. Wildcards are not permitted. This parameter is optional. By default, Get-AzureRMResourceGroupGalleryTemplate gets all gallery templates.</maml:para> + <maml:para>Gets only gallery templates from the specified publisher. Enter one publisher name. Wildcards are not permitted. This parameter is optional. By default, Get-AzureRmResourceGroupGalleryTemplate gets all gallery templates.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Category</maml:name> <maml:description> - <maml:para>Gets only gallery templates in the specified category. Wildcards are not permitted. You can specify only one category in each command. This parameter is optional. By default, Get-AzureRMResourceGroupGalleryTemplate gets all gallery templates.</maml:para> + <maml:para>Gets only gallery templates in the specified category. Wildcards are not permitted. You can specify only one category in each command. This parameter is optional. By default, Get-AzureRmResourceGroupGalleryTemplate gets all gallery templates.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -2109,11 +2109,11 @@ ContosoLabsRG WordPress.WordPress Succ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMResourceGroupGalleryTemplate</maml:name> + <maml:name>Get-AzureRmResourceGroupGalleryTemplate</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>Identity</maml:name> <maml:description> - <maml:para>Gets the gallery template with the specified Identity value. Wildcards are not permitted. You can specify only one Identity in each command.To find the Identity of a gallery template, run Get-AzureRMResourceGroupGalleryTemplate without parameters.</maml:para> + <maml:para>Gets the gallery template with the specified Identity value. Wildcards are not permitted. You can specify only one Identity in each command.To find the Identity of a gallery template, run Get-AzureRmResourceGroupGalleryTemplate without parameters.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -2130,7 +2130,7 @@ ContosoLabsRG WordPress.WordPress Succ <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Publisher</maml:name> <maml:description> - <maml:para>Gets only gallery templates from the specified publisher. Enter one publisher name. Wildcards are not permitted. This parameter is optional. By default, Get-AzureRMResourceGroupGalleryTemplate gets all gallery templates.</maml:para> + <maml:para>Gets only gallery templates from the specified publisher. Enter one publisher name. Wildcards are not permitted. This parameter is optional. By default, Get-AzureRmResourceGroupGalleryTemplate gets all gallery templates.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -2142,7 +2142,7 @@ ContosoLabsRG WordPress.WordPress Succ <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Category</maml:name> <maml:description> - <maml:para>Gets only gallery templates in the specified category. Wildcards are not permitted. You can specify only one category in each command. This parameter is optional. By default, Get-AzureRMResourceGroupGalleryTemplate gets all gallery templates.</maml:para> + <maml:para>Gets only gallery templates in the specified category. Wildcards are not permitted. You can specify only one category in each command. This parameter is optional. By default, Get-AzureRmResourceGroupGalleryTemplate gets all gallery templates.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -2190,7 +2190,7 @@ ContosoLabsRG WordPress.WordPress Succ <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>Identity</maml:name> <maml:description> - <maml:para>Gets the gallery template with the specified Identity value. Wildcards are not permitted. You can specify only one Identity in each command.To find the Identity of a gallery template, run Get-AzureRMResourceGroupGalleryTemplate without parameters.</maml:para> + <maml:para>Gets the gallery template with the specified Identity value. Wildcards are not permitted. You can specify only one Identity in each command.To find the Identity of a gallery template, run Get-AzureRmResourceGroupGalleryTemplate without parameters.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -2240,14 +2240,14 @@ ContosoLabsRG WordPress.WordPress Succ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResourceGroupGalleryTemplate + <dev:code>PS C:\&gt;Get-AzureRmResourceGroupGalleryTemplate Publisher Identity--------- --------Acquiacom Acquiacom.AcquiaDrupal7MySQL.0.1.0-preview1Acquiacom Acquiacom.AcquiaDrupal7SQL.0.1.0-preview1Avensoft Avensoft.nService.0.1.0-preview1BlogEngineNET BlogEngineNET.BlogEngineNET.0.1.0-preview1Brandoo Brandoo.BrandooWordPressMSSQLorAzureSQL.0.1.0-preview1bugnetproject bugnetproject.BugNET.0.1.0-preview1CakeSoftwareFoundation CakeSoftwareFoundation.CakePHP.0.1.0-preview1CommerceGuys CommerceGuys.DrupalCommerceKickstartMySQL.0.1.0-preview1...</dev:code> <dev:remarks> <maml:para>This command gets all gallery templates in the Azure template gallery and displays the Identity and Description of each gallery template in a list. The list lets you browse through the templates and select the ones that meet your needs.</maml:para> <maml:para /> <maml:para /> - <maml:para>To save the list in a text file that you can search, use the redirection operator (&gt;). For example, Get-AzureRMResourceGroupGalleryTemplate | Format-List Identity, Description &gt; $home\Documents\Azure\TemplateDescriptions.txt.</maml:para> + <maml:para>To save the list in a text file that you can search, use the redirection operator (&gt;). For example, Get-AzureRmResourceGroupGalleryTemplate | Format-List Identity, Description &gt; $home\Documents\Azure\TemplateDescriptions.txt.</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> @@ -2262,9 +2262,9 @@ Publisher Identity--------- --------Acquiacom <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; PS C:\ps-test&gt; Get-AzureRMResourceGroupGalleryTemplate -Identity WikimediaFoundation.MediaWiki.0.1.0-preview1</dev:code> + <dev:code>PS C:\&gt; PS C:\ps-test&gt; Get-AzureRmResourceGroupGalleryTemplate -Identity WikimediaFoundation.MediaWiki.0.1.0-preview1</dev:code> <dev:remarks> - <maml:para>This command uses the Get-AzureRMResourceGroupGalleryTemplate cmdlet to get the WikimediaFoundation.MediaWiki.0.1.0-preview1 gallery template. You can review the gallery template and its properties, such as icons and screenshots.</maml:para> + <maml:para>This command uses the Get-AzureRmResourceGroupGalleryTemplate cmdlet to get the WikimediaFoundation.MediaWiki.0.1.0-preview1 gallery template. You can review the gallery template and its properties, such as icons and screenshots.</maml:para> <maml:para /> <maml:para /> <maml:para></maml:para> @@ -2282,15 +2282,15 @@ Publisher Identity--------- --------Acquiacom <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Save-AzureRMResourceGroupGalleryTemplate -Identity Microsoft.PhotoGallery.0.1.0-preview1 -Path $home\Documents\Azure\MyTemplates + <dev:code>PS C:\&gt;Save-AzureRmResourceGroupGalleryTemplate -Identity Microsoft.PhotoGallery.0.1.0-preview1 -Path $home\Documents\Azure\MyTemplates PS C:\&gt;Get-Content -Path $home\Documents\Azure\MyTemplates Microsoft.PhotoGallery.0.1.0-preview1.json { &quot;$schema&quot;: &quot;http://johngosmanage.blob.core.windows.net/schemas/2014-04-01-preview/deploymentTemplate.json&quot;, &quot;contentVersion&quot;: &quot;1.0.0.0&quot;, &quot;parameters&quot;: { &quot;siteName&quot;: { &quot;type&quot;: &quot;string&quot; }, &quot;hostingPlanName&quot;: { &quot;type&quot;: &quot;string&quot; },... &quot;resources&quot;: [ { &quot;apiVersion&quot;: &quot;2014-04-01&quot;, &quot;name&quot;: &quot;[parameters(&apos;siteName&apos;)]&quot;, &quot;type&quot;: &quot;Microsoft.Web/sites&quot;, &quot;location&quot;: &quot;[parameters(&apos;siteLocation&apos;)]&quot;, &quot;tags&quot;: { &quot;[concat(&apos;hidden-related:/subscriptions/&apos;, }, &quot;properties&quot;: { &quot;name&quot;: &quot;[parameters(&apos;siteName&apos;)]&quot;, &quot;serverFarm&quot;: &quot;[parameters(&apos;hostingPlanName&apos;)]&quot;, &quot;computeMode&quot;: &quot;[parameters(&apos;computeMode&apos;)]&quot;, &quot;siteMode&quot;: &quot;[parameters(&apos;siteMode&apos;)]&quot; }...</dev:code> <dev:remarks> <maml:para>When you find a gallery template that matches your resource needs, -you can save it as a JSON file on disk. This makes it easy to review and analyze the resources that the template creates and the parameters (user-defined values) that it defines for each resource. Then, you can use the template with the New-AzureRMResourceGroup and New-AzureRMResourceGroupDeployment cmdlets.</maml:para> +you can save it as a JSON file on disk. This makes it easy to review and analyze the resources that the template creates and the parameters (user-defined values) that it defines for each resource. Then, you can use the template with the New-AzureRmResourceGroup and New-AzureRmResourceGroupDeployment cmdlets.</maml:para> <maml:para /> <maml:para /> - <maml:para>The first command uses the Save-AzureRMResourceGroupGalleryTemplate cmdlet to save the Microsoft.PhotoGallery.0.1.0-preview1 gallery template as a JSON file in the path that you specify.The second command uses the Get-Content cmdlet to get the content of the template file. The output that&apos;s displayed here is just an excerpt of the JSON template file, but you can see the Parameters and Resources attributes that are common to every template file. To see examples of using the template, type: Get-Help New-AzureRMResourceGroup or Get-Help New-AzureRMResourceGroupDeployment.</maml:para> + <maml:para>The first command uses the Save-AzureRmResourceGroupGalleryTemplate cmdlet to save the Microsoft.PhotoGallery.0.1.0-preview1 gallery template as a JSON file in the path that you specify.The second command uses the Get-Content cmdlet to get the content of the template file. The output that&apos;s displayed here is just an excerpt of the JSON template file, but you can see the Parameters and Resources attributes that are common to every template file. To see examples of using the template, type: Get-Help New-AzureRmResourceGroup or Get-Help New-AzureRmResourceGroupDeployment.</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> @@ -2305,7 +2305,7 @@ you can save it as a JSON file on disk. This makes it easy to review and analyze <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResourceGroupGalleryTemplate | Foreach-Object {Get-AzureRMResourceGroupGalleryTemplate -Identity $_.Identity} | Format-List -Property CategoryIds, Identity, Summary + <dev:code>PS C:\&gt;Get-AzureRmResourceGroupGalleryTemplate | Foreach-Object {Get-AzureRmResourceGroupGalleryTemplate -Identity $_.Identity} | Format-List -Property CategoryIds, Identity, Summary CategoryIds : {web, blogscms, ecommerce} Identity : Acquiacom.AcquiaDrupal7MySQL.0.1.0-preview1 Summary : Acquia Drupal 7 provides the fastest on-ramp to build dynamic and social web sites featuring both editorial and user-generated content. Includes Drupal core and popular modules. @@ -2316,7 +2316,7 @@ Identity : Avensoft.nService.0.1.0-preview1 Summary : Help desk and service management software that empowers you to provide great services to your employees and customers. This free edition allows one concurrent technician and unlimited end users. ...</dev:code> <dev:remarks> - <maml:para>This example shows you how to display the category (CategoryIds property), identity, and summary of each template in a list. You can use commands with this format to get any template property. To find all template properties, pipe a Get-AzureRMResourceGroupGalleryTemplate command with the Identity parameter to the Get-Member cmdlet. For example: (Get-AzureRMResourceGroupGalleryTemplate Microsoft.TeamProject.0.1.0-preview1 | Get-Member).</maml:para> + <maml:para>This example shows you how to display the category (CategoryIds property), identity, and summary of each template in a list. You can use commands with this format to get any template property. To find all template properties, pipe a Get-AzureRmResourceGroupGalleryTemplate command with the Identity parameter to the Get-Member cmdlet. For example: (Get-AzureRmResourceGroupGalleryTemplate Microsoft.TeamProject.0.1.0-preview1 | Get-Member).</maml:para> <maml:para /> <maml:para /> <maml:para></maml:para> @@ -2340,7 +2340,7 @@ Summary : Help desk and service management software that empowers you to pro <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMRoleAssignment</command:name> + <command:name>Get-AzureRmRoleAssignment</command:name> <maml:description> <maml:para>Filters role assignments.</maml:para> </maml:description> @@ -2357,7 +2357,7 @@ Summary : Help desk and service management software that empowers you to pro </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMRoleAssignment</maml:name> + <maml:name>Get-AzureRmRoleAssignment</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>RoleDefinitionName</maml:name> <maml:description> @@ -2374,7 +2374,7 @@ Summary : Help desk and service management software that empowers you to pro </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMRoleAssignment</maml:name> + <maml:name>Get-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ObjectId</maml:name> <maml:description> @@ -2405,7 +2405,7 @@ Summary : Help desk and service management software that empowers you to pro </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMRoleAssignment</maml:name> + <maml:name>Get-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ObjectId</maml:name> <maml:description> @@ -2429,7 +2429,7 @@ Summary : Help desk and service management software that empowers you to pro </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMRoleAssignment</maml:name> + <maml:name>Get-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ObjectId</maml:name> <maml:description> @@ -2481,7 +2481,7 @@ Summary : Help desk and service management software that empowers you to pro </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMRoleAssignment</maml:name> + <maml:name>Get-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ObjectId</maml:name> <maml:description> @@ -2512,7 +2512,7 @@ Summary : Help desk and service management software that empowers you to pro </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMRoleAssignment</maml:name> + <maml:name>Get-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Mail</maml:name> <maml:description> @@ -2536,7 +2536,7 @@ Summary : Help desk and service management software that empowers you to pro </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMRoleAssignment</maml:name> + <maml:name>Get-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Mail</maml:name> <maml:description> @@ -2567,7 +2567,7 @@ Summary : Help desk and service management software that empowers you to pro </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMRoleAssignment</maml:name> + <maml:name>Get-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Mail</maml:name> <maml:description> @@ -2619,7 +2619,7 @@ Summary : Help desk and service management software that empowers you to pro </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMRoleAssignment</maml:name> + <maml:name>Get-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Mail</maml:name> <maml:description> @@ -2650,7 +2650,7 @@ Summary : Help desk and service management software that empowers you to pro </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMRoleAssignment</maml:name> + <maml:name>Get-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>UserPrincipalName</maml:name> <maml:description> @@ -2681,7 +2681,7 @@ Summary : Help desk and service management software that empowers you to pro </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMRoleAssignment</maml:name> + <maml:name>Get-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>UserPrincipalName</maml:name> <maml:description> @@ -2705,7 +2705,7 @@ Summary : Help desk and service management software that empowers you to pro </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMRoleAssignment</maml:name> + <maml:name>Get-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>UserPrincipalName</maml:name> <maml:description> @@ -2757,7 +2757,7 @@ Summary : Help desk and service management software that empowers you to pro </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMRoleAssignment</maml:name> + <maml:name>Get-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>UserPrincipalName</maml:name> <maml:description> @@ -2788,7 +2788,7 @@ Summary : Help desk and service management software that empowers you to pro </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMRoleAssignment</maml:name> + <maml:name>Get-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ServicePrincipalName</maml:name> <maml:description> @@ -2840,7 +2840,7 @@ Summary : Help desk and service management software that empowers you to pro </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMRoleAssignment</maml:name> + <maml:name>Get-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ServicePrincipalName</maml:name> <maml:description> @@ -2864,7 +2864,7 @@ Summary : Help desk and service management software that empowers you to pro </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMRoleAssignment</maml:name> + <maml:name>Get-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ServicePrincipalName</maml:name> <maml:description> @@ -2895,7 +2895,7 @@ Summary : Help desk and service management software that empowers you to pro </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMRoleAssignment</maml:name> + <maml:name>Get-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ServicePrincipalName</maml:name> <maml:description> @@ -2926,7 +2926,7 @@ Summary : Help desk and service management software that empowers you to pro </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMRoleAssignment</maml:name> + <maml:name>Get-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -2950,7 +2950,7 @@ Summary : Help desk and service management software that empowers you to pro </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMRoleAssignment</maml:name> + <maml:name>Get-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -2995,7 +2995,7 @@ Summary : Help desk and service management software that empowers you to pro </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMRoleAssignment</maml:name> + <maml:name>Get-AzureRmRoleAssignment</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>RoleDefinitionName</maml:name> <maml:description> @@ -3193,7 +3193,7 @@ Summary : Help desk and service management software that empowers you to pro <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMRoleAssignment -ResourceGroupName rg1 -UPN foo@domain.com -RoleDefinitionName Reader</dev:code> + <dev:code>PS C:\&gt; Get-AzureRmRoleAssignment -ResourceGroupName rg1 -UPN foo@domain.com -RoleDefinitionName Reader</dev:code> <dev:remarks> <maml:para>gets role assignments for principal in a resource group that have Reader role definition</maml:para> <maml:para /> @@ -3213,7 +3213,7 @@ Summary : Help desk and service management software that empowers you to pro <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMRoleAssignment -ServicePrincipalName 36f81fc3-b00f-48cd-8218-3879f51ff39f -RoleDefinitionName Contributor</dev:code> + <dev:code>PS C:\&gt; Get-AzureRmRoleAssignment -ServicePrincipalName 36f81fc3-b00f-48cd-8218-3879f51ff39f -RoleDefinitionName Contributor</dev:code> <dev:remarks> <maml:para>Gets role assignments of a service principal that have contribution role definition.</maml:para> <maml:para /> @@ -3233,7 +3233,7 @@ Summary : Help desk and service management software that empowers you to pro <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMRoleAssignment</dev:code> + <dev:code>PS C:\&gt; Get-AzureRmRoleAssignment</dev:code> <dev:remarks> <maml:para>Gets all role assignments under the subscription</maml:para> <maml:para /> @@ -3253,7 +3253,7 @@ Summary : Help desk and service management software that empowers you to pro <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMRoleAssignment -Mail allen.young@live.cn -RoleDefinitionName Owner -Scope &quot;/resourcegroups/rg1/providers/Microsoft.Web/sites/site1&quot;</dev:code> + <dev:code>PS C:\&gt; Get-AzureRmRoleAssignment -Mail allen.young@live.cn -RoleDefinitionName Owner -Scope &quot;/resourcegroups/rg1/providers/Microsoft.Web/sites/site1&quot;</dev:code> <dev:remarks> <maml:para>gets role assignment to a live email on a resource using the generic parameter. Since the scope doens&#39;t start with &quot;/subscriptions/{id}&quot;, the current subscription id will be used</maml:para> <maml:para /> @@ -3271,15 +3271,15 @@ Summary : Help desk and service management software that empowers you to pro </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>New-AzureRMRoleAssignment</maml:linkText> + <maml:linkText>New-AzureRmRoleAssignment</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMRoleAssignment</maml:linkText> + <maml:linkText>Remove-AzureRmRoleAssignment</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMRoleDefinition</maml:linkText> + <maml:linkText>Get-AzureRmRoleDefinition</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> @@ -3287,7 +3287,7 @@ Summary : Help desk and service management software that empowers you to pro <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMRoleDefinition</command:name> + <command:name>Get-AzureRmRoleDefinition</command:name> <maml:description> <maml:para>Filters role definitions.</maml:para> </maml:description> @@ -3304,7 +3304,7 @@ Summary : Help desk and service management software that empowers you to pro </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMRoleDefinition</maml:name> + <maml:name>Get-AzureRmRoleDefinition</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>Name</maml:name> <maml:description> @@ -3406,7 +3406,7 @@ Summary : Help desk and service management software that empowers you to pro <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMRoleDefinition -Name Reader</dev:code> + <dev:code>PS C:\&gt; Get-AzureRmRoleDefinition -Name Reader</dev:code> <dev:remarks> <maml:para>Gets a role definition with Reader name</maml:para> <maml:para /> @@ -3426,7 +3426,7 @@ Summary : Help desk and service management software that empowers you to pro <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMRoleDefinition</dev:code> + <dev:code>PS C:\&gt; Get-AzureRmRoleDefinition</dev:code> <dev:remarks> <maml:para>Lists all role definitions</maml:para> <maml:para /> @@ -3444,15 +3444,15 @@ Summary : Help desk and service management software that empowers you to pro </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>New-AzureRMRoleAssignment</maml:linkText> + <maml:linkText>New-AzureRmRoleAssignment</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMRoleAssignment</maml:linkText> + <maml:linkText>Get-AzureRmRoleAssignment</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMRoleAssignment</maml:linkText> + <maml:linkText>Get-AzureRmRoleAssignment</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> @@ -3460,7 +3460,7 @@ Summary : Help desk and service management software that empowers you to pro <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>New-AzureRMADApplication</command:name> + <command:name>New-AzureRmADApplication</command:name> <maml:description> <maml:para>Creates a new azure active directory application.</maml:para> </maml:description> @@ -3477,7 +3477,7 @@ Summary : Help desk and service management software that empowers you to pro </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMADApplication</maml:name> + <maml:name>New-AzureRmADApplication</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>DisplayName</maml:name> <maml:description> @@ -3508,7 +3508,7 @@ Summary : Help desk and service management software that empowers you to pro </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMADApplication</maml:name> + <maml:name>New-AzureRmADApplication</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>DisplayName</maml:name> <maml:description> @@ -3560,7 +3560,7 @@ Summary : Help desk and service management software that empowers you to pro </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMADApplication</maml:name> + <maml:name>New-AzureRmADApplication</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>DisplayName</maml:name> <maml:description> @@ -3598,7 +3598,7 @@ Summary : Help desk and service management software that empowers you to pro </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMADApplication</maml:name> + <maml:name>New-AzureRmADApplication</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>DisplayName</maml:name> <maml:description> @@ -3664,7 +3664,7 @@ Summary : Help desk and service management software that empowers you to pro </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMADApplication</maml:name> + <maml:name>New-AzureRmADApplication</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>DisplayName</maml:name> <maml:description> @@ -3888,7 +3888,7 @@ Summary : Help desk and service management software that empowers you to pro <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; New-AzureRMADApplication -DisplayName &quot;NewApplication&quot; -HomePage &quot;http://www.microsoft.com&quot; -IdentifierUris &quot;http://NewApplication&quot;</dev:code> + <dev:code>PS C:\&gt; New-AzureRmADApplication -DisplayName &quot;NewApplication&quot; -HomePage &quot;http://www.microsoft.com&quot; -IdentifierUris &quot;http://NewApplication&quot;</dev:code> <dev:remarks> <maml:para>Creates a new azure active directory application without any credentials.</maml:para> <maml:para /> @@ -3931,7 +3931,7 @@ AppPermissions : {{ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; New-AzureRMADApplication -DisplayName &quot;NewApplication&quot; -HomePage &quot;http://www.microsoft.com&quot; -IdentifierUris &quot;http: + <dev:code>PS C:\&gt; New-AzureRmADApplication -DisplayName &quot;NewApplication&quot; -HomePage &quot;http://www.microsoft.com&quot; -IdentifierUris &quot;http: //NewApplication&quot; -Password &quot;password&quot;</dev:code> <dev:remarks> <maml:para>Creates a new azure active directory application and associates password credentials with it.</maml:para> @@ -3973,15 +3973,15 @@ AppPermissions : {{ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Remove-AzureRMADApplication</maml:linkText> + <maml:linkText>Remove-AzureRmADApplication</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMADServicePrincipal</maml:linkText> + <maml:linkText>New-AzureRmADServicePrincipal</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMADServicePrincipal</maml:linkText> + <maml:linkText>Remove-AzureRmADServicePrincipal</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> @@ -3989,7 +3989,7 @@ AppPermissions : {{ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>New-AzureRMADServicePrincipal</command:name> + <command:name>New-AzureRmADServicePrincipal</command:name> <maml:description> <maml:para>Creates a new azure active directory service principal.</maml:para> </maml:description> @@ -4006,7 +4006,7 @@ AppPermissions : {{ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMADServicePrincipal</maml:name> + <maml:name>New-AzureRmADServicePrincipal</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ApplicationId</maml:name> <maml:description> @@ -4108,7 +4108,7 @@ AppPermissions : {{ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>New-AzureRMADServicePrincipal -ApplicationId a3dad041-8119-4182-b500-f8f959bf31db</dev:code> + <dev:code>New-AzureRmADServicePrincipal -ApplicationId a3dad041-8119-4182-b500-f8f959bf31db</dev:code> <dev:remarks> <maml:para>Creates a new azure active directory service principal.</maml:para> <maml:para /> @@ -4128,19 +4128,19 @@ NewApplication 61b5d8ea-fdc6-40a2 </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Remove-AzureRMADServicePrincipal</maml:linkText> + <maml:linkText>Remove-AzureRmADServicePrincipal</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMADServicePrincipal</maml:linkText> + <maml:linkText>Get-AzureRmADServicePrincipal</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMADApplication</maml:linkText> + <maml:linkText>New-AzureRmADApplication</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMADApplication</maml:linkText> + <maml:linkText>Remove-AzureRmADApplication</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> @@ -4148,7 +4148,7 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>New-AzureRMResourceGroup</command:name> + <command:name>New-AzureRmResourceGroup</command:name> <maml:description> <maml:para>Creates an Azure resource group and its resources</maml:para> </maml:description> @@ -4161,11 +4161,11 @@ NewApplication 61b5d8ea-fdc6-40a2 </command:details> <maml:description> <maml:para>This is the Description section</maml:para> - <maml:para>The New-AzureRMResourceGroup cmdlet creates an Azure resource group and its resources and returns an object that represents the resource group.Use this cmdlet to create a new resource group. To add a deployment to an existing resource group, use the New-AzureRMResourceGroupDeployment cmdlet. To add a resource to an existing resource group, use the New-AzureRMResource cmdlet.An Azure resource is a user-managed Azure entity, such as a database server, database, or web site. An Azure resource group is a collection of Azure resources that are deployed as a unit.You can create a resource group with just a name and location, and then use the New-AzureRMResource cmdlet to create resources and add them to the resource group. However, typically, you use a resource group template, which is a JSON-based model of a resource group for a complex cloud-based service, such as a web portal. You can find many templates in the Azure template gallery (Get-AzureRMResourceGroupGalleryTemplate) and you can create your own templates.To find a gallery template, use the Get-AzureRMResourceGroupGalleryTemplate template cmdlet. To use a gallery template, use the GalleryTemplateIdentity parameter of New-AzureRMResourceGroup to specify the template identity. Or, use the Save-AzureRMResourceGalleryTemplate cmdlet to save the gallery template as a JSON file, and then use the TemplateFile or TemplateUri parameters to provide the name and location of the file.You can also create a custom resource group template, either by typing in a text file or by editing a gallery template. To use a custom template to create a resource group, use TemplateFile or TemplateUri parameters to supply the location and file name.The template includes parameters (placeholders) for configurable property values, likes names and sizes. To specify values for the template parameters, use a JSON-formatted parameter file (TemplateParameterFile parameter) or a hash table of parameter names and values (TemplateParameterObject parameter). Or, you can use the template parameters that are added to the command dynamically as soon as you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required template parameter, the cmdlet prompts you for the value. Template parameter values that you specify at the command line take precedence over template parameter values in a template parameter object or file.</maml:para> + <maml:para>The New-AzureRmResourceGroup cmdlet creates an Azure resource group and its resources and returns an object that represents the resource group.Use this cmdlet to create a new resource group. To add a deployment to an existing resource group, use the New-AzureRmResourceGroupDeployment cmdlet. To add a resource to an existing resource group, use the New-AzureRmResource cmdlet.An Azure resource is a user-managed Azure entity, such as a database server, database, or web site. An Azure resource group is a collection of Azure resources that are deployed as a unit.You can create a resource group with just a name and location, and then use the New-AzureRmResource cmdlet to create resources and add them to the resource group. However, typically, you use a resource group template, which is a JSON-based model of a resource group for a complex cloud-based service, such as a web portal. You can find many templates in the Azure template gallery (Get-AzureRmResourceGroupGalleryTemplate) and you can create your own templates.To find a gallery template, use the Get-AzureRmResourceGroupGalleryTemplate template cmdlet. To use a gallery template, use the GalleryTemplateIdentity parameter of New-AzureRmResourceGroup to specify the template identity. Or, use the Save-AzureRmResourceGalleryTemplate cmdlet to save the gallery template as a JSON file, and then use the TemplateFile or TemplateUri parameters to provide the name and location of the file.You can also create a custom resource group template, either by typing in a text file or by editing a gallery template. To use a custom template to create a resource group, use TemplateFile or TemplateUri parameters to supply the location and file name.The template includes parameters (placeholders) for configurable property values, likes names and sizes. To specify values for the template parameters, use a JSON-formatted parameter file (TemplateParameterFile parameter) or a hash table of parameter names and values (TemplateParameterObject parameter). Or, you can use the template parameters that are added to the command dynamically as soon as you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required template parameter, the cmdlet prompts you for the value. Template parameter values that you specify at the command line take precedence over template parameter values in a template parameter object or file.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMResourceGroup</maml:name> + <maml:name>New-AzureRmResourceGroup</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Name</maml:name> <maml:description> @@ -4176,7 +4176,7 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Location</maml:name> <maml:description> - <maml:para>Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as &quot;West US&quot; or &quot;Southeast Asia&quot;.You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureRMLocation cmdlet.</maml:para> + <maml:para>Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as &quot;West US&quot; or &quot;Southeast Asia&quot;.You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureRmLocation cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -4190,21 +4190,21 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Tag</maml:name> <maml:description> - <maml:para>Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureRMTag cmdlet.A &quot;tag&quot; is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureRMResource and Get-AzureRMResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name=&quot;FY2015&quot;} or @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name=&quot;FY2015&quot;}, @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To get your predefined tags, use the Get-AzureRMTag cmdlet.</maml:para> + <maml:para>Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureRmTag cmdlet.A &quot;tag&quot; is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureRmResource and Get-AzureRmResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name=&quot;FY2015&quot;} or @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name=&quot;FY2015&quot;}, @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To get your predefined tags, use the Get-AzureRmTag cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">Hashtable[]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> - <maml:para>Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureRMResourceGroup prompts for confirmation before replacing an existing resource group.</maml:para> + <maml:para>Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureRmResourceGroup prompts for confirmation before replacing an existing resource group.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateVersion</maml:name> <maml:description> - <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRMResourceGroup verifies that the specified template has the matching version and fails if it does not.</maml:para> + <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRmResourceGroup verifies that the specified template has the matching version and fails if it does not.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -4217,7 +4217,7 @@ NewApplication 61b5d8ea-fdc6-40a2 </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMResourceGroup</maml:name> + <maml:name>New-AzureRmResourceGroup</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Name</maml:name> <maml:description> @@ -4228,7 +4228,7 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Location</maml:name> <maml:description> - <maml:para>Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as &quot;West US&quot; or &quot;Southeast Asia&quot;.You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureRMLocation cmdlet.</maml:para> + <maml:para>Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as &quot;West US&quot; or &quot;Southeast Asia&quot;.You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureRmLocation cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -4242,14 +4242,14 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Tag</maml:name> <maml:description> - <maml:para>Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureRMTag cmdlet.A &quot;tag&quot; is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureRMResource and Get-AzureRMResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name=&quot;FY2015&quot;} or @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name=&quot;FY2015&quot;}, @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To get your predefined tags, use the Get-AzureRMTag cmdlet.</maml:para> + <maml:para>Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureRmTag cmdlet.A &quot;tag&quot; is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureRmResource and Get-AzureRmResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name=&quot;FY2015&quot;} or @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name=&quot;FY2015&quot;}, @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To get your predefined tags, use the Get-AzureRmTag cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">Hashtable[]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> - <maml:para>Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureRMResourceGroup prompts for confirmation before replacing an existing resource group.</maml:para> + <maml:para>Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureRmResourceGroup prompts for confirmation before replacing an existing resource group.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> </command:parameter> @@ -4263,14 +4263,14 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateUri</maml:name> <maml:description> - <maml:para>Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureRMResourceGroupGalleryTemplate cmdlet.</maml:para> + <maml:para>Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureRmResourceGroupGalleryTemplate cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateVersion</maml:name> <maml:description> - <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRMResourceGroup verifies that the specified template has the matching version and fails if it does not.</maml:para> + <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRmResourceGroup verifies that the specified template has the matching version and fails if it does not.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -4283,7 +4283,7 @@ NewApplication 61b5d8ea-fdc6-40a2 </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMResourceGroup</maml:name> + <maml:name>New-AzureRmResourceGroup</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Name</maml:name> <maml:description> @@ -4294,7 +4294,7 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Location</maml:name> <maml:description> - <maml:para>Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as &quot;West US&quot; or &quot;Southeast Asia&quot;.You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureRMLocation cmdlet.</maml:para> + <maml:para>Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as &quot;West US&quot; or &quot;Southeast Asia&quot;.You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureRmLocation cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -4308,14 +4308,14 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Tag</maml:name> <maml:description> - <maml:para>Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureRMTag cmdlet.A &quot;tag&quot; is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureRMResource and Get-AzureRMResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name=&quot;FY2015&quot;} or @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name=&quot;FY2015&quot;}, @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To get your predefined tags, use the Get-AzureRMTag cmdlet.</maml:para> + <maml:para>Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureRmTag cmdlet.A &quot;tag&quot; is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureRmResource and Get-AzureRmResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name=&quot;FY2015&quot;} or @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name=&quot;FY2015&quot;}, @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To get your predefined tags, use the Get-AzureRmTag cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">Hashtable[]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> - <maml:para>Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureRMResourceGroup prompts for confirmation before replacing an existing resource group.</maml:para> + <maml:para>Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureRmResourceGroup prompts for confirmation before replacing an existing resource group.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> </command:parameter> @@ -4329,21 +4329,21 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateFile</maml:name> <maml:description> - <maml:para>Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureRMResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as &quot;current,&quot; the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRMStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRMSubscription cmdlet.</maml:para> + <maml:para>Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureRmResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as &quot;current,&quot; the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRmStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRmSubscription cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>StorageAccountName</maml:name> <maml:description> - <maml:para>Specifies the name of a storage account in the subscription. New-AzureRMResourceGroup saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use a Switch-AzureMode -Name AzureServiceManagement command to switch to the Azure module, and then use the New-AzureRMStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRMSubscription cmdlet.</maml:para> + <maml:para>Specifies the name of a storage account in the subscription. New-AzureRmResourceGroup saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use a Switch-AzureMode -Name AzureServiceManagement command to switch to the Azure module, and then use the New-AzureRmStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRmSubscription cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateVersion</maml:name> <maml:description> - <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRMResourceGroup verifies that the specified template has the matching version and fails if it does not.</maml:para> + <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRmResourceGroup verifies that the specified template has the matching version and fails if it does not.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -4356,7 +4356,7 @@ NewApplication 61b5d8ea-fdc6-40a2 </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMResourceGroup</maml:name> + <maml:name>New-AzureRmResourceGroup</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Name</maml:name> <maml:description> @@ -4367,7 +4367,7 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Location</maml:name> <maml:description> - <maml:para>Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as &quot;West US&quot; or &quot;Southeast Asia&quot;.You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureRMLocation cmdlet.</maml:para> + <maml:para>Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as &quot;West US&quot; or &quot;Southeast Asia&quot;.You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureRmLocation cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -4381,14 +4381,14 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Tag</maml:name> <maml:description> - <maml:para>Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureRMTag cmdlet.A &quot;tag&quot; is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureRMResource and Get-AzureRMResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name=&quot;FY2015&quot;} or @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name=&quot;FY2015&quot;}, @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To get your predefined tags, use the Get-AzureRMTag cmdlet.</maml:para> + <maml:para>Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureRmTag cmdlet.A &quot;tag&quot; is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureRmResource and Get-AzureRmResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name=&quot;FY2015&quot;} or @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name=&quot;FY2015&quot;}, @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To get your predefined tags, use the Get-AzureRmTag cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">Hashtable[]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> - <maml:para>Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureRMResourceGroup prompts for confirmation before replacing an existing resource group.</maml:para> + <maml:para>Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureRmResourceGroup prompts for confirmation before replacing an existing resource group.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> </command:parameter> @@ -4402,14 +4402,14 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>GalleryTemplateIdentity</maml:name> <maml:description> - <maml:para>Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureRMResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default.</maml:para> + <maml:para>Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureRmResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateVersion</maml:name> <maml:description> - <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRMResourceGroup verifies that the specified template has the matching version and fails if it does not.</maml:para> + <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRmResourceGroup verifies that the specified template has the matching version and fails if it does not.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -4422,7 +4422,7 @@ NewApplication 61b5d8ea-fdc6-40a2 </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMResourceGroup</maml:name> + <maml:name>New-AzureRmResourceGroup</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Name</maml:name> <maml:description> @@ -4433,7 +4433,7 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Location</maml:name> <maml:description> - <maml:para>Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as &quot;West US&quot; or &quot;Southeast Asia&quot;.You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureRMLocation cmdlet.</maml:para> + <maml:para>Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as &quot;West US&quot; or &quot;Southeast Asia&quot;.You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureRmLocation cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -4447,14 +4447,14 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Tag</maml:name> <maml:description> - <maml:para>Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureRMTag cmdlet.A &quot;tag&quot; is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureRMResource and Get-AzureRMResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name=&quot;FY2015&quot;} or @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name=&quot;FY2015&quot;}, @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To get your predefined tags, use the Get-AzureRMTag cmdlet.</maml:para> + <maml:para>Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureRmTag cmdlet.A &quot;tag&quot; is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureRmResource and Get-AzureRmResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name=&quot;FY2015&quot;} or @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name=&quot;FY2015&quot;}, @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To get your predefined tags, use the Get-AzureRmTag cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">Hashtable[]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> - <maml:para>Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureRMResourceGroup prompts for confirmation before replacing an existing resource group.</maml:para> + <maml:para>Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureRmResourceGroup prompts for confirmation before replacing an existing resource group.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> </command:parameter> @@ -4468,14 +4468,14 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>GalleryTemplateIdentity</maml:name> <maml:description> - <maml:para>Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureRMResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default.</maml:para> + <maml:para>Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureRmResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateVersion</maml:name> <maml:description> - <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRMResourceGroup verifies that the specified template has the matching version and fails if it does not.</maml:para> + <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRmResourceGroup verifies that the specified template has the matching version and fails if it does not.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -4488,7 +4488,7 @@ NewApplication 61b5d8ea-fdc6-40a2 </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMResourceGroup</maml:name> + <maml:name>New-AzureRmResourceGroup</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Name</maml:name> <maml:description> @@ -4499,7 +4499,7 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Location</maml:name> <maml:description> - <maml:para>Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as &quot;West US&quot; or &quot;Southeast Asia&quot;.You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureRMLocation cmdlet.</maml:para> + <maml:para>Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as &quot;West US&quot; or &quot;Southeast Asia&quot;.You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureRmLocation cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -4513,14 +4513,14 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Tag</maml:name> <maml:description> - <maml:para>Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureRMTag cmdlet.A &quot;tag&quot; is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureRMResource and Get-AzureRMResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name=&quot;FY2015&quot;} or @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name=&quot;FY2015&quot;}, @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To get your predefined tags, use the Get-AzureRMTag cmdlet.</maml:para> + <maml:para>Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureRmTag cmdlet.A &quot;tag&quot; is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureRmResource and Get-AzureRmResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name=&quot;FY2015&quot;} or @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name=&quot;FY2015&quot;}, @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To get your predefined tags, use the Get-AzureRmTag cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">Hashtable[]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> - <maml:para>Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureRMResourceGroup prompts for confirmation before replacing an existing resource group.</maml:para> + <maml:para>Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureRmResourceGroup prompts for confirmation before replacing an existing resource group.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> </command:parameter> @@ -4534,14 +4534,14 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateUri</maml:name> <maml:description> - <maml:para>Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureRMResourceGroupGalleryTemplate cmdlet.</maml:para> + <maml:para>Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureRmResourceGroupGalleryTemplate cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateVersion</maml:name> <maml:description> - <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRMResourceGroup verifies that the specified template has the matching version and fails if it does not.</maml:para> + <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRmResourceGroup verifies that the specified template has the matching version and fails if it does not.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -4554,7 +4554,7 @@ NewApplication 61b5d8ea-fdc6-40a2 </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMResourceGroup</maml:name> + <maml:name>New-AzureRmResourceGroup</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Name</maml:name> <maml:description> @@ -4565,7 +4565,7 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Location</maml:name> <maml:description> - <maml:para>Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as &quot;West US&quot; or &quot;Southeast Asia&quot;.You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureRMLocation cmdlet.</maml:para> + <maml:para>Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as &quot;West US&quot; or &quot;Southeast Asia&quot;.You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureRmLocation cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -4579,14 +4579,14 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Tag</maml:name> <maml:description> - <maml:para>Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureRMTag cmdlet.A &quot;tag&quot; is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureRMResource and Get-AzureRMResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name=&quot;FY2015&quot;} or @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name=&quot;FY2015&quot;}, @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To get your predefined tags, use the Get-AzureRMTag cmdlet.</maml:para> + <maml:para>Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureRmTag cmdlet.A &quot;tag&quot; is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureRmResource and Get-AzureRmResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name=&quot;FY2015&quot;} or @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name=&quot;FY2015&quot;}, @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To get your predefined tags, use the Get-AzureRmTag cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">Hashtable[]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> - <maml:para>Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureRMResourceGroup prompts for confirmation before replacing an existing resource group.</maml:para> + <maml:para>Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureRmResourceGroup prompts for confirmation before replacing an existing resource group.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> </command:parameter> @@ -4600,21 +4600,21 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateFile</maml:name> <maml:description> - <maml:para>Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureRMResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as &quot;current,&quot; the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRMStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRMSubscription cmdlet.</maml:para> + <maml:para>Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureRmResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as &quot;current,&quot; the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRmStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRmSubscription cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>StorageAccountName</maml:name> <maml:description> - <maml:para>Specifies the name of a storage account in the subscription. New-AzureRMResourceGroup saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use a Switch-AzureMode -Name AzureServiceManagement command to switch to the Azure module, and then use the New-AzureRMStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRMSubscription cmdlet.</maml:para> + <maml:para>Specifies the name of a storage account in the subscription. New-AzureRmResourceGroup saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use a Switch-AzureMode -Name AzureServiceManagement command to switch to the Azure module, and then use the New-AzureRmStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRmSubscription cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateVersion</maml:name> <maml:description> - <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRMResourceGroup verifies that the specified template has the matching version and fails if it does not.</maml:para> + <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRmResourceGroup verifies that the specified template has the matching version and fails if it does not.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -4627,7 +4627,7 @@ NewApplication 61b5d8ea-fdc6-40a2 </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMResourceGroup</maml:name> + <maml:name>New-AzureRmResourceGroup</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Name</maml:name> <maml:description> @@ -4638,7 +4638,7 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Location</maml:name> <maml:description> - <maml:para>Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as &quot;West US&quot; or &quot;Southeast Asia&quot;.You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureRMLocation cmdlet.</maml:para> + <maml:para>Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as &quot;West US&quot; or &quot;Southeast Asia&quot;.You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureRmLocation cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -4652,28 +4652,28 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Tag</maml:name> <maml:description> - <maml:para>Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureRMTag cmdlet.A &quot;tag&quot; is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureRMResource and Get-AzureRMResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name=&quot;FY2015&quot;} or @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name=&quot;FY2015&quot;}, @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To get your predefined tags, use the Get-AzureRMTag cmdlet.</maml:para> + <maml:para>Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureRmTag cmdlet.A &quot;tag&quot; is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureRmResource and Get-AzureRmResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name=&quot;FY2015&quot;} or @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name=&quot;FY2015&quot;}, @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To get your predefined tags, use the Get-AzureRmTag cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">Hashtable[]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> - <maml:para>Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureRMResourceGroup prompts for confirmation before replacing an existing resource group.</maml:para> + <maml:para>Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureRmResourceGroup prompts for confirmation before replacing an existing resource group.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>GalleryTemplateIdentity</maml:name> <maml:description> - <maml:para>Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureRMResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default.</maml:para> + <maml:para>Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureRmResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateVersion</maml:name> <maml:description> - <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRMResourceGroup verifies that the specified template has the matching version and fails if it does not.</maml:para> + <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRmResourceGroup verifies that the specified template has the matching version and fails if it does not.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -4686,7 +4686,7 @@ NewApplication 61b5d8ea-fdc6-40a2 </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMResourceGroup</maml:name> + <maml:name>New-AzureRmResourceGroup</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Name</maml:name> <maml:description> @@ -4697,7 +4697,7 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Location</maml:name> <maml:description> - <maml:para>Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as &quot;West US&quot; or &quot;Southeast Asia&quot;.You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureRMLocation cmdlet.</maml:para> + <maml:para>Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as &quot;West US&quot; or &quot;Southeast Asia&quot;.You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureRmLocation cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -4711,35 +4711,35 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Tag</maml:name> <maml:description> - <maml:para>Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureRMTag cmdlet.A &quot;tag&quot; is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureRMResource and Get-AzureRMResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name=&quot;FY2015&quot;} or @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name=&quot;FY2015&quot;}, @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To get your predefined tags, use the Get-AzureRMTag cmdlet.</maml:para> + <maml:para>Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureRmTag cmdlet.A &quot;tag&quot; is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureRmResource and Get-AzureRmResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name=&quot;FY2015&quot;} or @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name=&quot;FY2015&quot;}, @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To get your predefined tags, use the Get-AzureRmTag cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">Hashtable[]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> - <maml:para>Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureRMResourceGroup prompts for confirmation before replacing an existing resource group.</maml:para> + <maml:para>Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureRmResourceGroup prompts for confirmation before replacing an existing resource group.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateFile</maml:name> <maml:description> - <maml:para>Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureRMResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as &quot;current,&quot; the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRMStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRMSubscription cmdlet.</maml:para> + <maml:para>Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureRmResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as &quot;current,&quot; the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRmStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRmSubscription cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>StorageAccountName</maml:name> <maml:description> - <maml:para>Specifies the name of a storage account in the subscription. New-AzureRMResourceGroup saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use a Switch-AzureMode -Name AzureServiceManagement command to switch to the Azure module, and then use the New-AzureRMStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRMSubscription cmdlet.</maml:para> + <maml:para>Specifies the name of a storage account in the subscription. New-AzureRmResourceGroup saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use a Switch-AzureMode -Name AzureServiceManagement command to switch to the Azure module, and then use the New-AzureRmStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRmSubscription cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateVersion</maml:name> <maml:description> - <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRMResourceGroup verifies that the specified template has the matching version and fails if it does not.</maml:para> + <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRmResourceGroup verifies that the specified template has the matching version and fails if it does not.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -4752,7 +4752,7 @@ NewApplication 61b5d8ea-fdc6-40a2 </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMResourceGroup</maml:name> + <maml:name>New-AzureRmResourceGroup</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Name</maml:name> <maml:description> @@ -4763,7 +4763,7 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Location</maml:name> <maml:description> - <maml:para>Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as &quot;West US&quot; or &quot;Southeast Asia&quot;.You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureRMLocation cmdlet.</maml:para> + <maml:para>Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as &quot;West US&quot; or &quot;Southeast Asia&quot;.You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureRmLocation cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -4777,28 +4777,28 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Tag</maml:name> <maml:description> - <maml:para>Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureRMTag cmdlet.A &quot;tag&quot; is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureRMResource and Get-AzureRMResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name=&quot;FY2015&quot;} or @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name=&quot;FY2015&quot;}, @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To get your predefined tags, use the Get-AzureRMTag cmdlet.</maml:para> + <maml:para>Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureRmTag cmdlet.A &quot;tag&quot; is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureRmResource and Get-AzureRmResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name=&quot;FY2015&quot;} or @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name=&quot;FY2015&quot;}, @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To get your predefined tags, use the Get-AzureRmTag cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">Hashtable[]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> - <maml:para>Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureRMResourceGroup prompts for confirmation before replacing an existing resource group.</maml:para> + <maml:para>Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureRmResourceGroup prompts for confirmation before replacing an existing resource group.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateUri</maml:name> <maml:description> - <maml:para>Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureRMResourceGroupGalleryTemplate cmdlet.</maml:para> + <maml:para>Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureRmResourceGroupGalleryTemplate cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateVersion</maml:name> <maml:description> - <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRMResourceGroup verifies that the specified template has the matching version and fails if it does not.</maml:para> + <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRmResourceGroup verifies that the specified template has the matching version and fails if it does not.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -4827,7 +4827,7 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Location</maml:name> <maml:description> - <maml:para>Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as &quot;West US&quot; or &quot;Southeast Asia&quot;.You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureRMLocation cmdlet.</maml:para> + <maml:para>Specifies the location of the resource group. This parameter is required. Enter an Azure data center location, such as &quot;West US&quot; or &quot;Southeast Asia&quot;.You can place a resource group in any location. The resource group does not have to be in the same location your Azure subscription or the same location as its resources. Resource groups can contain resources from different locations. To determine which location support each resource type, use the Get-AzureRmLocation cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -4851,7 +4851,7 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Tag</maml:name> <maml:description> - <maml:para>Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureRMTag cmdlet.A &quot;tag&quot; is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureRMResource and Get-AzureRMResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name=&quot;FY2015&quot;} or @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name=&quot;FY2015&quot;}, @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To get your predefined tags, use the Get-AzureRMTag cmdlet.</maml:para> + <maml:para>Applies the specified tags to the new resource group. Enter new tags or predefined tags that you created by using the New-AzureRmTag cmdlet.A &quot;tag&quot; is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureRmResource and Get-AzureRmResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name=&quot;FY2015&quot;} or @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name=&quot;FY2015&quot;}, @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To get your predefined tags, use the Get-AzureRmTag cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">Hashtable[]</command:parameterValue> <dev:type> @@ -4863,7 +4863,7 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> - <maml:para>Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureRMResourceGroup prompts for confirmation before replacing an existing resource group.</maml:para> + <maml:para>Suppresses the confirmation prompt and overwrites an existing resource group with the same name. By default, New-AzureRmResourceGroup prompts for confirmation before replacing an existing resource group.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> @@ -4875,7 +4875,7 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateVersion</maml:name> <maml:description> - <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRMResourceGroup verifies that the specified template has the matching version and fails if it does not.</maml:para> + <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRmResourceGroup verifies that the specified template has the matching version and fails if it does not.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -4911,7 +4911,7 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateUri</maml:name> <maml:description> - <maml:para>Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureRMResourceGroupGalleryTemplate cmdlet.</maml:para> + <maml:para>Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureRmResourceGroupGalleryTemplate cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -4923,7 +4923,7 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateFile</maml:name> <maml:description> - <maml:para>Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureRMResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as &quot;current,&quot; the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRMStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRMSubscription cmdlet.</maml:para> + <maml:para>Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureRmResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as &quot;current,&quot; the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRmStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRmSubscription cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -4935,7 +4935,7 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>StorageAccountName</maml:name> <maml:description> - <maml:para>Specifies the name of a storage account in the subscription. New-AzureRMResourceGroup saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use a Switch-AzureMode -Name AzureServiceManagement command to switch to the Azure module, and then use the New-AzureRMStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRMSubscription cmdlet.</maml:para> + <maml:para>Specifies the name of a storage account in the subscription. New-AzureRmResourceGroup saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use a Switch-AzureMode -Name AzureServiceManagement command to switch to the Azure module, and then use the New-AzureRmStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRmSubscription cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -4947,7 +4947,7 @@ NewApplication 61b5d8ea-fdc6-40a2 <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>GalleryTemplateIdentity</maml:name> <maml:description> - <maml:para>Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureRMResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default.</maml:para> + <maml:para>Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureRmResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -5009,13 +5009,13 @@ NewApplication 61b5d8ea-fdc6-40a2 <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;New-AzureRMResourceGroup -Name RG1 -Location &quot;South Central US&quot; + <dev:code>PS C:\&gt;New-AzureRmResourceGroup -Name RG1 -Location &quot;South Central US&quot; ResourceGroupName : RG1 Location : southcentralus ProvisioningState : Succeeded Resources</dev:code> <dev:remarks> - <maml:para>This command creates a resource group that has no resources. You can use the New-AzureRMResource or New-AzureRMResourceGroupDeployment cmdlets to add resources and deployments to this resource group.</maml:para> + <maml:para>This command creates a resource group that has no resources. You can use the New-AzureRmResource or New-AzureRmResourceGroupDeployment cmdlets to add resources and deployments to this resource group.</maml:para> <maml:para /> <maml:para /> <maml:para></maml:para> @@ -5033,7 +5033,7 @@ Resources</dev:code> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;New-AzureRMResourceGroup –Name ContosoHosting –Location &quot;West US&quot; –TemplateFile D:\Templates\ContosoHosting.json -TemplateVersion &quot;2014-04-01-preview&quot; -DeploymentName ContosoHosting -TemplateParameterFile D:\Templates\ContosoHostingParms.json + <dev:code>PS C:\&gt;New-AzureRmResourceGroup –Name ContosoHosting –Location &quot;West US&quot; –TemplateFile D:\Templates\ContosoHosting.json -TemplateVersion &quot;2014-04-01-preview&quot; -DeploymentName ContosoHosting -TemplateParameterFile D:\Templates\ContosoHostingParms.json Name: ContosoHosting Location: westus Resources: @@ -5042,7 +5042,7 @@ Resources: ContosoHosting Microsoft.Web/serverFarms westus Contoso Microsoft.Web/Sites West US</dev:code> <dev:remarks> - <maml:para>This command creates the &quot;ContosoHosting&quot; resource group from a custom template. It uses the TemplateFile parameter to specify the path and file name of the ContosoHosting.json template file and the TemplateParameterFile parameter to specify the ContosoHostingParms.json file, which contains the names and values of the parameters in the template. Because the command does not specify a storage account, New-AzureRMResourceGroup uses the current storage account in the subscription.</maml:para> + <maml:para>This command creates the &quot;ContosoHosting&quot; resource group from a custom template. It uses the TemplateFile parameter to specify the path and file name of the ContosoHosting.json template file and the TemplateParameterFile parameter to specify the ContosoHostingParms.json file, which contains the names and values of the parameters in the template. Because the command does not specify a storage account, New-AzureRmResourceGroup uses the current storage account in the subscription.</maml:para> <maml:para /> <maml:para /> <maml:para></maml:para> @@ -5060,7 +5060,7 @@ Resources: <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;New-AzureRMResourceGroup –Name ContosoRG01 –Location &quot;West US&quot; –GalleryTemplateIdentity Microsoft.WebSite.0.1.0-preview1 -siteName ContosoWeb -hostingPlanName ContosoHosting -siteMode Limited -computeMode Shared -siteLocation &quot;South Central US&quot; -subscriptionID &quot;9b14a38b-4b93-4554-8bb0-3cefb47abcde&quot; -resourceGroup ContosoRG01 + <dev:code>PS C:\&gt;New-AzureRmResourceGroup –Name ContosoRG01 –Location &quot;West US&quot; –GalleryTemplateIdentity Microsoft.WebSite.0.1.0-preview1 -siteName ContosoWeb -hostingPlanName ContosoHosting -siteMode Limited -computeMode Shared -siteLocation &quot;South Central US&quot; -subscriptionID &quot;9b14a38b-4b93-4554-8bb0-3cefb47abcde&quot; -resourceGroup ContosoRG01 ResourceGroupName : ContosoRG01 Location : westus ProvisioningState : Succeeded @@ -5073,7 +5073,7 @@ Resources : <maml:para>This example shows how to create a resource group from a gallery template and use the parameters that are added to the command dynamically to provide the template parameter values.</maml:para> <maml:para /> <maml:para /> - <maml:para>This command uses the New-AzureRMResourceGroup cmdlet to create a new resource group. It uses the GalleryTemplateIdentity parameter to specify the identity of the gallery template. In this scenario, you don&apos;t need to save the gallery template to disk.After you type the cmdlet parameters and values, type a minus sign (to indicate a parameter name) and then press the TAB key to trigger tab-completion. The cmdlet adds a parameter, such as siteMode. Type the parameter value, type a minus sign, press TAB, and it adds another parameter. To cycle through the parameter names, press TAB repeatedly. If you miss a mandatory template parameter, the cmdlet prompts you for the value.</maml:para> + <maml:para>This command uses the New-AzureRmResourceGroup cmdlet to create a new resource group. It uses the GalleryTemplateIdentity parameter to specify the identity of the gallery template. In this scenario, you don&apos;t need to save the gallery template to disk.After you type the cmdlet parameters and values, type a minus sign (to indicate a parameter name) and then press the TAB key to trigger tab-completion. The cmdlet adds a parameter, such as siteMode. Type the parameter value, type a minus sign, press TAB, and it adds another parameter. To cycle through the parameter names, press TAB repeatedly. If you miss a mandatory template parameter, the cmdlet prompts you for the value.</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> @@ -5088,8 +5088,8 @@ Resources : <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; The first command uses the Get-AzureRMResourceGroupGalleryTemplate to get a gallery item. It pipes the gallery item to the Save-AzureRMResourceGroupGalleryTemplate cmdlet, which save the template as a JSON file in the path that you specify. -PS C:\&gt;Get-AzureRMResourceGroupGalleryTemplate -Identity Microsoft.WebSite.0.1.0-preview1 | Save-AzureRMResourceGroupTemplate -Path D:\Azure\Templates + <dev:code>PS C:\&gt; The first command uses the Get-AzureRmResourceGroupGalleryTemplate to get a gallery item. It pipes the gallery item to the Save-AzureRmResourceGroupGalleryTemplate cmdlet, which save the template as a JSON file in the path that you specify. +PS C:\&gt;Get-AzureRmResourceGroupGalleryTemplate -Identity Microsoft.WebSite.0.1.0-preview1 | Save-AzureRmResourceGroupTemplate -Path D:\Azure\Templates Path: D:\Azure\Templates\Microsoft.WebSite.0.1.0-preview1.json @@ -5112,8 +5112,8 @@ The fourth command creates a hash table of the template parameters and values an PS C:\&gt;$params = @{siteName=&quot;ContosoWeb&quot;; hostingPlanName = &quot;ContosoHosting&quot;; siteMode = &quot;Limited&quot;; computeMode = &quot;Shared&quot;; siteLocation = &quot;South Central US&quot;; subscriptionId = &quot;9b14a38b-4b93-4554-8bb0-3cefb47abcde&quot;; resourceGroup = &quot;ContosoRG01&quot;} -The fifth command uses the New-AzureRMResourceGroup cmdlet to create the resource group. It uses the TemplateFile parameter to specify the gallery template file on disk and the TemplateParameterObject parameter to specify the hash table of template parameter names and values in the $params variable. It uses the StorageAccountName parameter to specify the storage account in which the template is stored. You must specify a storage account when you use the TemplateFile parameter and a &quot;current&quot; storage account has not been selected for the subscription.The cmdlet returns an object that represents the new resource group. -PS C:\&gt;New-AzureRMResourceGroup –Name ContosoRG01 –Location &quot;West US&quot; –StorageAccountName contosostorage01 -DeploymentName WebDeploy01 -TemplateFile $home\Documents\Azure\Templates\Microsoft.WebSite.0.1.0-preview1.json -TemplateParameterObject @params -StorageAccountName ContosoStorage +The fifth command uses the New-AzureRmResourceGroup cmdlet to create the resource group. It uses the TemplateFile parameter to specify the gallery template file on disk and the TemplateParameterObject parameter to specify the hash table of template parameter names and values in the $params variable. It uses the StorageAccountName parameter to specify the storage account in which the template is stored. You must specify a storage account when you use the TemplateFile parameter and a &quot;current&quot; storage account has not been selected for the subscription.The cmdlet returns an object that represents the new resource group. +PS C:\&gt;New-AzureRmResourceGroup –Name ContosoRG01 –Location &quot;West US&quot; –StorageAccountName contosostorage01 -DeploymentName WebDeploy01 -TemplateFile $home\Documents\Azure\Templates\Microsoft.WebSite.0.1.0-preview1.json -TemplateParameterObject @params -StorageAccountName ContosoStorage ResourceGroupName : ContosoRG01 Location : westus ProvisioningState : Succeeded @@ -5123,7 +5123,7 @@ Resources : Default1 Microsoft.Web/serverFarms southcentralus ContosoWeb Microsoft.Web/sites southcentralus</dev:code> <dev:remarks> - <maml:para>This example shows how to create a resource group from a gallery template that you saved to disk by using the Save-AzureRMResourceGroupGalleryTemplate cmdlet and a hash table of template parameter names and values.</maml:para> + <maml:para>This example shows how to create a resource group from a gallery template that you saved to disk by using the Save-AzureRmResourceGroupGalleryTemplate cmdlet and a hash table of template parameter names and values.</maml:para> <maml:para /> <maml:para /> <maml:para></maml:para> @@ -5141,7 +5141,7 @@ Resources : <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;New-AzureRMResourceGroup -Name RG1 -Location &quot;South Central US&quot; -Tag @{Name=&quot;Empty&quot;}, @{Name=&quot;Department&quot;;Value=&quot;Marketing&quot;}</dev:code> + <dev:code>PS C:\&gt;New-AzureRmResourceGroup -Name RG1 -Location &quot;South Central US&quot; -Tag @{Name=&quot;Empty&quot;}, @{Name=&quot;Department&quot;;Value=&quot;Marketing&quot;}</dev:code> <dev:remarks> <maml:para>This command creates a new empty resource group. This command is the same as the command in Example 1, except that it assigns tags to the resource group. The first tag, named &quot;Empty,&quot; could be used to identify resource groups that have no resources. The second tag is named &quot;Department&quot; and has a value of &quot;Marketing&quot;. You can use a tag like this one to categorize resource groups for administration or budgeting.</maml:para> <maml:para /> @@ -5167,7 +5167,7 @@ Resources : <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>New-AzureRMResourceGroupDeployment</command:name> + <command:name>New-AzureRmResourceGroupDeployment</command:name> <maml:description> <maml:para>Add an Azure deployment to a resource group.</maml:para> </maml:description> @@ -5180,11 +5180,11 @@ Resources : </command:details> <maml:description> <maml:para>This is the Description section</maml:para> - <maml:para>The New-AzureRMResourceGroupDeployment cmdlet adds a deployment to an existing resource group, including the resources that the deployment requires. This cmdlet is similar to the New-AzureRMResourceGroup cmdlet, but it works on existing resource groups, instead of new ones. To add resources to a resource group without using a template, use the New-AzureRMResource cmdlet.An Azure resource is a user-managed Azure entity, such as a database server, database, website, virtual machine, or storage account. An Azure resource group is a collection of Azure resources that are deployed as a unit, such as the web site, database server, and databases that are required for a financial web site. A deployment uses a resource group template to add resource to a resource group and publish them so they are available in Azure.To add a resource group deployment, specify the name of an existing resource group and a resource group template, which is a JSON string that represents of a resource group for a complex cloud-based service, such as a web portal. The template includes parameter (placeholders) for required resources and configurable property values, likes names and sizes. You can find many templates in the Azure template gallery and you can create your own templates.To find a gallery template, use the Get-AzureRMResourceGroupGalleryTemplate template cmdlet. To use a gallery template, use the GalleryTemplateIdentity parameter of New-AzureRMResourceGroupDeployment to specify the template identity. Or, use the Save-AzureRMResourceGalleryTemplate cmdlet to save the gallery template as a JSON file, and then use the TemplateFile or TemplateUri parameters to provide the name and location of the file.You can also create a custom resource group template, either by typing in a text file or by editing a gallery template. To use a custom template to create a resource group, use TemplateFile or TemplateUri parameters to supply the location and file name.Each template has different parameters for configurable properties. To specify values for the template parameters, use a JSON-formatted parameter file (TemplateParameterFile parameter) or a hash table of parameter names and values (TemplateParameterObject parameter). Or, use the template parameters that are added to the command dynamically as soon as you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. Template parameter values that are typed at the command line take precedence over values in a template parameter object or file.</maml:para> + <maml:para>The New-AzureRmResourceGroupDeployment cmdlet adds a deployment to an existing resource group, including the resources that the deployment requires. This cmdlet is similar to the New-AzureRmResourceGroup cmdlet, but it works on existing resource groups, instead of new ones. To add resources to a resource group without using a template, use the New-AzureRmResource cmdlet.An Azure resource is a user-managed Azure entity, such as a database server, database, website, virtual machine, or storage account. An Azure resource group is a collection of Azure resources that are deployed as a unit, such as the web site, database server, and databases that are required for a financial web site. A deployment uses a resource group template to add resource to a resource group and publish them so they are available in Azure.To add a resource group deployment, specify the name of an existing resource group and a resource group template, which is a JSON string that represents of a resource group for a complex cloud-based service, such as a web portal. The template includes parameter (placeholders) for required resources and configurable property values, likes names and sizes. You can find many templates in the Azure template gallery and you can create your own templates.To find a gallery template, use the Get-AzureRmResourceGroupGalleryTemplate template cmdlet. To use a gallery template, use the GalleryTemplateIdentity parameter of New-AzureRmResourceGroupDeployment to specify the template identity. Or, use the Save-AzureRmResourceGalleryTemplate cmdlet to save the gallery template as a JSON file, and then use the TemplateFile or TemplateUri parameters to provide the name and location of the file.You can also create a custom resource group template, either by typing in a text file or by editing a gallery template. To use a custom template to create a resource group, use TemplateFile or TemplateUri parameters to supply the location and file name.Each template has different parameters for configurable properties. To specify values for the template parameters, use a JSON-formatted parameter file (TemplateParameterFile parameter) or a hash table of parameter names and values (TemplateParameterObject parameter). Or, use the template parameters that are added to the command dynamically as soon as you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. Template parameter values that are typed at the command line take precedence over values in a template parameter object or file.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMResourceGroupDeployment</maml:name> + <maml:name>New-AzureRmResourceGroupDeployment</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Name</maml:name> <maml:description> @@ -5202,7 +5202,7 @@ Resources : <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateVersion</maml:name> <maml:description> - <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRMResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not.</maml:para> + <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRmResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -5215,7 +5215,7 @@ Resources : </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMResourceGroupDeployment</maml:name> + <maml:name>New-AzureRmResourceGroupDeployment</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Name</maml:name> <maml:description> @@ -5240,14 +5240,14 @@ Resources : <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateUri</maml:name> <maml:description> - <maml:para>Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureRMResourceGroupGalleryTemplate cmdlet.</maml:para> + <maml:para>Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureRmResourceGroupGalleryTemplate cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateVersion</maml:name> <maml:description> - <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRMResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not.</maml:para> + <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRmResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -5260,7 +5260,7 @@ Resources : </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMResourceGroupDeployment</maml:name> + <maml:name>New-AzureRmResourceGroupDeployment</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Name</maml:name> <maml:description> @@ -5285,21 +5285,21 @@ Resources : <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateFile</maml:name> <maml:description> - <maml:para>Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureRMResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as &quot;current,&quot; the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRMStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRMSubscription cmdlet.</maml:para> + <maml:para>Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureRmResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as &quot;current,&quot; the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRmStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRmSubscription cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>StorageAccountName</maml:name> <maml:description> - <maml:para>Specifies the name of a storage account in the subscription. New-AzureRMResourceGroupDeployment saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRMStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRMSubscription cmdlet.</maml:para> + <maml:para>Specifies the name of a storage account in the subscription. New-AzureRmResourceGroupDeployment saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRmStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRmSubscription cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateVersion</maml:name> <maml:description> - <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRMResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not.</maml:para> + <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRmResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -5312,7 +5312,7 @@ Resources : </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMResourceGroupDeployment</maml:name> + <maml:name>New-AzureRmResourceGroupDeployment</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Name</maml:name> <maml:description> @@ -5337,14 +5337,14 @@ Resources : <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>GalleryTemplateIdentity</maml:name> <maml:description> - <maml:para>Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureRMResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default.</maml:para> + <maml:para>Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureRmResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateVersion</maml:name> <maml:description> - <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRMResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not.</maml:para> + <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRmResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -5357,7 +5357,7 @@ Resources : </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMResourceGroupDeployment</maml:name> + <maml:name>New-AzureRmResourceGroupDeployment</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Name</maml:name> <maml:description> @@ -5382,14 +5382,14 @@ Resources : <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>GalleryTemplateIdentity</maml:name> <maml:description> - <maml:para>Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureRMResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default.</maml:para> + <maml:para>Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureRmResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateVersion</maml:name> <maml:description> - <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRMResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not.</maml:para> + <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRmResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -5402,7 +5402,7 @@ Resources : </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMResourceGroupDeployment</maml:name> + <maml:name>New-AzureRmResourceGroupDeployment</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Name</maml:name> <maml:description> @@ -5427,14 +5427,14 @@ Resources : <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateUri</maml:name> <maml:description> - <maml:para>Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureRMResourceGroupGalleryTemplate cmdlet.</maml:para> + <maml:para>Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureRmResourceGroupGalleryTemplate cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateVersion</maml:name> <maml:description> - <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRMResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not.</maml:para> + <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRmResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -5447,7 +5447,7 @@ Resources : </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMResourceGroupDeployment</maml:name> + <maml:name>New-AzureRmResourceGroupDeployment</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Name</maml:name> <maml:description> @@ -5472,21 +5472,21 @@ Resources : <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateFile</maml:name> <maml:description> - <maml:para>Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureRMResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as &quot;current,&quot; the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRMStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRMSubscription cmdlet.</maml:para> + <maml:para>Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureRmResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as &quot;current,&quot; the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRmStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRmSubscription cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>StorageAccountName</maml:name> <maml:description> - <maml:para>Specifies the name of a storage account in the subscription. New-AzureRMResourceGroupDeployment saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRMStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRMSubscription cmdlet.</maml:para> + <maml:para>Specifies the name of a storage account in the subscription. New-AzureRmResourceGroupDeployment saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRmStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRmSubscription cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateVersion</maml:name> <maml:description> - <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRMResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not.</maml:para> + <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRmResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -5499,7 +5499,7 @@ Resources : </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMResourceGroupDeployment</maml:name> + <maml:name>New-AzureRmResourceGroupDeployment</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Name</maml:name> <maml:description> @@ -5517,14 +5517,14 @@ Resources : <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>GalleryTemplateIdentity</maml:name> <maml:description> - <maml:para>Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureRMResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default.</maml:para> + <maml:para>Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureRmResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateVersion</maml:name> <maml:description> - <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRMResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not.</maml:para> + <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRmResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -5537,7 +5537,7 @@ Resources : </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMResourceGroupDeployment</maml:name> + <maml:name>New-AzureRmResourceGroupDeployment</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Name</maml:name> <maml:description> @@ -5555,21 +5555,21 @@ Resources : <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateFile</maml:name> <maml:description> - <maml:para>Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureRMResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as &quot;current,&quot; the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRMStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRMSubscription cmdlet.</maml:para> + <maml:para>Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureRmResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as &quot;current,&quot; the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRmStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRmSubscription cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>StorageAccountName</maml:name> <maml:description> - <maml:para>Specifies the name of a storage account in the subscription. New-AzureRMResourceGroupDeployment saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRMStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRMSubscription cmdlet.</maml:para> + <maml:para>Specifies the name of a storage account in the subscription. New-AzureRmResourceGroupDeployment saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRmStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRmSubscription cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateVersion</maml:name> <maml:description> - <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRMResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not.</maml:para> + <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRmResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -5582,7 +5582,7 @@ Resources : </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMResourceGroupDeployment</maml:name> + <maml:name>New-AzureRmResourceGroupDeployment</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Name</maml:name> <maml:description> @@ -5600,14 +5600,14 @@ Resources : <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateUri</maml:name> <maml:description> - <maml:para>Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureRMResourceGroupGalleryTemplate cmdlet.</maml:para> + <maml:para>Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureRmResourceGroupGalleryTemplate cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateVersion</maml:name> <maml:description> - <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRMResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not.</maml:para> + <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRmResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -5648,7 +5648,7 @@ Resources : <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateVersion</maml:name> <maml:description> - <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRMResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not.</maml:para> + <maml:para>Specifies a particular version of the gallery or custom template. Enter the version number, such as &quot;2014-04-01-preview&quot;. This parameter is optional. If you specify this parameter, New-AzureRmResourceGroupDeployment verifies that the specified template has the matching version and fails if it does not.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -5684,7 +5684,7 @@ Resources : <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateUri</maml:name> <maml:description> - <maml:para>Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureRMResourceGroupGalleryTemplate cmdlet.</maml:para> + <maml:para>Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureRmResourceGroupGalleryTemplate cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -5696,7 +5696,7 @@ Resources : <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateFile</maml:name> <maml:description> - <maml:para>Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureRMResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as &quot;current,&quot; the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRMStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRMSubscription cmdlet.</maml:para> + <maml:para>Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureRmResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as &quot;current,&quot; the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRmStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRmSubscription cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -5708,7 +5708,7 @@ Resources : <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>StorageAccountName</maml:name> <maml:description> - <maml:para>Specifies the name of a storage account in the subscription. New-AzureRMResourceGroupDeployment saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRMStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRMSubscription cmdlet.</maml:para> + <maml:para>Specifies the name of a storage account in the subscription. New-AzureRmResourceGroupDeployment saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRmStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRmSubscription cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -5720,7 +5720,7 @@ Resources : <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>GalleryTemplateIdentity</maml:name> <maml:description> - <maml:para>Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureRMResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default.</maml:para> + <maml:para>Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureRmResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -5782,7 +5782,7 @@ Resources : <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;New-AzureRMResourceGroupDeployment -New-AzureRMResourceGroupDeployment -ResourceGroupName ContosoRG01 -GalleryTemplateIdentity Microsoft.WebSite.0.1.0-preview1 -Name WebDeploy01 -siteName ContosoWeb -hostingPlanName ContosoHosting -siteMode Limited -computeMode Dedicated -siteLocation &quot;North Europe&quot; -subscriptionID &quot;9b14a38b-4b93-4554-8bb0-3cefb47abcde&quot; -resourceGroup ContosoRG01 + <dev:code>PS C:\&gt;New-AzureRmResourceGroupDeployment -New-AzureRmResourceGroupDeployment -ResourceGroupName ContosoRG01 -GalleryTemplateIdentity Microsoft.WebSite.0.1.0-preview1 -Name WebDeploy01 -siteName ContosoWeb -hostingPlanName ContosoHosting -siteMode Limited -computeMode Dedicated -siteLocation &quot;North Europe&quot; -subscriptionID &quot;9b14a38b-4b93-4554-8bb0-3cefb47abcde&quot; -resourceGroup ContosoRG01 DeploymentName : WebDeploy01 ResourceGroupName : ContosoRG01 ProvisioningState : Succeeded @@ -5807,7 +5807,7 @@ Parameters : <maml:para>This example shows how to create a resource group deployment from a gallery template and use the parameters that are added to the command dynamically to provide the template parameter values.</maml:para> <maml:para /> <maml:para /> - <maml:para>This command uses the New-AzureRMResourceGroupDeployment cmdlet to create a new deployment in the ContosoRG01 resource group. It uses the GalleryTemplateIdentity parameter to specify the gallery template. In this scenario, you don&apos;t need to save the gallery template to disk.Instead of using a template parameter file or a template parameter object, we&apos;ll just use the parameters that are added to the command dynamically when you specify the template.After typing the Name parameter and its value, type a minus sign (to indicate a parameter name) and then press the TAB key to trigger tab-completion. The cmdlet adds a parameter, such as siteMode. Type the parameter value, type a minus sign, press TAB, and it adds another parameter. To cycle through the parameter names, press TAB repeatedly. If you miss a mandatory template parameter, the cmdlet prompts you for the value.</maml:para> + <maml:para>This command uses the New-AzureRmResourceGroupDeployment cmdlet to create a new deployment in the ContosoRG01 resource group. It uses the GalleryTemplateIdentity parameter to specify the gallery template. In this scenario, you don&apos;t need to save the gallery template to disk.Instead of using a template parameter file or a template parameter object, we&apos;ll just use the parameters that are added to the command dynamically when you specify the template.After typing the Name parameter and its value, type a minus sign (to indicate a parameter name) and then press the TAB key to trigger tab-completion. The cmdlet adds a parameter, such as siteMode. Type the parameter value, type a minus sign, press TAB, and it adds another parameter. To cycle through the parameter names, press TAB repeatedly. If you miss a mandatory template parameter, the cmdlet prompts you for the value.</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> @@ -5822,7 +5822,7 @@ Parameters : <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;New-AzureRMResourceGroupDeployment -ResourceGroupName ContosoEngineering -TemplateFile D:\Azure\Templates\EngineeringSite.json -TemplateParameterFile D:\Azure\Templates\EngSiteParms.json -TemplateVersion &quot;2.1&quot; -StorageAccountName contosostorage</dev:code> + <dev:code>PS C:\&gt;New-AzureRmResourceGroupDeployment -ResourceGroupName ContosoEngineering -TemplateFile D:\Azure\Templates\EngineeringSite.json -TemplateParameterFile D:\Azure\Templates\EngSiteParms.json -TemplateVersion &quot;2.1&quot; -StorageAccountName contosostorage</dev:code> <dev:remarks> <maml:para>This command creates a new deployment by using a custom template and a template file on disk. The command uses the TemplateFile parameter to specify the template and the TemplateParameterFile to specify a file of parameters and parameter values. It uses the TemplateVersion parameter to specify a particular version of the template. Because the template files are stored in a storage account of the subscription, the cmdlet uses the StorageAccountName to specify the storage account to use.</maml:para> <maml:para /> @@ -5842,8 +5842,8 @@ Parameters : <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; The first command uses the Save-AzureRMResourceGroupGalleryTemplate cmdlet to save the WordPress gallery template as a JSON file on disk. -PS C:\&gt;Save-AzureRMResourceGroupGalleryTemplate -Identity WordPress.WordPress.0.1.0-preview1 -Path D:\Azure\Templates + <dev:code>PS C:\&gt; The first command uses the Save-AzureRmResourceGroupGalleryTemplate cmdlet to save the WordPress gallery template as a JSON file on disk. +PS C:\&gt;Save-AzureRmResourceGroupGalleryTemplate -Identity WordPress.WordPress.0.1.0-preview1 -Path D:\Azure\Templates Path: D:\Azure\Templates\WordPress.WordPress.0.1.0-preview1.json @@ -5851,8 +5851,8 @@ The second command saves a hash table of the template parameter values in the $p PS C:\&gt; $params = @{siteName=&quot;ContosoBlog&quot;;hostingPlanName=&quot;ContosoHosting&quot;;siteMode=&quot;Limited&quot;;computeMode=&quot;Shared&quot;;siteLocation=&quot;North Europe&quot;;sku=&quot;Shared&quot;;workerSize=&quot;0&quot;;databaseName=contosodb1;databaseLocation=&quot;South Central US&quot;;databaseSku=&quot;Free&quot;;subscriptionId=&quot;7363c612-d678-4171-a715-585c237abcde&quot;;resourceGroup=&quot;ContosoRG01&quot;;dbSubscriptionId=&quot;7363c612-d678-4171-a715-585c237abcde&quot;;dbResourceGroup=&quot;ContosoRG01&quot;} -The third command uses New-AzureRMResourceGroupDeployment cmdlet to add the new deployment to the ContosoRG01 resource group.The command uses the TemplateFile parameter to specify the saved gallery template file and the TemplateParameterObject to specify the hash table of parameters and parameter values in the $params variable. Because the template files are stored in a storage account of the subscription, the cmdlet uses the StorageAccountName to specify the storage account to use. -PS C:\&gt;New-AzureRMResourceGroupDeployment -ResourceGroupName ContosoRG01 -TemplateFile D:\Azure\Templates\WordPress.WordPress.0.1.0-preview1.json -TemplateParameterObject $params -StorageAccountName contosostorage</dev:code> +The third command uses New-AzureRmResourceGroupDeployment cmdlet to add the new deployment to the ContosoRG01 resource group.The command uses the TemplateFile parameter to specify the saved gallery template file and the TemplateParameterObject to specify the hash table of parameters and parameter values in the $params variable. Because the template files are stored in a storage account of the subscription, the cmdlet uses the StorageAccountName to specify the storage account to use. +PS C:\&gt;New-AzureRmResourceGroupDeployment -ResourceGroupName ContosoRG01 -TemplateFile D:\Azure\Templates\WordPress.WordPress.0.1.0-preview1.json -TemplateParameterObject $params -StorageAccountName contosostorage</dev:code> <dev:remarks> <maml:para>This command creates a new deployment by using a gallery template that is saved to disk as a JSON file and a hash table of parameter values.</maml:para> <maml:para /> @@ -5878,7 +5878,7 @@ PS C:\&gt;New-AzureRMResourceGroupDeployment -ResourceGroupName ContosoRG01 -Tem <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>New-AzureRMRoleAssignment</command:name> + <command:name>New-AzureRmRoleAssignment</command:name> <maml:description> <maml:para>Create a role assignment to some principals at a given scope.</maml:para> </maml:description> @@ -5895,7 +5895,7 @@ PS C:\&gt;New-AzureRMResourceGroupDeployment -ResourceGroupName ContosoRG01 -Tem </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMRoleAssignment</maml:name> + <maml:name>New-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ObjectId</maml:name> <maml:description> @@ -5926,7 +5926,7 @@ PS C:\&gt;New-AzureRMResourceGroupDeployment -ResourceGroupName ContosoRG01 -Tem </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMRoleAssignment</maml:name> + <maml:name>New-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ObjectId</maml:name> <maml:description> @@ -5957,7 +5957,7 @@ PS C:\&gt;New-AzureRMResourceGroupDeployment -ResourceGroupName ContosoRG01 -Tem </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMRoleAssignment</maml:name> + <maml:name>New-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ObjectId</maml:name> <maml:description> @@ -5981,7 +5981,7 @@ PS C:\&gt;New-AzureRMResourceGroupDeployment -ResourceGroupName ContosoRG01 -Tem </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMRoleAssignment</maml:name> + <maml:name>New-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ObjectId</maml:name> <maml:description> @@ -6033,7 +6033,7 @@ PS C:\&gt;New-AzureRMResourceGroupDeployment -ResourceGroupName ContosoRG01 -Tem </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMRoleAssignment</maml:name> + <maml:name>New-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Mail</maml:name> <maml:description> @@ -6064,7 +6064,7 @@ PS C:\&gt;New-AzureRMResourceGroupDeployment -ResourceGroupName ContosoRG01 -Tem </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMRoleAssignment</maml:name> + <maml:name>New-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Mail</maml:name> <maml:description> @@ -6095,7 +6095,7 @@ PS C:\&gt;New-AzureRMResourceGroupDeployment -ResourceGroupName ContosoRG01 -Tem </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMRoleAssignment</maml:name> + <maml:name>New-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Mail</maml:name> <maml:description> @@ -6147,7 +6147,7 @@ PS C:\&gt;New-AzureRMResourceGroupDeployment -ResourceGroupName ContosoRG01 -Tem </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMRoleAssignment</maml:name> + <maml:name>New-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Mail</maml:name> <maml:description> @@ -6171,7 +6171,7 @@ PS C:\&gt;New-AzureRMResourceGroupDeployment -ResourceGroupName ContosoRG01 -Tem </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMRoleAssignment</maml:name> + <maml:name>New-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>UserPrincipalName</maml:name> <maml:description> @@ -6195,7 +6195,7 @@ PS C:\&gt;New-AzureRMResourceGroupDeployment -ResourceGroupName ContosoRG01 -Tem </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMRoleAssignment</maml:name> + <maml:name>New-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>UserPrincipalName</maml:name> <maml:description> @@ -6226,7 +6226,7 @@ PS C:\&gt;New-AzureRMResourceGroupDeployment -ResourceGroupName ContosoRG01 -Tem </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMRoleAssignment</maml:name> + <maml:name>New-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>UserPrincipalName</maml:name> <maml:description> @@ -6257,7 +6257,7 @@ PS C:\&gt;New-AzureRMResourceGroupDeployment -ResourceGroupName ContosoRG01 -Tem </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMRoleAssignment</maml:name> + <maml:name>New-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>UserPrincipalName</maml:name> <maml:description> @@ -6309,7 +6309,7 @@ PS C:\&gt;New-AzureRMResourceGroupDeployment -ResourceGroupName ContosoRG01 -Tem </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMRoleAssignment</maml:name> + <maml:name>New-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ServicePrincipalName</maml:name> <maml:description> @@ -6361,7 +6361,7 @@ PS C:\&gt;New-AzureRMResourceGroupDeployment -ResourceGroupName ContosoRG01 -Tem </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMRoleAssignment</maml:name> + <maml:name>New-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ServicePrincipalName</maml:name> <maml:description> @@ -6392,7 +6392,7 @@ PS C:\&gt;New-AzureRMResourceGroupDeployment -ResourceGroupName ContosoRG01 -Tem </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMRoleAssignment</maml:name> + <maml:name>New-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ServicePrincipalName</maml:name> <maml:description> @@ -6416,7 +6416,7 @@ PS C:\&gt;New-AzureRMResourceGroupDeployment -ResourceGroupName ContosoRG01 -Tem </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMRoleAssignment</maml:name> + <maml:name>New-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ServicePrincipalName</maml:name> <maml:description> @@ -6621,7 +6621,7 @@ PS C:\&gt;New-AzureRMResourceGroupDeployment -ResourceGroupName ContosoRG01 -Tem <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; New-AzureRMRoleAssignment -ResourceGroupName rg1 -UPN foo@domain.com -RoleDefinitionName Reader</dev:code> + <dev:code>PS C:\&gt; New-AzureRmRoleAssignment -ResourceGroupName rg1 -UPN foo@domain.com -RoleDefinitionName Reader</dev:code> <dev:remarks> <maml:para>add role assignment to a principal for a resource group using the separate parameters</maml:para> <maml:para /> @@ -6641,7 +6641,7 @@ PS C:\&gt;New-AzureRMResourceGroupDeployment -ResourceGroupName ContosoRG01 -Tem <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; New-AzureRMRoleAssignment -ServicePrincipalName 36f81fc3-b00f-48cd-8218-3879f51ff39f -RoleDefinitionName Contributor</dev:code> + <dev:code>PS C:\&gt; New-AzureRmRoleAssignment -ServicePrincipalName 36f81fc3-b00f-48cd-8218-3879f51ff39f -RoleDefinitionName Contributor</dev:code> <dev:remarks> <maml:para>add role assignment to a service principal for a subscription.</maml:para> <maml:para /> @@ -6661,7 +6661,7 @@ PS C:\&gt;New-AzureRMResourceGroupDeployment -ResourceGroupName ContosoRG01 -Tem <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; New-AzureRMRoleAssignment -Mail allen.young@live.cn -RoleDefinitionName Owner -Scope &quot;/resourcegroups/rg1/providers/Microsoft.Web/sites/site1&quot;</dev:code> + <dev:code>PS C:\&gt; New-AzureRmRoleAssignment -Mail allen.young@live.cn -RoleDefinitionName Owner -Scope &quot;/resourcegroups/rg1/providers/Microsoft.Web/sites/site1&quot;</dev:code> <dev:remarks> <maml:para>add role assignment to a principal for a resource using the generic parameter. Since the scope doens&#39;t start with &quot;/subscriptions/{id}&quot;, the current subscription id will be used</maml:para> <maml:para /> @@ -6679,15 +6679,15 @@ PS C:\&gt;New-AzureRMResourceGroupDeployment -ResourceGroupName ContosoRG01 -Tem </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMRoleAssignment</maml:linkText> + <maml:linkText>Get-AzureRmRoleAssignment</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMRoleAssignment</maml:linkText> + <maml:linkText>Remove-AzureRmRoleAssignment</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMRoleDefinition</maml:linkText> + <maml:linkText>Get-AzureRmRoleDefinition</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> @@ -6695,11 +6695,11 @@ PS C:\&gt;New-AzureRMResourceGroupDeployment -ResourceGroupName ContosoRG01 -Tem <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>New-AzureRMRoleDefinition</command:name> + <command:name>New-AzureRmRoleDefinition</command:name> <maml:description> <maml:para> Creates a new custom role in Azure RBAC. It uses either a JSON role definition file or a PSRoleDefinition object as an input. - Use the Get-AzureRMRoleDefinition command to generate a baseline role definition object and modify it properties as required. Use Get-AzureRMRoleDefinition | ConvertTo-Json command to generate a baseline json role definition file. Use the Get-AzureRMProviderOperation command to list all actions that can be secured using RBAC.</maml:para> + Use the Get-AzureRmRoleDefinition command to generate a baseline role definition object and modify it properties as required. Use Get-AzureRmRoleDefinition | ConvertTo-Json command to generate a baseline json role definition file. Use the Get-AzureRmProviderOperation command to list all actions that can be secured using RBAC.</maml:para> </maml:description> <maml:copyright> <maml:para /> @@ -6709,8 +6709,8 @@ PS C:\&gt;New-AzureRMResourceGroupDeployment -ResourceGroupName ContosoRG01 -Tem <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMRoleDefinition cmdlet creates a new custom role in Azure Role-Based Access Control. Provide a role definition as an input to the cmdlet in the form of a JSON file or a PSRoleDefinition object. The role definition for a new custom role MUST contain the DisplayName, Actions and the AssignableScopes properties. The role definition MAY contain the Description and NotActions property.</maml:para> - <maml:para>Following is a sample json role definition for New-AzureRMRoleDefinition</maml:para> + <maml:para>The New-AzureRmRoleDefinition cmdlet creates a new custom role in Azure Role-Based Access Control. Provide a role definition as an input to the cmdlet in the form of a JSON file or a PSRoleDefinition object. The role definition for a new custom role MUST contain the DisplayName, Actions and the AssignableScopes properties. The role definition MAY contain the Description and NotActions property.</maml:para> + <maml:para>Following is a sample json role definition for New-AzureRmRoleDefinition</maml:para> <maml:para>{ &quot;Name&quot;: &quot;Contoso On-call&quot;, &quot;Description&quot;: &quot;Can monitor all resources and restart virtual machines&quot;, @@ -6723,7 +6723,7 @@ PS C:\&gt;New-AzureRMResourceGroupDeployment -ResourceGroupName ContosoRG01 -Tem </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMRoleDefinition</maml:name> + <maml:name>New-AzureRmRoleDefinition</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0"> <maml:name>InputFile</maml:name> <maml:description> @@ -6740,7 +6740,7 @@ PS C:\&gt;New-AzureRMResourceGroupDeployment -ResourceGroupName ContosoRG01 -Tem </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>New-AzureRMRoleDefinition</maml:name> + <maml:name>New-AzureRmRoleDefinition</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0"> <maml:name>Role</maml:name> <maml:description> @@ -6835,7 +6835,7 @@ PS C:\&gt;New-AzureRMResourceGroupDeployment -ResourceGroupName ContosoRG01 -Tem <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; $roleDef = Get-AzureRMRoleDefinition &quot;Contoso Deployer&quot; + <dev:code>PS C:\&gt; $roleDef = Get-AzureRmRoleDefinition &quot;Contoso Deployer&quot; PS C:\&gt; $roleDef.Id = null PS C:\&gt; $roleDef.Name = &quot;Contoso On-call&quot; PS C:\&gt; $roleDef.Actions.Remove(&quot;Microsoft.Resources/subscriptions/resourceGroups/deployments/*&quot;) @@ -6844,7 +6844,7 @@ PS C:\&gt; $roleDef.Actions.Add(&quot;Microsoft.ClassicCompute/virtualmachines/r PS C:\&gt; $roleDef.Description = &quot;Can monitor all resources and restart virtual machines&quot; PS C:\&gt; $roleDef.AssignableScopes = @(&quot;/subscriptions/eb910d4f-edbf-429b-94F6-d76bae7ff401&quot; , &quot;/subscriptions/a846d197-5eac-45c7-b885-a6227fe6d388&quot;) -PS C:\&gt; New-AzureRMRoleDefinition -Role $roleDef</dev:code> +PS C:\&gt; New-AzureRmRoleDefinition -Role $roleDef</dev:code> <dev:remarks> <maml:para /> <maml:para /> @@ -6864,7 +6864,7 @@ PS C:\&gt; New-AzureRMRoleDefinition -Role $roleDef</dev:code> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; New-AzureRMRoleDefinition -InputFile C:\Temp\roleDefinition.json</dev:code> + <dev:code>PS C:\&gt; New-AzureRmRoleDefinition -InputFile C:\Temp\roleDefinition.json</dev:code> <dev:remarks> <maml:para /> <maml:para /> @@ -6882,19 +6882,19 @@ PS C:\&gt; New-AzureRMRoleDefinition -Role $roleDef</dev:code> </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMProviderOperation</maml:linkText> + <maml:linkText>Get-AzureRmProviderOperation</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMRoleDefinition</maml:linkText> + <maml:linkText>Get-AzureRmRoleDefinition</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMRoleDefinition</maml:linkText> + <maml:linkText>Set-AzureRmRoleDefinition</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMRoleDefinition</maml:linkText> + <maml:linkText>Remove-AzureRmRoleDefinition</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> @@ -6906,7 +6906,7 @@ PS C:\&gt; New-AzureRMRoleDefinition -Role $roleDef</dev:code> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Register-AzureRMResourceProvider</command:name> + <command:name>Register-AzureRmResourceProvider</command:name> <maml:description> <maml:para /> </maml:description> @@ -6922,7 +6922,7 @@ PS C:\&gt; New-AzureRMRoleDefinition -Role $roleDef</dev:code> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Register-AzureRMResourceProvider</maml:name> + <maml:name>Register-AzureRmResourceProvider</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ProviderNamespace</maml:name> <maml:description> @@ -7026,7 +7026,7 @@ PS C:\&gt; New-AzureRMRoleDefinition -Role $roleDef</dev:code> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Register-AzureRMProviderFeature</command:name> + <command:name>Register-AzureRmProviderFeature</command:name> <maml:description> <maml:para /> </maml:description> @@ -7042,7 +7042,7 @@ PS C:\&gt; New-AzureRMRoleDefinition -Role $roleDef</dev:code> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Register-AzureRMProviderFeature</maml:name> + <maml:name>Register-AzureRmProviderFeature</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>FeatureName</maml:name> <maml:description> @@ -7165,7 +7165,7 @@ PS C:\&gt; New-AzureRMRoleDefinition -Role $roleDef</dev:code> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Remove-AzureRMADApplication</command:name> + <command:name>Remove-AzureRmADApplication</command:name> <maml:description> <maml:para>Deletes the azure active directory application.</maml:para> </maml:description> @@ -7182,7 +7182,7 @@ PS C:\&gt; New-AzureRMRoleDefinition -Role $roleDef</dev:code> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMADApplication</maml:name> + <maml:name>Remove-AzureRmADApplication</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ApplicationObjectId</maml:name> <maml:description> @@ -7284,7 +7284,7 @@ PS C:\&gt; New-AzureRMRoleDefinition -Role $roleDef</dev:code> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; Remove-AzureRMADApplication -ApplicationObjectId b4cd1619-80b3-4cfb-9f8f-9f2333425738 -Force</dev:code> + <dev:code>PS C:\&gt; Remove-AzureRmADApplication -ApplicationObjectId b4cd1619-80b3-4cfb-9f8f-9f2333425738 -Force</dev:code> <dev:remarks> <maml:para>Deletes the azure active directory application.</maml:para> <maml:para /> @@ -7302,7 +7302,7 @@ PS C:\&gt; New-AzureRMRoleDefinition -Role $roleDef</dev:code> </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>New-AzureRMADApplication</maml:linkText> + <maml:linkText>New-AzureRmADApplication</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> @@ -7310,7 +7310,7 @@ PS C:\&gt; New-AzureRMRoleDefinition -Role $roleDef</dev:code> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Remove-AzureRMADServicePrincipal</command:name> + <command:name>Remove-AzureRmADServicePrincipal</command:name> <maml:description> <maml:para>Deletes the azure active directory service principal.</maml:para> </maml:description> @@ -7327,7 +7327,7 @@ PS C:\&gt; New-AzureRMRoleDefinition -Role $roleDef</dev:code> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMADServicePrincipal</maml:name> + <maml:name>Remove-AzureRmADServicePrincipal</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ObjectId</maml:name> <maml:description> @@ -7448,7 +7448,7 @@ PS C:\&gt; New-AzureRMRoleDefinition -Role $roleDef</dev:code> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; Remove-AzureRMADServicePrincipal -ObjectId 61b5d8ea-fdc6-40a2-8d5b-ad447c678d45 -Force</dev:code> + <dev:code>PS C:\&gt; Remove-AzureRmADServicePrincipal -ObjectId 61b5d8ea-fdc6-40a2-8d5b-ad447c678d45 -Force</dev:code> <dev:remarks> <maml:para>Deletes the given azure active directory service principal.</maml:para> <maml:para /> @@ -7466,11 +7466,11 @@ PS C:\&gt; New-AzureRMRoleDefinition -Role $roleDef</dev:code> </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>New-AzureRMADServicePrincipal</maml:linkText> + <maml:linkText>New-AzureRmADServicePrincipal</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMADServicePrincipal</maml:linkText> + <maml:linkText>Get-AzureRmADServicePrincipal</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> @@ -7478,7 +7478,7 @@ PS C:\&gt; New-AzureRMRoleDefinition -Role $roleDef</dev:code> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Remove-AzureRMResourceGroup</command:name> + <command:name>Remove-AzureRmResourceGroup</command:name> <maml:description> <maml:para>Deletes a resource group.</maml:para> </maml:description> @@ -7491,11 +7491,11 @@ PS C:\&gt; New-AzureRMRoleDefinition -Role $roleDef</dev:code> </command:details> <maml:description> <maml:para>This is the Description section</maml:para> - <maml:para>The Remove-AzureRMResourceGroup cmdlet deletes a resource group and its resources from your subscription. By default, Remove-AzureRMResourceGroup prompts you for confirmation. To suppress the prompt, use the Force parameter.To delete a resource, but leave the resource group, use the Remove-AzureRMResource cmdlet.</maml:para> + <maml:para>The Remove-AzureRmResourceGroup cmdlet deletes a resource group and its resources from your subscription. By default, Remove-AzureRmResourceGroup prompts you for confirmation. To suppress the prompt, use the Force parameter.To delete a resource, but leave the resource group, use the Remove-AzureRmResource cmdlet.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMResourceGroup</maml:name> + <maml:name>Remove-AzureRmResourceGroup</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>Name</maml:name> <maml:description> @@ -7506,7 +7506,7 @@ PS C:\&gt; New-AzureRMRoleDefinition -Role $roleDef</dev:code> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> - <maml:para>Suppresses the confirmation prompt. By default, Remove-AzureRMResource prompts you to confirm before deleting a resource group.</maml:para> + <maml:para>Suppresses the confirmation prompt. By default, Remove-AzureRmResource prompts you to confirm before deleting a resource group.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> </command:parameter> @@ -7556,7 +7556,7 @@ PS C:\&gt; New-AzureRMRoleDefinition -Role $roleDef</dev:code> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> - <maml:para>Suppresses the confirmation prompt. By default, Remove-AzureRMResource prompts you to confirm before deleting a resource group.</maml:para> + <maml:para>Suppresses the confirmation prompt. By default, Remove-AzureRmResource prompts you to confirm before deleting a resource group.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> @@ -7654,7 +7654,7 @@ PS C:\&gt; New-AzureRMRoleDefinition -Role $roleDef</dev:code> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Remove-AzureRMResourceGroup -Name -ContosoRG01 + <dev:code>PS C:\&gt;Remove-AzureRmResourceGroup -Name -ContosoRG01 Confirm Are you sure you want to remove resource group &apos;ContosoRG01&apos; @@ -7679,10 +7679,10 @@ Are you sure you want to remove resource group &apos;ContosoRG01&apos; <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResourceGroup -Name ContosoRG01 | Remove-AzureRMResourceGroup -Verbose -Force + <dev:code>PS C:\&gt;Get-AzureRmResourceGroup -Name ContosoRG01 | Remove-AzureRmResourceGroup -Verbose -Force VERBOSE: Performing the operation &quot;Removing resource group ...&quot; on target &quot;ContosoRG01&quot;.</dev:code> <dev:remarks> - <maml:para>This command deletes the ContosoRG01 resource group from the subscription. It uses the Get-AzureRMResourceGroup cmdlet to get the resource group and pipes the resource group (by name) to the Remove-AzureRMResourceGroup cmdlet. The Remove-AzureRMResourceGroup command uses the Verbose common parameter to get status information about the operation and the Force parameter to suppress the confirmation prompt.</maml:para> + <maml:para>This command deletes the ContosoRG01 resource group from the subscription. It uses the Get-AzureRmResourceGroup cmdlet to get the resource group and pipes the resource group (by name) to the Remove-AzureRmResourceGroup cmdlet. The Remove-AzureRmResourceGroup command uses the Verbose common parameter to get status information about the operation and the Force parameter to suppress the confirmation prompt.</maml:para> <maml:para /> <maml:para /> <maml:para></maml:para> @@ -7700,7 +7700,7 @@ VERBOSE: Performing the operation &quot;Removing resource group ...&quot; on tar <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResourceGroup | Remove-AzureRMResourceGroup -PassThru + <dev:code>PS C:\&gt;Get-AzureRmResourceGroup | Remove-AzureRmResourceGroup -PassThru Confirm @@ -7720,7 +7720,7 @@ Are you sure you want to remove resource group &apos;ContosoRG02&apos; True</dev:code> <dev:remarks> - <maml:para>This command deletes all resource groups in the subscription. To get all resource groups, it uses a Get-AzureRMResourceGroup command with no parameters. Then, it pipes the resource groups to the Remove-AzureRMResourceGroup cmdlet. The Remove-AzureRMResourceGroup command uses the Passthru parameter. As a result, the cmdlet returns a value of $True for each operation that succeeds.</maml:para> + <maml:para>This command deletes all resource groups in the subscription. To get all resource groups, it uses a Get-AzureRmResourceGroup command with no parameters. Then, it pipes the resource groups to the Remove-AzureRmResourceGroup cmdlet. The Remove-AzureRmResourceGroup command uses the Passthru parameter. As a result, the cmdlet returns a value of $True for each operation that succeeds.</maml:para> <maml:para /> <maml:para /> <maml:para></maml:para> @@ -7744,7 +7744,7 @@ True</dev:code> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Remove-AzureRMRoleAssignment</command:name> + <command:name>Remove-AzureRmRoleAssignment</command:name> <maml:description> <maml:para>Removes a role assignment.</maml:para> </maml:description> @@ -7761,7 +7761,7 @@ True</dev:code> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMRoleAssignment</maml:name> + <maml:name>Remove-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ObjectId</maml:name> <maml:description> @@ -7834,7 +7834,7 @@ True</dev:code> </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMRoleAssignment</maml:name> + <maml:name>Remove-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ObjectId</maml:name> <maml:description> @@ -7900,7 +7900,7 @@ True</dev:code> </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMRoleAssignment</maml:name> + <maml:name>Remove-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ObjectId</maml:name> <maml:description> @@ -7945,7 +7945,7 @@ True</dev:code> </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMRoleAssignment</maml:name> + <maml:name>Remove-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ObjectId</maml:name> <maml:description> @@ -7990,7 +7990,7 @@ True</dev:code> </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMRoleAssignment</maml:name> + <maml:name>Remove-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ObjectId</maml:name> <maml:description> @@ -8028,7 +8028,7 @@ True</dev:code> </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMRoleAssignment</maml:name> + <maml:name>Remove-AzureRmRoleAssignment</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Mail</maml:name> <maml:description> @@ -8073,7 +8073,7 @@ True</dev:code> </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMRoleAssignment</maml:name> + <maml:name>Remove-AzureRmRoleAssignment</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Mail</maml:name> <maml:description> @@ -8139,7 +8139,7 @@ True</dev:code> </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMRoleAssignment</maml:name> + <maml:name>Remove-AzureRmRoleAssignment</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Mail</maml:name> <maml:description> @@ -8184,7 +8184,7 @@ True</dev:code> </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMRoleAssignment</maml:name> + <maml:name>Remove-AzureRmRoleAssignment</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Mail</maml:name> <maml:description> @@ -8222,7 +8222,7 @@ True</dev:code> </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMRoleAssignment</maml:name> + <maml:name>Remove-AzureRmRoleAssignment</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>UserPrincipalName</maml:name> <maml:description> @@ -8260,7 +8260,7 @@ True</dev:code> </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMRoleAssignment</maml:name> + <maml:name>Remove-AzureRmRoleAssignment</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>UserPrincipalName</maml:name> <maml:description> @@ -8305,7 +8305,7 @@ True</dev:code> </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMRoleAssignment</maml:name> + <maml:name>Remove-AzureRmRoleAssignment</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>UserPrincipalName</maml:name> <maml:description> @@ -8371,7 +8371,7 @@ True</dev:code> </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMRoleAssignment</maml:name> + <maml:name>Remove-AzureRmRoleAssignment</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>UserPrincipalName</maml:name> <maml:description> @@ -8416,7 +8416,7 @@ True</dev:code> </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMRoleAssignment</maml:name> + <maml:name>Remove-AzureRmRoleAssignment</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ServicePrincipalName</maml:name> <maml:description> @@ -8461,7 +8461,7 @@ True</dev:code> </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMRoleAssignment</maml:name> + <maml:name>Remove-AzureRmRoleAssignment</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ServicePrincipalName</maml:name> <maml:description> @@ -8527,7 +8527,7 @@ True</dev:code> </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMRoleAssignment</maml:name> + <maml:name>Remove-AzureRmRoleAssignment</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ServicePrincipalName</maml:name> <maml:description> @@ -8572,7 +8572,7 @@ True</dev:code> </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMRoleAssignment</maml:name> + <maml:name>Remove-AzureRmRoleAssignment</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ServicePrincipalName</maml:name> <maml:description> @@ -8610,7 +8610,7 @@ True</dev:code> </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMRoleAssignment</maml:name> + <maml:name>Remove-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ResourceName</maml:name> <maml:description> @@ -8662,7 +8662,7 @@ True</dev:code> </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMRoleAssignment</maml:name> + <maml:name>Remove-AzureRmRoleAssignment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Scope</maml:name> <maml:description> @@ -8898,7 +8898,7 @@ True</dev:code> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; Remove-AzureRMRoleAssignment -ResourceGroupName rg1 -UPN foo@domain.com -RoleDefinitionName Reader</dev:code> + <dev:code>PS C:\&gt; Remove-AzureRmRoleAssignment -ResourceGroupName rg1 -UPN foo@domain.com -RoleDefinitionName Reader</dev:code> <dev:remarks> <maml:para>Removes a role assignment for principal in a resource group that have Reader role definition</maml:para> <maml:para /> @@ -8916,15 +8916,15 @@ True</dev:code> </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>New-AzureRMRoleAssignment</maml:linkText> + <maml:linkText>New-AzureRmRoleAssignment</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMRoleAssignment</maml:linkText> + <maml:linkText>Get-AzureRmRoleAssignment</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMRoleDefinition</maml:linkText> + <maml:linkText>Get-AzureRmRoleDefinition</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> @@ -8932,9 +8932,9 @@ True</dev:code> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Remove-AzureRMRoleDefinition</command:name> + <command:name>Remove-AzureRmRoleDefinition</command:name> <maml:description> - <maml:para>Deletes an existing custom role definition in Azure RBAC. The role definition to delete is provided using the Id property of the role definition. Use Get-AzureRMRoleDefinition to determine the role definition to be deleted.</maml:para> + <maml:para>Deletes an existing custom role definition in Azure RBAC. The role definition to delete is provided using the Id property of the role definition. Use Get-AzureRmRoleDefinition to determine the role definition to be deleted.</maml:para> </maml:description> <maml:copyright> <maml:para /> @@ -8945,11 +8945,11 @@ True</dev:code> </command:details> <maml:description> <maml:para> - The Remove-AzureRMRoleDefinition cmdlet deletes a custom role definition in Azure Role-Based Access Control. Provide the Id parameter of an existing custom role to delete that custom role. By default, Remove-AzureRMRoleDefinition prompts you for confirmation. To suppress the prompt, use the Force parameter. If there are existing role assignments made to the custom role to be deleted, the delete will fail.</maml:para> + The Remove-AzureRmRoleDefinition cmdlet deletes a custom role definition in Azure Role-Based Access Control. Provide the Id parameter of an existing custom role to delete that custom role. By default, Remove-AzureRmRoleDefinition prompts you for confirmation. To suppress the prompt, use the Force parameter. If there are existing role assignments made to the custom role to be deleted, the delete will fail.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMRoleDefinition</maml:name> + <maml:name>Remove-AzureRmRoleDefinition</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Id</maml:name> <maml:description> @@ -9070,7 +9070,7 @@ True</dev:code> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>Remove-AzureRMRoleDefinition -Id &quot;/subscriptions/eb910d4f-edbf-429b-94F6-d76bae7ff401/providers/Microsoft.Authorization/roleDefinitions/52a6cc13-ff92-47a8-a39b-2a8205c3087e&quot;</dev:code> + <dev:code>Remove-AzureRmRoleDefinition -Id &quot;/subscriptions/eb910d4f-edbf-429b-94F6-d76bae7ff401/providers/Microsoft.Authorization/roleDefinitions/52a6cc13-ff92-47a8-a39b-2a8205c3087e&quot;</dev:code> <dev:remarks> <maml:para /> <maml:para /> @@ -9088,15 +9088,15 @@ True</dev:code> </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>New-AzureRMRoleDefinition</maml:linkText> + <maml:linkText>New-AzureRmRoleDefinition</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMRoleDefinition</maml:linkText> + <maml:linkText>Get-AzureRmRoleDefinition</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMRoleDefinition</maml:linkText> + <maml:linkText>Set-AzureRmRoleDefinition</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> @@ -9108,7 +9108,7 @@ True</dev:code> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Save-AzureRMResourceGroupGalleryTemplate</command:name> + <command:name>Save-AzureRmResourceGroupGalleryTemplate</command:name> <maml:description> <maml:para>Saves a gallery template to a JSON file</maml:para> </maml:description> @@ -9121,11 +9121,11 @@ True</dev:code> </command:details> <maml:description> <maml:para>This is the Description section</maml:para> - <maml:para>The Save-AzureRMResourceGroupGalleryTemplate cmdlet saves a template from the Azure template gallery as a JSON file on disk and returns the path to the saved file. You can to use the template to create Azure resource groups and deploymentsA resource is a user-managed entity, such as a website, database server, or database. A resource group is a collection of resources that are deployed as a unit. You can create resources individually and add them to resource groups. However, typically, you create a resource group by using a template.A template is a JSON string that defines a resource group for a complex entity, such as a web hosting site or web portal. The template defines the resources that are typically needed for the entity, such as websites, databases, and storage accounts, and includes parameters for user-defined values, such as the names and properties of the resources. To get a resource group template, use the Get-AzureRMResourceGroupGalleryTemplate cmdlet to get a gallery template and then use the Save-AzureRMResourceGroupGalleryTemplate cmdlet to save the template as a JSON file. Or, you can create your own templates, either from scratch or by editing a gallery template. To verify the syntax of a template, use the Test-AzureResourceGroupTemplate cmdlet.To use a template to create a resource group, use the New-AzureRMResourceGroup or New-AzureRMResourceGroupDeployment cmdlets. Just identify the template and provide values for its parameters.</maml:para> + <maml:para>The Save-AzureRmResourceGroupGalleryTemplate cmdlet saves a template from the Azure template gallery as a JSON file on disk and returns the path to the saved file. You can to use the template to create Azure resource groups and deploymentsA resource is a user-managed entity, such as a website, database server, or database. A resource group is a collection of resources that are deployed as a unit. You can create resources individually and add them to resource groups. However, typically, you create a resource group by using a template.A template is a JSON string that defines a resource group for a complex entity, such as a web hosting site or web portal. The template defines the resources that are typically needed for the entity, such as websites, databases, and storage accounts, and includes parameters for user-defined values, such as the names and properties of the resources. To get a resource group template, use the Get-AzureRmResourceGroupGalleryTemplate cmdlet to get a gallery template and then use the Save-AzureRmResourceGroupGalleryTemplate cmdlet to save the template as a JSON file. Or, you can create your own templates, either from scratch or by editing a gallery template. To verify the syntax of a template, use the Test-AzureResourceGroupTemplate cmdlet.To use a template to create a resource group, use the New-AzureRmResourceGroup or New-AzureRmResourceGroupDeployment cmdlets. Just identify the template and provide values for its parameters.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Save-AzureRMResourceGroupGalleryTemplate</maml:name> + <maml:name>Save-AzureRmResourceGroupGalleryTemplate</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>Identity</maml:name> <maml:description> @@ -9143,7 +9143,7 @@ True</dev:code> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Force</maml:name> <maml:description> - <maml:para>Suppresses the confirmation prompt. By default, if you specify a path and file name that already exists, Save-AzureRMResourceGroupGalleryTemplate prompts before overwriting the file.</maml:para> + <maml:para>Suppresses the confirmation prompt. By default, if you specify a path and file name that already exists, Save-AzureRmResourceGroupGalleryTemplate prompts before overwriting the file.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> </command:parameter> @@ -9184,7 +9184,7 @@ True</dev:code> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Force</maml:name> <maml:description> - <maml:para>Suppresses the confirmation prompt. By default, if you specify a path and file name that already exists, Save-AzureRMResourceGroupGalleryTemplate prompts before overwriting the file.</maml:para> + <maml:para>Suppresses the confirmation prompt. By default, if you specify a path and file name that already exists, Save-AzureRmResourceGroupGalleryTemplate prompts before overwriting the file.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> @@ -9246,7 +9246,7 @@ True</dev:code> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Save-AzureRMResourceGroupGalleryTemplate -Identity Microsoft.WebSite.0.1.0-preview1 + <dev:code>PS C:\&gt;Save-AzureRmResourceGroupGalleryTemplate -Identity Microsoft.WebSite.0.1.0-preview1 Path: C:\ Microsoft.WebSite.0.1.0-preview1.json</dev:code> @@ -9269,12 +9269,12 @@ C:\ Microsoft.WebSite.0.1.0-preview1.json</dev:code> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResourceGroupGalleryTemplate -Identity Microsoft.WebSite.0.1.0-preview1 | Save-AzureRMResourceGroupGalleryTemplate -Path $home\Documents\MyTemplates + <dev:code>PS C:\&gt;Get-AzureRmResourceGroupGalleryTemplate -Identity Microsoft.WebSite.0.1.0-preview1 | Save-AzureRmResourceGroupGalleryTemplate -Path $home\Documents\MyTemplates Path C:\Users\User01\Documents\MyTemplates\ Microsoft.WebSite.0.1.0-preview1.json</dev:code> <dev:remarks> - <maml:para>This command pipes the Microsoft.WebSite.0.1.0-preview1 gallery item from the Get-AzureRMResourceGroupGalleryTemplate cmdlet to the Save-AzureRMResourceGroupGalleryTemplate cmdlet. The command uses the Path parameter to save the JSON template in an alternate directory. Because the command uses the Passthru parameter, the cmdlet returns True to indicate that the save operation succeeded.</maml:para> + <maml:para>This command pipes the Microsoft.WebSite.0.1.0-preview1 gallery item from the Get-AzureRmResourceGroupGalleryTemplate cmdlet to the Save-AzureRmResourceGroupGalleryTemplate cmdlet. The command uses the Path parameter to save the JSON template in an alternate directory. Because the command uses the Passthru parameter, the cmdlet returns True to indicate that the save operation succeeded.</maml:para> <maml:para /> <maml:para /> <maml:para></maml:para> @@ -9292,19 +9292,19 @@ C:\Users\User01\Documents\MyTemplates\ Microsoft.WebSite.0.1.0-preview1.json</de <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; The first command uses the Save-AzureRMResourceGalleryTemplate cmdlet to save a template to disk. The cmdlet returns the path to the JSON file. -PS C:\&gt;Save-AzureRMResourceGroupGalleryTemplate -Identity TechInfoSystems.GalleryServerPro.0.1.0-preview1 -Path $home\Documents\MyTemplates + <dev:code>PS C:\&gt; The first command uses the Save-AzureRmResourceGalleryTemplate cmdlet to save a template to disk. The cmdlet returns the path to the JSON file. +PS C:\&gt;Save-AzureRmResourceGroupGalleryTemplate -Identity TechInfoSystems.GalleryServerPro.0.1.0-preview1 -Path $home\Documents\MyTemplates Path C:\Users\User01\Documents\MyTemplates\TechInfoSystems.GalleryServerPro.0.1.0-preview1.json -The second command uses the New-AzureRMResourceGroup cmdlet to create a new resource group based on the template. To specify the saved template, the command uses the TemplateFile parameter, which takes a path to a JSON file on disk. To specify the template parameters, the command uses the TemplateParameterFile parameter, which takes a path to a JSON file of parameters and parameter values.The command returns the newly created resource group. -PS C:\&gt;New-AzureRMResourceGroup -Name ContosoRG02 -Location &apos;South Central US&apos; -DeploymentName DeployWeb1 –StorageAccountName contosostorage01 -TemplateFile $home\Documents\MyTemplates\TechInfoSystems.GalleryServerPro.0.1.0-preview1.json -TemplateParameterFile $home\Documents\MyTemplates\TechInfoParameters.json</dev:code> +The second command uses the New-AzureRmResourceGroup cmdlet to create a new resource group based on the template. To specify the saved template, the command uses the TemplateFile parameter, which takes a path to a JSON file on disk. To specify the template parameters, the command uses the TemplateParameterFile parameter, which takes a path to a JSON file of parameters and parameter values.The command returns the newly created resource group. +PS C:\&gt;New-AzureRmResourceGroup -Name ContosoRG02 -Location &apos;South Central US&apos; -DeploymentName DeployWeb1 –StorageAccountName contosostorage01 -TemplateFile $home\Documents\MyTemplates\TechInfoSystems.GalleryServerPro.0.1.0-preview1.json -TemplateParameterFile $home\Documents\MyTemplates\TechInfoParameters.json</dev:code> <dev:remarks> <maml:para>This example shows how to use a saved gallery template to create a new resource group.</maml:para> <maml:para /> <maml:para /> - <maml:para>It&apos;s often useful to save a gallery template to disk before using it to create a resource group or a deployment. This gives you the opportunity to review the template and the resources that it creates and to determine that values that you will use for the parameters. But, you do not need to save a gallery template before using it to create a resource group. To use a gallery template without saving it, use the GalleryTemplateIdentity parameter of the New-AzureRMResourceGroup or New-AzureRMResourceGroupDeployment cmdlets.</maml:para> + <maml:para>It&apos;s often useful to save a gallery template to disk before using it to create a resource group or a deployment. This gives you the opportunity to review the template and the resources that it creates and to determine that values that you will use for the parameters. But, you do not need to save a gallery template before using it to create a resource group. To use a gallery template without saving it, use the GalleryTemplateIdentity parameter of the New-AzureRmResourceGroup or New-AzureRmResourceGroupDeployment cmdlets.</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> @@ -9325,7 +9325,7 @@ PS C:\&gt;New-AzureRMResourceGroup -Name ContosoRG02 -Location &apos;South Centr <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Set-AzureRMResourceGroup</command:name> + <command:name>Set-AzureRmResourceGroup</command:name> <maml:description> <maml:para>Changes the properties of a resource group</maml:para> </maml:description> @@ -9338,11 +9338,11 @@ PS C:\&gt;New-AzureRMResourceGroup -Name ContosoRG02 -Location &apos;South Centr </command:details> <maml:description> <maml:para>This is the Description section</maml:para> - <maml:para>The Set-AzureRMResourceGroup cmdlet changes the properties of a resource group. You can use this cmdlet to add, change, or delete the Azure tags applied to a resource group. Use the Name parameter to identify the resource group and the Tag parameter to change the tags. You cannot use this cmdlet to change the name of a resource group.</maml:para> + <maml:para>The Set-AzureRmResourceGroup cmdlet changes the properties of a resource group. You can use this cmdlet to add, change, or delete the Azure tags applied to a resource group. Use the Name parameter to identify the resource group and the Tag parameter to change the tags. You cannot use this cmdlet to change the name of a resource group.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMResourceGroup</maml:name> + <maml:name>Set-AzureRmResourceGroup</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>Name</maml:name> <maml:description> @@ -9353,7 +9353,7 @@ PS C:\&gt;New-AzureRMResourceGroup -Name ContosoRG02 -Location &apos;South Centr <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> <maml:name>Tag</maml:name> <maml:description> - <maml:para>Replaces the tags for the resource group with the specified tags. To add or change a single tag, you must replace the collection of tags for the resource group.A &quot;tag&quot; is a name-value pair that you can create and apply to resources and resource groups. After you assign tags to resources and groups, you can use the Tag parameters of Get-AzureRMResource and Get-AzureRMResourceGroup to search for resources and groups by tag name or name and value. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources.Each tag must have a Name key. It can also have an optional Value key with one value. To specify a tag, use a hash table, such as @{Name=&quot;FY2015&quot;} or @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name=&quot;FY2015&quot;}, @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}.To delete a tag, enter a hash table with all tags currently applied to the resource group (from Get-AzureRMResourceGroup), except for the tag you want to delete. To delete all tags from a resource group, enter an empty hash table (-Tag @{}).</maml:para> + <maml:para>Replaces the tags for the resource group with the specified tags. To add or change a single tag, you must replace the collection of tags for the resource group.A &quot;tag&quot; is a name-value pair that you can create and apply to resources and resource groups. After you assign tags to resources and groups, you can use the Tag parameters of Get-AzureRmResource and Get-AzureRmResourceGroup to search for resources and groups by tag name or name and value. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources.Each tag must have a Name key. It can also have an optional Value key with one value. To specify a tag, use a hash table, such as @{Name=&quot;FY2015&quot;} or @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name=&quot;FY2015&quot;}, @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}.To delete a tag, enter a hash table with all tags currently applied to the resource group (from Get-AzureRmResourceGroup), except for the tag you want to delete. To delete all tags from a resource group, enter an empty hash table (-Tag @{}).</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">Hashtable[]</command:parameterValue> </command:parameter> @@ -9382,7 +9382,7 @@ PS C:\&gt;New-AzureRMResourceGroup -Name ContosoRG02 -Location &apos;South Centr <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> <maml:name>Tag</maml:name> <maml:description> - <maml:para>Replaces the tags for the resource group with the specified tags. To add or change a single tag, you must replace the collection of tags for the resource group.A &quot;tag&quot; is a name-value pair that you can create and apply to resources and resource groups. After you assign tags to resources and groups, you can use the Tag parameters of Get-AzureRMResource and Get-AzureRMResourceGroup to search for resources and groups by tag name or name and value. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources.Each tag must have a Name key. It can also have an optional Value key with one value. To specify a tag, use a hash table, such as @{Name=&quot;FY2015&quot;} or @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name=&quot;FY2015&quot;}, @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}.To delete a tag, enter a hash table with all tags currently applied to the resource group (from Get-AzureRMResourceGroup), except for the tag you want to delete. To delete all tags from a resource group, enter an empty hash table (-Tag @{}).</maml:para> + <maml:para>Replaces the tags for the resource group with the specified tags. To add or change a single tag, you must replace the collection of tags for the resource group.A &quot;tag&quot; is a name-value pair that you can create and apply to resources and resource groups. After you assign tags to resources and groups, you can use the Tag parameters of Get-AzureRmResource and Get-AzureRmResourceGroup to search for resources and groups by tag name or name and value. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources.Each tag must have a Name key. It can also have an optional Value key with one value. To specify a tag, use a hash table, such as @{Name=&quot;FY2015&quot;} or @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name=&quot;FY2015&quot;}, @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}.To delete a tag, enter a hash table with all tags currently applied to the resource group (from Get-AzureRmResourceGroup), except for the tag you want to delete. To delete all tags from a resource group, enter an empty hash table (-Tag @{}).</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">Hashtable[]</command:parameterValue> <dev:type> @@ -9444,7 +9444,7 @@ PS C:\&gt;New-AzureRMResourceGroup -Name ContosoRG02 -Location &apos;South Centr <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Set-AzureRMResourceGroup -Name ContosoRG -Tag @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}</dev:code> + <dev:code>PS C:\&gt;Set-AzureRmResourceGroup -Name ContosoRG -Tag @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}</dev:code> <dev:remarks> <maml:para>This command applies a &quot;Department&quot; tag with a value of &quot;IT&quot; to a resource group that has no existing tags.</maml:para> <maml:para /> @@ -9464,7 +9464,7 @@ PS C:\&gt;New-AzureRMResourceGroup -Name ContosoRG02 -Location &apos;South Centr <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;$tags = (Get-AzureRMResourceGroup -Name ContosoRG).Tags + <dev:code>PS C:\&gt;$tags = (Get-AzureRmResourceGroup -Name ContosoRG).Tags PS C:\&gt;$tags @@ -9478,9 +9478,9 @@ Tags: PS C:\&gt;$tags += @{Name=&quot;Status&quot;;Value=&quot;Approved&quot;}, @{Name=&quot;FY2016&quot;} -PS C:\&gt;Set-AzureRMResourceGroup -Name ContosoRG -Tag $tags +PS C:\&gt;Set-AzureRmResourceGroup -Name ContosoRG -Tag $tags -PS C:&gt;(Get-AzureRMResourceGroup -Name ContosoRG).Tags +PS C:&gt;(Get-AzureRmResourceGroup -Name ContosoRG).Tags Tags: @@ -9494,7 +9494,7 @@ Tags: <maml:para>This command adds a &quot;Status&quot; tag with a value of &quot;Approved&quot; and an &quot;FY2016&quot; tag to a resource group that has existing tags. Because the tags you specify replace the existing tags, you must include the existing tags in the new tag collection or you will lose them.</maml:para> <maml:para /> <maml:para /> - <maml:para>The first command gets all existing tags of the ContosoRG resource group. It uses the Get-AzureRMResourceGroup cmdlet to get the ContosoRG resource group and then uses the dot method to get the value of its Tags property. It saves the existing tags in a $tags variable.The second command gets the tags in the $tags variable.The third command uses a &quot;+=&quot; operator to add the Status and FY2016 tags to the collection (array) of tags in the $tags variable.The fourth command uses the Tag parameter of Set-AzureRMResourceGroup to apply the tags in the $tags variable to the ContosoRG resource group.The fifth command shows the effect of the change. It gets all of the tags applied to the ContosoRG resource group. The output shows that the resource group has the Department tag and the two new tags, Status and FY2015.</maml:para> + <maml:para>The first command gets all existing tags of the ContosoRG resource group. It uses the Get-AzureRmResourceGroup cmdlet to get the ContosoRG resource group and then uses the dot method to get the value of its Tags property. It saves the existing tags in a $tags variable.The second command gets the tags in the $tags variable.The third command uses a &quot;+=&quot; operator to add the Status and FY2016 tags to the collection (array) of tags in the $tags variable.The fourth command uses the Tag parameter of Set-AzureRmResourceGroup to apply the tags in the $tags variable to the ContosoRG resource group.The fifth command shows the effect of the change. It gets all of the tags applied to the ContosoRG resource group. The output shows that the resource group has the Department tag and the two new tags, Status and FY2015.</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> @@ -9509,7 +9509,7 @@ Tags: <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Set-AzureRMResourceGroup -Name ContosoRG -Tag @{}</dev:code> + <dev:code>PS C:\&gt;Set-AzureRmResourceGroup -Name ContosoRG -Tag @{}</dev:code> <dev:remarks> <maml:para>This command deletes all tags from the ContosoRG resource group. It uses the Tag parameter with an empty hash table value.</maml:para> <maml:para /> @@ -9535,11 +9535,11 @@ Tags: <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Set-AzureRMRoleDefinition</command:name> + <command:name>Set-AzureRmRoleDefinition</command:name> <maml:description> <maml:para> Updates a custom role in Azure RBAC. the updated role definition is provided using either a JSON role definition file or a PSRoleDefinition object as input. - Use the Get-AzureRMRoleDefinition command to get a custom role definition object whose properties you can modify as required. Use Get-AzureRMRoleDefinition | ConvertTo-Json command to export the custom role that needs to be updated, into a JSON file, that you can modify. Use the Get-AzureRMProviderOperation command to list all actions in Azure that can be secured using RBAC.</maml:para> + Use the Get-AzureRmRoleDefinition command to get a custom role definition object whose properties you can modify as required. Use Get-AzureRmRoleDefinition | ConvertTo-Json command to export the custom role that needs to be updated, into a JSON file, that you can modify. Use the Get-AzureRmProviderOperation command to list all actions in Azure that can be secured using RBAC.</maml:para> </maml:description> <maml:copyright> <maml:para /> @@ -9549,8 +9549,8 @@ Tags: <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMRoleDefinition cmdlet updates an existing custom role in Azure Role-Based Access Control. Provide the updated role definition as an input to the cmdlet in the form of a JSON file or a PSRoleDefinition object. The role definition for the updated custom role MUST contain the Id property. The role definition SHOULD contain at least one property that is being updated: DisplayName, Description, Actions, NotActions, AssignableScopes</maml:para> - <maml:para>Following is a sample updated role definition json for Set-AzureRMRoleDefinition</maml:para> + <maml:para>The Set-AzureRmRoleDefinition cmdlet updates an existing custom role in Azure Role-Based Access Control. Provide the updated role definition as an input to the cmdlet in the form of a JSON file or a PSRoleDefinition object. The role definition for the updated custom role MUST contain the Id property. The role definition SHOULD contain at least one property that is being updated: DisplayName, Description, Actions, NotActions, AssignableScopes</maml:para> + <maml:para>Following is a sample updated role definition json for Set-AzureRmRoleDefinition</maml:para> <maml:para> { &quot;Id&quot;: &quot;/subscriptions/eb910d4f-edbf-429b-94F6-d76bae7ff401/providers/Microsoft.Authorization/roleDefinitions/52a6cc13-ff92-47a8-a39b-2a8205c3087e&quot;, @@ -9564,7 +9564,7 @@ Tags: </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMRoleDefinition</maml:name> + <maml:name>Set-AzureRmRoleDefinition</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>InputFile</maml:name> <maml:description> @@ -9581,7 +9581,7 @@ Tags: </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMRoleDefinition</maml:name> + <maml:name>Set-AzureRmRoleDefinition</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Role</maml:name> <maml:description> @@ -9676,12 +9676,12 @@ Tags: <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; $roleDef = Get-AzureRMRoleDefinition &quot;Contoso On-Call&quot; + <dev:code>PS C:\&gt; $roleDef = Get-AzureRmRoleDefinition &quot;Contoso On-Call&quot; PS C:\&gt; $roleDef.Actions.Add(&quot;Microsoft.ClassicCompute/virtualmachines/start/action&quot;) PS C:\&gt; $roleDef.Description = &quot;Can monitor all resources and start and restart virtual machines&quot; PS C:\&gt; $roleDef.AssignableScopes = @(&quot;/subscriptions/eb910d4f-edbf-429b-94F6-d76bae7ff401&quot; , &quot;/subscriptions/a846d197-5eac-45c7-b885-a6227fe6d388&quot;) -PS C:\&gt; New-AzureRMRoleDefinition -Role $roleDef</dev:code> +PS C:\&gt; New-AzureRmRoleDefinition -Role $roleDef</dev:code> <dev:remarks> <maml:para /> <maml:para /> @@ -9701,7 +9701,7 @@ PS C:\&gt; New-AzureRMRoleDefinition -Role $roleDef</dev:code> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; Set-AzureRMRoleDefinition -InputFile C:\Temp\roleDefinition.json</dev:code> + <dev:code>PS C:\&gt; Set-AzureRmRoleDefinition -InputFile C:\Temp\roleDefinition.json</dev:code> <dev:remarks> <maml:para /> <maml:para /> @@ -9719,19 +9719,19 @@ PS C:\&gt; New-AzureRMRoleDefinition -Role $roleDef</dev:code> </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMProviderOperation</maml:linkText> + <maml:linkText>Get-AzureRmProviderOperation</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMRoleDefinition</maml:linkText> + <maml:linkText>Get-AzureRmRoleDefinition</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMRoleDefinition</maml:linkText> + <maml:linkText>New-AzureRmRoleDefinition</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMRoleDefinition</maml:linkText> + <maml:linkText>Remove-AzureRmRoleDefinition</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> @@ -9743,7 +9743,7 @@ PS C:\&gt; New-AzureRMRoleDefinition -Role $roleDef</dev:code> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Stop-AzureRMResourceGroupDeployment</command:name> + <command:name>Stop-AzureRmResourceGroupDeployment</command:name> <maml:description> <maml:para>Cancels a resource group deployment</maml:para> </maml:description> @@ -9756,11 +9756,11 @@ PS C:\&gt; New-AzureRMRoleDefinition -Role $roleDef</dev:code> </command:details> <maml:description> <maml:para>This is the Description section</maml:para> - <maml:para>The Stop-AzureRMResourceGroupDeployment cmdlet cancels an Azure resource group deployment that is started, but not completed. To stop a deployment, the deployment must have an incomplete provisioning state, such as Provisioning, and not a completed state, such as Provisioned or Failed.An Azure resource is a user-managed entity, such as a website, database, or database server. A resource group is a collection of resources that are deployed as a unit. To deploy a resource group, use the New-AzureRMResourceGroup or New-AzureRMResourceGroupDeployment cmdlets. The New-AzureRMResource cmdlet creates a new resource, but it does not trigger a resource group deployment operation that this cmdlet can stop.This cmdlet stops only one running deployment. Use the Name parameter to stop a particular deployment. If you omit the Name parameter, Stop-AzureRMResourceGroupDeployment searches for a running deployment and stops it, but if it finds more than one running deployment, the command fails.By default, Stop-AzureRMResourceGroupDeployment prompts you for confirmation. To suppress the prompt, use the Force parameter.</maml:para> + <maml:para>The Stop-AzureRmResourceGroupDeployment cmdlet cancels an Azure resource group deployment that is started, but not completed. To stop a deployment, the deployment must have an incomplete provisioning state, such as Provisioning, and not a completed state, such as Provisioned or Failed.An Azure resource is a user-managed entity, such as a website, database, or database server. A resource group is a collection of resources that are deployed as a unit. To deploy a resource group, use the New-AzureRmResourceGroup or New-AzureRmResourceGroupDeployment cmdlets. The New-AzureRmResource cmdlet creates a new resource, but it does not trigger a resource group deployment operation that this cmdlet can stop.This cmdlet stops only one running deployment. Use the Name parameter to stop a particular deployment. If you omit the Name parameter, Stop-AzureRmResourceGroupDeployment searches for a running deployment and stops it, but if it finds more than one running deployment, the command fails.By default, Stop-AzureRmResourceGroupDeployment prompts you for confirmation. To suppress the prompt, use the Force parameter.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Stop-AzureRMResourceGroupDeployment</maml:name> + <maml:name>Stop-AzureRmResourceGroupDeployment</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -9771,14 +9771,14 @@ PS C:\&gt; New-AzureRMRoleDefinition -Role $roleDef</dev:code> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> <maml:name>Name</maml:name> <maml:description> - <maml:para>Stops the specified deployment. Enter the deployment name. This parameter is optional.Without this parameter, Stop-AzureRMResourceGroupDeployment searches for a running deployment in the resource group and stops it, but if it finds more than one running deployment, the command fails.You can use -Name or its alias, -DeploymentName.To find the deployment name, use the Get-AzureRMResourceGroupDeployment cmdlet.</maml:para> + <maml:para>Stops the specified deployment. Enter the deployment name. This parameter is optional.Without this parameter, Stop-AzureRmResourceGroupDeployment searches for a running deployment in the resource group and stops it, but if it finds more than one running deployment, the command fails.You can use -Name or its alias, -DeploymentName.To find the deployment name, use the Get-AzureRmResourceGroupDeployment cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> <maml:name>Force</maml:name> <maml:description> - <maml:para>Suppresses the confirmation prompt. By default, Stop-AzureRMResourceGroupDeployment prompts you before stopping a deployment.</maml:para> + <maml:para>Suppresses the confirmation prompt. By default, Stop-AzureRmResourceGroupDeployment prompts you before stopping a deployment.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> </command:parameter> @@ -9814,7 +9814,7 @@ PS C:\&gt; New-AzureRMRoleDefinition -Role $roleDef</dev:code> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> <maml:name>Name</maml:name> <maml:description> - <maml:para>Stops the specified deployment. Enter the deployment name. This parameter is optional.Without this parameter, Stop-AzureRMResourceGroupDeployment searches for a running deployment in the resource group and stops it, but if it finds more than one running deployment, the command fails.You can use -Name or its alias, -DeploymentName.To find the deployment name, use the Get-AzureRMResourceGroupDeployment cmdlet.</maml:para> + <maml:para>Stops the specified deployment. Enter the deployment name. This parameter is optional.Without this parameter, Stop-AzureRmResourceGroupDeployment searches for a running deployment in the resource group and stops it, but if it finds more than one running deployment, the command fails.You can use -Name or its alias, -DeploymentName.To find the deployment name, use the Get-AzureRmResourceGroupDeployment cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -9826,7 +9826,7 @@ PS C:\&gt; New-AzureRMRoleDefinition -Role $roleDef</dev:code> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> <maml:name>Force</maml:name> <maml:description> - <maml:para>Suppresses the confirmation prompt. By default, Stop-AzureRMResourceGroupDeployment prompts you before stopping a deployment.</maml:para> + <maml:para>Suppresses the confirmation prompt. By default, Stop-AzureRmResourceGroupDeployment prompts you before stopping a deployment.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> @@ -9900,14 +9900,14 @@ PS C:\&gt; New-AzureRMRoleDefinition -Role $roleDef</dev:code> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;New-AzureRMResourceGroup -ResourceGroupName ContosoRG01 -GalleryTemplateName WebHosting -TemplateParameterFile .\HostingTemplateValues + <dev:code>PS C:\&gt;New-AzureRmResourceGroup -ResourceGroupName ContosoRG01 -GalleryTemplateName WebHosting -TemplateParameterFile .\HostingTemplateValues -PS C:\&gt;Stop-AzureRMResourceGroupDeployment -ResourceGroupName ContosoRG01 -Force</dev:code> +PS C:\&gt;Stop-AzureRmResourceGroupDeployment -ResourceGroupName ContosoRG01 -Force</dev:code> <dev:remarks> - <maml:para>This example shows how to use the Stop-AzureRMResourceGroupDeployment command to stop a deployment in progress. The first command uses the New-AzureRMResourceGroup cmdlet to create and deploy a new resource group.</maml:para> + <maml:para>This example shows how to use the Stop-AzureRmResourceGroupDeployment command to stop a deployment in progress. The first command uses the New-AzureRmResourceGroup cmdlet to create and deploy a new resource group.</maml:para> <maml:para /> <maml:para /> - <maml:para>Immediately after pressing enter, you remember that you need to get manager approval before deploying new resources. The second command uses the Stop-AzureRMResourceGroupDeployment cmdlet to stop the deployment before it completes. The command uses the ResourceGroupName parameter to identify the deployment. It also uses the Force parameter to suppress the confirmation prompt.</maml:para> + <maml:para>Immediately after pressing enter, you remember that you need to get manager approval before deploying new resources. The second command uses the Stop-AzureRmResourceGroupDeployment cmdlet to stop the deployment before it completes. The command uses the ResourceGroupName parameter to identify the deployment. It also uses the Force parameter to suppress the confirmation prompt.</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> @@ -9922,17 +9922,17 @@ PS C:\&gt;Stop-AzureRMResourceGroupDeployment -ResourceGroupName ContosoRG01 -Fo <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;New-AzureRMResourceGroup -ResourceGroupName ContosoRG01 -GalleryTemplateName WebHosting -TemplateParameterFile .\HostingTemplateValues -DeploymentName DeployHost + <dev:code>PS C:\&gt;New-AzureRmResourceGroup -ResourceGroupName ContosoRG01 -GalleryTemplateName WebHosting -TemplateParameterFile .\HostingTemplateValues -DeploymentName DeployHost -PS C:\&gt;New-AzureRMResourceGroupDeployment -ResourceGroupName ContosoRG01 -TemplateParameterFile .\PortalTemplateValues -GalleryTemplateName WebPortal -DeploymentName DeployPortal +PS C:\&gt;New-AzureRmResourceGroupDeployment -ResourceGroupName ContosoRG01 -TemplateParameterFile .\PortalTemplateValues -GalleryTemplateName WebPortal -DeploymentName DeployPortal -PS C:\&gt;Stop-AzureRMResourceGroupDeployment -ResourceGroupName ContosoRG01 -Name DeployPortal -Passthru +PS C:\&gt;Stop-AzureRmResourceGroupDeployment -ResourceGroupName ContosoRG01 -Name DeployPortal -Passthru True</dev:code> <dev:remarks> - <maml:para>This example shows how to use the Name (alias DeploymentName) parameter of the Stop-AzureRMResourceGroupDeployment command to stop a deployment in progress.</maml:para> + <maml:para>This example shows how to use the Name (alias DeploymentName) parameter of the Stop-AzureRmResourceGroupDeployment command to stop a deployment in progress.</maml:para> <maml:para /> <maml:para /> - <maml:para>The first command uses the New-AzureRMResourceGroup cmdlet to create and deploy a new &quot;ContosoRG01&quot; resource group with a &quot;DeployHost&quot; deployment. The second command uses the New-AzureRMResourceGroupDeployment to add the &quot;DeployPortal&quot; deployment to the &quot;ContosoRG01&quot; resource group.The third command uses the Stop-AzureRMResourceGroupDeployment cmdlet to stop the &quot;DeployPortal&quot; deployment before it completes. The command uses the ResourceGroupName parameter to identify the resource group and the Name parameter to specify the deployment name. Because the command include the Passthru parameter, the cmdlet returns a value of True ($True) to indicate that the deployment stopped.</maml:para> + <maml:para>The first command uses the New-AzureRmResourceGroup cmdlet to create and deploy a new &quot;ContosoRG01&quot; resource group with a &quot;DeployHost&quot; deployment. The second command uses the New-AzureRmResourceGroupDeployment to add the &quot;DeployPortal&quot; deployment to the &quot;ContosoRG01&quot; resource group.The third command uses the Stop-AzureRmResourceGroupDeployment cmdlet to stop the &quot;DeployPortal&quot; deployment before it completes. The command uses the ResourceGroupName parameter to identify the resource group and the Name parameter to specify the deployment name. Because the command include the Passthru parameter, the cmdlet returns a value of True ($True) to indicate that the deployment stopped.</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> @@ -9966,7 +9966,7 @@ True</dev:code> </command:details> <maml:description> <maml:para>This is the Description section</maml:para> - <maml:para>The Test-AzureResourceGroupTemplate cmdlet verifies the validity of a resource group template, its parameters, and parameter values. It returns errors that it finds. Otherwise, it does not return any output.To specify a template, use the GalleryTemplateIdentity or TemplateFile parameters. To specify the template parameter values, use the TemplateParameterFile or TemplateParameterObject parameters, or use the template parameters that are added to the command dynamically when you specify the template. To get the parameters, just type a minus sign (-) to indicate a parameter name and press the TAB key to trigger tab-completion. If you miss a required parameter, the cmdlet prompts you for the value. Parameter values typed at the command line take precedence over values in a template parameter object or file.A resource group template is a JSON-based model of a resource group for a complex cloud-based service, such as a web portal. You can use a resource group template to create a resource group or resource group deployment. The template includes parameter (placeholders) for configurable property values, likes names and sizes. You can find many templates in the Azure template gallery (Get-AzureRMResourceGroupGalleryTemplate) and you can create your own templates.</maml:para> + <maml:para>The Test-AzureResourceGroupTemplate cmdlet verifies the validity of a resource group template, its parameters, and parameter values. It returns errors that it finds. Otherwise, it does not return any output.To specify a template, use the GalleryTemplateIdentity or TemplateFile parameters. To specify the template parameter values, use the TemplateParameterFile or TemplateParameterObject parameters, or use the template parameters that are added to the command dynamically when you specify the template. To get the parameters, just type a minus sign (-) to indicate a parameter name and press the TAB key to trigger tab-completion. If you miss a required parameter, the cmdlet prompts you for the value. Parameter values typed at the command line take precedence over values in a template parameter object or file.A resource group template is a JSON-based model of a resource group for a complex cloud-based service, such as a web portal. You can use a resource group template to create a resource group or resource group deployment. The template includes parameter (placeholders) for configurable property values, likes names and sizes. You can find many templates in the Azure template gallery (Get-AzureRmResourceGroupGalleryTemplate) and you can create your own templates.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> @@ -9981,14 +9981,14 @@ True</dev:code> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateFile</maml:name> <maml:description> - <maml:para>Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureRMResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as &quot;current,&quot; the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRMStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRMSubscription cmdlet.</maml:para> + <maml:para>Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureRmResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as &quot;current,&quot; the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRmStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRmSubscription cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>StorageAccountName</maml:name> <maml:description> - <maml:para>Specifies the name of a storage account in the subscription. Test-AzureResourceGroupGalleryTemplate saves the contents of local template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a storage account that it designated as &quot;current,&quot; the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRMStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRMSubscription cmdlet.</maml:para> + <maml:para>Specifies the name of a storage account in the subscription. Test-AzureResourceGroupGalleryTemplate saves the contents of local template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a storage account that it designated as &quot;current,&quot; the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRmStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRmSubscription cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -10026,7 +10026,7 @@ True</dev:code> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateUri</maml:name> <maml:description> - <maml:para>Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureRMResourceGroupGalleryTemplate cmdlet.</maml:para> + <maml:para>Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureRmResourceGroupGalleryTemplate cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -10064,14 +10064,14 @@ True</dev:code> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateFile</maml:name> <maml:description> - <maml:para>Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureRMResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as &quot;current,&quot; the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRMStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRMSubscription cmdlet.</maml:para> + <maml:para>Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureRmResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as &quot;current,&quot; the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRmStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRmSubscription cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>StorageAccountName</maml:name> <maml:description> - <maml:para>Specifies the name of a storage account in the subscription. Test-AzureResourceGroupGalleryTemplate saves the contents of local template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a storage account that it designated as &quot;current,&quot; the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRMStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRMSubscription cmdlet.</maml:para> + <maml:para>Specifies the name of a storage account in the subscription. Test-AzureResourceGroupGalleryTemplate saves the contents of local template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a storage account that it designated as &quot;current,&quot; the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRmStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRmSubscription cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -10109,7 +10109,7 @@ True</dev:code> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>GalleryTemplateIdentity</maml:name> <maml:description> - <maml:para>Specifies the identity of the gallery template to test. Enter an Identity value not a file name. Wildcards are not permitted.To get the identity of a gallery template, use the Get-AzureRMResourceGroupGalleryTemplate cmdlet. To test a gallery template that is saved as a JSON file on disk, use the TemplateFile parameter.</maml:para> + <maml:para>Specifies the identity of the gallery template to test. Enter an Identity value not a file name. Wildcards are not permitted.To get the identity of a gallery template, use the Get-AzureRmResourceGroupGalleryTemplate cmdlet. To test a gallery template that is saved as a JSON file on disk, use the TemplateFile parameter.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -10147,7 +10147,7 @@ True</dev:code> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>GalleryTemplateIdentity</maml:name> <maml:description> - <maml:para>Specifies the identity of the gallery template to test. Enter an Identity value not a file name. Wildcards are not permitted.To get the identity of a gallery template, use the Get-AzureRMResourceGroupGalleryTemplate cmdlet. To test a gallery template that is saved as a JSON file on disk, use the TemplateFile parameter.</maml:para> + <maml:para>Specifies the identity of the gallery template to test. Enter an Identity value not a file name. Wildcards are not permitted.To get the identity of a gallery template, use the Get-AzureRmResourceGroupGalleryTemplate cmdlet. To test a gallery template that is saved as a JSON file on disk, use the TemplateFile parameter.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -10185,7 +10185,7 @@ True</dev:code> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateUri</maml:name> <maml:description> - <maml:para>Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureRMResourceGroupGalleryTemplate cmdlet.</maml:para> + <maml:para>Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureRmResourceGroupGalleryTemplate cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -10223,14 +10223,14 @@ True</dev:code> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateFile</maml:name> <maml:description> - <maml:para>Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureRMResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as &quot;current,&quot; the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRMStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRMSubscription cmdlet.</maml:para> + <maml:para>Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureRmResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as &quot;current,&quot; the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRmStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRmSubscription cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>StorageAccountName</maml:name> <maml:description> - <maml:para>Specifies the name of a storage account in the subscription. Test-AzureResourceGroupGalleryTemplate saves the contents of local template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a storage account that it designated as &quot;current,&quot; the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRMStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRMSubscription cmdlet.</maml:para> + <maml:para>Specifies the name of a storage account in the subscription. Test-AzureResourceGroupGalleryTemplate saves the contents of local template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a storage account that it designated as &quot;current,&quot; the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRmStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRmSubscription cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -10261,7 +10261,7 @@ True</dev:code> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>GalleryTemplateIdentity</maml:name> <maml:description> - <maml:para>Specifies the identity of the gallery template to test. Enter an Identity value not a file name. Wildcards are not permitted.To get the identity of a gallery template, use the Get-AzureRMResourceGroupGalleryTemplate cmdlet. To test a gallery template that is saved as a JSON file on disk, use the TemplateFile parameter.</maml:para> + <maml:para>Specifies the identity of the gallery template to test. Enter an Identity value not a file name. Wildcards are not permitted.To get the identity of a gallery template, use the Get-AzureRmResourceGroupGalleryTemplate cmdlet. To test a gallery template that is saved as a JSON file on disk, use the TemplateFile parameter.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -10292,7 +10292,7 @@ True</dev:code> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateUri</maml:name> <maml:description> - <maml:para>Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureRMResourceGroupGalleryTemplate cmdlet.</maml:para> + <maml:para>Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureRmResourceGroupGalleryTemplate cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -10328,7 +10328,7 @@ True</dev:code> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateFile</maml:name> <maml:description> - <maml:para>Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureRMResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as &quot;current,&quot; the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRMStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRMSubscription cmdlet.</maml:para> + <maml:para>Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureRmResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as &quot;current,&quot; the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRmStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRmSubscription cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -10340,7 +10340,7 @@ True</dev:code> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>StorageAccountName</maml:name> <maml:description> - <maml:para>Specifies the name of a storage account in the subscription. Test-AzureResourceGroupGalleryTemplate saves the contents of local template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a storage account that it designated as &quot;current,&quot; the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRMStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRMSubscription cmdlet.</maml:para> + <maml:para>Specifies the name of a storage account in the subscription. Test-AzureResourceGroupGalleryTemplate saves the contents of local template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a storage account that it designated as &quot;current,&quot; the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureRmStorageAccount cmdlet. To make the a storage account the &quot;current storage account&quot; for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureRmSubscription cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -10388,7 +10388,7 @@ True</dev:code> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>TemplateUri</maml:name> <maml:description> - <maml:para>Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureRMResourceGroupGalleryTemplate cmdlet.</maml:para> + <maml:para>Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureRmResourceGroupGalleryTemplate cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -10400,7 +10400,7 @@ True</dev:code> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>GalleryTemplateIdentity</maml:name> <maml:description> - <maml:para>Specifies the identity of the gallery template to test. Enter an Identity value not a file name. Wildcards are not permitted.To get the identity of a gallery template, use the Get-AzureRMResourceGroupGalleryTemplate cmdlet. To test a gallery template that is saved as a JSON file on disk, use the TemplateFile parameter.</maml:para> + <maml:para>Specifies the identity of the gallery template to test. Enter an Identity value not a file name. Wildcards are not permitted.To get the identity of a gallery template, use the Get-AzureRmResourceGroupGalleryTemplate cmdlet. To test a gallery template that is saved as a JSON file on disk, use the TemplateFile parameter.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -10530,7 +10530,7 @@ PS C:\&gt;Test-AzureResourceGroupTemplate -ResourceGroupName ContosoLabsRG -Gall <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Unregister-AzureRMResourceProvider</command:name> + <command:name>Unregister-AzureRmResourceProvider</command:name> <maml:description> <maml:para /> </maml:description> @@ -10546,7 +10546,7 @@ PS C:\&gt;Test-AzureResourceGroupTemplate -ResourceGroupName ContosoLabsRG -Gall </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Unregister-AzureRMResourceProvider</maml:name> + <maml:name>Unregister-AzureRmResourceProvider</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ProviderNamespace</maml:name> <maml:description> @@ -13026,7 +13026,7 @@ PS C:\&gt;Test-AzureResourceGroupTemplate -ResourceGroupName ContosoLabsRG -Gall <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMResource</command:name> + <command:name>Get-AzureRmResource</command:name> <maml:description> <maml:para>Gets Azure resources</maml:para> </maml:description> @@ -13039,7 +13039,7 @@ PS C:\&gt;Test-AzureResourceGroupTemplate -ResourceGroupName ContosoLabsRG -Gall </command:details> <maml:description> <maml:para>This is the Description section</maml:para> - <maml:para>The Get-AzureRMResource cmdlet gets the Azure resources in the subscription. By default, it gets all resources in the subscription, but you can use the parameters in the cmdlet to filter the results.An Azure resource is a user-managed Azure entity, such as a database server, database, or website. Every Azure resource is associated with a resource group, which is a collection of resources that are deployed as a unit.</maml:para> + <maml:para>The Get-AzureRmResource cmdlet gets the Azure resources in the subscription. By default, it gets all resources in the subscription, but you can use the parameters in the cmdlet to filter the results.An Azure resource is a user-managed Azure entity, such as a database server, database, or website. Every Azure resource is associated with a resource group, which is a collection of resources that are deployed as a unit.</maml:para> </maml:description> <command:syntax> </command:syntax> @@ -13047,7 +13047,7 @@ PS C:\&gt;Test-AzureResourceGroupTemplate -ResourceGroupName ContosoLabsRG -Gall <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>ResourceGroupName</maml:name> <maml:description> - <maml:para>Gets only resources in the specified resource group. Wildcards are not permitted. This parameter is required only when you are selecting resources by name. By default, Get-AzureRMResource gets all resources in the subscription.</maml:para> + <maml:para>Gets only resources in the specified resource group. Wildcards are not permitted. This parameter is required only when you are selecting resources by name. By default, Get-AzureRmResource gets all resources in the subscription.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> @@ -13071,7 +13071,7 @@ PS C:\&gt;Test-AzureResourceGroupTemplate -ResourceGroupName ContosoLabsRG -Gall <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>Tag</maml:name> <maml:description> - <maml:para>Gets resources that have the specified Azure tag. Enter a hash table with a Name key or Name and Value keys. Wildcard characters are not supported.A &quot;tag&quot; is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. To add a tag to a resource, use the Tag parameter of the New-AzureRMResource or Set-AzureRMResource cmdlets. To create a predefined tag, use the New-AzureRMTag cmdlet.For help with hash tables in Windows PowerShell, type: Get-Help about_Hashtables.</maml:para> + <maml:para>Gets resources that have the specified Azure tag. Enter a hash table with a Name key or Name and Value keys. Wildcard characters are not supported.A &quot;tag&quot; is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. To add a tag to a resource, use the Tag parameter of the New-AzureRmResource or Set-AzureRmResource cmdlets. To create a predefined tag, use the New-AzureRmTag cmdlet.For help with hash tables in Windows PowerShell, type: Get-Help about_Hashtables.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">hashtable</command:parameterValue> <dev:type> @@ -13095,7 +13095,7 @@ PS C:\&gt;Test-AzureResourceGroupTemplate -ResourceGroupName ContosoLabsRG -Gall <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Name</maml:name> <maml:description> - <maml:para>Gets a resource with the specified name. Wildcards are not permitted. This parameter is required only when you are selecting resource by name. By default, Get-AzureRMResource gets all resources in the subscription.</maml:para> + <maml:para>Gets a resource with the specified name. Wildcards are not permitted. This parameter is required only when you are selecting resource by name. By default, Get-AzureRmResource gets all resources in the subscription.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> @@ -13169,7 +13169,7 @@ PS C:\&gt;Test-AzureResourceGroupTemplate -ResourceGroupName ContosoLabsRG -Gall <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResource + <dev:code>PS C:\&gt;Get-AzureRmResource Name : HostingFarm1 ResourceGroupName : ContosoHosting ResourceType : Microsoft.Web/serverFarms @@ -13203,7 +13203,7 @@ ParentResource : <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResource -ResourceGroupName ContosoRG01 + <dev:code>PS C:\&gt;Get-AzureRmResource -ResourceGroupName ContosoRG01 Name : Default1 ResourceGroupName : ContosoLabsRG @@ -13236,7 +13236,7 @@ ParentResource :</dev:code> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResource | Group-Object ResourceType + <dev:code>PS C:\&gt;Get-AzureRmResource | Group-Object ResourceType Count Name Group ----- ---- ----- @@ -13246,7 +13246,7 @@ Count Name Group 1 Microsoft.Web/serverFarms {@{Name=Default1; ResourceGro 6 Microsoft.Web/sites {@{Name=utr2520; ResourceGrou -PS C:\&gt;Get-AzureRMResource -ResourceType Microsoft.Web/serverFarms +PS C:\&gt;Get-AzureRmResource -ResourceType Microsoft.Web/serverFarms Name : Default1 ResourceGroupName : ContosoLabsRG ResourceType : Microsoft.Web/serverFarms @@ -13277,7 +13277,7 @@ ParentResource :</dev:code> <maml:para>These commands get all resources with a specified resource type.</maml:para> <maml:para /> <maml:para /> - <maml:para>The first command finds the types of resources in the subscription. It uses the Get-AzureRMResource cmdlet to get all resources and Group-Object cmdlet to group the objects by resource type. The output shows that there are server farms and web sites in the subscription.The second command uses the ResourceType parameter of Get-AzureRMResource to get all server farms in the subscription.</maml:para> + <maml:para>The first command finds the types of resources in the subscription. It uses the Get-AzureRmResource cmdlet to get all resources and Group-Object cmdlet to group the objects by resource type. The output shows that there are server farms and web sites in the subscription.The second command uses the ResourceType parameter of Get-AzureRmResource to get all server farms in the subscription.</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> @@ -13292,7 +13292,7 @@ ParentResource :</dev:code> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResource -Name ContosoLabWeb -ResourceGroupName ContosoLabsRG -ResourceType &quot;Microsoft.Web/sites&quot; -ApiVersion 2014-04-01 + <dev:code>PS C:\&gt;Get-AzureRmResource -Name ContosoLabWeb -ResourceGroupName ContosoLabsRG -ResourceType &quot;Microsoft.Web/sites&quot; -ApiVersion 2014-04-01 Name : ContosoLabWeb ResourceGroupName : ContosoLabsRG ResourceType : Microsoft.Web/sites @@ -13307,7 +13307,7 @@ Tags :</dev:code> <maml:para>This commands gets the &quot;ContosoLabWeb&quot; web site resource. When you use the Name parameter to get a particular resource, the ResourceGroupName, ResourceType, and APIVersion parameters are required.</maml:para> <maml:para /> <maml:para /> - <maml:para>You can also use the Where-Object cmdlet to select a resource. For example: Get-AzureRMResource | Where-Object Name -eq &quot;ConsotoLabWeb&quot;</maml:para> + <maml:para>You can also use the Where-Object cmdlet to select a resource. For example: Get-AzureRmResource | Where-Object Name -eq &quot;ConsotoLabWeb&quot;</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> @@ -13322,7 +13322,7 @@ Tags :</dev:code> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResource -Tag @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}</dev:code> + <dev:code>PS C:\&gt;Get-AzureRmResource -Tag @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}</dev:code> <dev:remarks> <maml:para>This command gets resources that have a tag named &quot;Department with a value of &quot;IT&quot;.</maml:para> <maml:para /> @@ -13342,9 +13342,9 @@ Tags :</dev:code> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResource -Name ContosoLabWeb -ResourceGroupName ContosoLabsRG -ResourceType &quot;Microsoft.Web/sites&quot; -ApiVersion 2014-04-01 + <dev:code>PS C:\&gt;Get-AzureRmResource -Name ContosoLabWeb -ResourceGroupName ContosoLabsRG -ResourceType &quot;Microsoft.Web/sites&quot; -ApiVersion 2014-04-01 -PS C:\&gt;(Get-AzureRMResource -Name ContosoLabWeb -ResourceGroupName ContosoLabsRG -ResourceType &quot;Microsoft.Web/sites&quot; -ApiVersion 2014-04-01).Tags +PS C:\&gt;(Get-AzureRmResource -Name ContosoLabWeb -ResourceGroupName ContosoLabsRG -ResourceType &quot;Microsoft.Web/sites&quot; -ApiVersion 2014-04-01).Tags Tags: @@ -13379,7 +13379,7 @@ Tags: <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Move-AzureRMResource</command:name> + <command:name>Move-AzureRmResource</command:name> <maml:description> <maml:para /> </maml:description> @@ -13547,7 +13547,7 @@ Tags: <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>New-AzureRMResource</command:name> + <command:name>New-AzureRmResource</command:name> <maml:description> <maml:para>Creates a new resource in a resource group</maml:para> </maml:description> @@ -13560,7 +13560,7 @@ Tags: </command:details> <maml:description> <maml:para>This is the Description section</maml:para> - <maml:para>The New-AzureRMResource cmdlet creates an Azure resource, such as a website, SQL Azure database server, or SQL Azure database, in a new or existing resource group.If a resource with the same name exists in the resource group, the cmdlet prompts for confirmation before replacing the existing resource. To suppress the confirmation prompt, use the Force parameter.A resource is a user-managed Azure entity. A resource group is a collection of resources that are deployed as a unit. Every resource belongs to exactly one resource group.Typically, you use a template to create a resource group (New-AzureRMResourceGroup) and its resources. Then, if necessary, you can use this cmdlet to add additional resources to it.</maml:para> + <maml:para>The New-AzureRmResource cmdlet creates an Azure resource, such as a website, SQL Azure database server, or SQL Azure database, in a new or existing resource group.If a resource with the same name exists in the resource group, the cmdlet prompts for confirmation before replacing the existing resource. To suppress the confirmation prompt, use the Force parameter.A resource is a user-managed Azure entity. A resource group is a collection of resources that are deployed as a unit. Every resource belongs to exactly one resource group.Typically, you use a template to create a resource group (New-AzureRmResourceGroup) and its resources. Then, if necessary, you can use this cmdlet to add additional resources to it.</maml:para> </maml:description> <command:syntax> </command:syntax> @@ -13568,7 +13568,7 @@ Tags: <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>Location</maml:name> <maml:description> - <maml:para>Specifies the location of the resource. This parameter is required. Enter an Azure data center location, such as &quot;West US&quot; or &quot;Southeast Asia&quot;.You can place a resource in any location that supports resources of that type. The resource does not have to be in the same location your Azure subscription or the same location as its resource group. Resource groups can contain resources from different locations. To determine which locations support each resource type, use the Get-AzureRMLocation cmdlet.</maml:para> + <maml:para>Specifies the location of the resource. This parameter is required. Enter an Azure data center location, such as &quot;West US&quot; or &quot;Southeast Asia&quot;.You can place a resource in any location that supports resources of that type. The resource does not have to be in the same location your Azure subscription or the same location as its resource group. Resource groups can contain resources from different locations. To determine which locations support each resource type, use the Get-AzureRmLocation cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> @@ -13592,7 +13592,7 @@ Tags: <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>PropertyObject</maml:name> <maml:description> - <maml:para>Specifies properties values for the properties of a resource. Enter a hash table in @{propertyName = propertyValue} format. This parameter is optional.Use this parameter to specify the values of properties that are specific to a resource type. To find the properties that you can set for each type of resource, look at a few gallery templates, such as the templates that the Get-AzureRMResourceGroupGalleryTemplate cmdlet returns.For more information about hash tables in Windows PowerShell, type: Get-Help about_Hash_Tables (http://go.microsoft.com/fwlink/?LinkID=324844).</maml:para> + <maml:para>Specifies properties values for the properties of a resource. Enter a hash table in @{propertyName = propertyValue} format. This parameter is optional.Use this parameter to specify the values of properties that are specific to a resource type. To find the properties that you can set for each type of resource, look at a few gallery templates, such as the templates that the Get-AzureRmResourceGroupGalleryTemplate cmdlet returns.For more information about hash tables in Windows PowerShell, type: Get-Help about_Hash_Tables (http://go.microsoft.com/fwlink/?LinkID=324844).</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">hashtable</command:parameterValue> <dev:type> @@ -13604,7 +13604,7 @@ Tags: <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>Tag</maml:name> <maml:description> - <maml:para>Applies the specified tags to the new resource. Enter new tags or predefined tags that you created by using the New-AzureRMTag cmdlet.A &quot;tag&quot; is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureRMResource and Get-AzureRMResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name=&quot;FY2015&quot;} or @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name=&quot;FY2015&quot;}, @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To get your predefined tags, use the Get-AzureRMTag cmdlet.</maml:para> + <maml:para>Applies the specified tags to the new resource. Enter new tags or predefined tags that you created by using the New-AzureRmTag cmdlet.A &quot;tag&quot; is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureRmResource and Get-AzureRmResourceGroup to search for resources and groups by tag name or name and value.Every tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name=&quot;FY2015&quot;} or @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name=&quot;FY2015&quot;}, @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To get your predefined tags, use the Get-AzureRmTag cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">hashtable[]</command:parameterValue> <dev:type> @@ -13616,7 +13616,7 @@ Tags: <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> - <maml:para>Overwrites an existing resource group without warning. This parameter suppresses the confirmation prompt that New-AzureRMResource displays by default when the resource group already contains a resource with the same resource name.</maml:para> + <maml:para>Overwrites an existing resource group without warning. This parameter suppresses the confirmation prompt that New-AzureRmResource displays by default when the resource group already contains a resource with the same resource name.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">switchparameter</command:parameterValue> <dev:type> @@ -13726,7 +13726,7 @@ Tags: <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;New-AzureRMResource -Name ContosoEngSite -Location &quot;North Europe&quot; -ResourceGroupName ContosoEngineering -ResourceType &quot;Microsoft.Web/sites&quot; -ApiVersion 2004-04-01 -PropertyObject @{&quot;name&quot; = &quot;ContosoEngSite&quot;; &quot;siteMode&quot; = &quot;Limited&quot;; &quot;computeMode&quot; = &quot;Shared&quot;} + <dev:code>PS C:\&gt;New-AzureRmResource -Name ContosoEngSite -Location &quot;North Europe&quot; -ResourceGroupName ContosoEngineering -ResourceType &quot;Microsoft.Web/sites&quot; -ApiVersion 2004-04-01 -PropertyObject @{&quot;name&quot; = &quot;ContosoEngSite&quot;; &quot;siteMode&quot; = &quot;Limited&quot;; &quot;computeMode&quot; = &quot;Shared&quot;} Name : ContosoEngSite ResourceGroupName : ContosoEngineering ResourceType : Microsoft.Web/sites @@ -13735,7 +13735,7 @@ Properties : {[name, ContosoEngSite], [state, Running], [hostNames, System.Collections.Generic.List`1[System.Object]], [webSpace, ContosoEngineering-NorthEuropewebspace]...}</dev:code> <dev:remarks> - <maml:para>This command uses the New-AzureRMResource cmdlet to create the ContosoEngSite web site in the ContosoEngineering resource group. If the ContosoEngineering resource group doesn&#39;t exist, New-AzureRMResource creates it. If the ContosoEngineering resource group already has a resource named ContosoEngSite, the cmdlet prompt for confirmation before replacing it.</maml:para> + <maml:para>This command uses the New-AzureRmResource cmdlet to create the ContosoEngSite web site in the ContosoEngineering resource group. If the ContosoEngineering resource group doesn&#39;t exist, New-AzureRmResource creates it. If the ContosoEngineering resource group already has a resource named ContosoEngSite, the cmdlet prompt for confirmation before replacing it.</maml:para> <maml:para /> <maml:para /> <maml:para>The command uses the Location parameter to place the new web in the &quot;North Europe&quot; data center, although the resource group and its resources are located in several different locations.The cmdlet returns a PSResource object that represents the new database.</maml:para> @@ -13753,7 +13753,7 @@ Properties : {[name, ContosoEngSite], [state, Running], [hostNames, <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;$WebsiteProperties = @{name = &quot;ContosoWeb&quot;; serverFarm = CS01; computeMode = &quot;Shared&quot;; siteMode = &quot;Limited&quot;;}PS C:\&gt;New-AzureRMResource -Name ContosoWeb -ResouceGroupName CRG01 -ResourceType &apos;Microsoft.Web/sites&apos; -Location &quot;South Central US&quot; -ApiVersion 2014-04-01 -PropertyObject $WebsiteProperties + <dev:code>PS C:\&gt;$WebsiteProperties = @{name = &quot;ContosoWeb&quot;; serverFarm = CS01; computeMode = &quot;Shared&quot;; siteMode = &quot;Limited&quot;;}PS C:\&gt;New-AzureRmResource -Name ContosoWeb -ResouceGroupName CRG01 -ResourceType &apos;Microsoft.Web/sites&apos; -Location &quot;South Central US&quot; -ApiVersion 2014-04-01 -PropertyObject $WebsiteProperties Name : ContosoWeb ResourceGroupName : ContosoEngineering ResourceType : Microsoft.Web/sites @@ -13765,7 +13765,7 @@ Properties : {[name, ContosoWeb], [state, Running], [hostNames, <maml:para>These commands create the ContosoWeb Azure website in the CRG01 resource group.</maml:para> <maml:para /> <maml:para /> - <maml:para>The first command creates a hash table of web site properties and saves it in the $WebsiteProperties variable. To find the properties that you can set for an Azure web site, use a gallery template, such as the ones that the Get-AzureRMResourceGroupGalleryTemplate cmdlet return.The second command uses the New-AzureRMResource cmdlet to create the web site. The value of the PropertyObject parameter is the hash table in the $WebsiteProperties variable.</maml:para> + <maml:para>The first command creates a hash table of web site properties and saves it in the $WebsiteProperties variable. To find the properties that you can set for an Azure web site, use a gallery template, such as the ones that the Get-AzureRmResourceGroupGalleryTemplate cmdlet return.The second command uses the New-AzureRmResource cmdlet to create the web site. The value of the PropertyObject parameter is the hash table in the $WebsiteProperties variable.</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> @@ -13780,15 +13780,15 @@ Properties : {[name, ContosoWeb], [state, Running], [hostNames, <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;New-AzureRMResourceGroup -Name ContosoPortal -Location &quot;West US&quot; -GalleryTemplateIdentity WordPress.WordPress.0.1.0-preview1 -TemplateParameterFile &quot;.\WordPressParameters.json&quot; + <dev:code>PS C:\&gt;New-AzureRmResourceGroup -Name ContosoPortal -Location &quot;West US&quot; -GalleryTemplateIdentity WordPress.WordPress.0.1.0-preview1 -TemplateParameterFile &quot;.\WordPressParameters.json&quot; -PS C:\&gt;New-AzureRMResource –Name sqldb03 –ResourceType &quot;Microsoft.Sql/servers/databases&quot; –ResourceGroup ContosoPortal –Location &quot;West US&quot; –ParentResource &quot;Microsoft.Sql/servers/ContosoServer01&quot; –PropertyObject @{Edition = &quot;Enterprise&quot;; MaxSizeGB = 100}</dev:code> +PS C:\&gt;New-AzureRmResource –Name sqldb03 –ResourceType &quot;Microsoft.Sql/servers/databases&quot; –ResourceGroup ContosoPortal –Location &quot;West US&quot; –ParentResource &quot;Microsoft.Sql/servers/ContosoServer01&quot; –PropertyObject @{Edition = &quot;Enterprise&quot;; MaxSizeGB = 100}</dev:code> <dev:remarks> - <maml:para>This example shows a typical use of this cmdlet. The first command uses the New-AzureRMResourceGroup cmdlet to create the ContosoPortal resource group. The command uses the WordPress gallery template (Get-AzureRMResourceGroupGalleryTemplate) and a JSON file, WordPressParameters.json, to specify values for the template-specific parameters, such as the name and location of the database, a name for the hosting plan, and web deployment credentials.</maml:para> + <maml:para>This example shows a typical use of this cmdlet. The first command uses the New-AzureRmResourceGroup cmdlet to create the ContosoPortal resource group. The command uses the WordPress gallery template (Get-AzureRmResourceGroupGalleryTemplate) and a JSON file, WordPressParameters.json, to specify values for the template-specific parameters, such as the name and location of the database, a name for the hosting plan, and web deployment credentials.</maml:para> <maml:para /> <maml:para /> - <maml:para>The second command uses the New-AzureRMResource cmdlet to add an additional database to the ContosoPortal resource group. The command uses the PropertyObject parameter to specify a hash table of values for the Edition and MaxSizeGB properties of the new database. For the other databases in the resource group, these values were specified in the PortalParameters.rgcfg resource group configuration file.</maml:para> + <maml:para>The second command uses the New-AzureRmResource cmdlet to add an additional database to the ContosoPortal resource group. The command uses the PropertyObject parameter to specify a hash table of values for the Edition and MaxSizeGB properties of the new database. For the other databases in the resource group, these values were specified in the PortalParameters.rgcfg resource group configuration file.</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> @@ -13803,7 +13803,7 @@ PS C:\&gt;New-AzureRMResource –Name sqldb03 –ResourceType &quot;Microsoft.Sq <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;New-AzureRMResource -Name ContosoEngSite -Location &quot;North Europe&quot; -ResourceGroupName ContosoEngineering -ResourceType &quot;Microsoft.Web/sites&quot; -ApiVersion 2004-04-01 -Tag @{Name=&quot;Status&quot;;Value=&quot;Approved&quot;},@{Name=&quot;New&quot;}</dev:code> + <dev:code>PS C:\&gt;New-AzureRmResource -Name ContosoEngSite -Location &quot;North Europe&quot; -ResourceGroupName ContosoEngineering -ResourceType &quot;Microsoft.Web/sites&quot; -ApiVersion 2004-04-01 -Tag @{Name=&quot;Status&quot;;Value=&quot;Approved&quot;},@{Name=&quot;New&quot;}</dev:code> <dev:remarks> <maml:para>This command creates a new website and applies two tags to it. The command uses the Tag parameter to apply a &quot;Status&quot; tag with a value of &quot;Approved&quot; and a tag named &quot;New&quot; with no value.</maml:para> <maml:para /> @@ -13829,7 +13829,7 @@ PS C:\&gt;New-AzureRMResource –Name sqldb03 –ResourceType &quot;Microsoft.Sq <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Remove-AzureRMResource</command:name> + <command:name>Remove-AzureRmResource</command:name> <maml:description> <maml:para>Deletes a resource</maml:para> </maml:description> @@ -13842,7 +13842,7 @@ PS C:\&gt;New-AzureRMResource –Name sqldb03 –ResourceType &quot;Microsoft.Sq </command:details> <maml:description> <maml:para>This is the Description section</maml:para> - <maml:para>The Remove-AzureRMResource cmdlet deletes a resource from your subscription. It does not delete the resource group of the resource. By default, Remove-AzureRMResource prompts you for confirmation. To suppress the prompt, use the Force parameter.</maml:para> + <maml:para>The Remove-AzureRmResource cmdlet deletes a resource from your subscription. It does not delete the resource group of the resource. By default, Remove-AzureRmResource prompts you for confirmation. To suppress the prompt, use the Force parameter.</maml:para> </maml:description> <command:syntax> </command:syntax> @@ -13862,7 +13862,7 @@ PS C:\&gt;New-AzureRMResource –Name sqldb03 –ResourceType &quot;Microsoft.Sq <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> - <maml:para>Suppresses the confirmation prompt. By default, Remove-AzureRMResource prompts for confirmation before deleting a resource.</maml:para> + <maml:para>Suppresses the confirmation prompt. By default, Remove-AzureRmResource prompts for confirmation before deleting a resource.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">switchparameter</command:parameterValue> <dev:type> @@ -14008,7 +14008,7 @@ PS C:\&gt;New-AzureRMResource –Name sqldb03 –ResourceType &quot;Microsoft.Sq <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Remove-AzureRMResource -Name ContosoWeb -ResourceGroupName ContosoRG01 -ResourceType Microsoft.web/sites -ApiVersion 2014-04-01 ConfirmAre you sure you want to remove resource &apos; ContosoWeb&apos;[Y] Yes [N] No [S] Suspend [?] Help (default is &quot;Y&quot;): y</dev:code> + <dev:code>PS C:\&gt;Remove-AzureRmResource -Name ContosoWeb -ResourceGroupName ContosoRG01 -ResourceType Microsoft.web/sites -ApiVersion 2014-04-01 ConfirmAre you sure you want to remove resource &apos; ContosoWeb&apos;[Y] Yes [N] No [S] Suspend [?] Help (default is &quot;Y&quot;): y</dev:code> <dev:remarks> <maml:para>This command removes the ContosoWeb web site from the ContosoRG01 resource group.</maml:para> <maml:para /> @@ -14028,10 +14028,10 @@ PS C:\&gt;New-AzureRMResource –Name sqldb03 –ResourceType &quot;Microsoft.Sq <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResource -Name contosodb01 -ResourceGroupName ContosoRG01 -ResourceType &quot;Microsoft.Sql/servers/databases&quot; -ParentResource &quot;Microsoft.Sql/servers/contososvr01&quot; -ApiVersion 2.0 | Remove-AzureRMResource -Passthru ConfirmAre you sure you want to remove resource &apos;contosodb01&apos;[Y] Yes [N] No [S] Suspend [?] Help (default is &quot;Y&quot;): y + <dev:code>PS C:\&gt;Get-AzureRmResource -Name contosodb01 -ResourceGroupName ContosoRG01 -ResourceType &quot;Microsoft.Sql/servers/databases&quot; -ParentResource &quot;Microsoft.Sql/servers/contososvr01&quot; -ApiVersion 2.0 | Remove-AzureRmResource -Passthru ConfirmAre you sure you want to remove resource &apos;contosodb01&apos;[Y] Yes [N] No [S] Suspend [?] Help (default is &quot;Y&quot;): y True</dev:code> <dev:remarks> - <maml:para>This command uses the Get-AzureRMResource cmdlet to get the ContosoDB01 database. The command pipes the database to the Remove-AzureRMResource cmdlet to remove it. The command uses the Passthru parameter, which causes the cmdlet to return a Boolean value that represents the success or failure of the operation. In this case, it returns True.</maml:para> + <maml:para>This command uses the Get-AzureRmResource cmdlet to get the ContosoDB01 database. The command pipes the database to the Remove-AzureRmResource cmdlet to remove it. The command uses the Passthru parameter, which causes the cmdlet to return a Boolean value that represents the success or failure of the operation. In this case, it returns True.</maml:para> <maml:para /> <maml:para /> <maml:para></maml:para> @@ -14055,7 +14055,7 @@ True</dev:code> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Set-AzureRMResource</command:name> + <command:name>Set-AzureRmResource</command:name> <maml:description> <maml:para>Changes the properties of an Azure resource.</maml:para> </maml:description> @@ -14068,7 +14068,7 @@ True</dev:code> </command:details> <maml:description> <maml:para>This is the Description section</maml:para> - <maml:para>The Set-AzureRMResource cmdlet changes the properties of an Azure resource. To use the cmdlet, use the Name, ResourceGroupName, ResourceGroupType, and ParentResource parameters to identify the resource, and the PropertyObject parameter to specify the new property names and values.If the command succeeds, it returns the resource with the new properties and values.An Azure resource is a user-managed entity, such as an Azure Website or Azure SQL Database. Some resources have properties, which are user-configured values, like sizes and operational modes. You can specify these values when you create the resource, such as by using the New-AzureRMResource, New-AzureRMResourceGroup, or New-AzureRMResourceGroupDeployment cmdlets. And, you can change the properties by using this cmdlet.To get the properties of a resource, use the Get-AzureRMResource cmdlet to get the resource. Then use the dot method to get the Properties property collection and a particular named property. For example, to get the siteMode property of an object, type (Get-AzureRMResource -Name MyWebSite -ResourceGroupName RG -ResourceType Microsoft.Web/sites -ApiVersion 2014-04-01).Properties.siteMode</maml:para> + <maml:para>The Set-AzureRmResource cmdlet changes the properties of an Azure resource. To use the cmdlet, use the Name, ResourceGroupName, ResourceGroupType, and ParentResource parameters to identify the resource, and the PropertyObject parameter to specify the new property names and values.If the command succeeds, it returns the resource with the new properties and values.An Azure resource is a user-managed entity, such as an Azure Website or Azure SQL Database. Some resources have properties, which are user-configured values, like sizes and operational modes. You can specify these values when you create the resource, such as by using the New-AzureRmResource, New-AzureRmResourceGroup, or New-AzureRmResourceGroupDeployment cmdlets. And, you can change the properties by using this cmdlet.To get the properties of a resource, use the Get-AzureRmResource cmdlet to get the resource. Then use the dot method to get the Properties property collection and a particular named property. For example, to get the siteMode property of an object, type (Get-AzureRmResource -Name MyWebSite -ResourceGroupName RG -ResourceType Microsoft.Web/sites -ApiVersion 2014-04-01).Properties.siteMode</maml:para> </maml:description> <command:syntax> </command:syntax> @@ -14100,7 +14100,7 @@ True</dev:code> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>Tag</maml:name> <maml:description> - <maml:para>Replaces the tags for the resource with the specified new or predefined tags. To change any resource tag, you must replace the collection of tags for the resource.A &quot;tag&quot; is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureRMResource and Get-AzureRMResourceGroup to search for resources and groups by tag name or name and value.Each tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name=&quot;FY2015&quot;} or @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name=&quot;FY2015&quot;}, @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To specify a predefined tag, use the Get-AzureRMTag cmdlet.To delete a tag, enter a hash table with all tags currently applied to the resource (from Get-AzureRMResource), except for the tag you want to delete. To delete all tags from the resource, enter an empty hash table (-Tag @{}).</maml:para> + <maml:para>Replaces the tags for the resource with the specified new or predefined tags. To change any resource tag, you must replace the collection of tags for the resource.A &quot;tag&quot; is a name-value pair that you can apply to resources and resource groups. Use tags to categorize your resources, such as by department or cost center, or to track notes or comments about the resources. After you assign tags to resources, you can use the Tag parameters of Get-AzureRmResource and Get-AzureRmResourceGroup to search for resources and groups by tag name or name and value.Each tag must have a Name key. It can also have an optional Value key with one value. To specify a new tag, use a hash table, such as @{Name=&quot;FY2015&quot;} or @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To specify multiple tags, use commas to separate the hash tables, such as -Tag @{Name=&quot;FY2015&quot;}, @{Name=&quot;Department&quot;;Value=&quot;IT&quot;}. To specify a predefined tag, use the Get-AzureRmTag cmdlet.To delete a tag, enter a hash table with all tags currently applied to the resource (from Get-AzureRmResource), except for the tag you want to delete. To delete all tags from the resource, enter an empty hash table (-Tag @{}).</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">hashtable[]</command:parameterValue> <dev:type> @@ -14210,10 +14210,10 @@ True</dev:code> <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; The first command uses the Get-AzureRMResource cmdlet to get the ContosoLabWeb2 web site. The command saves the resource in the $r variable. -PS C:\&gt;$r = Get-AzureRMResource -Name ContosoLabWeb2 -ResourceGroupName ContosoLabsRG -ResourceType &quot;Microsoft.Web/sites&quot; -ApiVersion 2004-04-01 + <dev:code>PS C:\&gt; The first command uses the Get-AzureRmResource cmdlet to get the ContosoLabWeb2 web site. The command saves the resource in the $r variable. +PS C:\&gt;$r = Get-AzureRmResource -Name ContosoLabWeb2 -ResourceGroupName ContosoLabsRG -ResourceType &quot;Microsoft.Web/sites&quot; -ApiVersion 2004-04-01 -The second command saves the Properties property (and its properties) of the resource in the $p variable. The Properties object is a Dictionary, but because it is convertible to a hash table, you can use it as the value of the PropertyObject parameter of Set-AzureRMResource without casting. +The second command saves the Properties property (and its properties) of the resource in the $p variable. The Properties object is a Dictionary, but because it is convertible to a hash table, you can use it as the value of the PropertyObject parameter of Set-AzureRmResource without casting. PS C:\&gt;$p = $r.Properties The third command displays the properties in the $p variable. @@ -14222,8 +14222,8 @@ PS C:\&gt;$pName Value---- - The fourth command is actually a series of commands (delimited by semi-colons) that change the values of the properties in the $p variable. PS C:\&gt;$p.siteMode = &quot;Basic&quot;; $p.sku = &quot;Basic&quot;; $p.computeMode = &quot;Dedicated&quot;; $p.serverFarm = &quot;Default2&quot; -The fifth command uses the Set-AzureRMResource cmdlet to change the change the properties of the ContosoLabWeb2 web site. The value of the PropertyObject parameter is the $p variable that contains the Properties object and the new values. The command saves the output (the updated resource) in the $r2 variable. -PS C:\&gt;$r2 = Set-AzureRMResource -Name ContosoLabWeb2 -ResourceGroupName ContosoLabsRG -ResourceType &quot;Microsoft.Web/sites&quot; -ApiVersion 2004-04-01 -PropertyObject $p +The fifth command uses the Set-AzureRmResource cmdlet to change the change the properties of the ContosoLabWeb2 web site. The value of the PropertyObject parameter is the $p variable that contains the Properties object and the new values. The command saves the output (the updated resource) in the $r2 variable. +PS C:\&gt;$r2 = Set-AzureRmResource -Name ContosoLabWeb2 -ResourceGroupName ContosoLabsRG -ResourceType &quot;Microsoft.Web/sites&quot; -ApiVersion 2004-04-01 -PropertyObject $p The sixth command displays the Properties property of the resource in the $r2 variable. You can see that the properties have the new values. PS C:\&gt;$r2.PropertiesName Value---- -----storageRecoveryDefaultState RunningavailabilityState 0trafficManagerHostNamesrepositorySiteName ContosoLabWeb2runtimeAvailabilityState 0siteMode BasicruntimeADUserlastModifiedTimeUtc 3/25/2014 6:00:04 PMusageState 0hostNames {contosolabweb2.antares-int.windows-int.net}adminEnabled TruehostNameSslStates {System.Collections.Generic.Dictionary`2[System.String,System.Object], System.Collect...runtimeADUserDomainenabled TruedeploymentId ContosoLabWeb2selfLink https://antpreview2.api.admin-antares-int.windows-int.net:454/20130801/websystems/web...computeMode DedicatedwebSpace ContosoLabsRG-NorthEuropewebspacecsrs {}siteConfigintegratedSqlAuthEnabled Falsestate RunningruntimeADUserPasswordserverFarm Default2sslCertificates {}cerscontentAvailabilityState 0enabledHostNames {contosolabweb2.antares-int.windows-int.net, contosolabweb2.scm.antares-int.windows-i...windowsAuthEnabled 0ownersiteProperties {[metadata, ], [properties, System.Collections.Generic.List`1[System.Object]], [appSe...sku Basicname ContosoLabWeb2</dev:code> @@ -14246,7 +14246,7 @@ PS C:\&gt;$r2.PropertiesName Value---- <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResource -Name ContosoLabWeb2 -ResourceGroupName ContosoLabsRG -ResourceType &quot;Microsoft.Web/sites&quot; -ApiVersion 2004-04-01 -Tag @{Name=&quot;CostCenter&quot;;Value=&quot;Sales&quot;}</dev:code> + <dev:code>PS C:\&gt;Get-AzureRmResource -Name ContosoLabWeb2 -ResourceGroupName ContosoLabsRG -ResourceType &quot;Microsoft.Web/sites&quot; -ApiVersion 2004-04-01 -Tag @{Name=&quot;CostCenter&quot;;Value=&quot;Sales&quot;}</dev:code> <dev:remarks> <maml:para>This command uses the Tag parameter to add a CostCenter tag with a value of &quot;Sales&quot; to a resource that did not have any existing tags.</maml:para> <maml:para /> @@ -14266,7 +14266,7 @@ PS C:\&gt;$r2.PropertiesName Value---- <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;$tags = (Get-AzureRMResource -Name ContosoWeb -ResourceGroupName ContosoLabsRG -ResourceType &quot;Microsoft.Web/sites&quot; -ApiVersion 2004-04-01).Tags + <dev:code>PS C:\&gt;$tags = (Get-AzureRmResource -Name ContosoWeb -ResourceGroupName ContosoLabsRG -ResourceType &quot;Microsoft.Web/sites&quot; -ApiVersion 2004-04-01).Tags PS C:\&gt;$tags @@ -14280,9 +14280,9 @@ Tags: PS C:\&gt;$tags += @{Name=&quot;Status&quot;;Value=&quot;Approved&quot;}, @{Name=&quot;FY2016&quot;} -PS C:\&gt;Set-AzureRMResource -Name ContosoWeb -ResourceGroupName ContosoLabsRG -ResourceType &quot;Microsoft.Web/sites&quot; -ApiVersion 2004-04-01 -Tag $tags +PS C:\&gt;Set-AzureRmResource -Name ContosoWeb -ResourceGroupName ContosoLabsRG -ResourceType &quot;Microsoft.Web/sites&quot; -ApiVersion 2004-04-01 -Tag $tags -PS C:&gt;(Get-AzureRMResource -Name ContosoWeb -ResourceGroupName ContosoLabsRG -ResourceType &quot;Microsoft.Web/sites&quot; -ApiVersion 2004-04-01).Tags +PS C:&gt;(Get-AzureRmResource -Name ContosoWeb -ResourceGroupName ContosoLabsRG -ResourceType &quot;Microsoft.Web/sites&quot; -ApiVersion 2004-04-01).Tags Tags: @@ -14296,7 +14296,7 @@ Tags: <maml:para>This command adds a &quot;Status&quot; tag with a value of &quot;Approved&quot; and an &quot;FY2016&quot; tag to a resource that has existing tags. Because the tags you specify replace the existing tags, you must include the existing tags in the new tag collection or you will lose them.</maml:para> <maml:para /> <maml:para /> - <maml:para>The first command gets all existing tags of the ContosoWeb resource. It uses the Get-AzureRMResource cmdlet to get the resource and then uses the dot method to get the value of its Tags property. It saves the existing tags in a $tags variable.The second command gets the tags in the $tags variable.The third command uses a &quot;+=&quot; operator to add the Status and FY2016 tags to the collection (array) of tags in the $tags variable.The fourth command uses the Tag parameter of Set-AzureRMResource to apply the tags in the $tags variable to the ContosoWeb resource.The fifth command shows the effect of the change. It gets all of the tags applied to the ContosoWeb resource. The output shows that the resource has the Department tag and the two new tags, Status and FY2015.</maml:para> + <maml:para>The first command gets all existing tags of the ContosoWeb resource. It uses the Get-AzureRmResource cmdlet to get the resource and then uses the dot method to get the value of its Tags property. It saves the existing tags in a $tags variable.The second command gets the tags in the $tags variable.The third command uses a &quot;+=&quot; operator to add the Status and FY2016 tags to the collection (array) of tags in the $tags variable.The fourth command uses the Tag parameter of Set-AzureRmResource to apply the tags in the $tags variable to the ContosoWeb resource.The fifth command shows the effect of the change. It gets all of the tags applied to the ContosoWeb resource. The output shows that the resource has the Department tag and the two new tags, Status and FY2015.</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> @@ -14311,7 +14311,7 @@ Tags: <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResource -Name ContosoLabWeb2 -ResourceGroupName ContosoLabsRG -ResourceType &quot;Microsoft.Web/sites&quot; -ApiVersion 2004-04-01 -Tag @{}</dev:code> + <dev:code>PS C:\&gt;Get-AzureRmResource -Name ContosoLabWeb2 -ResourceGroupName ContosoLabsRG -ResourceType &quot;Microsoft.Web/sites&quot; -ApiVersion 2004-04-01 -Tag @{}</dev:code> <dev:remarks> <maml:para>This command uses the Tag parameter and an empty hash table value to delete all tags from a resource.</maml:para> <maml:para /> @@ -14337,7 +14337,7 @@ Tags: <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMResourceGroupLog</command:name> + <command:name>Get-AzureRmResourceGroupLog</command:name> <maml:description> <maml:para>Gets the deployment log for a resource group</maml:para> </maml:description> @@ -14350,7 +14350,7 @@ Tags: </command:details> <maml:description> <maml:para>This is the Description section</maml:para> - <maml:para>The Get-AzureRMResourceGroupLog cmdlet gets the deployment log entries for a resource group. The entries are very useful for many IT tasks, including maintaining a transaction history, performing statistical analyses, and debugging.By default, Get-AzureRMResourceGroupLog gets the log entries of the currently running or most recently completed deployment for the resource group, but you can use the cmdlet parameters to get the entries for a particular deployment by name or all deployments.</maml:para> + <maml:para>The Get-AzureRmResourceGroupLog cmdlet gets the deployment log entries for a resource group. The entries are very useful for many IT tasks, including maintaining a transaction history, performing statistical analyses, and debugging.By default, Get-AzureRmResourceGroupLog gets the log entries of the currently running or most recently completed deployment for the resource group, but you can use the cmdlet parameters to get the entries for a particular deployment by name or all deployments.</maml:para> </maml:description> <command:syntax> </command:syntax> @@ -14382,7 +14382,7 @@ Tags: <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="named"> <maml:name>DeploymentName</maml:name> <maml:description> - <maml:para>Gets the log entries for the deployments with the specified name.To get the names of deployments for a resource group, use the Get-AzureRMResourceGroupDeployment cmdlet. To specify a deployment name when deploying resources, use the DeploymentName parameter of New-AzureRMResourceGroup or the Name parameter (alias DeploymentName) of the New-AzureRMResourceGroupDeployment cmdlets.</maml:para> + <maml:para>Gets the log entries for the deployments with the specified name.To get the names of deployments for a resource group, use the Get-AzureRmResourceGroupDeployment cmdlet. To specify a deployment name when deploying resources, use the DeploymentName parameter of New-AzureRmResourceGroup or the Name parameter (alias DeploymentName) of the New-AzureRmResourceGroupDeployment cmdlets.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> @@ -14432,7 +14432,7 @@ Tags: <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResourceGroupLog -Name ContosoRG01 + <dev:code>PS C:\&gt;Get-AzureRmResourceGroupLog -Name ContosoRG01 Authorization : Scope : /subscriptions/9b14a38b-4b93-4554-8bb0-3cefb47a4e1f/resourcegroups/ContosoLabsRG/deployments/LabDeploy02 Action : Microsoft.Resources/subscriptions/resourcegroups/deployments/write @@ -14477,13 +14477,13 @@ Properties : <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;(Get-AzureRMResourceGroupDeployment -ResourceGroupName ContosoLabsRG).DeploymentNameMicrosoft.WebSiteSQLDatabase.0.1.0-preview1LabDeploy02LabDeploy03 -PS C:\&gt;Get-AzureRMResourceGroupLog -Name ContosoLabsRG -DeploymentName LabDeploy02</dev:code> + <dev:code>PS C:\&gt;(Get-AzureRmResourceGroupDeployment -ResourceGroupName ContosoLabsRG).DeploymentNameMicrosoft.WebSiteSQLDatabase.0.1.0-preview1LabDeploy02LabDeploy03 +PS C:\&gt;Get-AzureRmResourceGroupLog -Name ContosoLabsRG -DeploymentName LabDeploy02</dev:code> <dev:remarks> <maml:para>These commands get the log entries of the LabDeploy02 deployment of the ContosoLabsRG resource group.</maml:para> <maml:para /> <maml:para /> - <maml:para>The first command uses the Get-AzureRMResourceGroupDeployment cmdlet to get all deployments for the ContosoLabsRG resource group. It uses the dot method to get the DeploymentName property of each deployment. Notice that the name of the first deployment is a template name, which is the default value when you do not specify a deployment name.The second command uses the Get-AzureRMResourceGroupLog cmdlet to get the log entries for the LabDeploy02 deployment.</maml:para> + <maml:para>The first command uses the Get-AzureRmResourceGroupDeployment cmdlet to get all deployments for the ContosoLabsRG resource group. It uses the dot method to get the DeploymentName property of each deployment. Notice that the name of the first deployment is a template name, which is the default value when you do not specify a deployment name.The second command uses the Get-AzureRmResourceGroupLog cmdlet to get the log entries for the LabDeploy02 deployment.</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> @@ -14498,12 +14498,12 @@ PS C:\&gt;Get-AzureRMResourceGroupLog -Name ContosoLabsRG -DeploymentName LabDep <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResourceGroupLog -Name ContosoRG01 -All | Where-Object Status -eq Failed</dev:code> + <dev:code>PS C:\&gt;Get-AzureRmResourceGroupLog -Name ContosoRG01 -All | Where-Object Status -eq Failed</dev:code> <dev:remarks> <maml:para>This command gets all log entries of failed operations for the ContosoRG01 resource group. You might use a command like this for debugging.</maml:para> <maml:para /> <maml:para /> - <maml:para>The first command uses the All parameter of the Get-AzureRMResourceGroupLog to get log entries for all deployments of the resource group. Then it pipes the log entries to the Where-Object cmdlet, which selects only entries that have a value of Failed for the Status property</maml:para> + <maml:para>The first command uses the All parameter of the Get-AzureRmResourceGroupLog to get log entries for all deployments of the resource group. Then it pipes the log entries to the Where-Object cmdlet, which selects only entries that have a value of Failed for the Status property</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> @@ -14518,9 +14518,9 @@ PS C:\&gt;Get-AzureRMResourceGroupLog -Name ContosoLabsRG -DeploymentName LabDep <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMResourceGroup | Get-AzureRMResourceGroupLog</dev:code> + <dev:code>PS C:\&gt;Get-AzureRmResourceGroup | Get-AzureRmResourceGroupLog</dev:code> <dev:remarks> - <maml:para>This command gets the log entries for the most recent deployment of each resource group in the subscription. The command uses the Get-AzureRMResourceGroup cmdlet to get all resource groups in the subscription. It pipes the resources groups to the Get-AzureRMResourceGroupLog which gets the log entries for the last deployment of each resource group.</maml:para> + <maml:para>This command gets the log entries for the most recent deployment of each resource group in the subscription. The command uses the Get-AzureRmResourceGroup cmdlet to get all resource groups in the subscription. It pipes the resources groups to the Get-AzureRmResourceGroupLog which gets the log entries for the last deployment of each resource group.</maml:para> <maml:para /> <maml:para /> <maml:para></maml:para> diff --git a/src/ResourceManager/Resources/Commands.Resources/ProviderFeatures/GetAzureProviderFeatureCmdlet.cs b/src/ResourceManager/Resources/Commands.Resources/ProviderFeatures/GetAzureProviderFeatureCmdlet.cs index 603d7185f549..00e6edfee9f8 100644 --- a/src/ResourceManager/Resources/Commands.Resources/ProviderFeatures/GetAzureProviderFeatureCmdlet.cs +++ b/src/ResourceManager/Resources/Commands.Resources/ProviderFeatures/GetAzureProviderFeatureCmdlet.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.Resources.ProviderFeatures /// <summary> /// Gets the preview features of a certain azure resource provider. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMProviderFeature", DefaultParameterSetName = GetAzureProviderFeatureCmdlet.ListAvailableParameterSet)] + [Cmdlet(VerbsCommon.Get, "AzureRmProviderFeature", DefaultParameterSetName = GetAzureProviderFeatureCmdlet.ListAvailableParameterSet)] [OutputType(typeof(List<PSProviderFeature>))] public class GetAzureProviderFeatureCmdlet : AzureProviderFeatureCmdletBase { diff --git a/src/ResourceManager/Resources/Commands.Resources/ProviderFeatures/RegisterAzureProviderFeatureCmdlet.cs b/src/ResourceManager/Resources/Commands.Resources/ProviderFeatures/RegisterAzureProviderFeatureCmdlet.cs index 77bbdbd0ab1a..8c43e48d8335 100644 --- a/src/ResourceManager/Resources/Commands.Resources/ProviderFeatures/RegisterAzureProviderFeatureCmdlet.cs +++ b/src/ResourceManager/Resources/Commands.Resources/ProviderFeatures/RegisterAzureProviderFeatureCmdlet.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.Resources.ProviderFeatures /// <summary> /// Register the previewed features of a certain azure resource provider. /// </summary> - [Cmdlet(VerbsLifecycle.Register, "AzureRMProviderFeature"), OutputType(typeof(List<PSProviderFeature>))] + [Cmdlet(VerbsLifecycle.Register, "AzureRmProviderFeature"), OutputType(typeof(List<PSProviderFeature>))] public class RegisterAzureProviderFeatureCmdlet : AzureProviderFeatureCmdletBase { /// <summary> diff --git a/src/ResourceManager/Resources/Commands.Resources/Providers/GetAzureProviderCmdlet.cs b/src/ResourceManager/Resources/Commands.Resources/Providers/GetAzureProviderCmdlet.cs index 23e59a197904..3dd256c5c3db 100644 --- a/src/ResourceManager/Resources/Commands.Resources/Providers/GetAzureProviderCmdlet.cs +++ b/src/ResourceManager/Resources/Commands.Resources/Providers/GetAzureProviderCmdlet.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Providers /// <summary> /// Get an existing resource. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMResourceProvider", DefaultParameterSetName = GetAzureProviderCmdlet.ListAvailableParameterSet), OutputType(typeof(PSResourceProvider))] + [Cmdlet(VerbsCommon.Get, "AzureRmResourceProvider", DefaultParameterSetName = GetAzureProviderCmdlet.ListAvailableParameterSet), OutputType(typeof(PSResourceProvider))] public class GetAzureProviderCmdlet : ResourcesBaseCmdlet { /// <summary> diff --git a/src/ResourceManager/Resources/Commands.Resources/Providers/GetAzureProviderOperationCmdlet.cs b/src/ResourceManager/Resources/Commands.Resources/Providers/GetAzureProviderOperationCmdlet.cs index 107a2cf90338..c7109f8d6c32 100644 --- a/src/ResourceManager/Resources/Commands.Resources/Providers/GetAzureProviderOperationCmdlet.cs +++ b/src/ResourceManager/Resources/Commands.Resources/Providers/GetAzureProviderOperationCmdlet.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Resources /// <summary> /// Get an existing resource. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMProviderOperation"), OutputType(typeof(PSResourceProviderOperation))] + [Cmdlet(VerbsCommon.Get, "AzureRmProviderOperation"), OutputType(typeof(PSResourceProviderOperation))] public class GetAzureProviderOperationCommand : ResourcesBaseCmdlet { private const string WildCardCharacter = "*"; @@ -71,7 +71,7 @@ private List<PSResourceProviderOperation> ProcessProviderOperationsWithWildCard( string nonWildCardPrefix = GetAzureProviderOperationCommand.GetNonWildcardPrefix(actionString); if (string.IsNullOrWhiteSpace(nonWildCardPrefix)) { - // 'Get-AzureRMProviderOperation *' or 'Get-AzureRMProviderOperation */virtualmachines/*' + // 'Get-AzureRmProviderOperation *' or 'Get-AzureRmProviderOperation */virtualmachines/*' // get operations for all providers providers.AddRange(this.ResourcesClient.ListProviderOperationsMetadata()); } @@ -81,7 +81,7 @@ private List<PSResourceProviderOperation> ProcessProviderOperationsWithWildCard( string providerFullName = GetAzureProviderOperationCommand.GetResourceProviderFullName(nonWildCardPrefix); if (!string.IsNullOrWhiteSpace(providerFullName)) { - // we have the full name of the provider. 'Get-AzureRMProviderOperation Microsoft.Sql/servers/*' + // we have the full name of the provider. 'Get-AzureRmProviderOperation Microsoft.Sql/servers/*' // only query for that provider providers.Add(this.ResourcesClient.GetProviderOperationsMetadata(providerFullName)); } diff --git a/src/ResourceManager/Resources/Commands.Resources/Providers/RegisterAzureProviderCmdlet.cs b/src/ResourceManager/Resources/Commands.Resources/Providers/RegisterAzureProviderCmdlet.cs index 2c4427dc7dd7..cdfb750fa92f 100644 --- a/src/ResourceManager/Resources/Commands.Resources/Providers/RegisterAzureProviderCmdlet.cs +++ b/src/ResourceManager/Resources/Commands.Resources/Providers/RegisterAzureProviderCmdlet.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.Resources /// <summary> /// Register the previewed features of a certain azure resource provider. /// </summary> - [Cmdlet(VerbsLifecycle.Register, "AzureRMResourceProvider"), OutputType(typeof(PSResourceProvider))] + [Cmdlet(VerbsLifecycle.Register, "AzureRmResourceProvider"), OutputType(typeof(PSResourceProvider))] public class RegisterAzureProviderCmdlet : ResourcesBaseCmdlet { /// <summary> diff --git a/src/ResourceManager/Resources/Commands.Resources/Providers/UnregisterAzureProviderCmdlet.cs b/src/ResourceManager/Resources/Commands.Resources/Providers/UnregisterAzureProviderCmdlet.cs index 5d6bf49f42df..156cb7f4b24f 100644 --- a/src/ResourceManager/Resources/Commands.Resources/Providers/UnregisterAzureProviderCmdlet.cs +++ b/src/ResourceManager/Resources/Commands.Resources/Providers/UnregisterAzureProviderCmdlet.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.Resources /// <summary> /// Un-registers the resource provider from the current subscription. /// </summary> - [Cmdlet(VerbsLifecycle.Unregister, "AzureRMResourceProvider"), OutputType(typeof(List<PSResourceProvider>))] + [Cmdlet(VerbsLifecycle.Unregister, "AzureRmResourceProvider"), OutputType(typeof(List<PSResourceProvider>))] public class UnregisterAzureProviderCmdlet : ResourcesBaseCmdlet { /// <summary> diff --git a/src/ResourceManager/Resources/Commands.Resources/ResourceGroupDeployments/GetAzureResourceGroupDeploymentCommand.cs b/src/ResourceManager/Resources/Commands.Resources/ResourceGroupDeployments/GetAzureResourceGroupDeploymentCommand.cs index d402aead5b76..a6ef20f6f731 100644 --- a/src/ResourceManager/Resources/Commands.Resources/ResourceGroupDeployments/GetAzureResourceGroupDeploymentCommand.cs +++ b/src/ResourceManager/Resources/Commands.Resources/ResourceGroupDeployments/GetAzureResourceGroupDeploymentCommand.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Resources /// <summary> /// Filters resource group deployments. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMResourceGroupDeployment"), OutputType(typeof(List<PSResourceGroupDeployment>))] + [Cmdlet(VerbsCommon.Get, "AzureRmResourceGroupDeployment"), OutputType(typeof(List<PSResourceGroupDeployment>))] public class GetAzureResourceGroupDeploymentCommand : ResourcesBaseCmdlet { [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the resource group.")] diff --git a/src/ResourceManager/Resources/Commands.Resources/ResourceGroupDeployments/NewAzureResourceGroupDeploymentCommand.cs b/src/ResourceManager/Resources/Commands.Resources/ResourceGroupDeployments/NewAzureResourceGroupDeploymentCommand.cs index 88262993b636..6681e3fd22a6 100644 --- a/src/ResourceManager/Resources/Commands.Resources/ResourceGroupDeployments/NewAzureResourceGroupDeploymentCommand.cs +++ b/src/ResourceManager/Resources/Commands.Resources/ResourceGroupDeployments/NewAzureResourceGroupDeploymentCommand.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.Resources /// <summary> /// Creates a new resource group deployment. /// </summary> - [Cmdlet(VerbsCommon.New, "AzureRMResourceGroupDeployment", DefaultParameterSetName = BaseParameterSetName), OutputType(typeof(PSResourceGroupDeployment))] + [Cmdlet(VerbsCommon.New, "AzureRmResourceGroupDeployment", DefaultParameterSetName = BaseParameterSetName), OutputType(typeof(PSResourceGroupDeployment))] public class NewAzureResourceGroupDeploymentCommand : ResourceWithParameterBaseCmdlet, IDynamicParameters { [Alias("DeploymentName")] @@ -63,7 +63,7 @@ protected override void ProcessRecord() if (!string.IsNullOrEmpty(TemplateVersion) || !string.IsNullOrEmpty(StorageAccountName) || !string.IsNullOrEmpty(GalleryTemplateIdentity)) { - WriteWarning("The GalleryTemplateIdentity, TemplateVersion and StorageAccountName parameters in New-AzureRMResourceGroupDeployment cmdlet is being deprecated and will be removed in a future release."); + WriteWarning("The GalleryTemplateIdentity, TemplateVersion and StorageAccountName parameters in New-AzureRmResourceGroupDeployment cmdlet is being deprecated and will be removed in a future release."); } if(this.Mode == DeploymentMode.Complete) diff --git a/src/ResourceManager/Resources/Commands.Resources/ResourceGroupDeployments/RemoveAzureResourceGroupDeploymentCommand.cs b/src/ResourceManager/Resources/Commands.Resources/ResourceGroupDeployments/RemoveAzureResourceGroupDeploymentCommand.cs index 35c9a5b6f237..6c2cb4ca451f 100644 --- a/src/ResourceManager/Resources/Commands.Resources/ResourceGroupDeployments/RemoveAzureResourceGroupDeploymentCommand.cs +++ b/src/ResourceManager/Resources/Commands.Resources/ResourceGroupDeployments/RemoveAzureResourceGroupDeploymentCommand.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Resources.ResourceGroups /// <summary> /// Deletes a deployment. /// </summary> - [Cmdlet(VerbsCommon.Remove, "AzureRMResourceGroupDeployment"), OutputType(typeof(bool))] + [Cmdlet(VerbsCommon.Remove, "AzureRmResourceGroupDeployment"), OutputType(typeof(bool))] public class RemoveAzureResourceGroupDeploymentCommand : ResourcesBaseCmdlet { [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the resource group.")] diff --git a/src/ResourceManager/Resources/Commands.Resources/ResourceGroupDeployments/StopAzureResourceGroupDeploymentCommand.cs b/src/ResourceManager/Resources/Commands.Resources/ResourceGroupDeployments/StopAzureResourceGroupDeploymentCommand.cs index 1fe0850f2a4c..96eb42dde0a1 100644 --- a/src/ResourceManager/Resources/Commands.Resources/ResourceGroupDeployments/StopAzureResourceGroupDeploymentCommand.cs +++ b/src/ResourceManager/Resources/Commands.Resources/ResourceGroupDeployments/StopAzureResourceGroupDeploymentCommand.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Resources.ResourceGroups /// <summary> /// Cancel a running deployment. /// </summary> - [Cmdlet(VerbsLifecycle.Stop, "AzureRMResourceGroupDeployment"), OutputType(typeof(bool))] + [Cmdlet(VerbsLifecycle.Stop, "AzureRmResourceGroupDeployment"), OutputType(typeof(bool))] public class StopAzureResourceGroupDeploymentCommand : ResourcesBaseCmdlet { [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the resource group.")] diff --git a/src/ResourceManager/Resources/Commands.Resources/ResourceGroups/GetAzureLocationCommand.cs b/src/ResourceManager/Resources/Commands.Resources/ResourceGroups/GetAzureLocationCommand.cs index 4c3c8a14920b..fab7835e19e3 100644 --- a/src/ResourceManager/Resources/Commands.Resources/ResourceGroups/GetAzureLocationCommand.cs +++ b/src/ResourceManager/Resources/Commands.Resources/ResourceGroups/GetAzureLocationCommand.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Resources /// <summary> /// Get the available locations for certain resource types. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMLocation"), OutputType(typeof(List<PSResourceProviderLocationInfo>))] + [Cmdlet(VerbsCommon.Get, "AzureRmLocation"), OutputType(typeof(List<PSResourceProviderLocationInfo>))] public class GetAzureLocationCommand : ResourcesBaseCmdlet, IModuleAssemblyInitializer { protected override void ProcessRecord() diff --git a/src/ResourceManager/Resources/Commands.Resources/ResourceGroups/GetAzureResourceGroupCommand.cs b/src/ResourceManager/Resources/Commands.Resources/ResourceGroups/GetAzureResourceGroupCommand.cs index 2787a799685b..cdc81d2c3708 100644 --- a/src/ResourceManager/Resources/Commands.Resources/ResourceGroups/GetAzureResourceGroupCommand.cs +++ b/src/ResourceManager/Resources/Commands.Resources/ResourceGroups/GetAzureResourceGroupCommand.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.Resources /// <summary> /// Filters resource groups. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMResourceGroup"), OutputType(typeof(List<PSResourceGroup>))] + [Cmdlet(VerbsCommon.Get, "AzureRmResourceGroup"), OutputType(typeof(List<PSResourceGroup>))] public class GetAzureResourceGroupCommand : ResourcesBaseCmdlet { [Alias("ResourceGroupName")] diff --git a/src/ResourceManager/Resources/Commands.Resources/ResourceGroups/NewAzureResourceGroupCommand.cs b/src/ResourceManager/Resources/Commands.Resources/ResourceGroups/NewAzureResourceGroupCommand.cs index a2717f61e99a..b12cd457f6a3 100644 --- a/src/ResourceManager/Resources/Commands.Resources/ResourceGroups/NewAzureResourceGroupCommand.cs +++ b/src/ResourceManager/Resources/Commands.Resources/ResourceGroups/NewAzureResourceGroupCommand.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.Resources /// <summary> /// Creates a new resource group. /// </summary> - [Cmdlet(VerbsCommon.New, "AzureRMResourceGroup", DefaultParameterSetName = BaseParameterSetName), OutputType(typeof(PSResourceGroup))] + [Cmdlet(VerbsCommon.New, "AzureRmResourceGroup", DefaultParameterSetName = BaseParameterSetName), OutputType(typeof(PSResourceGroup))] public class NewAzureResourceGroupCommand : ResourceWithParameterBaseCmdlet, IDynamicParameters { [Alias("ResourceGroupName")] @@ -65,7 +65,7 @@ protected override void ProcessRecord() if(!string.IsNullOrEmpty(DeploymentName) || !string.IsNullOrEmpty(GalleryTemplateIdentity) || !string.IsNullOrEmpty(TemplateFile) || !string.IsNullOrEmpty(TemplateVersion) || TemplateParameterObject != null || !string.IsNullOrEmpty(StorageAccountName)) { - WriteWarning("The deployment parameters in New-AzureRMResourceGroup cmdlet is being deprecated and will be removed in a future release. Please use New-AzureRMResourceGroupDeployment to submit deployments."); + WriteWarning("The deployment parameters in New-AzureRmResourceGroup cmdlet is being deprecated and will be removed in a future release. Please use New-AzureRmResourceGroupDeployment to submit deployments."); } WriteWarning("The output object of this cmdlet will be modified in a future release."); WriteObject(ResourcesClient.CreatePSResourceGroup(parameters)); diff --git a/src/ResourceManager/Resources/Commands.Resources/ResourceGroups/RemoveAzureResourceGroupCommand.cs b/src/ResourceManager/Resources/Commands.Resources/ResourceGroups/RemoveAzureResourceGroupCommand.cs index 37a32382b3d8..65f33d187489 100644 --- a/src/ResourceManager/Resources/Commands.Resources/ResourceGroups/RemoveAzureResourceGroupCommand.cs +++ b/src/ResourceManager/Resources/Commands.Resources/ResourceGroups/RemoveAzureResourceGroupCommand.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Resources /// <summary> /// Removes a new resource group. /// </summary> - [Cmdlet(VerbsCommon.Remove, "AzureRMResourceGroup", SupportsShouldProcess = true), OutputType(typeof(bool))] + [Cmdlet(VerbsCommon.Remove, "AzureRmResourceGroup", SupportsShouldProcess = true), OutputType(typeof(bool))] public class RemoveAzureResourceGroupCommand : ResourcesBaseCmdlet { [Alias("ResourceGroupName")] diff --git a/src/ResourceManager/Resources/Commands.Resources/ResourceGroups/SetAzureResourceGroupCommand.cs b/src/ResourceManager/Resources/Commands.Resources/ResourceGroups/SetAzureResourceGroupCommand.cs index dfeda5f598f4..40425b8c67be 100644 --- a/src/ResourceManager/Resources/Commands.Resources/ResourceGroups/SetAzureResourceGroupCommand.cs +++ b/src/ResourceManager/Resources/Commands.Resources/ResourceGroups/SetAzureResourceGroupCommand.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Resources /// <summary> /// Updates an existing resource group. /// </summary> - [Cmdlet(VerbsCommon.Set, "AzureRMResourceGroup"), OutputType(typeof(PSResourceGroup))] + [Cmdlet(VerbsCommon.Set, "AzureRmResourceGroup"), OutputType(typeof(PSResourceGroup))] public class SetAzureResourceGroupCommand : ResourcesBaseCmdlet { [Alias("ResourceGroupName")] diff --git a/src/ResourceManager/Resources/Commands.Resources/ResourceManagerStartup.ps1 b/src/ResourceManager/Resources/Commands.Resources/ResourceManagerStartup.ps1 index 6f86e038689c..cf030ed34086 100644 --- a/src/ResourceManager/Resources/Commands.Resources/ResourceManagerStartup.ps1 +++ b/src/ResourceManager/Resources/Commands.Resources/ResourceManagerStartup.ps1 @@ -14,22 +14,22 @@ @{ # Sql aliases - "Get-AzureRMSqlDatabaseServerAuditingPolicy" = "Get-AzureRMSqlServerAuditingPolicy"; - "Remove-AzureRMSqlDatabaseServerAuditing" = "Remove-AzureRMSqlServerAuditing"; - "Set-AzureRMSqlDatabaseServerAuditingPolicy" = "Set-AzureRMSqlServerAuditingPolicy"; - "Use-AzureRMSqlDatabaseServerAuditingPolicy" = "Use-AzureRMSqlServerAuditingPolicy"; + "Get-AzureRmSqlDatabaseServerAuditingPolicy" = "Get-AzureRmSqlServerAuditingPolicy"; + "Remove-AzureRmSqlDatabaseServerAuditing" = "Remove-AzureRmSqlServerAuditing"; + "Set-AzureRmSqlDatabaseServerAuditingPolicy" = "Set-AzureRmSqlServerAuditingPolicy"; + "Use-AzureRmSqlDatabaseServerAuditingPolicy" = "Use-AzureRmSqlServerAuditingPolicy"; # Storage aliases - "Get-AzureRMStorageContainerAcl" = "Get-AzureRMStorageContainer"; - "Start-CopyAzureStorageBlob" = "Start-AzureRMStorageBlobCopy"; - "Stop-CopyAzureStorageBlob" = "Stop-AzureRMStorageBlobCopy"; + "Get-AzureRmStorageContainerAcl" = "Get-AzureRmStorageContainer"; + "Start-CopyAzureStorageBlob" = "Start-AzureRmStorageBlobCopy"; + "Stop-CopyAzureStorageBlob" = "Stop-AzureRmStorageBlobCopy"; }.GetEnumerator() | Select @{Name='Name'; Expression={$_.Key}}, @{Name='Value'; Expression={$_.Value}} | New-Alias -Description "AzureAlias" # Authorization script commandlet that builds on top of existing Insights comandlets. -# This commandlet gets all events for the "Microsoft.Authorization" resource provider by calling the "Get-AzureRMResourceProviderLog" commandlet +# This commandlet gets all events for the "Microsoft.Authorization" resource provider by calling the "Get-AzureRmResourceProviderLog" commandlet -function Get-AzureRMAuthorizationChangeLog { +function Get-AzureRmAuthorizationChangeLog { [CmdletBinding()] param( [parameter(Mandatory=$false, ValueFromPipelineByPropertyName=$true, HelpMessage = "The start time. Optional @@ -42,7 +42,7 @@ function Get-AzureRMAuthorizationChangeLog { ) PROCESS { # Get all events for the "Microsoft.Authorization" provider by calling the Insights commandlet - $events = Get-AzureRMResourceProviderLog -ResourceProvider "Microsoft.Authorization" -DetailedOutput -StartTime $StartTime -EndTime $EndTime + $events = Get-AzureRmResourceProviderLog -ResourceProvider "Microsoft.Authorization" -DetailedOutput -StartTime $StartTime -EndTime $EndTime $startEvents = @{} $endEvents = @{} @@ -59,7 +59,7 @@ function Get-AzureRMAuthorizationChangeLog { # Get all role definitions once from the service and cache to use for all 'startevents' $azureRoleDefinitionCache = @{} - Get-AzureRMRoleDefinition | % { $azureRoleDefinitionCache[$_.Id] = $_ } + Get-AzureRmRoleDefinition | % { $azureRoleDefinitionCache[$_.Id] = $_ } $principalDetailsCache = @{} @@ -104,17 +104,17 @@ function Get-AzureRMAuthorizationChangeLog { $principalDetails = $principalDetailsCache[$principalId] } else { # not in cache $principalDetails = "" | select Name, Type - $user = Get-AzureRMADUser -ObjectId $principalId + $user = Get-AzureRmADUser -ObjectId $principalId if ($user) { $principalDetails.Name = $user.DisplayName $principalDetails.Type = "User" } else { - $group = Get-AzureRMADGroup -ObjectId $principalId + $group = Get-AzureRmADGroup -ObjectId $principalId if ($group) { $principalDetails.Name = $group.DisplayName $principalDetails.Type = "Group" } else { - $servicePrincipal = Get-AzureRMADServicePrincipal -objectId $principalId + $servicePrincipal = Get-AzureRmADServicePrincipal -objectId $principalId if ($servicePrincipal) { $principalDetails.Name = $servicePrincipal.DisplayName $principalDetails.Type = "Service Principal" diff --git a/src/ResourceManager/Resources/Commands.Resources/RoleAssignments/GetAzureRoleAssignmentCommand.cs b/src/ResourceManager/Resources/Commands.Resources/RoleAssignments/GetAzureRoleAssignmentCommand.cs index 4d64f5b3bf94..dea9daf50188 100644 --- a/src/ResourceManager/Resources/Commands.Resources/RoleAssignments/GetAzureRoleAssignmentCommand.cs +++ b/src/ResourceManager/Resources/Commands.Resources/RoleAssignments/GetAzureRoleAssignmentCommand.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Resources /// <summary> /// Filters role assignments /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMRoleAssignment", DefaultParameterSetName = ParameterSet.Empty), OutputType(typeof(List<PSRoleAssignment>))] + [Cmdlet(VerbsCommon.Get, "AzureRmRoleAssignment", DefaultParameterSetName = ParameterSet.Empty), OutputType(typeof(List<PSRoleAssignment>))] public class GetAzureRoleAssignmentCommand : ResourcesBaseCmdlet { [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.ObjectId, diff --git a/src/ResourceManager/Resources/Commands.Resources/RoleAssignments/NewAzureRoleAssignmentCommand.cs b/src/ResourceManager/Resources/Commands.Resources/RoleAssignments/NewAzureRoleAssignmentCommand.cs index 0dff5003ac58..4b15520c9616 100644 --- a/src/ResourceManager/Resources/Commands.Resources/RoleAssignments/NewAzureRoleAssignmentCommand.cs +++ b/src/ResourceManager/Resources/Commands.Resources/RoleAssignments/NewAzureRoleAssignmentCommand.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Resources /// <summary> /// Creates new role assignment. /// </summary> - [Cmdlet(VerbsCommon.New, "AzureRMRoleAssignment"), OutputType(typeof(PSRoleAssignment))] + [Cmdlet(VerbsCommon.New, "AzureRmRoleAssignment"), OutputType(typeof(PSRoleAssignment))] public class NewAzureRoleAssignmentCommand : ResourcesBaseCmdlet { [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.ResourceGroupWithObjectId, diff --git a/src/ResourceManager/Resources/Commands.Resources/RoleAssignments/RemoveAzureRoleAssignmentCommand.cs b/src/ResourceManager/Resources/Commands.Resources/RoleAssignments/RemoveAzureRoleAssignmentCommand.cs index 4ae3c30d6fd2..964bf0710cf2 100644 --- a/src/ResourceManager/Resources/Commands.Resources/RoleAssignments/RemoveAzureRoleAssignmentCommand.cs +++ b/src/ResourceManager/Resources/Commands.Resources/RoleAssignments/RemoveAzureRoleAssignmentCommand.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Resources /// <summary> /// Removes a given role assignment. /// </summary> - [Cmdlet(VerbsCommon.Remove, "AzureRMRoleAssignment", DefaultParameterSetName = ParameterSet.Empty), OutputType(typeof(List<PSRoleAssignment>))] + [Cmdlet(VerbsCommon.Remove, "AzureRmRoleAssignment", DefaultParameterSetName = ParameterSet.Empty), OutputType(typeof(List<PSRoleAssignment>))] public class RemoveAzureRoleAssignmentCommand : ResourcesBaseCmdlet { [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.Empty, diff --git a/src/ResourceManager/Resources/Commands.Resources/RoleDefinitions/GetAzureRoleDefinitionCommand.cs b/src/ResourceManager/Resources/Commands.Resources/RoleDefinitions/GetAzureRoleDefinitionCommand.cs index 6e6652abb8fb..9099e1f2171a 100644 --- a/src/ResourceManager/Resources/Commands.Resources/RoleDefinitions/GetAzureRoleDefinitionCommand.cs +++ b/src/ResourceManager/Resources/Commands.Resources/RoleDefinitions/GetAzureRoleDefinitionCommand.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.Resources /// <summary> /// Get the available role Definitions for certain resource types. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMRoleDefinition"), OutputType(typeof(List<PSRoleDefinition>))] + [Cmdlet(VerbsCommon.Get, "AzureRmRoleDefinition"), OutputType(typeof(List<PSRoleDefinition>))] public class GetAzureRoleDefinitionCommand : ResourcesBaseCmdlet { [Parameter(Position = 0, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Optional. The name of the role Definition.")] diff --git a/src/ResourceManager/Resources/Commands.Resources/RoleDefinitions/NewAzureRoleDefinitionCommand.cs b/src/ResourceManager/Resources/Commands.Resources/RoleDefinitions/NewAzureRoleDefinitionCommand.cs index 602a766950ee..f830e4ec6d72 100644 --- a/src/ResourceManager/Resources/Commands.Resources/RoleDefinitions/NewAzureRoleDefinitionCommand.cs +++ b/src/ResourceManager/Resources/Commands.Resources/RoleDefinitions/NewAzureRoleDefinitionCommand.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Resources /// <summary> /// Creates a new role definition. /// </summary> - [Cmdlet(VerbsCommon.New, "AzureRMRoleDefinition"), OutputType(typeof(PSRoleDefinition))] + [Cmdlet(VerbsCommon.New, "AzureRmRoleDefinition"), OutputType(typeof(PSRoleDefinition))] public class NewAzureRoleDefinitionCommand : ResourcesBaseCmdlet { [ValidateNotNullOrEmpty] diff --git a/src/ResourceManager/Resources/Commands.Resources/RoleDefinitions/RemoveAzureRoleDefinitionCommand.cs b/src/ResourceManager/Resources/Commands.Resources/RoleDefinitions/RemoveAzureRoleDefinitionCommand.cs index 9b393df9d74f..9cdb1f24765a 100644 --- a/src/ResourceManager/Resources/Commands.Resources/RoleDefinitions/RemoveAzureRoleDefinitionCommand.cs +++ b/src/ResourceManager/Resources/Commands.Resources/RoleDefinitions/RemoveAzureRoleDefinitionCommand.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.Resources /// <summary> /// Deletes a given role definition. /// </summary> - [Cmdlet(VerbsCommon.Remove, "AzureRMRoleDefinition"), OutputType(typeof(bool))] + [Cmdlet(VerbsCommon.Remove, "AzureRmRoleDefinition"), OutputType(typeof(bool))] public class RemoveAzureRoleDefinitionCommand : ResourcesBaseCmdlet { [ValidateNotNullOrEmpty] diff --git a/src/ResourceManager/Resources/Commands.Resources/RoleDefinitions/SetAzureRoleDefinitionCommand.cs b/src/ResourceManager/Resources/Commands.Resources/RoleDefinitions/SetAzureRoleDefinitionCommand.cs index 8ca50a1c7ba5..25d8bd3e0c21 100644 --- a/src/ResourceManager/Resources/Commands.Resources/RoleDefinitions/SetAzureRoleDefinitionCommand.cs +++ b/src/ResourceManager/Resources/Commands.Resources/RoleDefinitions/SetAzureRoleDefinitionCommand.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Resources /// <summary> /// Updates an existing role definition. /// </summary> - [Cmdlet(VerbsCommon.Set, "AzureRMRoleDefinition"), OutputType(typeof(PSRoleDefinition))] + [Cmdlet(VerbsCommon.Set, "AzureRmRoleDefinition"), OutputType(typeof(PSRoleDefinition))] public class SetAzureRoleDefinitionCommand : ResourcesBaseCmdlet { [ValidateNotNullOrEmpty] diff --git a/src/ResourceManager/Resources/Commands.Resources/Templates/TestAzureResourceGroupTemplateCommand.cs b/src/ResourceManager/Resources/Commands.Resources/Templates/TestAzureResourceGroupTemplateCommand.cs index 5980a111815c..5eca9db4a855 100644 --- a/src/ResourceManager/Resources/Commands.Resources/Templates/TestAzureResourceGroupTemplateCommand.cs +++ b/src/ResourceManager/Resources/Commands.Resources/Templates/TestAzureResourceGroupTemplateCommand.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Resources.ResourceGroupDeployments /// <summary> /// Validate a template to see whether it's using the right syntax, resource providers, resource types, etc. /// </summary> - [Cmdlet(VerbsDiagnostic.Test, "AzureRMResourceGroupTemplate", DefaultParameterSetName = ParameterlessTemplateFileParameterSetName), OutputType(typeof(List<PSResourceManagerError>))] + [Cmdlet(VerbsDiagnostic.Test, "AzureRmResourceGroupTemplate", DefaultParameterSetName = ParameterlessTemplateFileParameterSetName), OutputType(typeof(List<PSResourceManagerError>))] public class TestAzureResourceGroupTemplateCommand : ResourceWithParameterBaseCmdlet, IDynamicParameters { [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource group name.")] diff --git a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery.Test/ScenarioTests/SiteRecoveryTests.ps1 b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery.Test/ScenarioTests/SiteRecoveryTests.ps1 index ad03cd53581f..847893e5971e 100644 --- a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery.Test/ScenarioTests/SiteRecoveryTests.ps1 +++ b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery.Test/ScenarioTests/SiteRecoveryTests.ps1 @@ -24,10 +24,10 @@ function Test-SiteRecoveryEnumerationTests param([string] $vaultSettingsFilePath) # Import Azure Site Recovery Vault Settings - Import-AzureRMSiteRecoveryVaultSettingsFile $vaultSettingsFilePath + Import-AzureRmSiteRecoveryVaultSettingsFile $vaultSettingsFilePath # Enumerate Vaults - $vaults = Get-AzureRMSiteRecoveryVault + $vaults = Get-AzureRmSiteRecoveryVault Assert-True { $vaults.Count -gt 0 } Assert-NotNull($vaults) foreach($vault in $vaults) @@ -37,7 +37,7 @@ function Test-SiteRecoveryEnumerationTests } # Enumerate Servers - $servers = Get-AzureRMSiteRecoveryServer + $servers = Get-AzureRmSiteRecoveryServer Assert-True { $servers.Count -gt 0 } Assert-NotNull($servers) foreach($server in $servers) @@ -47,7 +47,7 @@ function Test-SiteRecoveryEnumerationTests } # Enumerate Protection Containers - $protectionContainers = Get-AzureRMSiteRecoveryProtectionContainer + $protectionContainers = Get-AzureRmSiteRecoveryProtectionContainer Assert-True { $protectionContainers.Count -gt 0 } Assert-NotNull($protectionContainers) foreach($protectionContainer in $protectionContainers) @@ -66,10 +66,10 @@ function Test-SiteRecoveryCreateProfile param([string] $vaultSettingsFilePath) # Import Azure Site Recovery Vault Settings - Import-AzureRMSiteRecoveryVaultSettingsFile $vaultSettingsFilePath + Import-AzureRmSiteRecoveryVaultSettingsFile $vaultSettingsFilePath # Create profile - $job = New-AzureRMSiteRecoveryProtectionProfile -Name pp -ReplicationProvider HyperVReplica -ReplicationMethod Online -ReplicationFrequencyInSeconds 30 -RecoveryPoints 1 -ApplicationConsistentSnapshotFrequencyInHours 0 -ReplicationPort 8083 -Authentication Kerberos + $job = New-AzureRmSiteRecoveryProtectionProfile -Name pp -ReplicationProvider HyperVReplica -ReplicationMethod Online -ReplicationFrequencyInSeconds 30 -RecoveryPoints 1 -ApplicationConsistentSnapshotFrequencyInHours 0 -ReplicationPort 8083 -Authentication Kerberos # WaitForJobCompletion -JobId $job.Name } @@ -82,15 +82,15 @@ function Test-SiteRecoveryDeleteProfile param([string] $vaultSettingsFilePath) # Import Azure Site Recovery Vault Settings - Import-AzureRMSiteRecoveryVaultSettingsFile $vaultSettingsFilePath + Import-AzureRmSiteRecoveryVaultSettingsFile $vaultSettingsFilePath # Get a profile created in previous test (with name pp) - $profiles = Get-AzureRMSiteRecoveryProtectionProfile -Name pp + $profiles = Get-AzureRmSiteRecoveryProtectionProfile -Name pp Assert-True { $profiles.Count -gt 0 } Assert-NotNull($profiles) # Delete the profile - $job = Remove-AzureRMSiteRecoveryProtectionProfile -ProtectionProfile $profiles[0] + $job = Remove-AzureRmSiteRecoveryProtectionProfile -ProtectionProfile $profiles[0] # WaitForJobCompletion -JobId $job.Name } @@ -103,15 +103,15 @@ function Test-SiteRecoveryAssociateProfile param([string] $vaultSettingsFilePath) # Import Azure Site Recovery Vault Settings - Import-AzureRMSiteRecoveryVaultSettingsFile $vaultSettingsFilePath + Import-AzureRmSiteRecoveryVaultSettingsFile $vaultSettingsFilePath # Get the primary cloud, recovery cloud, and protection profile - $pri = Get-AzureRMSiteRecoveryProtectionContainer -FriendlyName pri - $rec = Get-AzureRMSiteRecoveryProtectionContainer -FriendlyName rec - $pp = Get-AzureRMSiteRecoveryProtectionProfile -Name pp; + $pri = Get-AzureRmSiteRecoveryProtectionContainer -FriendlyName pri + $rec = Get-AzureRmSiteRecoveryProtectionContainer -FriendlyName rec + $pp = Get-AzureRmSiteRecoveryProtectionProfile -Name pp; # Associate the profile - $job = Start-AzureRMSiteRecoveryProtectionProfileAssociationJob -ProtectionProfile $pp -PrimaryProtectionContainer $pri -RecoveryProtectionContainer $rec + $job = Start-AzureRmSiteRecoveryProtectionProfileAssociationJob -ProtectionProfile $pp -PrimaryProtectionContainer $pri -RecoveryProtectionContainer $rec # WaitForJobCompletion -JobId $job.Name } @@ -124,15 +124,15 @@ function Test-SiteRecoveryDissociateProfile param([string] $vaultSettingsFilePath) # Import Azure Site Recovery Vault Settings - Import-AzureRMSiteRecoveryVaultSettingsFile $vaultSettingsFilePath + Import-AzureRmSiteRecoveryVaultSettingsFile $vaultSettingsFilePath # Get the primary cloud, recovery cloud, and protection profile - $pri = Get-AzureRMSiteRecoveryProtectionContainer -FriendlyName pri - $rec = Get-AzureRMSiteRecoveryProtectionContainer -FriendlyName rec - $pp = Get-AzureRMSiteRecoveryProtectionProfile -Name pp; + $pri = Get-AzureRmSiteRecoveryProtectionContainer -FriendlyName pri + $rec = Get-AzureRmSiteRecoveryProtectionContainer -FriendlyName rec + $pp = Get-AzureRmSiteRecoveryProtectionProfile -Name pp; # Dissociate the profile - $job = Start-AzureRMSiteRecoveryProtectionProfileDissociationJob -ProtectionProfile $pp -PrimaryProtectionContainer $pri -RecoveryProtectionContainer $rec + $job = Start-AzureRmSiteRecoveryProtectionProfileDissociationJob -ProtectionProfile $pp -PrimaryProtectionContainer $pri -RecoveryProtectionContainer $rec # WaitForJobCompletion -JobId $job.Name } @@ -154,7 +154,7 @@ function WaitForJobCompletion { Start-Sleep $interval $timeElapse = $timeElapse + $interval - $job = Get-AzureRMSiteRecoveryJob -Name $JobId; + $job = Get-AzureRmSiteRecoveryJob -Name $JobId; } while((-not ($endStateDescription -ccontains $job.State)) -and ($timeElapse -lt $NumOfSecondsToWait)) Assert-True { $endStateDescription -ccontains $job.State } "Job did not reached desired state within $NumOfSecondsToWait seconds." diff --git a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Job/GetAzureSiteRecoveryJob.cs b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Job/GetAzureSiteRecoveryJob.cs index 990ba77334b8..7b06dfbe252a 100644 --- a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Job/GetAzureSiteRecoveryJob.cs +++ b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Job/GetAzureSiteRecoveryJob.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.SiteRecovery /// <summary> /// Retrieves Azure site Recovery Job. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMSiteRecoveryJob", DefaultParameterSetName = ASRParameterSets.ByParam)] + [Cmdlet(VerbsCommon.Get, "AzureRmSiteRecoveryJob", DefaultParameterSetName = ASRParameterSets.ByParam)] [OutputType(typeof(IEnumerable<ASRJob>))] public class GetAzureSiteRecoveryJob : SiteRecoveryCmdletBase { diff --git a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Job/ResumeAzureSiteRecoveryJob.cs b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Job/ResumeAzureSiteRecoveryJob.cs index df0bd4108721..8b0b44e892c2 100644 --- a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Job/ResumeAzureSiteRecoveryJob.cs +++ b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Job/ResumeAzureSiteRecoveryJob.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.SiteRecovery /// <summary> /// Resumes Azure Site Recovery Job. /// </summary> - [Cmdlet(VerbsLifecycle.Resume, "AzureRMSiteRecoveryJob", DefaultParameterSetName = ASRParameterSets.ByObject)] + [Cmdlet(VerbsLifecycle.Resume, "AzureRmSiteRecoveryJob", DefaultParameterSetName = ASRParameterSets.ByObject)] [OutputType(typeof(ASRJob))] public class ResumeAzureSiteRecoveryJob : SiteRecoveryCmdletBase { diff --git a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Microsoft.Azure.Commands.SiteRecovery.dll-help.xml b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Microsoft.Azure.Commands.SiteRecovery.dll-help.xml index 47f44c7fcb30..ce2e5cf2d130 100644 --- a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Microsoft.Azure.Commands.SiteRecovery.dll-help.xml +++ b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Microsoft.Azure.Commands.SiteRecovery.dll-help.xml @@ -5,7 +5,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> - Get-AzureRMSiteRecoveryServer + Get-AzureRmSiteRecoveryServer </command:name> <maml:description> <maml:para>Get information about Azure Site Recovery Server for current Azure Site Recovery vault</maml:para> @@ -23,7 +23,7 @@ <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMSiteRecoveryServer</maml:name> + <maml:name>Get-AzureRmSiteRecoveryServer</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Name</maml:name> <maml:description> @@ -40,7 +40,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMSiteRecoveryServer</maml:name> + <maml:name>Get-AzureRmSiteRecoveryServer</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>FriendlyName</maml:name> <maml:description> @@ -156,7 +156,7 @@ <maml:para>PS C:\&gt;</maml:para> </maml:introduction> <dev:code> - Get-AzureRMSiteRecoveryServer + Get-AzureRmSiteRecoveryServer FriendlyName : sriramvu-hv2.fareast.corp.microsoft.com Name : 57f95c35-6c83-42ce-bb21-2c4f10f92d8e diff --git a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionContainer/GetAzureSiteRecoveryProtectionContainer.cs b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionContainer/GetAzureSiteRecoveryProtectionContainer.cs index 14483c66ca70..d8304e845dc7 100644 --- a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionContainer/GetAzureSiteRecoveryProtectionContainer.cs +++ b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionContainer/GetAzureSiteRecoveryProtectionContainer.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.SiteRecovery /// <summary> /// Retrieves Azure Site Recovery Protection Container. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMSiteRecoveryProtectionContainer", DefaultParameterSetName = ASRParameterSets.Default)] + [Cmdlet(VerbsCommon.Get, "AzureRmSiteRecoveryProtectionContainer", DefaultParameterSetName = ASRParameterSets.Default)] [OutputType(typeof(IEnumerable<ASRProtectionContainer>))] public class GetAzureSiteRecoveryProtectionContainer : SiteRecoveryCmdletBase { diff --git a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionEntity/GetAzureSiteRecoveryProtectionEntity.cs b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionEntity/GetAzureSiteRecoveryProtectionEntity.cs index b6b6f1835648..904933fde66a 100644 --- a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionEntity/GetAzureSiteRecoveryProtectionEntity.cs +++ b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionEntity/GetAzureSiteRecoveryProtectionEntity.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.SiteRecovery /// <summary> /// Retrieves Azure Site Recovery Protection Entity. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMSiteRecoveryProtectionEntity", DefaultParameterSetName = ASRParameterSets.ByObject)] + [Cmdlet(VerbsCommon.Get, "AzureRmSiteRecoveryProtectionEntity", DefaultParameterSetName = ASRParameterSets.ByObject)] [OutputType(typeof(IEnumerable<ASRProtectionEntity>))] public class GetAzureSiteRecoveryProtectionEntity : SiteRecoveryCmdletBase { diff --git a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionEntity/SetAzureSiteRecoveryProtectionEntity.cs b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionEntity/SetAzureSiteRecoveryProtectionEntity.cs index f88822e8aae0..1489613941a5 100644 --- a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionEntity/SetAzureSiteRecoveryProtectionEntity.cs +++ b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionEntity/SetAzureSiteRecoveryProtectionEntity.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.SiteRecovery /// <summary> /// Set Protection Entity protection state. /// </summary> - [Cmdlet(VerbsCommon.Set, "AzureRMSiteRecoveryProtectionEntity", DefaultParameterSetName = ASRParameterSets.EnterpriseToEnterprise, SupportsShouldProcess = true)] + [Cmdlet(VerbsCommon.Set, "AzureRmSiteRecoveryProtectionEntity", DefaultParameterSetName = ASRParameterSets.EnterpriseToEnterprise, SupportsShouldProcess = true)] [OutputType(typeof(ASRJob))] public class SetAzureSiteRecoveryProtectionEntity : SiteRecoveryCmdletBase { diff --git a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionEntity/StartAzureSiteRecoveryCommitFailoverJob.cs b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionEntity/StartAzureSiteRecoveryCommitFailoverJob.cs index 36d96217b91d..fbbe62885ef9 100644 --- a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionEntity/StartAzureSiteRecoveryCommitFailoverJob.cs +++ b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionEntity/StartAzureSiteRecoveryCommitFailoverJob.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.SiteRecovery /// <summary> /// Used to initiate a commit operation. /// </summary> - [Cmdlet(VerbsLifecycle.Start, "AzureRMSiteRecoveryCommitFailoverJob", DefaultParameterSetName = ASRParameterSets.ByPEObject)] + [Cmdlet(VerbsLifecycle.Start, "AzureRmSiteRecoveryCommitFailoverJob", DefaultParameterSetName = ASRParameterSets.ByPEObject)] [OutputType(typeof(ASRJob))] public class StartAzureSiteRecoveryCommitFailoverJob : SiteRecoveryCmdletBase { diff --git a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionEntity/StartAzureSiteRecoveryPlannedFailoverJob.cs b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionEntity/StartAzureSiteRecoveryPlannedFailoverJob.cs index aad7756efd16..862ecd43a886 100644 --- a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionEntity/StartAzureSiteRecoveryPlannedFailoverJob.cs +++ b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionEntity/StartAzureSiteRecoveryPlannedFailoverJob.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.SiteRecovery /// <summary> /// Used to initiate a failover operation. /// </summary> - [Cmdlet(VerbsLifecycle.Start, "AzureRMSiteRecoveryPlannedFailoverJob", DefaultParameterSetName = ASRParameterSets.ByPEObject)] + [Cmdlet(VerbsLifecycle.Start, "AzureRmSiteRecoveryPlannedFailoverJob", DefaultParameterSetName = ASRParameterSets.ByPEObject)] [OutputType(typeof(ASRJob))] public class StartAzureSiteRecoveryPlannedFailoverJob : SiteRecoveryCmdletBase { diff --git a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionEntity/StartAzureSiteRecoveryTestFailoverJob.cs b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionEntity/StartAzureSiteRecoveryTestFailoverJob.cs index b38f86018bad..093083a4b567 100644 --- a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionEntity/StartAzureSiteRecoveryTestFailoverJob.cs +++ b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionEntity/StartAzureSiteRecoveryTestFailoverJob.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.SiteRecovery /// <summary> /// Used to initiate a commit operation. /// </summary> - [Cmdlet(VerbsLifecycle.Start, "AzureRMSiteRecoveryTestFailoverJob", DefaultParameterSetName = ASRParameterSets.ByPEObject)] + [Cmdlet(VerbsLifecycle.Start, "AzureRmSiteRecoveryTestFailoverJob", DefaultParameterSetName = ASRParameterSets.ByPEObject)] [OutputType(typeof(ASRJob))] public class StartAzureSiteRecoveryTestFailoverJob : SiteRecoveryCmdletBase { diff --git a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionEntity/StartAzureSiteRecoveryUnPlannedFailoverJob.cs b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionEntity/StartAzureSiteRecoveryUnPlannedFailoverJob.cs index c250b90fb91f..be29df12f40c 100644 --- a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionEntity/StartAzureSiteRecoveryUnPlannedFailoverJob.cs +++ b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionEntity/StartAzureSiteRecoveryUnPlannedFailoverJob.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.SiteRecovery /// <summary> /// Used to initiate a failover operation. /// </summary> - [Cmdlet(VerbsLifecycle.Start, "AzureRMSiteRecoveryUnplannedFailoverJob", DefaultParameterSetName = ASRParameterSets.ByPEObject)] + [Cmdlet(VerbsLifecycle.Start, "AzureRmSiteRecoveryUnplannedFailoverJob", DefaultParameterSetName = ASRParameterSets.ByPEObject)] [OutputType(typeof(ASRJob))] public class StartAzureSiteRecoveryUnplannedFailoverJob : SiteRecoveryCmdletBase { diff --git a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionEntity/UpdateAzureSiteRecoveryProtectionDirection.cs b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionEntity/UpdateAzureSiteRecoveryProtectionDirection.cs index 706a35f8592c..430bd5ff4449 100644 --- a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionEntity/UpdateAzureSiteRecoveryProtectionDirection.cs +++ b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionEntity/UpdateAzureSiteRecoveryProtectionDirection.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.SiteRecovery /// <summary> /// Used to initiate a recovery protection operation. /// </summary> - [Cmdlet(VerbsData.Update, "AzureRMSiteRecoveryProtectionDirection", DefaultParameterSetName = ASRParameterSets.ByPEObject)] + [Cmdlet(VerbsData.Update, "AzureRmSiteRecoveryProtectionDirection", DefaultParameterSetName = ASRParameterSets.ByPEObject)] [OutputType(typeof(ASRJob))] public class UpdateAzureSiteRecoveryProtection : SiteRecoveryCmdletBase { diff --git a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionProfile/GetAzureSiteRecoveryProtectionProfile.cs b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionProfile/GetAzureSiteRecoveryProtectionProfile.cs index 6408fd3e7b48..d586cb873f03 100644 --- a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionProfile/GetAzureSiteRecoveryProtectionProfile.cs +++ b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionProfile/GetAzureSiteRecoveryProtectionProfile.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.SiteRecovery /// <summary> /// Retrieves Azure Site Recovery Server. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMSiteRecoveryProtectionProfile", DefaultParameterSetName = ASRParameterSets.Default)] + [Cmdlet(VerbsCommon.Get, "AzureRmSiteRecoveryProtectionProfile", DefaultParameterSetName = ASRParameterSets.Default)] [OutputType(typeof(IEnumerable<ASRProtectionProfile>))] public class GetAzureSiteRecoveryProtectionProfile : SiteRecoveryCmdletBase { diff --git a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionProfile/NewAzureSiteRecoveryProtectionProfile.cs b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionProfile/NewAzureSiteRecoveryProtectionProfile.cs index 42bdab2ae75b..3939906eecd1 100644 --- a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionProfile/NewAzureSiteRecoveryProtectionProfile.cs +++ b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionProfile/NewAzureSiteRecoveryProtectionProfile.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.SiteRecovery /// <summary> /// Creates Azure Site Recovery Protection Profile object in memory. /// </summary> - [Cmdlet(VerbsCommon.New, "AzureRMSiteRecoveryProtectionProfile", DefaultParameterSetName = ASRParameterSets.EnterpriseToAzure)] + [Cmdlet(VerbsCommon.New, "AzureRmSiteRecoveryProtectionProfile", DefaultParameterSetName = ASRParameterSets.EnterpriseToAzure)] public class NewAzureSiteRecoveryProtectionProfile : SiteRecoveryCmdletBase { /// <summary> diff --git a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionProfile/RemoveAzureSiteRecoveryProtectionProfile.cs b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionProfile/RemoveAzureSiteRecoveryProtectionProfile.cs index 6d4536921383..04eeef4ce6a4 100644 --- a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionProfile/RemoveAzureSiteRecoveryProtectionProfile.cs +++ b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionProfile/RemoveAzureSiteRecoveryProtectionProfile.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.SiteRecovery /// <summary> /// Creates Azure Site Recovery Protection Profile object in memory. /// </summary> - [Cmdlet(VerbsCommon.Remove, "AzureRMSiteRecoveryProtectionProfile")] + [Cmdlet(VerbsCommon.Remove, "AzureRmSiteRecoveryProtectionProfile")] public class RemoveAzureSiteRecoveryProtectionProfile : SiteRecoveryCmdletBase { #region Parameters diff --git a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionProfile/StartAzureSiteRecoveryProtectionProfileAssociationJob.cs b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionProfile/StartAzureSiteRecoveryProtectionProfileAssociationJob.cs index 1072ff2652c4..e4f3cb6e0ebd 100644 --- a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionProfile/StartAzureSiteRecoveryProtectionProfileAssociationJob.cs +++ b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionProfile/StartAzureSiteRecoveryProtectionProfileAssociationJob.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.SiteRecovery /// <summary> /// Adds Azure Site Recovery Protection Profile settings to a Protection Container. /// </summary> - [Cmdlet(VerbsLifecycle.Start, "AzureRMSiteRecoveryProtectionProfileAssociationJob", DefaultParameterSetName = ASRParameterSets.EnterpriseToAzure)] + [Cmdlet(VerbsLifecycle.Start, "AzureRmSiteRecoveryProtectionProfileAssociationJob", DefaultParameterSetName = ASRParameterSets.EnterpriseToAzure)] [OutputType(typeof(ASRJob))] public class StartAzureSiteRecoveryProtectionProfileAssociationJob : SiteRecoveryCmdletBase { diff --git a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionProfile/StartAzureSiteRecoveryProtectionProfileDissociationJob.cs b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionProfile/StartAzureSiteRecoveryProtectionProfileDissociationJob.cs index ac3aba86d5c3..7f0d5b9d4db2 100644 --- a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionProfile/StartAzureSiteRecoveryProtectionProfileDissociationJob.cs +++ b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ProtectionProfile/StartAzureSiteRecoveryProtectionProfileDissociationJob.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.SiteRecovery /// <summary> /// Adds Azure Site Recovery Protection Profile settings to a Protection Container. /// </summary> - [Cmdlet(VerbsLifecycle.Start, "AzureRMSiteRecoveryProtectionProfileDissociationJob", DefaultParameterSetName = ASRParameterSets.EnterpriseToAzure)] + [Cmdlet(VerbsLifecycle.Start, "AzureRmSiteRecoveryProtectionProfileDissociationJob", DefaultParameterSetName = ASRParameterSets.EnterpriseToAzure)] [OutputType(typeof(ASRJob))] public class StartAzureSiteRecoveryProtectionProfileDissociationJob : SiteRecoveryCmdletBase { diff --git a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Server/GetAzureSiteRecoveryServer.cs b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Server/GetAzureSiteRecoveryServer.cs index a850e677f3a7..e5dd8cd406ce 100644 --- a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Server/GetAzureSiteRecoveryServer.cs +++ b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Server/GetAzureSiteRecoveryServer.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.SiteRecovery /// <summary> /// Retrieves Azure Site Recovery Server. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMSiteRecoveryServer", DefaultParameterSetName = ASRParameterSets.Default)] + [Cmdlet(VerbsCommon.Get, "AzureRmSiteRecoveryServer", DefaultParameterSetName = ASRParameterSets.Default)] [OutputType(typeof(IEnumerable<ASRServer>))] public class GetAzureSiteRecoveryServer : SiteRecoveryCmdletBase { diff --git a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Vault/GetAzureSiteRecoveryVault.cs b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Vault/GetAzureSiteRecoveryVault.cs index 3935f3bf060d..f41ff3eef8f4 100644 --- a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Vault/GetAzureSiteRecoveryVault.cs +++ b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Vault/GetAzureSiteRecoveryVault.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.SiteRecovery /// <summary> /// Retrieves Azure Site Recovery Vault. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMSiteRecoveryVault")] + [Cmdlet(VerbsCommon.Get, "AzureRmSiteRecoveryVault")] [OutputType(typeof(List<ASRVault>))] public class GetAzureSiteRecoveryVaults : SiteRecoveryCmdletBase { diff --git a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Vault/GetAzureSiteRecoveryVaultSettings.cs b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Vault/GetAzureSiteRecoveryVaultSettings.cs index d9c8b7e2e93b..d0ba527f2022 100644 --- a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Vault/GetAzureSiteRecoveryVaultSettings.cs +++ b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Vault/GetAzureSiteRecoveryVaultSettings.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.SiteRecovery /// <summary> /// Retrieves Azure Site Recovery Vault Settings. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMSiteRecoveryVaultSettings")] + [Cmdlet(VerbsCommon.Get, "AzureRmSiteRecoveryVaultSettings")] [OutputType(typeof(ASRVaultSettings))] public class GetAzureSiteRecoveryVaultSettings : SiteRecoveryCmdletBase { diff --git a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Vault/GetAzureSiteRecoveryVaultSettingsFile.cs b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Vault/GetAzureSiteRecoveryVaultSettingsFile.cs index 0a3b497098c2..993419c40192 100644 --- a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Vault/GetAzureSiteRecoveryVaultSettingsFile.cs +++ b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Vault/GetAzureSiteRecoveryVaultSettingsFile.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.SiteRecovery /// <summary> /// Retrieves Azure Site Recovery Vault Settings File. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMSiteRecoveryVaultSettingsFile", DefaultParameterSetName = ASRParameterSets.ByParam)] + [Cmdlet(VerbsCommon.Get, "AzureRmSiteRecoveryVaultSettingsFile", DefaultParameterSetName = ASRParameterSets.ByParam)] [OutputType(typeof(VaultSettingsFilePath))] public class GetAzureSiteRecoveryVaultSettingsFile : SiteRecoveryCmdletBase { diff --git a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Vault/ImportAzureSiteRecoveryVaultSettingsFile.cs b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Vault/ImportAzureSiteRecoveryVaultSettingsFile.cs index 8e0e0edcc50d..d93f1b571ebd 100644 --- a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Vault/ImportAzureSiteRecoveryVaultSettingsFile.cs +++ b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Vault/ImportAzureSiteRecoveryVaultSettingsFile.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.SiteRecovery /// <summary> /// Imports Azure Site Recovery Vault Settings. /// </summary> - [Cmdlet(VerbsData.Import, "AzureRMSiteRecoveryVaultSettingsFile")] + [Cmdlet(VerbsData.Import, "AzureRmSiteRecoveryVaultSettingsFile")] [OutputType(typeof(ASRVaultSettings))] public class ImportAzureSiteRecoveryVaultSettingsFile : SiteRecoveryCmdletBase { diff --git a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Vault/NewAzureSiteRecoveryVault.cs b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Vault/NewAzureSiteRecoveryVault.cs index bec7236d403b..c8e116de5d9e 100644 --- a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Vault/NewAzureSiteRecoveryVault.cs +++ b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Vault/NewAzureSiteRecoveryVault.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.SiteRecovery /// <summary> /// Used to initiate a vault create operation. /// </summary> - [Cmdlet(VerbsCommon.New, "AzureRMSiteRecoveryVault")] + [Cmdlet(VerbsCommon.New, "AzureRmSiteRecoveryVault")] public class CreateAzureSiteRecoveryVault : SiteRecoveryCmdletBase { #region Parameters diff --git a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Vault/SetAzureSiteRecoveryVaultSettings.cs b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Vault/SetAzureSiteRecoveryVaultSettings.cs index ea7e1c9d9901..841c7e7cc7b0 100644 --- a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Vault/SetAzureSiteRecoveryVaultSettings.cs +++ b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery/Vault/SetAzureSiteRecoveryVaultSettings.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.SiteRecovery /// <summary> /// Retrieves Azure Site Recovery Vault Settings. /// </summary> - [Cmdlet(VerbsCommon.Set, "AzureRMSiteRecoveryVaultSettings")] + [Cmdlet(VerbsCommon.Set, "AzureRmSiteRecoveryVaultSettings")] [OutputType(typeof(ASRVaultSettings))] public class SetAzureSiteRecoveryVaultSettings : SiteRecoveryCmdletBase { diff --git a/src/ResourceManager/Sql/AzureRM.Sql.psd1 b/src/ResourceManager/Sql/AzureRM.Sql.psd1 index c8752f397b1e..140ab2077859 100644 --- a/src/ResourceManager/Sql/AzureRM.Sql.psd1 +++ b/src/ResourceManager/Sql/AzureRM.Sql.psd1 @@ -79,10 +79,10 @@ VariablesToExport = '*' # Aliases to export from this module AliasesToExport = @( - 'Get-AzureRMSqlDatabaseServerAuditingPolicy', - 'Remove-AzureRMSqlDatabaseServerAuditing', - 'Set-AzureRMSqlDatabaseServerAuditingPolicy', - 'Use-AzureRMSqlDatabaseServerAuditingPolicy' + 'Get-AzureRmSqlDatabaseServerAuditingPolicy', + 'Remove-AzureRmSqlDatabaseServerAuditing', + 'Set-AzureRmSqlDatabaseServerAuditingPolicy', + 'Use-AzureRmSqlDatabaseServerAuditingPolicy' ) # List of all modules packaged with this module diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/AuditingTests.ps1 b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/AuditingTests.ps1 index a7dbdc474ee5..9fa2c625bc4e 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/AuditingTests.ps1 +++ b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/AuditingTests.ps1 @@ -27,8 +27,8 @@ function Test-AuditingDatabaseUpdatePolicyWithStorageV2 try { # Test - Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount - $policy = Get-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount + $policy = Get-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName # Assert Assert-AreEqual $policy.StorageAccountName $params.storageAccount @@ -56,8 +56,8 @@ function Test-AuditingDatabaseUpdatePolicyWithStorage try { # Test - Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount - $policy = Get-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount + $policy = Get-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName # Assert Assert-AreEqual $policy.StorageAccountName $params.storageAccount @@ -85,21 +85,21 @@ function Test-AuditingDatabaseUpdatePolicyWithSameNameStorageOnDifferentRegion try { # Test - Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount - $policy = Get-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount + $policy = Get-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName # Assert Assert-AreEqual $policy.StorageAccountName $params.storageAccount Assert-AreEqual $policy.AuditState "Enabled" Assert-AreEqual $policy.UseServerDefault "Disabled" - Azure\Remove-AzureRMStorageAccount -StorageAccountName $params.storageAccount + Azure\Remove-AzureRmStorageAccount -StorageAccountName $params.storageAccount $newResourceGroupName = "test-rg-for-sql-cmdlets-" + $testSuffix - New-AzureRMResourceGroup -Name $newResourceGroupName -Location "japanwest" - New-AzureRMStorageAccount -StorageAccountName $params.storageAccount -ResourceGroupName $newResourceGroupName -Location "japanwest" -Type Standard_GRS + New-AzureRmResourceGroup -Name $newResourceGroupName -Location "japanwest" + New-AzureRmStorageAccount -StorageAccountName $params.storageAccount -ResourceGroupName $newResourceGroupName -Location "japanwest" -Type Standard_GRS - Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount - $policy = Get-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount + $policy = Get-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName # Assert Assert-AreEqual $policy.StorageAccountName $params.storageAccount @@ -128,8 +128,8 @@ function Test-AuditingServerUpdatePolicyWithStorage try { # Test - Set-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount - $policy = Get-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount + $policy = Get-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-AreEqual $policy.StorageAccountName $params.storageAccount @@ -157,11 +157,11 @@ function Test-AuditingDatabaseUpdatePolicyKeepPreviousStorage try { # Test - Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount - $policyBefore = Get-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount + $policyBefore = Get-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName - Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName - $policyAfter = Get-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + $policyAfter = Get-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName # Assert Assert-AreEqual $policyBefore.StorageAccountName $policyAfter.StorageAccountName @@ -190,11 +190,11 @@ function Test-AuditingServerUpdatePolicyKeepPreviousStorage try { # Test - Set-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount - $policyBefore = Get-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount + $policyBefore = Get-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName - Set-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName - $policyAfter = Get-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + $policyAfter = Get-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-AreEqual $policyBefore.StorageAccountName $policyAfter.StorageAccountName @@ -222,15 +222,15 @@ function Test-AuditingDatabaseUpdatePolicyWithEventTypes try { # Test - Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "All" - $policy = Get-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "All" + $policy = Get-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName # Assert Assert-AreEqual $policy.EventType.Length 10 # Test - Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "PlainSQL_Success","ParameterizedSQL_Success","ParameterizedSQL_Failure" - $policy = Get-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "PlainSQL_Success","ParameterizedSQL_Success","ParameterizedSQL_Failure" + $policy = Get-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName # Assert Assert-AreEqual $policy.EventType.Length 3 @@ -239,8 +239,8 @@ function Test-AuditingDatabaseUpdatePolicyWithEventTypes Assert-True {$policy.EventType.Contains([Microsoft.Azure.Commands.Sql.Auditing.Model.AuditEventType]::ParameterizedSQL_Failure)} # Test - Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "None" - $policy = Get-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "None" + $policy = Get-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName # Assert Assert-AreEqual $policy.EventType.Length 0 @@ -266,15 +266,15 @@ function Test-AuditingServerUpdatePolicyWithEventTypes try { # Test - Set-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "All" - $policy = Get-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "All" + $policy = Get-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-AreEqual $policy.EventType.Length 10 # Test - Set-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "PlainSQL_Success","ParameterizedSQL_Success","ParameterizedSQL_Failure" - $policy = Get-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "PlainSQL_Success","ParameterizedSQL_Success","ParameterizedSQL_Failure" + $policy = Get-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-AreEqual $policy.EventType.Length 3 @@ -284,8 +284,8 @@ function Test-AuditingServerUpdatePolicyWithEventTypes # Test - Set-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "None" - $policy = Get-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "None" + $policy = Get-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-AreEqual $policy.EventType.Length 0 @@ -311,42 +311,42 @@ function Test-AuditingDatabaseUpdatePolicyWithEventTypeShortcuts try { # Test - Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "All" - $policy = Get-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "All" + $policy = Get-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName # Assert Assert-AreEqual $policy.EventType.Length 10 # Test - Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "All" - $policy = Get-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "All" + $policy = Get-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName # Assert Assert-AreEqual $policy.EventType.Length 10 # Test - Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "None" - $policy = Get-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "None" + $policy = Get-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName # Assert Assert-AreEqual $policy.EventType.Length 0 # Test - Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "None" - $policy = Get-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "None" + $policy = Get-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName # Assert Assert-AreEqual $policy.EventType.Length 0 # Test - Assert-Throws {Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "All", "None"} - Assert-Throws {Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "None", "All"} - Assert-Throws {Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "PlainSQL_Success", "All"} - Assert-Throws {Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "PlainSQL_Success", "None"} + Assert-Throws {Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "All", "None"} + Assert-Throws {Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "None", "All"} + Assert-Throws {Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "PlainSQL_Success", "All"} + Assert-Throws {Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "PlainSQL_Success", "None"} #Test - If the event types includes new events and deprecated events we throw error - Assert-Throws {Set-AzureRMSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "PlainSQL_Success", "DataAccess"} + Assert-Throws {Set-AzureRmSqlDatabaseServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "PlainSQL_Success", "DataAccess"} } finally @@ -370,42 +370,42 @@ function Test-AuditingServerUpdatePolicyWithEventTypeShortcuts try { # Test - Set-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "All" - $policy = Get-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "All" + $policy = Get-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-AreEqual $policy.EventType.Length 10 # Test - Set-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "All" - $policy = Get-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "All" + $policy = Get-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-AreEqual $policy.EventType.Length 10 # Test - Set-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "None" - $policy = Get-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "None" + $policy = Get-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-AreEqual $policy.EventType.Length 0 # Test - Set-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "None" - $policy = Get-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "None" + $policy = Get-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-AreEqual $policy.EventType.Length 0 # Test - Assert-Throws {Set-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "All", "None"} - Assert-Throws {Set-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "None", "All"} - Assert-Throws {Set-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "PlainSQL_Success", "All"} - Assert-Throws {Set-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "PlainSQL_Success", "None"} + Assert-Throws {Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "All", "None"} + Assert-Throws {Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "None", "All"} + Assert-Throws {Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "PlainSQL_Success", "All"} + Assert-Throws {Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "PlainSQL_Success", "None"} #Test - If the event types includes new events and deprecated events we throw error - Assert-Throws {Set-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "PlainSQL_Success", "DataAccess"} + Assert-Throws {Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "PlainSQL_Success", "DataAccess"} } finally { @@ -428,9 +428,9 @@ function Test-AuditingDisableDatabaseAuditing try { # Test - Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount - Remove-AzureRMSqlDatabaseAuditing -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName - $policy = Get-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount + Remove-AzureRmSqlDatabaseAuditing -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + $policy = Get-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName # Assert Assert-AreEqual $policy.AuditState "Disabled" @@ -456,9 +456,9 @@ function Test-AuditingDisableServerAuditing try { # Test - Set-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount - Remove-AzureRMSqlServerAuditing -ResourceGroupName $params.rgname -ServerName $params.serverName - $policy = Get-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount + Remove-AzureRmSqlServerAuditing -ResourceGroupName $params.rgname -ServerName $params.serverName + $policy = Get-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-AreEqual $policy.AuditState "Disabled" @@ -484,10 +484,10 @@ function Test-AuditingDatabaseDisableEnableKeepProperties try { # Test - Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "Login_Failure" - Remove-AzureRMSqlDatabaseAuditing -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName - Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName - $policy = Get-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -EventType "Login_Failure" + Remove-AzureRmSqlDatabaseAuditing -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + $policy = Get-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName # Assert Assert-AreEqual $policy.StorageAccountName $params.storageAccount @@ -517,10 +517,10 @@ function Test-AuditingServerDisableEnableKeepProperties try { # Test - Set-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "TransactionManagement_Success" - Remove-AzureRMSqlServerAuditing -ResourceGroupName $params.rgname -ServerName $params.serverName - Set-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName - $policy = Get-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -EventType "TransactionManagement_Success" + Remove-AzureRmSqlServerAuditing -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + $policy = Get-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-AreEqual $policy.StorageAccountName $params.storageAccount @@ -549,9 +549,9 @@ function Test-AuditingUseServerDefault try { # Test - Set-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount - Use-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName - $policy = Get-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount + Use-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + $policy = Get-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName # Assert Assert-AreEqual $policy.UseServerDefault "Enabled" @@ -577,7 +577,7 @@ function Test-AuditingFailedDatabaseUpdatePolicyWithNoStorage try { # Assert - Assert-Throws { Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverWithoutPolicy -DatabaseName $params.databaseWithoutPolicy } + Assert-Throws { Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverWithoutPolicy -DatabaseName $params.databaseWithoutPolicy } } finally { @@ -600,7 +600,7 @@ function Test-AuditingFailedServerUpdatePolicyWithNoStorage try { # Assert - Assert-Throws { Set-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverWithoutPolicy} + Assert-Throws { Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverWithoutPolicy} } finally { @@ -623,7 +623,7 @@ function Test-AuditingFailedUseServerDefault try { # Assert - Assert-Throws { Use-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverWithoutPolicy -DatabaseName $params.databaseWithoutPolicy } + Assert-Throws { Use-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverWithoutPolicy -DatabaseName $params.databaseWithoutPolicy } } finally { @@ -646,10 +646,10 @@ function Test-AuditingFailWithBadDatabaseIndentity try { # Assert - Assert-Throws { Get-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName "NONEXISTING-RG" -ServerName $params.serverName -DatabaseName $params.databaseName } - Assert-Throws { Get-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName "NONEXISTING-SERVER"-DatabaseName $params.databaseName } - Assert-Throws { Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName "NONEXISTING-RG" -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount} - Assert-Throws { Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName "NONEXISTING-SERVER" -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount} + Assert-Throws { Get-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName "NONEXISTING-RG" -ServerName $params.serverName -DatabaseName $params.databaseName } + Assert-Throws { Get-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName "NONEXISTING-SERVER"-DatabaseName $params.databaseName } + Assert-Throws { Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName "NONEXISTING-RG" -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount} + Assert-Throws { Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName "NONEXISTING-SERVER" -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount} } finally { @@ -672,10 +672,10 @@ function Test-AuditingFailWithBadServerIndentity try { # Assert - Assert-Throws { Get-AzureRMSqlServerAuditingPolicy -ResourceGroupName "NONEXISTING-RG" -ServerName $params.serverName } - Assert-Throws { Get-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName "NONEXISTING-SERVER" } - Assert-Throws { Set-AzureRMSqlServerAuditingPolicy -ResourceGroupName "NONEXISTING-RG" -ServerName $params.serverName -StorageAccountName $params.storageAccount} - Assert-Throws { Set-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName "NONEXISTING-SERVER" -StorageAccountName $params.storageAccount} + Assert-Throws { Get-AzureRmSqlServerAuditingPolicy -ResourceGroupName "NONEXISTING-RG" -ServerName $params.serverName } + Assert-Throws { Get-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName "NONEXISTING-SERVER" } + Assert-Throws { Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName "NONEXISTING-RG" -ServerName $params.serverName -StorageAccountName $params.storageAccount} + Assert-Throws { Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName "NONEXISTING-SERVER" -StorageAccountName $params.storageAccount} } finally { @@ -698,22 +698,22 @@ function Test-AuditingServerStorageKeyRotation try { # Test - Set-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -StorageKeyType "Primary" - $policy = Get-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -StorageKeyType "Primary" + $policy = Get-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-True { $policy.StorageKeyType -eq "Primary"} # Test - Set-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -StorageKeyType "Secondary" - $policy = Get-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -StorageKeyType "Secondary" + $policy = Get-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-True { $policy.StorageKeyType -eq "Secondary"} # Test - Set-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -StorageKeyType "Primary" - $policy = Get-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -StorageKeyType "Primary" + $policy = Get-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-True { $policy.StorageKeyType -eq "Primary"} @@ -739,22 +739,22 @@ function Test-AuditingDatabaseStorageKeyRotation try { # Test - Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -StorageKeyType "Primary" - $policy = Get-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -StorageKeyType "Primary" + $policy = Get-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName # Assert Assert-True { $policy.StorageKeyType -eq "Primary"} # Test - Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -StorageKeyType "Secondary" - $policy = Get-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -StorageKeyType "Secondary" + $policy = Get-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName # Assert Assert-True { $policy.StorageKeyType -eq "Secondary"} # Test - Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -StorageKeyType "Primary" - $policy = Get-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -StorageKeyType "Primary" + $policy = Get-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName # Assert Assert-True { $policy.StorageKeyType -eq "Primary"} @@ -780,8 +780,8 @@ function Test-AuditingServerUpdatePolicyWithRetention { # Test $retentionTableIdentifier = "retentionTableIdentifier" + $testSuffix; - Set-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -RetentionInDays 10 -TableIdentifier $retentionTableIdentifier; - $policy = Get-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -RetentionInDays 10 -TableIdentifier $retentionTableIdentifier; + $policy = Get-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-AreEqual $policy.RetentionInDays 10 @@ -809,8 +809,8 @@ function Test-AuditingDatabaseUpdatePolicyWithRetention { # Test $retentionTableIdentifier = "retentionTableIdentifier" + $testSuffix; - Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -RetentionInDays 10 -TableIdentifier $retentionTableIdentifier; - $policy = Get-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -RetentionInDays 10 -TableIdentifier $retentionTableIdentifier; + $policy = Get-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName # Assert Assert-AreEqual $policy.RetentionInDays 10 @@ -838,10 +838,10 @@ function Test-AuditingServerRetentionKeepProperties { # Test $retentionTableIdentifier = "retentionTableIdentifier" + $testSuffix; - Set-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -RetentionInDays 10 -TableIdentifier $retentionTableIdentifier; + Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -RetentionInDays 10 -TableIdentifier $retentionTableIdentifier; - Set-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -RetentionInDays 11; - $policy = Get-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -RetentionInDays 11; + $policy = Get-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-AreEqual $policy.RetentionInDays 11 @@ -849,8 +849,8 @@ function Test-AuditingServerRetentionKeepProperties # Test $retentionTableIdentifier = "retentionTableIdentifier1" + $testSuffix; - Set-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -TableIdentifier $retentionTableIdentifier; - $policy = Get-AzureRMSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName + Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountName $params.storageAccount -TableIdentifier $retentionTableIdentifier; + $policy = Get-AzureRmSqlServerAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName # Assert Assert-AreEqual $policy.RetentionInDays 11 @@ -878,10 +878,10 @@ function Test-AuditingDatabaseRetentionKeepProperties { # Test $retentionTableIdentifier = "retentionTableIdentifier" + $testSuffix; - Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -RetentionInDays 10 -TableIdentifier $retentionTableIdentifier; + Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -RetentionInDays 10 -TableIdentifier $retentionTableIdentifier; - Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -RetentionInDays 11; - $policy = Get-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -RetentionInDays 11; + $policy = Get-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName # Assert Assert-AreEqual $policy.RetentionInDays 11 @@ -889,8 +889,8 @@ function Test-AuditingDatabaseRetentionKeepProperties # Test $retentionTableIdentifier = "retentionTableIdentifier1" + $testSuffix; - Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -TableIdentifier $retentionTableIdentifier; - $policy = Get-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountName $params.storageAccount -TableIdentifier $retentionTableIdentifier; + $policy = Get-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName # Assert Assert-AreEqual $policy.RetentionInDays 11 diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/Common.ps1 b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/Common.ps1 index b5620ed2052e..5fff451b3aca 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/Common.ps1 +++ b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/Common.ps1 @@ -61,8 +61,8 @@ Creates the test environment needed to perform the Sql auditing tests #> function Create-TestEnvironmentWithParams ($params) { - New-AzureRMResourceGroup -Name $params.rgname -Location "West US" -TemplateFile ".\Templates\sql-audit-test-env-setup.json" -serverName $params.serverName -databaseName $params.databaseName -EnvLocation "West US" -Force - New-AzureRMStorageAccount -Name $params.storageAccount -Location "West US" -ResourceGroupName $params.rgname -Type "Standard_GRS" + New-AzureRmResourceGroup -Name $params.rgname -Location "West US" -TemplateFile ".\Templates\sql-audit-test-env-setup.json" -serverName $params.serverName -databaseName $params.databaseName -EnvLocation "West US" -Force + New-AzureRmStorageAccount -Name $params.storageAccount -Location "West US" -ResourceGroupName $params.rgname -Type "Standard_GRS" } <# @@ -72,8 +72,8 @@ Creates the test environment needed to perform the Sql auditing tests, while usi function Create-TestEnvironmentWithStorageV2 ($testSuffix) { $params = Get-SqlAuditingTestEnvironmentParameters $testSuffix - New-AzureRMResourceGroup -Name $params.rgname -Location "West US" -TemplateFile ".\Templates\sql-audit-test-env-setup.json" -serverName $params.serverName -databaseName $params.databaseName -EnvLocation "West US" -Force - New-AzureRMStorageAccount -Name $params.storageAccount -Location "West US" -ResourceGroupName $params.rgname -Type "Standard_GRS" + New-AzureRmResourceGroup -Name $params.rgname -Location "West US" -TemplateFile ".\Templates\sql-audit-test-env-setup.json" -serverName $params.serverName -databaseName $params.databaseName -EnvLocation "West US" -Force + New-AzureRmStorageAccount -Name $params.storageAccount -Location "West US" -ResourceGroupName $params.rgname -Type "Standard_GRS" } <# @@ -83,7 +83,7 @@ Creates the test environment needed to perform the Sql data masking tests function Create-DataMaskingTestEnvironment ($testSuffix) { $params = Get-SqlDataMaskingTestEnvironmentParameters $testSuffix - New-AzureRMResourceGroup -Name $params.rgname -Location "Australia East" -TemplateFile ".\Templates\sql-ddm-test-env-setup.json" -serverName $params.serverName -databaseName $params.databaseName -EnvLocation "Australia East" -administratorLogin $params.userName -Force + New-AzureRmResourceGroup -Name $params.rgname -Location "Australia East" -TemplateFile ".\Templates\sql-ddm-test-env-setup.json" -serverName $params.serverName -databaseName $params.databaseName -EnvLocation "Australia East" -administratorLogin $params.userName -Force $fullServerName = $params.serverName + ".database.windows.net" $uid = $params.userName @@ -165,7 +165,7 @@ function Create-ResourceGroupForTest ($location = "Japan East") { $rgName = Get-ResourceGroupName - $rg = New-AzureRMResourceGroup -Name $rgName -Location $location + $rg = New-AzureRmResourceGroup -Name $rgName -Location $location return $rg } @@ -176,7 +176,7 @@ function Create-ResourceGroupForTest ($location = "Japan East") #> function Remove-ResourceGroupForTest ($rg) { - Remove-AzureRMResourceGroup -Name $rg.ResourceGroupName -Force + Remove-AzureRmResourceGroup -Name $rg.ResourceGroupName -Force } <# @@ -190,7 +190,7 @@ function Create-ServerForTest ($resourceGroup, $serverVersion = "12.0", $locatio $serverPassword = "t357ingP@s5w0rd!" $credentials = new-object System.Management.Automation.PSCredential($serverLogin, ($serverPassword | ConvertTo-SecureString -asPlainText -Force)) - $server = New-AzureRMSqlServer -ResourceGroupName $resourceGroup.ResourceGroupName -ServerName $serverName -Location $location -ServerVersion $serverVersion -SqlAdministratorCredentials $credentials + $server = New-AzureRmSqlServer -ResourceGroupName $resourceGroup.ResourceGroupName -ServerName $serverName -Location $location -ServerVersion $serverVersion -SqlAdministratorCredentials $credentials return $server } @@ -200,7 +200,7 @@ function Create-ServerForTest ($resourceGroup, $serverVersion = "12.0", $locatio #> function Remove-ServerForTest ($server) { - $server | Remove-AzureRMSqlServer -Force + $server | Remove-AzureRmSqlServer -Force } <# @@ -212,7 +212,7 @@ function Remove-TestEnvironment ($testSuffix) try { $params = Get-SqlAuditingTestEnvironmentParameters $testSuffix - Azure\Remove-AzureRMStorageAccount -StorageAccountName $params.storageAccount + Azure\Remove-AzureRmStorageAccount -StorageAccountName $params.storageAccount } catch { diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DataMaskingTests.ps1 b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DataMaskingTests.ps1 index c2fc25de4ef4..a7931dade95e 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DataMaskingTests.ps1 +++ b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DataMaskingTests.ps1 @@ -25,22 +25,22 @@ function Test-DatabaseDataMaskingPolicyEnablementToggling try { # Test - Set-AzureRMSqlDatabaseDataMaskingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -DataMaskingState "Enabled" - $policy = Get-AzureRMSqlDatabaseDataMaskingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlDatabaseDataMaskingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -DataMaskingState "Enabled" + $policy = Get-AzureRmSqlDatabaseDataMaskingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName # Assert Assert-AreEqual $policy.DataMaskingState "Enabled" # Test - Set-AzureRMSqlDatabaseDataMaskingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -DataMaskingState "Disabled" - $policy = Get-AzureRMSqlDatabaseDataMaskingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlDatabaseDataMaskingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -DataMaskingState "Disabled" + $policy = Get-AzureRmSqlDatabaseDataMaskingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName # Assert Assert-AreEqual $policy.DataMaskingState "Disabled" # Test - Set-AzureRMSqlDatabaseDataMaskingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -DataMaskingState "Enabled" - $policy = Get-AzureRMSqlDatabaseDataMaskingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlDatabaseDataMaskingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -DataMaskingState "Enabled" + $policy = Get-AzureRmSqlDatabaseDataMaskingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName # Assert Assert-AreEqual $policy.DataMaskingState "Enabled" @@ -65,22 +65,22 @@ function Test-DatabaseDataMaskingPrivilegedLoginsChanges try { # Test - Set-AzureRMSqlDatabaseDataMaskingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -PrivilegedLogins "dbo" - $policy = Get-AzureRMSqlDatabaseDataMaskingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlDatabaseDataMaskingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -PrivilegedLogins "dbo" + $policy = Get-AzureRmSqlDatabaseDataMaskingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName # Assert Assert-AreEqual $policy.PrivilegedLogins "dbo" # Test - Set-AzureRMSqlDatabaseDataMaskingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -DataMaskingState "Disabled" - $policy = Get-AzureRMSqlDatabaseDataMaskingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlDatabaseDataMaskingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -DataMaskingState "Disabled" + $policy = Get-AzureRmSqlDatabaseDataMaskingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName # Assert Assert-AreEqual $policy.PrivilegedLogins "dbo" # Test - Set-AzureRMSqlDatabaseDataMaskingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -PrivilegedLogins "" - $policy = Get-AzureRMSqlDatabaseDataMaskingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlDatabaseDataMaskingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -PrivilegedLogins "" + $policy = Get-AzureRmSqlDatabaseDataMaskingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName # Assert Assert-AreEqual $policy.PrivilegedLogins "" @@ -105,17 +105,17 @@ function Test-DatabaseDataMaskingBasicRuleLifecycle try { # Test - Set-AzureRMSqlDatabaseDataMaskingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlDatabaseDataMaskingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName - $ruleCountBefore = (Get-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName).Count + $ruleCountBefore = (Get-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName).Count $ruleCountBefore = if ( !$ruleCountBefore ) {0} else {$ruleCountBefore} - New-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Default" -SchemaName "dbo" -TableName $params.table1 -ColumnName $params.column1 - $ruleCountAfter = (Get-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName).Count + New-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Default" -SchemaName "dbo" -TableName $params.table1 -ColumnName $params.column1 + $ruleCountAfter = (Get-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName).Count $ruleCountAfter = if ( !$ruleCountAfter ) {0} else {$ruleCountAfter} # Assert Assert-AreEqual ($ruleCountBefore + 1) $ruleCountAfter - $rule = Get-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId + $rule = Get-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId # Assert Assert-AreEqual $rule.ResourceGroupName $params.rgname @@ -127,8 +127,8 @@ function Test-DatabaseDataMaskingBasicRuleLifecycle Assert-AreEqual $rule.TableName $params.table1 Assert-AreEqual $rule.ColumnName $params.column1 - Set-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Email" -SchemaName "dbo" -TableName $params.table2 -ColumnName $params.column2 - $rule = Get-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId + Set-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Email" -SchemaName "dbo" -TableName $params.table2 -ColumnName $params.column2 + $rule = Get-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId # Assert Assert-AreEqual $rule.ResourceGroupName $params.rgname @@ -140,8 +140,8 @@ function Test-DatabaseDataMaskingBasicRuleLifecycle Assert-AreEqual $rule.TableName $params.table2 Assert-AreEqual $rule.ColumnName $params.column2 - Set-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Default" - $rule = Get-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId + Set-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Default" + $rule = Get-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId # Assert Assert-AreEqual $rule.ResourceGroupName $params.rgname @@ -153,14 +153,14 @@ function Test-DatabaseDataMaskingBasicRuleLifecycle Assert-AreEqual $rule.TableName $params.table2 Assert-AreEqual $rule.ColumnName $params.column2 - $ruleCountBefore = (Get-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName).Count + $ruleCountBefore = (Get-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName).Count $ruleCountBefore = if ( !$ruleCountBefore ) {0} else {$ruleCountBefore} - Remove-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -Force - $ruleCountAfter = (Get-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName).Count + Remove-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -Force + $ruleCountAfter = (Get-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName).Count $ruleCountAfter = if ( !$ruleCountAfter ) {0} else {$ruleCountAfter} # Assert - Assert-Throws {Get-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId} + Assert-Throws {Get-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId} Assert-AreEqual ($ruleCountBefore - 1) $ruleCountAfter } finally @@ -185,18 +185,18 @@ function Test-DatabaseDataMaskingNumberRuleLifecycle try { # Test - Set-AzureRMSqlDatabaseDataMaskingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlDatabaseDataMaskingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName - $ruleCountBefore = (Get-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName).Count + $ruleCountBefore = (Get-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName).Count $ruleCountBefore = if ( !$ruleCountBefore ) {0} else {$ruleCountBefore} - New-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Number" -SchemaName "dbo" -TableName $params.table1 -ColumnName $params.columnInt -NumberFrom 12 -NumberTo 56 - $ruleCountAfter = (Get-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName).Count + New-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Number" -SchemaName "dbo" -TableName $params.table1 -ColumnName $params.columnInt -NumberFrom 12 -NumberTo 56 + $ruleCountAfter = (Get-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName).Count $ruleCountAfter = if ( !$ruleCountAfter ) {0} else {$ruleCountAfter} # Assert Assert-AreEqual ($ruleCountBefore + 1) $ruleCountAfter - $rule = Get-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId + $rule = Get-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId # Assert Assert-AreEqual $rule.ResourceGroupName $params.rgname @@ -211,8 +211,8 @@ function Test-DatabaseDataMaskingNumberRuleLifecycle Assert-AreEqual $rule.NumberTo 56 - Set-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -SchemaName "dbo" -TableName $params.table2 -ColumnName $params.columnFloat -NumberFrom 67.26 -NumberTo 78.91 - $rule = Get-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId + Set-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -SchemaName "dbo" -TableName $params.table2 -ColumnName $params.columnFloat -NumberFrom 67.26 -NumberTo 78.91 + $rule = Get-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId # Assert Assert-AreEqual $rule.ResourceGroupName $params.rgname @@ -227,14 +227,14 @@ function Test-DatabaseDataMaskingNumberRuleLifecycle Assert-AreEqual $rule.NumberTo 78.91 - $ruleCountBefore = (Get-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName).Count + $ruleCountBefore = (Get-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName).Count $ruleCountBefore = if ( !$ruleCountBefore ) {0} else {$ruleCountBefore} - Remove-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -Force - $ruleCountAfter = (Get-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName).Count + Remove-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -Force + $ruleCountAfter = (Get-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName).Count $ruleCountAfter = if ( !$ruleCountAfter ) {0} else {$ruleCountAfter} # Assert - Assert-Throws {Get-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId} + Assert-Throws {Get-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId} Assert-AreEqual ($ruleCountBefore - 1) $ruleCountAfter } @@ -259,18 +259,18 @@ function Test-DatabaseDataMaskingTextRuleLifecycle try { # Test - Set-AzureRMSqlDatabaseDataMaskingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlDatabaseDataMaskingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName - $ruleCountBefore = (Get-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName).Count + $ruleCountBefore = (Get-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName).Count $ruleCountBefore = if ( !$ruleCountBefore ) {0} else {$ruleCountBefore} - New-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Text" -SchemaName "dbo" -TableName $params.table1 -ColumnName $params.column1 -PrefixSize 1 -ReplacementString "AAA" -SuffixSize 3 - $ruleCountAfter = (Get-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName).Count + New-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Text" -SchemaName "dbo" -TableName $params.table1 -ColumnName $params.column1 -PrefixSize 1 -ReplacementString "AAA" -SuffixSize 3 + $ruleCountAfter = (Get-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName).Count $ruleCountAfter = if ( !$ruleCountAfter ) {0} else {$ruleCountAfter} # Assert Assert-AreEqual ($ruleCountBefore + 1) $ruleCountAfter - $rule = Get-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId + $rule = Get-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId # Assert Assert-AreEqual $rule.ResourceGroupName $params.rgname @@ -285,8 +285,8 @@ function Test-DatabaseDataMaskingTextRuleLifecycle Assert-AreEqual $rule.ReplacementString "AAA" Assert-AreEqual $rule.SuffixSize 3 - Set-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -SchemaName "dbo" -TableName $params.table2 -ColumnName $params.column2 -PrefixSize 4 -ReplacementString "BBB" -SuffixSize 2 - $rule = Get-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId + Set-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -SchemaName "dbo" -TableName $params.table2 -ColumnName $params.column2 -PrefixSize 4 -ReplacementString "BBB" -SuffixSize 2 + $rule = Get-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId # Assert Assert-AreEqual $rule.ResourceGroupName $params.rgname @@ -302,14 +302,14 @@ function Test-DatabaseDataMaskingTextRuleLifecycle Assert-AreEqual $rule.SuffixSize 2 - $ruleCountBefore = (Get-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName).Count + $ruleCountBefore = (Get-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName).Count $ruleCountBefore = if ( !$ruleCountBefore ) {0} else {$ruleCountBefore} - Remove-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -Force - $ruleCountAfter = (Get-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName).Count + Remove-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -Force + $ruleCountAfter = (Get-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName).Count $ruleCountAfter = if ( !$ruleCountAfter ) {0} else {$ruleCountAfter} # Assert - Assert-Throws {Get-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId} + Assert-Throws {Get-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId} Assert-AreEqual ($ruleCountBefore - 1) $ruleCountAfter } @@ -334,23 +334,23 @@ function Test-DatabaseDataMaskingRuleCreationFailures try { # Test - Set-AzureRMSqlDatabaseDataMaskingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName + Set-AzureRmSqlDatabaseDataMaskingPolicy -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName # Assert - Assert-Throws { New-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName "NONEXISTING" -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Default" -SchemaName "dbo" -TableName $params.table1 -ColumnName $params.column1} - Assert-Throws { New-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName "NONEXISTING" -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Default" -SchemaName "dbo" -TableName $params.table1 -ColumnName $params.column1} - Assert-Throws { New-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName "NONEXISTING" -RuleId $ruleId -MaskingFunction "Default" -SchemaName "dbo" -TableName $params.table1 -ColumnName $params.column1} - Assert-Throws { New-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -MaskingFunction "Default" -SchemaName "dbo" -TableName $params.table1 -ColumnName $params.column1} - Assert-Throws { New-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "NONEXISTING" -SchemaName "dbo" -TableName $params.table1 -ColumnName $params.column1} - Assert-Throws { New-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Default"} - Assert-Throws { New-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Default" -SchemaName "dbo" -ColumnName $params.column1} - Assert-Throws { New-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Default" -SchemaName "dbo" -TableName $params.table1} - Assert-Throws { New-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Number" -SchemaName "dbo" -TableName $params.table1 -ColumnName $params.column1 -NumberFrom 2 -NumberTo 1} - - New-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Default" -SchemaName "dbo" -TableName $params.table1 -ColumnName $params.column1 - Assert-Throws { New-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Default" -SchemaName "dbo" -TableName $params.table2 -ColumnName $params.column2} - Assert-Throws { New-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId "SHOULD-FAIL" -MaskingFunction "Default" -SchemaName "dbo" -TableName $params.table1 -ColumnName $params.column1} - - Remove-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -Force + Assert-Throws { New-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName "NONEXISTING" -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Default" -SchemaName "dbo" -TableName $params.table1 -ColumnName $params.column1} + Assert-Throws { New-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName "NONEXISTING" -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Default" -SchemaName "dbo" -TableName $params.table1 -ColumnName $params.column1} + Assert-Throws { New-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName "NONEXISTING" -RuleId $ruleId -MaskingFunction "Default" -SchemaName "dbo" -TableName $params.table1 -ColumnName $params.column1} + Assert-Throws { New-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -MaskingFunction "Default" -SchemaName "dbo" -TableName $params.table1 -ColumnName $params.column1} + Assert-Throws { New-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "NONEXISTING" -SchemaName "dbo" -TableName $params.table1 -ColumnName $params.column1} + Assert-Throws { New-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Default"} + Assert-Throws { New-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Default" -SchemaName "dbo" -ColumnName $params.column1} + Assert-Throws { New-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Default" -SchemaName "dbo" -TableName $params.table1} + Assert-Throws { New-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Number" -SchemaName "dbo" -TableName $params.table1 -ColumnName $params.column1 -NumberFrom 2 -NumberTo 1} + + New-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Default" -SchemaName "dbo" -TableName $params.table1 -ColumnName $params.column1 + Assert-Throws { New-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Default" -SchemaName "dbo" -TableName $params.table2 -ColumnName $params.column2} + Assert-Throws { New-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId "SHOULD-FAIL" -MaskingFunction "Default" -SchemaName "dbo" -TableName $params.table1 -ColumnName $params.column1} + + Remove-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -Force } finally { @@ -372,15 +372,15 @@ function Test-DatabaseDataMaskingRuleCreationWithoutPolicy try { # Test - $ruleCountBefore = (Get-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName).Count + $ruleCountBefore = (Get-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName).Count $ruleCountBefore = if ( !$ruleCountBefore ) {0} else {$ruleCountBefore} - New-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Default" -SchemaName "dbo" -TableName $params.table1 -ColumnName $params.column1 - $ruleCountAfter = (Get-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName).Count + New-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -MaskingFunction "Default" -SchemaName "dbo" -TableName $params.table1 -ColumnName $params.column1 + $ruleCountAfter = (Get-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName).Count $ruleCountAfter = if ( !$ruleCountAfter ) {0} else {$ruleCountAfter} # Assert Assert-AreEqual ($ruleCountBefore + 1) $ruleCountAfter - $rule = Get-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId + $rule = Get-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId # Assert Assert-AreEqual $rule.ResourceGroupName $params.rgname @@ -393,12 +393,12 @@ function Test-DatabaseDataMaskingRuleCreationWithoutPolicy Assert-AreEqual $rule.ColumnName $params.column1 $ruleCountBefore = $ruleCountAfter - Remove-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -Force - $ruleCountAfter = (Get-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName).Count + Remove-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId -Force + $ruleCountAfter = (Get-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName).Count $ruleCountAfter = if ( !$ruleCountAfter ) {0} else {$ruleCountAfter} # Assert - Assert-Throws {Get-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId} + Assert-Throws {Get-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -RuleId $ruleId} Assert-AreEqual ($ruleCountBefore - 1) $ruleCountAfter } finally diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DatabaseActivationTests.ps1 b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DatabaseActivationTests.ps1 index 6cc8eb247af2..bb34ecde44fc 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DatabaseActivationTests.ps1 +++ b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DatabaseActivationTests.ps1 @@ -28,13 +28,13 @@ function Test-DatabasePauseResume $databaseName = Get-DatabaseName $collationName = "SQL_Latin1_General_CP1_CI_AS" $maxSizeBytes = 250GB - $dwdb = New-AzureRMSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName ` + $dwdb = New-AzureRmSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName ` -CollationName $collationName -MaxSizeBytes $maxSizeBytes -Edition DataWarehouse -RequestedServiceObjectiveName DW100 try { # Pause the database. Make sure the database specs remain the same and its Status is Paused. - $dwdb2 = Suspend-AzureRMSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $dwdb.DatabaseName + $dwdb2 = Suspend-AzureRmSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $dwdb.DatabaseName Assert-AreEqual $dwdb2.DatabaseName $databaseName Assert-AreEqual $dwdb2.MaxSizeBytes $maxSizeBytes Assert-AreEqual $dwdb2.Edition DataWarehouse @@ -43,7 +43,7 @@ function Test-DatabasePauseResume Assert-AreEqual $dwdb2.Status "Paused" # Resume the database. Make sure the database specs remain the same and its Status is Online. - $dwdb3 = Resume-AzureRMSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $dwdb.DatabaseName + $dwdb3 = Resume-AzureRmSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $dwdb.DatabaseName Assert-AreEqual $dwdb3.DatabaseName $databaseName Assert-AreEqual $dwdb3.MaxSizeBytes $maxSizeBytes Assert-AreEqual $dwdb3.Edition DataWarehouse @@ -76,12 +76,12 @@ function Test-DatabasePauseResumePiped $databaseName = Get-DatabaseName $collationName = "SQL_Latin1_General_CP1_CI_AS" $maxSizeBytes = 250GB - $dwdb = New-AzureRMSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName ` + $dwdb = New-AzureRmSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName ` -CollationName $collationName -MaxSizeBytes $maxSizeBytes -Edition DataWarehouse -RequestedServiceObjectiveName DW100 # Pause the database. Make sure the database specs remain the same and its Status is Paused. - $dwdb2 = $dwdb | Suspend-AzureRMSqlDatabase + $dwdb2 = $dwdb | Suspend-AzureRmSqlDatabase Assert-AreEqual $dwdb2.DatabaseName $databaseName Assert-AreEqual $dwdb2.MaxSizeBytes $maxSizeBytes Assert-AreEqual $dwdb2.Edition DataWarehouse @@ -90,7 +90,7 @@ function Test-DatabasePauseResumePiped Assert-AreEqual $dwdb2.Status "Paused" # Resume the database. Make sure the database specs remain the same and its Status is Online. - $dwdb3 = $dwdb2 | Resume-AzureRMSqlDatabase + $dwdb3 = $dwdb2 | Resume-AzureRmSqlDatabase Assert-AreEqual $dwdb3.DatabaseName $databaseName Assert-AreEqual $dwdb3.MaxSizeBytes $maxSizeBytes Assert-AreEqual $dwdb3.Edition DataWarehouse diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DatabaseBackupTests.ps1 b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DatabaseBackupTests.ps1 index d8810b010472..6a393af6bd47 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DatabaseBackupTests.ps1 +++ b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DatabaseBackupTests.ps1 @@ -29,19 +29,19 @@ function Test-ListDatabaseRestorePoints # Create data warehouse database with all parameters. $databaseName = Get-DatabaseName - $dwdb = New-AzureRMSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName ` + $dwdb = New-AzureRmSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName ` -Edition DataWarehouse -RequestedServiceObjectiveName DW100 $databaseName = Get-DatabaseName - $standarddb = New-AzureRMSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName ` + $standarddb = New-AzureRmSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName ` -Edition Standard -RequestedServiceObjectiveName S0 # Get restore points from data warehouse database. - $restorePoints = Get-AzureRMSqlDatabaseRestorePoints -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $dwdb.DatabaseName + $restorePoints = Get-AzureRmSqlDatabaseRestorePoints -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $dwdb.DatabaseName Assert-Null $restorePoints # Since the data warehouse database has just been created, it should not have any discrete restore points. # Get restore points from standard database through pipe. - $restorePoints = $standarddb | Get-AzureRMSqlDatabaseRestorePoints + $restorePoints = $standarddb | Get-AzureRmSqlDatabaseRestorePoints Assert-AreEqual $restorePoints.Count 1 # Standard databases should only have 1 continuous restore point. $restorePoint = $restorePoints[0] Assert-AreEqual $restorePoint.RestorePointType Continuous diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DatabaseCrudTests.ps1 b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DatabaseCrudTests.ps1 index b7b849fbf266..1aff9b792212 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DatabaseCrudTests.ps1 +++ b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DatabaseCrudTests.ps1 @@ -46,7 +46,7 @@ function Test-CreateDatabaseInternal ($serverVersion, $location = "Japan East") { # Create with default values $databaseName = Get-DatabaseName - $db = New-AzureRMSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName + $db = New-AzureRmSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName Assert-AreEqual $db.DatabaseName $databaseName Assert-NotNull $db.MaxSizeBytes Assert-NotNull $db.Edition @@ -55,7 +55,7 @@ function Test-CreateDatabaseInternal ($serverVersion, $location = "Japan East") # Create with default values via piping $databaseName = Get-DatabaseName - $db = $server | New-AzureRMSqlDatabase -DatabaseName $databaseName + $db = $server | New-AzureRmSqlDatabase -DatabaseName $databaseName Assert-AreEqual $db.DatabaseName $databaseName Assert-NotNull $db.MaxSizeBytes Assert-NotNull $db.Edition @@ -66,7 +66,7 @@ function Test-CreateDatabaseInternal ($serverVersion, $location = "Japan East") $databaseName = Get-DatabaseName $collationName = "SQL_Latin1_General_CP1_CI_AS" $maxSizeBytes = 250GB - $dwdb = New-AzureRMSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName ` + $dwdb = New-AzureRmSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName ` -CollationName $collationName -MaxSizeBytes $maxSizeBytes -Edition DataWarehouse -RequestedServiceObjectiveName DW100 Assert-AreEqual $dwdb.DatabaseName $databaseName Assert-AreEqual $dwdb.MaxSizeBytes $maxSizeBytes @@ -77,7 +77,7 @@ function Test-CreateDatabaseInternal ($serverVersion, $location = "Japan East") # Create with all parameters $databaseName = Get-DatabaseName - $db = New-AzureRMSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName ` + $db = New-AzureRmSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName ` -CollationName "Japanese_Bushu_Kakusu_100_CS_AS" -MaxSizeBytes 1GB -Edition Basic -RequestedServiceObjectiveName Basic Assert-AreEqual $db.DatabaseName $databaseName Assert-AreEqual $db.MaxSizeBytes 1GB @@ -87,7 +87,7 @@ function Test-CreateDatabaseInternal ($serverVersion, $location = "Japan East") # Create with all parameters $databaseName = Get-DatabaseName - $db = $server | New-AzureRMSqlDatabase -DatabaseName $databaseName ` + $db = $server | New-AzureRmSqlDatabase -DatabaseName $databaseName ` -CollationName "Japanese_Bushu_Kakusu_100_CS_AS" -MaxSizeBytes 1GB -Edition Basic -RequestedServiceObjectiveName Basic Assert-AreEqual $db.DatabaseName $databaseName Assert-AreEqual $db.MaxSizeBytes 1GB @@ -130,7 +130,7 @@ function Test-UpdateDatabaseInternal ($serverVersion, $location = "Japan East") $server = Create-ServerForTest $rg $serverVersion $location $databaseName = Get-DatabaseName - $db = New-AzureRMSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName ` + $db = New-AzureRmSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName ` -Edition Standard -MaxSizeBytes 250GB -RequestedServiceObjectiveName S0 Assert-AreEqual $db.DatabaseName $databaseName @@ -141,7 +141,7 @@ function Test-UpdateDatabaseInternal ($serverVersion, $location = "Japan East") if($serverVersion -eq "12.0") { # Alter all properties - $db1 = Set-AzureRMSqlDatabase -ResourceGroupName $db.ResourceGroupName -ServerName $db.ServerName -DatabaseName $db.DatabaseName ` + $db1 = Set-AzureRmSqlDatabase -ResourceGroupName $db.ResourceGroupName -ServerName $db.ServerName -DatabaseName $db.DatabaseName ` -MaxSizeBytes 1GB -Edition Basic -RequestedServiceObjectiveName Basic Assert-AreEqual $db1.DatabaseName $db.DatabaseName Assert-AreEqual $db1.MaxSizeBytes 1GB @@ -150,7 +150,7 @@ function Test-UpdateDatabaseInternal ($serverVersion, $location = "Japan East") Assert-AreEqual $db1.CollationName $db.CollationName # Alter all properties using piping - $db2 = $db1 | Set-AzureRMSqlDatabase -MaxSizeBytes 100GB -Edition Standard -RequestedServiceObjectiveName S1 + $db2 = $db1 | Set-AzureRmSqlDatabase -MaxSizeBytes 100GB -Edition Standard -RequestedServiceObjectiveName S1 Assert-AreEqual $db2.DatabaseName $db.DatabaseName Assert-AreEqual $db2.MaxSizeBytes 100GB Assert-AreEqual $db2.Edition Standard @@ -161,10 +161,10 @@ function Test-UpdateDatabaseInternal ($serverVersion, $location = "Japan East") $databaseName = Get-DatabaseName $collationName = "SQL_Latin1_General_CP1_CI_AS" $maxSizeBytes = 250GB - $dwdb = New-AzureRMSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName ` + $dwdb = New-AzureRmSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName ` -CollationName $collationName -MaxSizeBytes $maxSizeBytes -Edition DataWarehouse -RequestedServiceObjectiveName DW100 - $dwdb2 = Set-AzureRMSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $dwdb.DatabaseName ` + $dwdb2 = Set-AzureRmSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $dwdb.DatabaseName ` -MaxSizeBytes $maxSizeBytes -RequestedServiceObjectiveName DW200 -Edition DataWarehouse Assert-AreEqual $dwdb2.DatabaseName $dwdb.DatabaseName Assert-AreEqual $dwdb2.MaxSizeBytes $maxSizeBytes @@ -175,7 +175,7 @@ function Test-UpdateDatabaseInternal ($serverVersion, $location = "Japan East") else { # Alter all properties - $db1 = Set-AzureRMSqlDatabase -ResourceGroupName $db.ResourceGroupName -ServerName $db.ServerName -DatabaseName $db.DatabaseName ` + $db1 = Set-AzureRmSqlDatabase -ResourceGroupName $db.ResourceGroupName -ServerName $db.ServerName -DatabaseName $db.DatabaseName ` -MaxSizeBytes 1GB -Edition Basic -RequestedServiceObjectiveName Basic Assert-AreEqual $db1.DatabaseName $db.DatabaseName Assert-AreEqual $db1.MaxSizeBytes 250GB @@ -184,7 +184,7 @@ function Test-UpdateDatabaseInternal ($serverVersion, $location = "Japan East") Assert-AreEqual $db1.CollationName $db.CollationName # Alter all properties using piping - $db2 = $db1 | Set-AzureRMSqlDatabase -MaxSizeBytes 100GB -Edition Standard -RequestedServiceObjectiveName S1 + $db2 = $db1 | Set-AzureRmSqlDatabase -MaxSizeBytes 100GB -Edition Standard -RequestedServiceObjectiveName S1 Assert-AreEqual $db2.DatabaseName $db.DatabaseName Assert-AreEqual $db2.MaxSizeBytes 1GB Assert-AreEqual $db2.Edition Basic @@ -229,12 +229,12 @@ function Test-GetDatabaseInternal ($serverVersion, $location = "Japan East") # Create with default values $databaseName = Get-DatabaseName - $db1 = New-AzureRMSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName -MaxSizeBytes 1GB + $db1 = New-AzureRmSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName -MaxSizeBytes 1GB Assert-AreEqual $db1.DatabaseName $databaseName # Create database with non-defaults $databaseName = Get-DatabaseName - $db2 = New-AzureRMSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName ` + $db2 = New-AzureRmSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName ` -CollationName "Japanese_Bushu_Kakusu_100_CS_AS" -MaxSizeBytes 1GB -Edition Basic -RequestedServiceObjectiveName Basic Assert-AreEqual $db2.DatabaseName $databaseName @@ -244,25 +244,25 @@ function Test-GetDatabaseInternal ($serverVersion, $location = "Japan East") { # Create data warehouse database. $databaseName = Get-DatabaseName - $dwdb = New-AzureRMSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName ` + $dwdb = New-AzureRmSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName ` -CollationName SQL_Latin1_General_CP1_CI_AS -MaxSizeBytes 250GB -Edition DataWarehouse -RequestedServiceObjectiveName DW100 - $dwdb2 = Get-AzureRMSqlDatabase -ResourceGroupName $rg.ResourceGroupname -ServerName $server.ServerName -DatabaseName $dwdb.DatabaseName + $dwdb2 = Get-AzureRmSqlDatabase -ResourceGroupName $rg.ResourceGroupname -ServerName $server.ServerName -DatabaseName $dwdb.DatabaseName Assert-AreEqual $dwdb2.DatabaseName $dwdb.DatabaseName Assert-AreEqual $dwdb2.MaxSizeBytes $dwdb.MaxSizeBytes Assert-AreEqual $dwdb2.Edition $dwdb.Edition Assert-AreEqual $dwdb2.CurrentServiceObjectiveName $dwdb.CurrentServiceObjectiveName Assert-AreEqual $dwdb2.CollationName $dwdb.CollationName - $all = $server | Get-AzureRMSqlDatabase + $all = $server | Get-AzureRmSqlDatabase Assert-AreEqual $all.Count 4 # 4 because master database is included } else { - $all = $server | Get-AzureRMSqlDatabase + $all = $server | Get-AzureRmSqlDatabase Assert-AreEqual $all.Count 3 # 3 because master database is included } - $gdb1 = Get-AzureRMSqlDatabase -ResourceGroupName $server.ResourceGroupname -ServerName $server.ServerName -DatabaseName $db1.DatabaseName + $gdb1 = Get-AzureRmSqlDatabase -ResourceGroupName $server.ResourceGroupname -ServerName $server.ServerName -DatabaseName $db1.DatabaseName Assert-NotNull $gdb1 Assert-AreEqual $db1.DatabaseName $gdb1.DatabaseName Assert-AreEqual $db1.Edition $gdb1.Edition @@ -270,7 +270,7 @@ function Test-GetDatabaseInternal ($serverVersion, $location = "Japan East") Assert-AreEqual $db1.CurrentServiceObjectiveName $gdb1.CurrentServiceObjectiveName Assert-AreEqual $db1.MaxSizeBytes $gdb1.MaxSizeBytes - $gdb2 = $db2 | Get-AzureRMSqlDatabase + $gdb2 = $db2 | Get-AzureRmSqlDatabase Assert-NotNull $gdb2 Assert-AreEqual $db2.DatabaseName $gdb2.DatabaseName Assert-AreEqual $db2.Edition $gdb2.Edition @@ -315,12 +315,12 @@ function Test-RemoveDatabaseInternal ($serverVersion, $location = "Japan East") # Create with default values $databaseName = Get-DatabaseName - $db1 = New-AzureRMSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName -MaxSizeBytes 1GB + $db1 = New-AzureRmSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName -MaxSizeBytes 1GB Assert-AreEqual $db1.DatabaseName $databaseName # Create database with non-defaults $databaseName = Get-DatabaseName - $db2 = New-AzureRMSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName ` + $db2 = New-AzureRmSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName ` -CollationName "Japanese_Bushu_Kakusu_100_CS_AS" -MaxSizeBytes 1GB -Edition Basic -RequestedServiceObjectiveName Basic Assert-AreEqual $db2.DatabaseName $databaseName @@ -330,21 +330,21 @@ function Test-RemoveDatabaseInternal ($serverVersion, $location = "Japan East") { # Create data warehouse database $databaseName = Get-DatabaseName - $dwdb = New-AzureRMSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName ` + $dwdb = New-AzureRmSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName ` -CollationName "SQL_Latin1_General_CP1_CI_AS" -MaxSizeBytes 250GB -Edition DataWarehouse -RequestedServiceObjectiveName DW100 Assert-AreEqual $dwdb.DatabaseName $databaseName - Remove-AzureRMSqlDatabase -ResourceGroupName $server.ResourceGroupname -ServerName $server.ServerName -DatabaseName $dwdb.DatabaseName -Force + Remove-AzureRmSqlDatabase -ResourceGroupName $server.ResourceGroupname -ServerName $server.ServerName -DatabaseName $dwdb.DatabaseName -Force } - $all = $server | Get-AzureRMSqlDatabase + $all = $server | Get-AzureRmSqlDatabase Assert-AreEqual $all.Count 3 # 3 because master database is included - Remove-AzureRMSqlDatabase -ResourceGroupName $server.ResourceGroupname -ServerName $server.ServerName -DatabaseName $db1.DatabaseName -Force + Remove-AzureRmSqlDatabase -ResourceGroupName $server.ResourceGroupname -ServerName $server.ServerName -DatabaseName $db1.DatabaseName -Force - $db2 | Remove-AzureRMSqlDatabase -Force + $db2 | Remove-AzureRmSqlDatabase -Force - $all = $server | Get-AzureRMSqlDatabase + $all = $server | Get-AzureRmSqlDatabase Assert-AreEqual $all.Count 1 # 1 because master database is included } finally diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DatabaseReplicationTests.ps1 b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DatabaseReplicationTests.ps1 index 691d97532733..5fe566eb9a67 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DatabaseReplicationTests.ps1 +++ b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DatabaseReplicationTests.ps1 @@ -48,7 +48,7 @@ function Test-CreateCopyInternal ($serverVersion, $location = "North Europe") try { # Create a local database copy - $dbLocalCopy = New-AzureRMSqlDatabaseCopy -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $database.DatabaseName ` + $dbLocalCopy = New-AzureRmSqlDatabaseCopy -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $database.DatabaseName ` -CopyDatabaseName $copyDatabaseName Assert-AreEqual $dbLocalCopy.ResourceGroupName $rg.ResourceGroupName Assert-AreEqual $dbLocalCopy.ServerName $server.ServerName @@ -58,7 +58,7 @@ function Test-CreateCopyInternal ($serverVersion, $location = "North Europe") Assert-AreEqual $dbLocalCopy.CopyDatabaseName $copyDatabaseName # Create a cross server copy - $dbCrossServerCopy = New-AzureRMSqlDatabaseCopy -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $database.DatabaseName ` + $dbCrossServerCopy = New-AzureRmSqlDatabaseCopy -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $database.DatabaseName ` -CopyResourceGroupName $copyRg.ResourceGroupName -CopyServerName $copyServer.ServerName -CopyDatabaseName $copyDatabaseName Assert-AreEqual $dbCrossServerCopy.ResourceGroupName $rg.ResourceGroupName Assert-AreEqual $dbCrossServerCopy.ServerName $server.ServerName @@ -109,7 +109,7 @@ function Test-CreateSecondaryDatabaseInternal ($serverVersion, $location = "Nort try { # Create Readable Secondary - $readSecondary = New-AzureRMSqlDatabaseSecondary -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $database.DatabaseName ` + $readSecondary = New-AzureRmSqlDatabaseSecondary -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $database.DatabaseName ` -PartnerResourceGroupName $partRg.ResourceGroupName -PartnerServerName $partServer.ServerName -AllowConnections All Assert-NotNull $readSecondary.LinkId Assert-AreEqual $readSecondary.ResourceGroupName $rg.ResourceGroupName @@ -167,10 +167,10 @@ function Test-GetReplicationLinkInternal ($serverVersion, $location = "North Eur try { # Get Secondary - New-AzureRMSqlDatabaseSecondary -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $database.DatabaseName ` + New-AzureRmSqlDatabaseSecondary -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $database.DatabaseName ` -PartnerResourceGroupName $partRg.ResourceGroupName -PartnerServerName $partServer.ServerName -AllowConnections All - $secondary = Get-AzureRMSqlDatabaseReplicationLink -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName ` + $secondary = Get-AzureRmSqlDatabaseReplicationLink -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName ` -DatabaseName $database.DatabaseName -PartnerResourceGroupName $partRg.ResourceGroupName -PartnerServerName $partServer.ServerName Assert-NotNull $secondary.LinkId Assert-AreEqual $secondary.ResourceGroupName $rg.ResourceGroupName @@ -228,10 +228,10 @@ function Test-RemoveSecondaryDatabaseInternal ($serverVersion, $location = "Nort try { # remove Secondary - New-AzureRMSqlDatabaseSecondary -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $database.DatabaseName ` + New-AzureRmSqlDatabaseSecondary -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $database.DatabaseName ` -PartnerResourceGroupName $partRg.ResourceGroupName -PartnerServerName $partServer.ServerName -AllowConnections All - Remove-AzureRMSqlDatabaseSecondary -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $database.DatabaseName ` + Remove-AzureRmSqlDatabaseSecondary -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $database.DatabaseName ` -PartnerResourceGroupName $partRg.ResourceGroupName -PartnerServerName $partServer.ServerName } finally @@ -268,12 +268,12 @@ function Test-FailoverSecondaryDatabaseInternal ($serverVersion, $location = "No try { # failover Secondary - New-AzureRMSqlDatabaseSecondary -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $database.DatabaseName ` + New-AzureRmSqlDatabaseSecondary -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $database.DatabaseName ` -PartnerResourceGroupName $partRg.ResourceGroupName -PartnerServerName $partServer.ServerName -AllowConnections All - $secondary = Get-AzureRMSqlDatabaseReplicationLink -ResourceGroupName $partRg.ResourceGroupName -ServerName $partServer.ServerName -DatabaseName $database.DatabaseName -PartnerResourceGroupName $rg.ResourceGroupName -PartnerServerName $server.ServerName + $secondary = Get-AzureRmSqlDatabaseReplicationLink -ResourceGroupName $partRg.ResourceGroupName -ServerName $partServer.ServerName -DatabaseName $database.DatabaseName -PartnerResourceGroupName $rg.ResourceGroupName -PartnerServerName $server.ServerName - $secondary | Set-AzureRMSqlDatabaseSecondary -PartnerResourceGroupName $rg.ResourceGroupName -Failover + $secondary | Set-AzureRmSqlDatabaseSecondary -PartnerResourceGroupName $rg.ResourceGroupName -Failover } finally { @@ -289,5 +289,5 @@ function Test-FailoverSecondaryDatabaseInternal ($serverVersion, $location = "No function Create-DatabaseForTest ($rg, $server, $edition = "Premium") { $databaseName = Get-DatabaseName - New-AzureRMSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName -Edition $edition + New-AzureRmSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName -Edition $edition } \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ElasticPoolCrudTests.ps1 b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ElasticPoolCrudTests.ps1 index 0f4305b6cb18..6dd407ac5905 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ElasticPoolCrudTests.ps1 +++ b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ElasticPoolCrudTests.ps1 @@ -26,7 +26,7 @@ function Test-CreateElasticPool { # Create a pool with all values $poolName = Get-ElasticPoolName - $ep1 = New-AzureRMSqlElasticPool -ServerName $server.ServerName -ResourceGroupName $rg.ResourceGroupName ` + $ep1 = New-AzureRmSqlElasticPool -ServerName $server.ServerName -ResourceGroupName $rg.ResourceGroupName ` -ElasticPoolName $poolName -Edition Standard -Dtu 200 -DatabaseDtuMin 10 -DatabaseDtuMax 100 -StorageMB 204800 Assert-NotNull $ep1 Assert-AreEqual 200 $ep1.Dtu @@ -37,7 +37,7 @@ function Test-CreateElasticPool # Create a pool using piping and default values $poolName = Get-ElasticPoolName - $ep2 = $server | New-AzureRMSqlElasticPool -ElasticPoolName $poolName + $ep2 = $server | New-AzureRmSqlElasticPool -ElasticPoolName $poolName Assert-NotNull $ep2 Assert-AreEqual 200 $ep2.Dtu Assert-AreEqual 204800 $ep2.StorageMB @@ -62,12 +62,12 @@ function Test-UpdateElasticPool $server = Create-ServerForTest $rg "Japan East" $poolName = Get-ElasticPoolName - $ep1 = New-AzureRMSqlElasticPool -ServerName $server.ServerName -ResourceGroupName $rg.ResourceGroupName ` + $ep1 = New-AzureRmSqlElasticPool -ServerName $server.ServerName -ResourceGroupName $rg.ResourceGroupName ` -ElasticPoolName $poolName -Edition Standard -Dtu 200 -DatabaseDtuMin 10 -DatabaseDtuMax 100 Assert-NotNull $ep1 $poolName = Get-ElasticPoolName - $ep2 = $server | New-AzureRMSqlElasticPool -ElasticPoolName $poolName -Edition Standard -Dtu 400 -DatabaseDtuMin 10 ` + $ep2 = $server | New-AzureRmSqlElasticPool -ElasticPoolName $poolName -Edition Standard -Dtu 400 -DatabaseDtuMin 10 ` -DatabaseDtuMax 100 Assert-NotNull $ep2 @@ -75,7 +75,7 @@ function Test-UpdateElasticPool try { # Create a pool with all values - $sep1 = Set-AzureRMSqlElasticPool -ServerName $server.ServerName -ResourceGroupName $rg.ResourceGroupName ` + $sep1 = Set-AzureRmSqlElasticPool -ServerName $server.ServerName -ResourceGroupName $rg.ResourceGroupName ` -ElasticPoolName $ep1.ElasticPoolName -Dtu 400 -DatabaseDtuMin 0 -DatabaseDtuMax 50 -Edition Standard -StorageMB 409600 Assert-NotNull $sep1 Assert-AreEqual 400 $sep1.Dtu @@ -85,7 +85,7 @@ function Test-UpdateElasticPool Assert-AreEqual 50 $sep1.DatabaseDtuMax # Create a pool using piping - $sep2 = $server | Set-AzureRMSqlElasticPool -ElasticPoolName $ep2.ElasticPoolName -Dtu 200 ` + $sep2 = $server | Set-AzureRmSqlElasticPool -ElasticPoolName $ep2.ElasticPoolName -Dtu 200 ` -DatabaseDtuMin 10 -DatabaseDtuMax 50 -Edition Standard -StorageMB 204800 Assert-NotNull $sep2 Assert-AreEqual 200 $sep2.Dtu @@ -112,19 +112,19 @@ function Test-GetElasticPool $server = Create-ServerForTest $rg "Japan East" $poolName = Get-ElasticPoolName - $ep1 = New-AzureRMSqlElasticPool -ServerName $server.ServerName -ResourceGroupName $rg.ResourceGroupName ` + $ep1 = New-AzureRmSqlElasticPool -ServerName $server.ServerName -ResourceGroupName $rg.ResourceGroupName ` -ElasticPoolName $poolName -Edition Standard -Dtu 200 -DatabaseDtuMin 10 -DatabaseDtuMax 100 Assert-NotNull $ep1 $poolName = Get-ElasticPoolName - $ep2 = $server | New-AzureRMSqlElasticPool -ElasticPoolName $poolName -Edition Standard -Dtu 400 -DatabaseDtuMin 0 ` + $ep2 = $server | New-AzureRmSqlElasticPool -ElasticPoolName $poolName -Edition Standard -Dtu 400 -DatabaseDtuMin 0 ` -DatabaseDtuMax 100 Assert-NotNull $ep2 try { # Create a pool with all values - $gep1 = Get-AzureRMSqlElasticPool -ServerName $server.ServerName -ResourceGroupName $rg.ResourceGroupName ` + $gep1 = Get-AzureRmSqlElasticPool -ServerName $server.ServerName -ResourceGroupName $rg.ResourceGroupName ` -ElasticPoolName $ep1.ElasticPoolName Assert-NotNull $ep1 Assert-AreEqual 200 $ep1.Dtu @@ -134,7 +134,7 @@ function Test-GetElasticPool Assert-AreEqual 100 $ep1.DatabaseDtuMax # Create a pool using piping - $gep2 = $ep2 | Get-AzureRMSqlElasticPool + $gep2 = $ep2 | Get-AzureRmSqlElasticPool Assert-NotNull $ep2 Assert-AreEqual 400 $ep2.Dtu Assert-AreEqual 204800 $ep2.StorageMB @@ -142,7 +142,7 @@ function Test-GetElasticPool Assert-AreEqual 0 $ep2.DatabaseDtuMin Assert-AreEqual 100 $ep2.DatabaseDtuMax - $all = $server | Get-AzureRMSqlElasticPool + $all = $server | Get-AzureRmSqlElasticPool Assert-AreEqual $all.Count 2 } finally @@ -166,7 +166,7 @@ function Test-GetElasticPoolMetric $serverName = "groupserver1" $elasticPoolName = "testpool2" - $ep1 = Get-AzureRMSqlElasticPool -ServerName $serverName -ResourceGroupName $rgName ` + $ep1 = Get-AzureRmSqlElasticPool -ServerName $serverName -ResourceGroupName $rgName ` -ElasticPoolName $elasticPoolName Assert-NotNull $ep1 @@ -188,24 +188,24 @@ function Test-RemoveElasticPool $server = Create-ServerForTest $rg "Japan East" $poolName = Get-ElasticPoolName - $ep1 = New-AzureRMSqlElasticPool -ServerName $server.ServerName -ResourceGroupName $rg.ResourceGroupName ` + $ep1 = New-AzureRmSqlElasticPool -ServerName $server.ServerName -ResourceGroupName $rg.ResourceGroupName ` -ElasticPoolName $poolName -Edition Standard -Dtu 200 -DatabaseDtuMin 10 -DatabaseDtuMax 100 Assert-NotNull $ep1 $poolName = Get-ElasticPoolName - $ep2 = $server | New-AzureRMSqlElasticPool -ElasticPoolName $poolName -Edition Standard -Dtu 400 -DatabaseDtuMin 0 ` + $ep2 = $server | New-AzureRmSqlElasticPool -ElasticPoolName $poolName -Edition Standard -Dtu 400 -DatabaseDtuMin 0 ` -DatabaseDtuMax 100 Assert-NotNull $ep2 try { # Create a pool with all values - Remove-AzureRMSqlElasticPool -ServerName $server.ServerName -ResourceGroupName $rg.ResourceGroupName -ElasticPoolName $ep1.ElasticPoolName -Force + Remove-AzureRmSqlElasticPool -ServerName $server.ServerName -ResourceGroupName $rg.ResourceGroupName -ElasticPoolName $ep1.ElasticPoolName -Force # Create a pool using piping - $ep2 | Remove-AzureRMSqlElasticPool -Force + $ep2 | Remove-AzureRmSqlElasticPool -Force - $all = $server | Get-AzureRMSqlElasticPool + $all = $server | Get-AzureRmSqlElasticPool Assert-AreEqual $all.Count 0 } finally diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/IndexRecommendationTests.ps1 b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/IndexRecommendationTests.ps1 index 1d47b5ee0a44..a302b2468569 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/IndexRecommendationTests.ps1 +++ b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/IndexRecommendationTests.ps1 @@ -19,17 +19,17 @@ function Test-GetIndexRecommendations { # Get all recommended indexes for server - $response = Get-AzureRMSqlDatabaseIndexRecommendations -ResourceGroup Group-6 -ServerName witest-eus + $response = Get-AzureRmSqlDatabaseIndexRecommendations -ResourceGroup Group-6 -ServerName witest-eus ValidateResponse($response) Assert-AreEqual "Active" $response[0].State # Get all recommended indexes for database - $response = Get-AzureRMSqlDatabaseIndexRecommendations -ResourceGroup Group-6 -ServerName witest-eus -DatabaseName witestdb-eus + $response = Get-AzureRmSqlDatabaseIndexRecommendations -ResourceGroup Group-6 -ServerName witest-eus -DatabaseName witestdb-eus ValidateResponse($response) Assert-AreEqual "Active" $response[0].State # Get recommended indexes by name - $response = Get-AzureRMSqlDatabaseIndexRecommendations -ResourceGroup Group-6 -ServerName witest-eus -DatabaseName witestdb-eus -IndexRecommendationName nci_wi_Clusters_034590D0-0378-4AB9-96D5-C144B14F6A9B + $response = Get-AzureRmSqlDatabaseIndexRecommendations -ResourceGroup Group-6 -ServerName witest-eus -DatabaseName witestdb-eus -IndexRecommendationName nci_wi_Clusters_034590D0-0378-4AB9-96D5-C144B14F6A9B ValidateResponse($response) Assert-AreEqual "Active" $response[0].State } @@ -41,11 +41,11 @@ function Test-GetIndexRecommendations function Test-CreateIndex { # Start index operation - $response = Start-AzureRMSqlDatabaseExecuteIndexRecommendation -ResourceGroup Group-6 -ServerName witest-eus -DatabaseName witestdb-eus -IndexRecommendationName nci_wi_Clusters_034590D0-0378-4AB9-96D5-C144B14F6A9B + $response = Start-AzureRmSqlDatabaseExecuteIndexRecommendation -ResourceGroup Group-6 -ServerName witest-eus -DatabaseName witestdb-eus -IndexRecommendationName nci_wi_Clusters_034590D0-0378-4AB9-96D5-C144B14F6A9B Assert-AreEqual "Pending" $response[0].State # Start index operation - $response = Stop-AzureRMSqlDatabaseExecuteIndexRecommendation -ResourceGroup Group-6 -ServerName witest-eus -DatabaseName witestdb-eus -IndexRecommendationName nci_wi_Clusters_034590D0-0378-4AB9-96D5-C144B14F6A9B + $response = Stop-AzureRmSqlDatabaseExecuteIndexRecommendation -ResourceGroup Group-6 -ServerName witest-eus -DatabaseName witestdb-eus -IndexRecommendationName nci_wi_Clusters_034590D0-0378-4AB9-96D5-C144B14F6A9B Assert-AreEqual "Active" $response[0].State } diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/LocationCapabilitiesTests.ps1 b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/LocationCapabilitiesTests.ps1 index 9a874b723150..5714466a2862 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/LocationCapabilitiesTests.ps1 +++ b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/LocationCapabilitiesTests.ps1 @@ -14,24 +14,24 @@ <# .SYNOPSIS - Tests the Get-AzureRMSqlCapability cmdlet + Tests the Get-AzureRmSqlCapability cmdlet #> function Test-Capabilities { $location = "North Europe" - $all = Get-AzureRMSqlCapability $location + $all = Get-AzureRmSqlCapability $location Validate-Capabilities $all - $default = Get-AzureRMSqlCapability $location -Defaults + $default = Get-AzureRmSqlCapability $location -Defaults Validate-Capabilities $default - $version = Get-AzureRMSqlCapability $location -ServerVersionName "12.0" + $version = Get-AzureRmSqlCapability $location -ServerVersionName "12.0" Validate-Capabilities $default - $edition = Get-AzureRMSqlCapability $location -EditionName "Premium" + $edition = Get-AzureRmSqlCapability $location -EditionName "Premium" Validate-Capabilities $default - $so = Get-AzureRMSqlCapability $location -ServiceObjectiveName "S3" + $so = Get-AzureRmSqlCapability $location -ServiceObjectiveName "S3" Validate-Capabilities $default } diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/RecommendedElasticPoolTests.ps1 b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/RecommendedElasticPoolTests.ps1 index 94be48a9be3a..19629590440e 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/RecommendedElasticPoolTests.ps1 +++ b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/RecommendedElasticPoolTests.ps1 @@ -18,7 +18,7 @@ #> function Test-ElasticPoolRecommendation { - $response = Get-AzureRMSqlElasticPoolRecommendation -ResourceGroupName TestRg -ServerName test-srv-v1 + $response = Get-AzureRmSqlElasticPoolRecommendation -ResourceGroupName TestRg -ServerName test-srv-v1 Assert-NotNull $response Assert-AreEqual 2 $response.Count diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerActiveDirectoryAdministratorTest.ps1 b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerActiveDirectoryAdministratorTest.ps1 index 76d80ebfb376..044a5cfc6a56 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerActiveDirectoryAdministratorTest.ps1 +++ b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerActiveDirectoryAdministratorTest.ps1 @@ -30,12 +30,12 @@ function Test-ServerActiveDirectoryAdministrator ($location = "North Europe") $activeDirectoryUser1ObjectId = "e87332b2-e3ed-480a-9723-e9b3611268f8" # Verify there is no Active Directory Administrator set - $activeDirectoryAdmin = Get-AzureRMSqlServerActiveDirectoryAdministrator -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName + $activeDirectoryAdmin = Get-AzureRmSqlServerActiveDirectoryAdministrator -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName Assert-Null $activeDirectoryAdmin # Set an Azure SQL Server Active Directory Administrator Group - $activeDirectoryAdmin1 = Set-AzureRMSqlServerActiveDirectoryAdministrator -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName ` + $activeDirectoryAdmin1 = Set-AzureRmSqlServerActiveDirectoryAdministrator -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName ` -DisplayName $activeDirectoryGroup1 Assert-NotNull $activeDirectoryAdmin1 @@ -45,23 +45,23 @@ function Test-ServerActiveDirectoryAdministrator ($location = "North Europe") Assert-AreEqual $activeDirectoryAdmin1.ObjectId $activeDirectoryGroup1ObjectId # Get an Azure SQL Server Active Directory Administrator - $activeDirectoryAdmin2 = Get-AzureRMSqlServerActiveDirectoryAdministrator -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName + $activeDirectoryAdmin2 = Get-AzureRmSqlServerActiveDirectoryAdministrator -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName Assert-AreEqual $activeDirectoryAdmin2.DisplayName $activeDirectoryGroup1 Assert-AreEqual $activeDirectoryAdmin2.ObjectId $activeDirectoryGroup1ObjectId # Set an Azure SQL Server Active Directory Administrator User - $activeDirectoryAdmin3 = Set-AzureRMSqlServerActiveDirectoryAdministrator -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName ` + $activeDirectoryAdmin3 = Set-AzureRmSqlServerActiveDirectoryAdministrator -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName ` -DisplayName $activeDirectoryUser1 Assert-AreEqual $activeDirectoryAdmin3.DisplayName $activeDirectoryUser1 Assert-AreEqual $activeDirectoryAdmin3.ObjectId $activeDirectoryUser1ObjectId # Set an Azure SQL Server Active Directory Administrator User - $activeDirectoryAdmin4 = Remove-AzureRMSqlServerActiveDirectoryAdministrator -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -Force + $activeDirectoryAdmin4 = Remove-AzureRmSqlServerActiveDirectoryAdministrator -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -Force # Verify that Azure SQL Server Active Directory Administrator was deleted - $activeDirectoryAdmin5 = Get-AzureRMSqlServerActiveDirectoryAdministrator -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName + $activeDirectoryAdmin5 = Get-AzureRmSqlServerActiveDirectoryAdministrator -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName Assert-Null $activeDirectoryAdmin5 } diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerCrudTests.ps1 b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerCrudTests.ps1 index 1caed024ae89..83314690ac9f 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerCrudTests.ps1 +++ b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerCrudTests.ps1 @@ -30,7 +30,7 @@ function Test-CreateServer try { # With all parameters - $server1 = New-AzureRMSqlServer -ResourceGroupName $rg.ResourceGroupName -ServerName $serverName -Location $rg.Location -ServerVersion $version -SqlAdministratorCredentials $credentials + $server1 = New-AzureRmSqlServer -ResourceGroupName $rg.ResourceGroupName -ServerName $serverName -Location $rg.Location -ServerVersion $version -SqlAdministratorCredentials $credentials Assert-AreEqual $server1.ServerName $serverName Assert-AreEqual $server1.ServerVersion $version Assert-AreEqual $server1.SqlAdministratorLogin $serverLogin @@ -57,7 +57,7 @@ function Test-UpdateServer $serverPassword = "n3wc00lP@55w0rd" $secureString = ConvertTo-SecureString $serverPassword -AsPlainText -Force - $server1 = Set-AzureRMSqlServer -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -SqlAdministratorPassword $secureString + $server1 = Set-AzureRmSqlServer -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -SqlAdministratorPassword $secureString Assert-AreEqual $server1.ServerName $server.ServerName Assert-AreEqual $server1.ServerVersion $server.ServerVersion Assert-AreEqual $server1.SqlAdministratorLogin $server.SqlAdministratorLogin @@ -66,7 +66,7 @@ function Test-UpdateServer $serverPassword = "n3wc00lP@55w0rd!!!" $secureString = ConvertTo-SecureString $serverPassword -AsPlainText -Force - $server2 = $server | Set-AzureRMSqlServer -SqlAdministratorPassword $secureString + $server2 = $server | Set-AzureRmSqlServer -SqlAdministratorPassword $secureString Assert-AreEqual $server2.ServerName $server.ServerName Assert-AreEqual $server2.ServerVersion $server.ServerVersion Assert-AreEqual $server2.SqlAdministratorLogin $server.SqlAdministratorLogin @@ -91,18 +91,18 @@ function Test-GetServer try { # Test using parameters - $resp1 = Get-AzureRMSqlServer -ResourceGroupName $rg.ResourceGroupName -ServerName $server1.ServerName + $resp1 = Get-AzureRmSqlServer -ResourceGroupName $rg.ResourceGroupName -ServerName $server1.ServerName Assert-AreEqual $server1.ServerName $resp1.ServerName Assert-AreEqual $server1.ServerVersion $resp1.ServerVersion Assert-AreEqual $server1.SqlAdministratorLogin $resp1.SqlAdministratorLogin # Test piping - $resp2 = $server2 | Get-AzureRMSqlServer + $resp2 = $server2 | Get-AzureRmSqlServer Assert-AreEqual $server2.ServerName $resp2.ServerName Assert-AreEqual $server2.ServerVersion $resp2.ServerVersion Assert-AreEqual $server2.SqlAdministratorLogin $resp2.SqlAdministratorLogin - $all = Get-AzureRMSqlServer -ResourceGroupName $rg.ResourceGroupName + $all = Get-AzureRmSqlServer -ResourceGroupName $rg.ResourceGroupName Assert-AreEqual $all.Count 2 } finally @@ -125,12 +125,12 @@ function Test-RemoveServer try { # Test using parameters - Remove-AzureRMSqlServer -ResourceGroupName $rg.ResourceGroupName -ServerName $server1.ServerName -Force + Remove-AzureRmSqlServer -ResourceGroupName $rg.ResourceGroupName -ServerName $server1.ServerName -Force # Test piping - $server2 | Remove-AzureRMSqlServer -Force + $server2 | Remove-AzureRmSqlServer -Force - $all = Get-AzureRMSqlServer -ResourceGroupName $rg.ResourceGroupName + $all = Get-AzureRmSqlServer -ResourceGroupName $rg.ResourceGroupName Assert-AreEqual $all.Count 0 } finally diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerUpgradeTests.ps1 b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerUpgradeTests.ps1 index bb7e36bd728c..fbd4ad822463 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerUpgradeTests.ps1 +++ b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerUpgradeTests.ps1 @@ -23,29 +23,29 @@ function Test-ServerUpgradeWithUpgradeHint # Create a basic database $databaseName = Get-DatabaseName - $database = New-AzureRMSqlDatabase -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName -Edition Basic -MaxSizeBytes 1GB + $database = New-AzureRmSqlDatabase -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName -Edition Basic -MaxSizeBytes 1GB Assert-AreEqual $database.DatabaseName $databaseName try { - $mapping = Get-AzureRMSqlServerUpgradeHint -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName + $mapping = Get-AzureRmSqlServerUpgradeHint -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName - Start-AzureRMSqlServerUpgrade -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName -ServerVersion 12.0 -ScheduleUpgradeAfterUtcDateTime ((Get-Date).AddMinutes(1).ToUniversalTime()) -DatabaseCollection $mapping.Databases -ElasticPoolCollection $hint.ElasticPools + Start-AzureRmSqlServerUpgrade -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName -ServerVersion 12.0 -ScheduleUpgradeAfterUtcDateTime ((Get-Date).AddMinutes(1).ToUniversalTime()) -DatabaseCollection $mapping.Databases -ElasticPoolCollection $hint.ElasticPools while ($true) { - $upgrade = Get-AzureRMSqlServerUpgrade -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName + $upgrade = Get-AzureRmSqlServerUpgrade -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName if ($upgrade.Status -eq "Completed") { # Upgrade is successful - $server = Get-AzureRMSqlServer -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName + $server = Get-AzureRmSqlServer -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName Assert-AreEqual $server.ServerVersion "12.0" break } elseif ($upgrade.Status -eq "Stopped") { # Upgrade failed - $server = Get-AzureRMSqlServer -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName + $server = Get-AzureRmSqlServer -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName Assert-AreEqual $server.ServerVersion "2.0" break } @@ -58,7 +58,7 @@ function Test-ServerUpgradeWithUpgradeHint } finally { - Remove-AzureRMResourceGroup -Name $server.ResourceGroupName -Force + Remove-AzureRmResourceGroup -Name $server.ResourceGroupName -Force } } @@ -73,19 +73,19 @@ function Test-ServerUpgradeAndCancel try { - Start-AzureRMSqlServerUpgrade -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName -ServerVersion 12.0 + Start-AzureRmSqlServerUpgrade -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName -ServerVersion 12.0 - $upgrade = Get-AzureRMSqlServerUpgrade -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName + $upgrade = Get-AzureRmSqlServerUpgrade -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName Assert-AreEqual $upgrade.Status "Queued" - Stop-AzureRMSqlServerUpgrade -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName -Force + Stop-AzureRmSqlServerUpgrade -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName -Force - $upgrade = Get-AzureRMSqlServerUpgrade -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName + $upgrade = Get-AzureRmSqlServerUpgrade -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName Assert-AreEqual $upgrade.Status "Cancelling" while ($true) { - $upgrade = Get-AzureRMSqlServerUpgrade -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName + $upgrade = Get-AzureRmSqlServerUpgrade -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName if ($upgrade.Status -eq "Stopped") { break @@ -98,12 +98,12 @@ function Test-ServerUpgradeAndCancel } # Upgrade is cancelled - $server = Get-AzureRMSqlServer -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName + $server = Get-AzureRmSqlServer -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName Assert-AreEqual $server.ServerVersion "2.0" } finally { - Remove-AzureRMResourceGroup -Name $server.ResourceGroupName -Force + Remove-AzureRmResourceGroup -Name $server.ResourceGroupName -Force } } @@ -118,28 +118,28 @@ function Test-ServerUpgradeNegative # Create a basic database $databaseName = Get-DatabaseName - $database = New-AzureRMSqlDatabase -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName -Edition Basic -MaxSizeBytes 1GB + $database = New-AzureRmSqlDatabase -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName -Edition Basic -MaxSizeBytes 1GB Assert-AreEqual $database.DatabaseName $databaseName try { - Assert-Throws { Start-AzureRMSqlServerUpgrade -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName } - Assert-Throws { Start-AzureRMSqlServerUpgrade -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName -ServerVersion 13.0} - Assert-Throws { Start-AzureRMSqlServerUpgrade -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName -ScheduleUpgradeAfterUtcDateTime ((Get-Date).ToUniversalTime())} + Assert-Throws { Start-AzureRmSqlServerUpgrade -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName } + Assert-Throws { Start-AzureRmSqlServerUpgrade -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName -ServerVersion 13.0} + Assert-Throws { Start-AzureRmSqlServerUpgrade -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName -ScheduleUpgradeAfterUtcDateTime ((Get-Date).ToUniversalTime())} $recommendedDatabase = New-Object -TypeName Microsoft.Azure.Management.Sql.Models.RecommendedDatabaseProperties $recommendedDatabase.Name = databaseName $recommendedDatabase.TargetEdition = "InvalidEdition" $recommendedDatabase.TargetServiceLevelObjective = "S0" - Assert-Throws { Start-AzureRMSqlServerUpgrade -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName -DatabaseCollection ($recommendedDatabase)} + Assert-Throws { Start-AzureRmSqlServerUpgrade -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName -DatabaseCollection ($recommendedDatabase)} $recommendedDatabase.TargetEdition = "Premium" $recommendedDatabase.TargetServiceLevelObjective = "S0" - Assert-Throws { Start-AzureRMSqlServerUpgrade -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName -DatabaseCollection ($recommendedDatabase)} + Assert-Throws { Start-AzureRmSqlServerUpgrade -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName -DatabaseCollection ($recommendedDatabase)} } finally { - Remove-AzureRMResourceGroup -Name $server.ResourceGroupName -Force + Remove-AzureRmResourceGroup -Name $server.ResourceGroupName -Force } } @@ -152,7 +152,7 @@ function Create-ServerForServerUpgradeTest() $location = "West US" $rgName = Get-ResourceGroupName - $rg = New-AzureRMResourceGroup -Name $rgName -Location $location + $rg = New-AzureRmResourceGroup -Name $rgName -Location $location $serverName = Get-ServerName $version = "2.0" @@ -160,6 +160,6 @@ function Create-ServerForServerUpgradeTest() $serverPassword = "t357ingP@s5w0rd!" $credentials = New-Object System.Management.Automation.PSCredential($serverLogin, ($serverPassword | ConvertTo-SecureString -asPlainText -Force)) - $server = New-AzureRMSqlServer -ResourceGroupName $rgName -ServerName $serverName -Location $location -ServerVersion $version -SqlAdministratorCredentials $credentials + $server = New-AzureRmSqlServer -ResourceGroupName $rgName -ServerName $serverName -Location $location -ServerVersion $version -SqlAdministratorCredentials $credentials return $server } \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServiceTierAdvisorTests.ps1 b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServiceTierAdvisorTests.ps1 index 39be2a2445e9..860316e2b121 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServiceTierAdvisorTests.ps1 +++ b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServiceTierAdvisorTests.ps1 @@ -18,28 +18,28 @@ #> function Test-GetUpgradeDatabaseHint { - $response = Get-AzureRMSqlDatabaseUpgradeHint -ResourceGroupName TestRg -ServerName test-srv-v1 + $response = Get-AzureRmSqlDatabaseUpgradeHint -ResourceGroupName TestRg -ServerName test-srv-v1 Assert-NotNull $response Assert-AreEqual 1 $response.Count Assert-AreEqual test-db-v1 $response[0].Name Assert-AreEqual Premium $response[0].TargetEdition Assert-AreEqual P2 $response[0].TargetServiceLevelObjective - $response = Get-AzureRMSqlDatabaseUpgradeHint -ResourceGroupName TestRg -ServerName test-srv-v1 -DatabaseName test-db-v1 + $response = Get-AzureRmSqlDatabaseUpgradeHint -ResourceGroupName TestRg -ServerName test-srv-v1 -DatabaseName test-db-v1 Assert-NotNull $response Assert-AreEqual 1 $response.Count Assert-AreEqual test-db-v1 $response[0].Name Assert-AreEqual Standard $response[0].TargetEdition Assert-AreEqual S0 $response[0].TargetServiceLevelObjective - $response = Get-AzureRMSqlDatabaseUpgradeHint -ResourceGroupName TestRg -ServerName test-srv-v1 -ExcludeElasticPoolCandidates 1 + $response = Get-AzureRmSqlDatabaseUpgradeHint -ResourceGroupName TestRg -ServerName test-srv-v1 -ExcludeElasticPoolCandidates 1 Assert-NotNull $response Assert-AreEqual 1 $response.Count Assert-AreEqual test-db-v1 $response[0].Name Assert-AreEqual Premium $response[0].TargetEdition Assert-AreEqual P2 $response[0].TargetServiceLevelObjective - $response = Get-AzureRMSqlDatabaseUpgradeHint -ResourceGroupName TestRg -ServerName test-srv-v1 -DatabaseName test-db-v1 -ExcludeElasticPoolCandidates 1 + $response = Get-AzureRmSqlDatabaseUpgradeHint -ResourceGroupName TestRg -ServerName test-srv-v1 -DatabaseName test-db-v1 -ExcludeElasticPoolCandidates 1 Assert-NotNull $response Assert-AreEqual 1 $response.Count Assert-AreEqual test-db-v1 $response[0].Name @@ -53,14 +53,14 @@ function Test-GetUpgradeDatabaseHint #> function Test-GetUpgradeServerHint { - $response = Get-AzureRMSqlServerUpgradeHint -ResourceGroupName TestRg -ServerName test-srv-v1 + $response = Get-AzureRmSqlServerUpgradeHint -ResourceGroupName TestRg -ServerName test-srv-v1 Assert-NotNull $response Assert-AreEqual 1 $response.Databases.Count Assert-AreEqual test-db-v1 $response.Databases[0].Name Assert-AreEqual Standard $response.Databases[0].TargetEdition Assert-AreEqual S0 $response.Databases[0].TargetServiceLevelObjective - $response = Get-AzureRMSqlServerUpgradeHint -ResourceGroupName TestRg -ServerName test-srv-v1 -ExcludeElasticPools 1 + $response = Get-AzureRmSqlServerUpgradeHint -ResourceGroupName TestRg -ServerName test-srv-v1 -ExcludeElasticPools 1 Assert-NotNull $response Assert-AreEqual 1 $response.Databases.Count Assert-AreEqual test-db-v1 $response.Databases[0].Name diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/TransparentDataEncryptionCrudTests.ps1 b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/TransparentDataEncryptionCrudTests.ps1 index 0293668eb0bb..3a247c0c9095 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/TransparentDataEncryptionCrudTests.ps1 +++ b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/TransparentDataEncryptionCrudTests.ps1 @@ -24,7 +24,7 @@ function Test-UpdateTransparentDataEncryption # Create with default values $databaseName = Get-DatabaseName - $db = New-AzureRMSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName + $db = New-AzureRmSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName Assert-AreEqual $db.DatabaseName $databaseName #Default database will be Standard s0 with maxsize: 268435456000 (250GB) @@ -32,7 +32,7 @@ function Test-UpdateTransparentDataEncryption try { # Alter all properties - $tde1 = Set-AzureRMSqlDatabaseTransparentDataEncryption -ResourceGroupName $db.ResourceGroupName -ServerName $db.ServerName -DatabaseName $db.DatabaseName ` + $tde1 = Set-AzureRmSqlDatabaseTransparentDataEncryption -ResourceGroupName $db.ResourceGroupName -ServerName $db.ServerName -DatabaseName $db.DatabaseName ` -State Enabled Assert-AreEqual $tde1.State Enabled } @@ -55,26 +55,26 @@ function Test-GetTransparentDataEncryption # Create with default values $databaseName = Get-DatabaseName - $db = New-AzureRMSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName + $db = New-AzureRmSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $databaseName Assert-AreEqual $db.DatabaseName $databaseName try { - $tde1 = Get-AzureRMSqlDatabaseTransparentDataEncryption -ResourceGroupName $server.ResourceGroupname -ServerName $server.ServerName -DatabaseName $db.DatabaseName + $tde1 = Get-AzureRmSqlDatabaseTransparentDataEncryption -ResourceGroupName $server.ResourceGroupname -ServerName $server.ServerName -DatabaseName $db.DatabaseName Assert-AreEqual $tde1.State Disabled - $tde2 = $tde1 | Get-AzureRMSqlDatabaseTransparentDataEncryption + $tde2 = $tde1 | Get-AzureRmSqlDatabaseTransparentDataEncryption Assert-AreEqual $tde2.State Disabled # Alter all properties - $tde3 = Set-AzureRMSqlDatabaseTransparentDataEncryption -ResourceGroupName $db.ResourceGroupName -ServerName $db.ServerName -DatabaseName $db.DatabaseName ` + $tde3 = Set-AzureRmSqlDatabaseTransparentDataEncryption -ResourceGroupName $db.ResourceGroupName -ServerName $db.ServerName -DatabaseName $db.DatabaseName ` -State Enabled Assert-AreEqual $tde3.State Enabled - $tdeActivity = Get-AzureRMSqlDatabaseTransparentDataEncryptionActivity -ResourceGroupName $server.ResourceGroupname -ServerName $server.ServerName -DatabaseName $db.DatabaseName + $tdeActivity = Get-AzureRmSqlDatabaseTransparentDataEncryptionActivity -ResourceGroupName $server.ResourceGroupname -ServerName $server.ServerName -DatabaseName $db.DatabaseName Assert-AreEqual $tdeActivity.Status Encrypting - $tde4 = Get-AzureRMSqlDatabaseTransparentDataEncryption -ResourceGroupName $server.ResourceGroupname -ServerName $server.ServerName -DatabaseName $db.DatabaseName + $tde4 = Get-AzureRmSqlDatabaseTransparentDataEncryption -ResourceGroupName $server.ResourceGroupname -ServerName $server.ServerName -DatabaseName $db.DatabaseName Assert-AreEqual $tde4.State Enabled } finally diff --git a/src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/GetAzureSqlDatabaseAuditingPolicy.cs b/src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/GetAzureSqlDatabaseAuditingPolicy.cs index 183d21e609f5..3ab3595305d4 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/GetAzureSqlDatabaseAuditingPolicy.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/GetAzureSqlDatabaseAuditingPolicy.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Sql.Auditing.Cmdlet /// <summary> /// Returns the auditing policy of a specific database. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMSqlDatabaseAuditingPolicy"), OutputType(typeof(DatabaseAuditingPolicyModel))] + [Cmdlet(VerbsCommon.Get, "AzureRmSqlDatabaseAuditingPolicy"), OutputType(typeof(DatabaseAuditingPolicyModel))] public class GetAzureSqlDatabaseAuditingPolicy : SqlDatabaseAuditingCmdletBase { /// <summary> diff --git a/src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/GetAzureSqlServerAuditingPolicy.cs b/src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/GetAzureSqlServerAuditingPolicy.cs index 1140850edc16..22838780c781 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/GetAzureSqlServerAuditingPolicy.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/GetAzureSqlServerAuditingPolicy.cs @@ -20,8 +20,8 @@ namespace Microsoft.Azure.Commands.Sql.Auditing.Cmdlet /// <summary> /// Returns the auditing policy of a specific database server. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMSqlServerAuditingPolicy"), OutputType(typeof(ServerAuditingPolicyModel))] - [Alias("Get-AzureRMSqlDatabaseServerAuditingPolicy")] + [Cmdlet(VerbsCommon.Get, "AzureRmSqlServerAuditingPolicy"), OutputType(typeof(ServerAuditingPolicyModel))] + [Alias("Get-AzureRmSqlDatabaseServerAuditingPolicy")] public class GetAzureSqlServerAuditingPolicy : SqlDatabaseServerAuditingCmdletBase { /// <summary> diff --git a/src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/RemoveSqlDatabaseAuditing.cs b/src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/RemoveSqlDatabaseAuditing.cs index 5d47b8443f7c..4243abca379f 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/RemoveSqlDatabaseAuditing.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/RemoveSqlDatabaseAuditing.cs @@ -20,8 +20,8 @@ namespace Microsoft.Azure.Commands.Sql.Auditing.Cmdlet /// <summary> /// Disables auditing on a specific database. /// </summary> - [Cmdlet(VerbsCommon.Remove, "AzureRMSqlDatabaseAuditing"), OutputType(typeof(DatabaseAuditingPolicyModel))] - [Alias("Remove-AzureRMSqlDatabaseAuditing")] + [Cmdlet(VerbsCommon.Remove, "AzureRmSqlDatabaseAuditing"), OutputType(typeof(DatabaseAuditingPolicyModel))] + [Alias("Remove-AzureRmSqlDatabaseAuditing")] public class RemoveSqlDatabaseAuditing : SqlDatabaseAuditingCmdletBase { /// <summary> diff --git a/src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/RemoveSqlServerAuditing.cs b/src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/RemoveSqlServerAuditing.cs index 5b37e5e04cbc..c602a71fcfde 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/RemoveSqlServerAuditing.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/RemoveSqlServerAuditing.cs @@ -20,8 +20,8 @@ namespace Microsoft.Azure.Commands.Sql.Auditing.Cmdlet /// <summary> /// Disables auditing on a specific database server. /// </summary> - [Cmdlet(VerbsCommon.Remove, "AzureRMSqlServerAuditing"), OutputType(typeof(ServerAuditingPolicyModel))] - [Alias("Remove-AzureRMSqlDatabaseServerAuditing")] + [Cmdlet(VerbsCommon.Remove, "AzureRmSqlServerAuditing"), OutputType(typeof(ServerAuditingPolicyModel))] + [Alias("Remove-AzureRmSqlDatabaseServerAuditing")] public class RemoveSqlServerAuditing : SqlDatabaseServerAuditingCmdletBase { /// <summary> diff --git a/src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/SetAzureSqlDatabaseAuditingPolicy.cs b/src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/SetAzureSqlDatabaseAuditingPolicy.cs index 7b1ccdacb004..9eac61547a75 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/SetAzureSqlDatabaseAuditingPolicy.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/SetAzureSqlDatabaseAuditingPolicy.cs @@ -27,7 +27,7 @@ namespace Microsoft.Azure.Commands.Sql.Auditing.Cmdlet /// <summary> /// Sets the auditing policy properties for a specific database. /// </summary> - [Cmdlet(VerbsCommon.Set, "AzureRMSqlDatabaseAuditingPolicy"), OutputType(typeof(DatabaseAuditingPolicyModel))] + [Cmdlet(VerbsCommon.Set, "AzureRmSqlDatabaseAuditingPolicy"), OutputType(typeof(DatabaseAuditingPolicyModel))] public class SetAzureSqlDatabaseAuditingPolicy : SqlDatabaseAuditingCmdletBase { /// <summary> diff --git a/src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/SetAzureSqlServerAuditingPolicy.cs b/src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/SetAzureSqlServerAuditingPolicy.cs index 41bc49ba64fa..52b3727a54da 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/SetAzureSqlServerAuditingPolicy.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/SetAzureSqlServerAuditingPolicy.cs @@ -27,8 +27,8 @@ namespace Microsoft.Azure.Commands.Sql.Auditing.Cmdlet /// <summary> /// Sets the auditing policy properties for a specific database server. /// </summary> - [Cmdlet(VerbsCommon.Set, "AzureRMSqlServerAuditingPolicy"), OutputType(typeof(ServerAuditingPolicyModel))] - [Alias("Set-AzureRMSqlDatabaseServerAuditingPolicy")] + [Cmdlet(VerbsCommon.Set, "AzureRmSqlServerAuditingPolicy"), OutputType(typeof(ServerAuditingPolicyModel))] + [Alias("Set-AzureRmSqlDatabaseServerAuditingPolicy")] public class SetAzureSqlServerAuditingPolicy : SqlDatabaseServerAuditingCmdletBase { diff --git a/src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/UseAzureSqlServerAuditingPolicy.cs b/src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/UseAzureSqlServerAuditingPolicy.cs index 50766a79bb53..aaaa39e50829 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/UseAzureSqlServerAuditingPolicy.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Auditing/Cmdlet/UseAzureSqlServerAuditingPolicy.cs @@ -22,8 +22,8 @@ namespace Microsoft.Azure.Commands.Sql.Auditing.Cmdlet /// <summary> /// Marks the given database as using its server's default policy instead of its own policy. /// </summary> - [Cmdlet(VerbsOther.Use, "AzureRMSqlServerAuditingPolicy"), OutputType(typeof(DatabaseAuditingPolicyModel))] - [Alias("Use-AzureRMSqlDatabaseServerAuditingPolicy")] + [Cmdlet(VerbsOther.Use, "AzureRmSqlServerAuditingPolicy"), OutputType(typeof(DatabaseAuditingPolicyModel))] + [Alias("Use-AzureRmSqlDatabaseServerAuditingPolicy")] public class UseAzureSqlServerAuditingPolicy : SqlDatabaseAuditingCmdletBase { /// <summary> diff --git a/src/ResourceManager/Sql/Commands.Sql/Data Masking/Cmdlet/GetAzureSqlDatabaseDataMaskingPolicy.cs b/src/ResourceManager/Sql/Commands.Sql/Data Masking/Cmdlet/GetAzureSqlDatabaseDataMaskingPolicy.cs index bad8d04e4f51..87fd0f0d3446 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Data Masking/Cmdlet/GetAzureSqlDatabaseDataMaskingPolicy.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Data Masking/Cmdlet/GetAzureSqlDatabaseDataMaskingPolicy.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Sql.DataMasking.Cmdlet /// <summary> /// Returns the data masking policy of a specific database. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMSqlDatabaseDataMaskingPolicy"), OutputType(typeof(DatabaseDataMaskingPolicyModel))] + [Cmdlet(VerbsCommon.Get, "AzureRmSqlDatabaseDataMaskingPolicy"), OutputType(typeof(DatabaseDataMaskingPolicyModel))] public class GetAzureSqlDatabaseDataMaskingPolicy : SqlDatabaseDataMaskingPolicyCmdletBase { /// <summary> diff --git a/src/ResourceManager/Sql/Commands.Sql/Data Masking/Cmdlet/GetAzureSqlDatabaseDataMaskingRule.cs b/src/ResourceManager/Sql/Commands.Sql/Data Masking/Cmdlet/GetAzureSqlDatabaseDataMaskingRule.cs index 08efbc461011..f0ce8191a796 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Data Masking/Cmdlet/GetAzureSqlDatabaseDataMaskingRule.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Data Masking/Cmdlet/GetAzureSqlDatabaseDataMaskingRule.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Sql.DataMasking.Cmdlet /// <summary> /// Returns a data masking rule or all the rules for a given database /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMSqlDatabaseDataMaskingRule"), OutputType(typeof(IEnumerable<DatabaseDataMaskingRuleModel>))] + [Cmdlet(VerbsCommon.Get, "AzureRmSqlDatabaseDataMaskingRule"), OutputType(typeof(IEnumerable<DatabaseDataMaskingRuleModel>))] public class GetAzureSqlDatabaseDataMaskingRule : SqlDatabaseDataMaskingRuleCmdletBase { /// <summary> diff --git a/src/ResourceManager/Sql/Commands.Sql/Data Masking/Cmdlet/NewAzureSqlDatabaseDataMaskingRule.cs b/src/ResourceManager/Sql/Commands.Sql/Data Masking/Cmdlet/NewAzureSqlDatabaseDataMaskingRule.cs index 29301daecec8..b69e9924537d 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Data Masking/Cmdlet/NewAzureSqlDatabaseDataMaskingRule.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Data Masking/Cmdlet/NewAzureSqlDatabaseDataMaskingRule.cs @@ -27,7 +27,7 @@ namespace Microsoft.Azure.Commands.Sql.DataMasking.Cmdlet /// <summary> /// Returns a new data masking rule for a specific database /// </summary> - [Cmdlet(VerbsCommon.New, "AzureRMSqlDatabaseDataMaskingRule")] + [Cmdlet(VerbsCommon.New, "AzureRmSqlDatabaseDataMaskingRule")] public class NewAzureSqlDatabaseDataMaskingRule : BuildAzureSqlDatabaseDataMaskingRule { /// <summary> diff --git a/src/ResourceManager/Sql/Commands.Sql/Data Masking/Cmdlet/RemoveAzureSqlDatabaseDataMaskingRule.cs b/src/ResourceManager/Sql/Commands.Sql/Data Masking/Cmdlet/RemoveAzureSqlDatabaseDataMaskingRule.cs index bb74ec0db6f9..69aa250c3e9a 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Data Masking/Cmdlet/RemoveAzureSqlDatabaseDataMaskingRule.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Data Masking/Cmdlet/RemoveAzureSqlDatabaseDataMaskingRule.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Sql.DataMasking.Cmdlet /// <summary> /// Removes a data masking rule from a given database /// </summary> - [Cmdlet(VerbsCommon.Remove, "AzureRMSqlDatabaseDataMaskingRule", SupportsShouldProcess = true, + [Cmdlet(VerbsCommon.Remove, "AzureRmSqlDatabaseDataMaskingRule", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] public class RemoveAzureSqlDatabaseDataMaskingRule : SqlDatabaseDataMaskingRuleCmdletBase { diff --git a/src/ResourceManager/Sql/Commands.Sql/Data Masking/Cmdlet/SetAzureSqlDatabaseDataMaskingPolicy.cs b/src/ResourceManager/Sql/Commands.Sql/Data Masking/Cmdlet/SetAzureSqlDatabaseDataMaskingPolicy.cs index de8d522101aa..68039e9f6f35 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Data Masking/Cmdlet/SetAzureSqlDatabaseDataMaskingPolicy.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Data Masking/Cmdlet/SetAzureSqlDatabaseDataMaskingPolicy.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.Sql.DataMasking.Cmdlet /// <summary> /// Sets the data masking policy properties for a specific database. /// </summary> - [Cmdlet(VerbsCommon.Set, "AzureRMSqlDatabaseDataMaskingPolicy"), OutputType(typeof(DatabaseDataMaskingPolicyModel))] + [Cmdlet(VerbsCommon.Set, "AzureRmSqlDatabaseDataMaskingPolicy"), OutputType(typeof(DatabaseDataMaskingPolicyModel))] public class SetAzureSqlDatabaseDataMaskingPolicy : SqlDatabaseDataMaskingPolicyCmdletBase { /// <summary> diff --git a/src/ResourceManager/Sql/Commands.Sql/Data Masking/Cmdlet/SetAzureSqlDatabaseDataMaskingRule.cs b/src/ResourceManager/Sql/Commands.Sql/Data Masking/Cmdlet/SetAzureSqlDatabaseDataMaskingRule.cs index 6d5a8e54655e..d4335e911555 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Data Masking/Cmdlet/SetAzureSqlDatabaseDataMaskingRule.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Data Masking/Cmdlet/SetAzureSqlDatabaseDataMaskingRule.cs @@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Sql.DataMasking.Cmdlet /// <summary> /// Sets properties for a data masking rule. /// </summary> - [Cmdlet(VerbsCommon.Set, "AzureRMSqlDatabaseDataMaskingRule")] + [Cmdlet(VerbsCommon.Set, "AzureRmSqlDatabaseDataMaskingRule")] public class SetAzureSqlDatabaseDataMaskingRule : BuildAzureSqlDatabaseDataMaskingRule { diff --git a/src/ResourceManager/Sql/Commands.Sql/Database Activation/Cmdlet/ResumeAzureSqlDatabase.cs b/src/ResourceManager/Sql/Commands.Sql/Database Activation/Cmdlet/ResumeAzureSqlDatabase.cs index 5644bd9a09f8..266f958dd413 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Database Activation/Cmdlet/ResumeAzureSqlDatabase.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Database Activation/Cmdlet/ResumeAzureSqlDatabase.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Sql.DatabaseActivation.Cmdlet /// <summary> /// Cmdlet to resume a paused Azure SQL Data Warehouse database. /// </summary> - [Cmdlet(VerbsLifecycle.Resume, "AzureRMSqlDatabase", + [Cmdlet(VerbsLifecycle.Resume, "AzureRmSqlDatabase", ConfirmImpact = ConfirmImpact.Medium)] public class ResumeAzureSqlDatabase : AzureSqlDatabaseActivationCmdletBase { diff --git a/src/ResourceManager/Sql/Commands.Sql/Database Activation/Cmdlet/SuspendAzureSqlDatabase.cs b/src/ResourceManager/Sql/Commands.Sql/Database Activation/Cmdlet/SuspendAzureSqlDatabase.cs index f7e42013a602..9d1b87f84eec 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Database Activation/Cmdlet/SuspendAzureSqlDatabase.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Database Activation/Cmdlet/SuspendAzureSqlDatabase.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Sql.DatabaseActivation.Cmdlet /// <summary> /// Cmdlet to pause a Azure SQL Data Warehouse database. /// </summary> - [Cmdlet(VerbsLifecycle.Suspend, "AzureRMSqlDatabase", + [Cmdlet(VerbsLifecycle.Suspend, "AzureRmSqlDatabase", ConfirmImpact = ConfirmImpact.Medium)] public class SuspendAzureSqlDatabase : AzureSqlDatabaseActivationCmdletBase { diff --git a/src/ResourceManager/Sql/Commands.Sql/Database Backup/Cmdlet/GetAzureSqlDatabaseRestorePoints.cs b/src/ResourceManager/Sql/Commands.Sql/Database Backup/Cmdlet/GetAzureSqlDatabaseRestorePoints.cs index 5e3f0ae3f494..a4cc90e39843 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Database Backup/Cmdlet/GetAzureSqlDatabaseRestorePoints.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Database Backup/Cmdlet/GetAzureSqlDatabaseRestorePoints.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Sql.Backup.Cmdlet { - [Cmdlet(VerbsCommon.Get, "AzureRMSqlDatabaseRestorePoints", + [Cmdlet(VerbsCommon.Get, "AzureRmSqlDatabaseRestorePoints", ConfirmImpact = ConfirmImpact.None)] public class GetAzureSqlDatabaseRestorePoints : AzureSqlDatabaseRestorePointCmdletBase { diff --git a/src/ResourceManager/Sql/Commands.Sql/Database/Cmdlet/GetAzureSqlDatabase.cs b/src/ResourceManager/Sql/Commands.Sql/Database/Cmdlet/GetAzureSqlDatabase.cs index 70683c8267cb..1c75e0b59ce6 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Database/Cmdlet/GetAzureSqlDatabase.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Database/Cmdlet/GetAzureSqlDatabase.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Sql.Database.Cmdlet { - [Cmdlet(VerbsCommon.Get, "AzureRMSqlDatabase", + [Cmdlet(VerbsCommon.Get, "AzureRmSqlDatabase", ConfirmImpact = ConfirmImpact.None)] public class GetAzureSqlDatabase : AzureSqlDatabaseCmdletBase { diff --git a/src/ResourceManager/Sql/Commands.Sql/Database/Cmdlet/GetAzureSqlDatabaseActivity.cs b/src/ResourceManager/Sql/Commands.Sql/Database/Cmdlet/GetAzureSqlDatabaseActivity.cs index d9b58b92f52b..15c673a6d20f 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Database/Cmdlet/GetAzureSqlDatabaseActivity.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Database/Cmdlet/GetAzureSqlDatabaseActivity.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Sql.Database.Cmdlet { - [Cmdlet(VerbsCommon.Get, "AzureRMSqlDatabaseActivity", + [Cmdlet(VerbsCommon.Get, "AzureRmSqlDatabaseActivity", ConfirmImpact = ConfirmImpact.None)] public class GetAzureSqlDatabaseActivity : AzureSqlDatabaseActivityCmdletBase { diff --git a/src/ResourceManager/Sql/Commands.Sql/Database/Cmdlet/GetAzureSqlDatabaseExpanded.cs b/src/ResourceManager/Sql/Commands.Sql/Database/Cmdlet/GetAzureSqlDatabaseExpanded.cs index c32c13646615..91d26ddcaf2f 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Database/Cmdlet/GetAzureSqlDatabaseExpanded.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Database/Cmdlet/GetAzureSqlDatabaseExpanded.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Sql.Database.Cmdlet { - [Cmdlet(VerbsCommon.Get, "AzureRMSqlDatabaseExpanded", + [Cmdlet(VerbsCommon.Get, "AzureRmSqlDatabaseExpanded", ConfirmImpact = ConfirmImpact.None)] public class GetAzureSqlDatabaseExpanded : AzureSqlCmdletBase<IEnumerable<AzureSqlDatabaseModelExpanded>, AzureSqlDatabaseAdapter> { diff --git a/src/ResourceManager/Sql/Commands.Sql/Database/Cmdlet/NewAzureSqlDatabase.cs b/src/ResourceManager/Sql/Commands.Sql/Database/Cmdlet/NewAzureSqlDatabase.cs index de4f5d19c832..9779c66f323f 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Database/Cmdlet/NewAzureSqlDatabase.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Database/Cmdlet/NewAzureSqlDatabase.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Sql.Database.Cmdlet /// <summary> /// Cmdlet to create a new Azure Sql Database /// </summary> - [Cmdlet(VerbsCommon.New, "AzureRMSqlDatabase", + [Cmdlet(VerbsCommon.New, "AzureRmSqlDatabase", ConfirmImpact = ConfirmImpact.Low)] public class NewAzureSqlDatabase : AzureSqlDatabaseCmdletBase { diff --git a/src/ResourceManager/Sql/Commands.Sql/Database/Cmdlet/RemoveAzureSqlDatabase.cs b/src/ResourceManager/Sql/Commands.Sql/Database/Cmdlet/RemoveAzureSqlDatabase.cs index 95cc998eddcf..65ce7cbb7698 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Database/Cmdlet/RemoveAzureSqlDatabase.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Database/Cmdlet/RemoveAzureSqlDatabase.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Sql.Database.Cmdlet { - [Cmdlet(VerbsCommon.Remove, "AzureRMSqlDatabase", + [Cmdlet(VerbsCommon.Remove, "AzureRmSqlDatabase", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] public class RemoveAzureSqlDatabase : AzureSqlDatabaseCmdletBase diff --git a/src/ResourceManager/Sql/Commands.Sql/Database/Cmdlet/SetAzureSqlDatabase.cs b/src/ResourceManager/Sql/Commands.Sql/Database/Cmdlet/SetAzureSqlDatabase.cs index 11b7f75a7f4a..7745f695cd38 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Database/Cmdlet/SetAzureSqlDatabase.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Database/Cmdlet/SetAzureSqlDatabase.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Sql.Database.Cmdlet /// <summary> /// Cmdlet to create a new Azure Sql Database /// </summary> - [Cmdlet(VerbsCommon.Set, "AzureRMSqlDatabase", + [Cmdlet(VerbsCommon.Set, "AzureRmSqlDatabase", ConfirmImpact = ConfirmImpact.Medium)] public class SetAzureSqlDatabase : AzureSqlDatabaseCmdletBase { diff --git a/src/ResourceManager/Sql/Commands.Sql/Elastic Pools/Cmdlet/GetAzureSqlElasticPool.cs b/src/ResourceManager/Sql/Commands.Sql/Elastic Pools/Cmdlet/GetAzureSqlElasticPool.cs index 9a5790287a67..684c017555b3 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Elastic Pools/Cmdlet/GetAzureSqlElasticPool.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Elastic Pools/Cmdlet/GetAzureSqlElasticPool.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Sql.ElasticPool.Cmdlet { - [Cmdlet(VerbsCommon.Get, "AzureRMSqlElasticPool", + [Cmdlet(VerbsCommon.Get, "AzureRmSqlElasticPool", ConfirmImpact = ConfirmImpact.None)] public class GetAzureSqlElasticPool : AzureSqlElasticPoolCmdletBase { diff --git a/src/ResourceManager/Sql/Commands.Sql/Elastic Pools/Cmdlet/GetAzureSqlElasticPoolActivity.cs b/src/ResourceManager/Sql/Commands.Sql/Elastic Pools/Cmdlet/GetAzureSqlElasticPoolActivity.cs index 8c90723535b7..b81c76fb6861 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Elastic Pools/Cmdlet/GetAzureSqlElasticPoolActivity.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Elastic Pools/Cmdlet/GetAzureSqlElasticPoolActivity.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Sql.ElasticPool.Cmdlet { - [Cmdlet(VerbsCommon.Get, "AzureRMSqlElasticPoolActivity", + [Cmdlet(VerbsCommon.Get, "AzureRmSqlElasticPoolActivity", ConfirmImpact = ConfirmImpact.None)] public class GetAzureSqlElasticPoolActivity : AzureSqlElasticPoolActivityCmdletBase { diff --git a/src/ResourceManager/Sql/Commands.Sql/Elastic Pools/Cmdlet/GetAzureSqlElasticPoolDatabase.cs b/src/ResourceManager/Sql/Commands.Sql/Elastic Pools/Cmdlet/GetAzureSqlElasticPoolDatabase.cs index 3e2d57f9e61c..36042f6c9ef7 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Elastic Pools/Cmdlet/GetAzureSqlElasticPoolDatabase.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Elastic Pools/Cmdlet/GetAzureSqlElasticPoolDatabase.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.Sql.ElasticPool.Cmdlet { - [Cmdlet(VerbsCommon.Get, "AzureRMSqlElasticPoolDatabase", + [Cmdlet(VerbsCommon.Get, "AzureRmSqlElasticPoolDatabase", ConfirmImpact = ConfirmImpact.None)] public class GetAzureSqlElasticPoolDatabase : AzureSqlElasticPoolCmdletBase { diff --git a/src/ResourceManager/Sql/Commands.Sql/Elastic Pools/Cmdlet/NewAzureSqlElasticPool.cs b/src/ResourceManager/Sql/Commands.Sql/Elastic Pools/Cmdlet/NewAzureSqlElasticPool.cs index 53a4c5a14f5c..93c58b7000e0 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Elastic Pools/Cmdlet/NewAzureSqlElasticPool.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Elastic Pools/Cmdlet/NewAzureSqlElasticPool.cs @@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Sql.ElasticPool.Cmdlet /// <summary> /// Cmdlet to create a new Azure Sql ElasticPool /// </summary> - [Cmdlet(VerbsCommon.New, "AzureRMSqlElasticPool", + [Cmdlet(VerbsCommon.New, "AzureRmSqlElasticPool", ConfirmImpact = ConfirmImpact.Low)] public class NewAzureSqlElasticPool : AzureSqlElasticPoolCmdletBase { diff --git a/src/ResourceManager/Sql/Commands.Sql/Elastic Pools/Cmdlet/RemoveAzureSqlElasticPool.cs b/src/ResourceManager/Sql/Commands.Sql/Elastic Pools/Cmdlet/RemoveAzureSqlElasticPool.cs index 5a15d7315af8..a0e0903cc338 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Elastic Pools/Cmdlet/RemoveAzureSqlElasticPool.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Elastic Pools/Cmdlet/RemoveAzureSqlElasticPool.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Sql.ElasticPool.Cmdlet { - [Cmdlet(VerbsCommon.Remove, "AzureRMSqlElasticPool", + [Cmdlet(VerbsCommon.Remove, "AzureRmSqlElasticPool", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] public class RemoveAzureSqlElasticPool : AzureSqlElasticPoolCmdletBase diff --git a/src/ResourceManager/Sql/Commands.Sql/Elastic Pools/Cmdlet/SetAzureSqlElasticPool.cs b/src/ResourceManager/Sql/Commands.Sql/Elastic Pools/Cmdlet/SetAzureSqlElasticPool.cs index 37189677655d..03a3afe6d26b 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Elastic Pools/Cmdlet/SetAzureSqlElasticPool.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Elastic Pools/Cmdlet/SetAzureSqlElasticPool.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Sql.ElasticPool.Cmdlet /// <summary> /// Cmdlet to create a new Azure Sql Database ElasticPool /// </summary> - [Cmdlet(VerbsCommon.Set, "AzureRMSqlElasticPool", + [Cmdlet(VerbsCommon.Set, "AzureRmSqlElasticPool", ConfirmImpact = ConfirmImpact.Medium)] public class SetAzureSqlElasticPool : AzureSqlElasticPoolCmdletBase { diff --git a/src/ResourceManager/Sql/Commands.Sql/FirewallRule/Cmdlet/GetAzureSqlServerFirewallRule.cs b/src/ResourceManager/Sql/Commands.Sql/FirewallRule/Cmdlet/GetAzureSqlServerFirewallRule.cs index abfb5ec3a4fb..4502c259af54 100644 --- a/src/ResourceManager/Sql/Commands.Sql/FirewallRule/Cmdlet/GetAzureSqlServerFirewallRule.cs +++ b/src/ResourceManager/Sql/Commands.Sql/FirewallRule/Cmdlet/GetAzureSqlServerFirewallRule.cs @@ -19,9 +19,9 @@ namespace Microsoft.Azure.Commands.Sql.FirewallRule.Cmdlet { /// <summary> - /// Defines the Get-AzureRMSqlServerFirewallRule cmdlet + /// Defines the Get-AzureRmSqlServerFirewallRule cmdlet /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMSqlServerFirewallRule", ConfirmImpact = ConfirmImpact.None)] + [Cmdlet(VerbsCommon.Get, "AzureRmSqlServerFirewallRule", ConfirmImpact = ConfirmImpact.None)] public class GetAzureSqlServerFirewallRule : AzureSqlServerFirewallRuleCmdletBase { /// <summary> diff --git a/src/ResourceManager/Sql/Commands.Sql/FirewallRule/Cmdlet/NewAzureSqlServerFirewallRule.cs b/src/ResourceManager/Sql/Commands.Sql/FirewallRule/Cmdlet/NewAzureSqlServerFirewallRule.cs index 7b27b0b76531..55f29c1448d1 100644 --- a/src/ResourceManager/Sql/Commands.Sql/FirewallRule/Cmdlet/NewAzureSqlServerFirewallRule.cs +++ b/src/ResourceManager/Sql/Commands.Sql/FirewallRule/Cmdlet/NewAzureSqlServerFirewallRule.cs @@ -21,9 +21,9 @@ namespace Microsoft.Azure.Commands.Sql.FirewallRule.Cmdlet { /// <summary> - /// Defines the Get-AzureRMSqlServerFirewallRule cmdlet + /// Defines the Get-AzureRmSqlServerFirewallRule cmdlet /// </summary> - [Cmdlet(VerbsCommon.New, "AzureRMSqlServerFirewallRule", ConfirmImpact = ConfirmImpact.Low)] + [Cmdlet(VerbsCommon.New, "AzureRmSqlServerFirewallRule", ConfirmImpact = ConfirmImpact.Low)] public class NewAzureSqlServerFirewallRule : AzureSqlServerFirewallRuleCmdletBase { #region Private diff --git a/src/ResourceManager/Sql/Commands.Sql/FirewallRule/Cmdlet/RemoveAzureSqlServerFirewallRule.cs b/src/ResourceManager/Sql/Commands.Sql/FirewallRule/Cmdlet/RemoveAzureSqlServerFirewallRule.cs index 504087da7745..667425a958e6 100644 --- a/src/ResourceManager/Sql/Commands.Sql/FirewallRule/Cmdlet/RemoveAzureSqlServerFirewallRule.cs +++ b/src/ResourceManager/Sql/Commands.Sql/FirewallRule/Cmdlet/RemoveAzureSqlServerFirewallRule.cs @@ -20,9 +20,9 @@ namespace Microsoft.Azure.Commands.Sql.FirewallRule.Cmdlet { /// <summary> - /// Defines the Get-AzureRMSqlServerFirewallRule cmdlet + /// Defines the Get-AzureRmSqlServerFirewallRule cmdlet /// </summary> - [Cmdlet(VerbsCommon.Remove, "AzureRMSqlServerFirewallRule", + [Cmdlet(VerbsCommon.Remove, "AzureRmSqlServerFirewallRule", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] public class RemoveAzureSqlServerFirewallRule : AzureSqlServerFirewallRuleCmdletBase diff --git a/src/ResourceManager/Sql/Commands.Sql/FirewallRule/Cmdlet/SetAzureSqlServerFirewallRule.cs b/src/ResourceManager/Sql/Commands.Sql/FirewallRule/Cmdlet/SetAzureSqlServerFirewallRule.cs index a89bb8b9fa84..00a00df31158 100644 --- a/src/ResourceManager/Sql/Commands.Sql/FirewallRule/Cmdlet/SetAzureSqlServerFirewallRule.cs +++ b/src/ResourceManager/Sql/Commands.Sql/FirewallRule/Cmdlet/SetAzureSqlServerFirewallRule.cs @@ -19,9 +19,9 @@ namespace Microsoft.Azure.Commands.Sql.FirewallRule.Cmdlet { /// <summary> - /// Defines the Get-AzureRMSqlServerFirewallRule cmdlet + /// Defines the Get-AzureRmSqlServerFirewallRule cmdlet /// </summary> - [Cmdlet(VerbsCommon.Set, "AzureRMSqlServerFirewallRule", ConfirmImpact = ConfirmImpact.Low)] + [Cmdlet(VerbsCommon.Set, "AzureRmSqlServerFirewallRule", ConfirmImpact = ConfirmImpact.Low)] public class SetAzureSqlServerFirewallRule : AzureSqlServerFirewallRuleCmdletBase { /// <summary> diff --git a/src/ResourceManager/Sql/Commands.Sql/Index Recommendations/Cmdlet/GetAzureSqlDatabaseIndexRecommendations.cs b/src/ResourceManager/Sql/Commands.Sql/Index Recommendations/Cmdlet/GetAzureSqlDatabaseIndexRecommendations.cs index 1401562df1dc..8eaa0fffc706 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Index Recommendations/Cmdlet/GetAzureSqlDatabaseIndexRecommendations.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Index Recommendations/Cmdlet/GetAzureSqlDatabaseIndexRecommendations.cs @@ -23,9 +23,9 @@ namespace Microsoft.Azure.Commands.Sql.Cmdlet { /// <summary> - /// Defines the Get-AzureRMSqlDatabaseIndexRecommendations cmdlet + /// Defines the Get-AzureRmSqlDatabaseIndexRecommendations cmdlet /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMSqlDatabaseIndexRecommendations", ConfirmImpact = ConfirmImpact.None)] + [Cmdlet(VerbsCommon.Get, "AzureRmSqlDatabaseIndexRecommendations", ConfirmImpact = ConfirmImpact.None)] public class GetAzureSqlDatabaseIndexRecommendations : AzureSqlCmdletBase<IEnumerable<IndexRecommendation>, AzureSqlDatabaseIndexRecommendationAdapter> { /// <summary> diff --git a/src/ResourceManager/Sql/Commands.Sql/Index Recommendations/Cmdlet/StartAzureSqlDatabaseExecuteIndexRecommendation.cs b/src/ResourceManager/Sql/Commands.Sql/Index Recommendations/Cmdlet/StartAzureSqlDatabaseExecuteIndexRecommendation.cs index c1f9eece646e..32fbb9ac31b9 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Index Recommendations/Cmdlet/StartAzureSqlDatabaseExecuteIndexRecommendation.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Index Recommendations/Cmdlet/StartAzureSqlDatabaseExecuteIndexRecommendation.cs @@ -19,9 +19,9 @@ namespace Microsoft.Azure.Commands.Sql.Cmdlet { /// <summary> - /// Defines the Start-AzureRMSqlDatabaseExecuteIndexRecommendation cmdlet + /// Defines the Start-AzureRmSqlDatabaseExecuteIndexRecommendation cmdlet /// </summary> - [Cmdlet(VerbsLifecycle.Start, "AzureRMSqlDatabaseExecuteIndexRecommendation", + [Cmdlet(VerbsLifecycle.Start, "AzureRmSqlDatabaseExecuteIndexRecommendation", ConfirmImpact = ConfirmImpact.Low)] public class StartAzureSqlDatabaseExecuteIndexRecommendation : AzureSqlDatabaseExecuteIndexRecommendationCmdletBase { diff --git a/src/ResourceManager/Sql/Commands.Sql/Index Recommendations/Cmdlet/StopAzureSqlDatabaseExecuteIndexRecommendation.cs b/src/ResourceManager/Sql/Commands.Sql/Index Recommendations/Cmdlet/StopAzureSqlDatabaseExecuteIndexRecommendation.cs index 5b602aed527a..cd482a9160cf 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Index Recommendations/Cmdlet/StopAzureSqlDatabaseExecuteIndexRecommendation.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Index Recommendations/Cmdlet/StopAzureSqlDatabaseExecuteIndexRecommendation.cs @@ -19,9 +19,9 @@ namespace Microsoft.Azure.Commands.Sql.Cmdlet { /// <summary> - /// Defines the Stop-AzureRMSqlDatabaseExecuteIndexRecommendation cmdlet + /// Defines the Stop-AzureRmSqlDatabaseExecuteIndexRecommendation cmdlet /// </summary> - [Cmdlet(VerbsLifecycle.Stop, "AzureRMSqlDatabaseExecuteIndexRecommendation", + [Cmdlet(VerbsLifecycle.Stop, "AzureRmSqlDatabaseExecuteIndexRecommendation", ConfirmImpact = ConfirmImpact.Low)] public class StopAzureSqlDatabaseExecuteIndexRecommendation : AzureSqlDatabaseExecuteIndexRecommendationCmdletBase { diff --git a/src/ResourceManager/Sql/Commands.Sql/Location Capabilities/Cmdlet/GetAzureSqlCapability.cs b/src/ResourceManager/Sql/Commands.Sql/Location Capabilities/Cmdlet/GetAzureSqlCapability.cs index b628ced8933e..77397e87c7c0 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Location Capabilities/Cmdlet/GetAzureSqlCapability.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Location Capabilities/Cmdlet/GetAzureSqlCapability.cs @@ -23,9 +23,9 @@ namespace Microsoft.Azure.Commands.Sql.Location_Capabilities.Cmdlet { /// <summary> - /// Defines the Get-AzureRMSqlCapability cmdlet + /// Defines the Get-AzureRmSqlCapability cmdlet /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMSqlCapability", + [Cmdlet(VerbsCommon.Get, "AzureRmSqlCapability", ConfirmImpact = ConfirmImpact.None, DefaultParameterSetName = _filtered)] public class GetAzureSqlCapability : AzureRMCmdlet diff --git a/src/ResourceManager/Sql/Commands.Sql/Microsoft.Azure.Commands.Sql.dll-Help.xml b/src/ResourceManager/Sql/Commands.Sql/Microsoft.Azure.Commands.Sql.dll-Help.xml index 0a5fdff69258..9815fe87ca49 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Microsoft.Azure.Commands.Sql.dll-Help.xml +++ b/src/ResourceManager/Sql/Commands.Sql/Microsoft.Azure.Commands.Sql.dll-Help.xml @@ -1,12528 +1,12879 @@ -<?xml version="1.0" encoding="utf-8"?><helpItems schema="maml"> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Get-AzureRMSqlCapability</command:name> - <maml:description> - <maml:para>Gets SQL Database capabilities for the current subscription.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Get</command:verb> - <command:noun>AzureRMSqlCapability</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Get-AzureRMSqlCapability cmdlet gets the Azure SQL Database capabilities available on the current subscription for a region. If you specify the ServerVersionName, EditionName, or ServiceObjectiveName parameters, this cmdlet returns the specified values and their predecessors.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Get-AzureRMSqlCapability</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>LocationName</maml:name> - <maml:description> - <maml:para>Specifies the name of the Location for which this cmdlet gets capabilities. For more information, see Azure Regions (http://azure.microsoft.com/en-us/regions/).</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Defaults</maml:name> - <maml:description> - <maml:para>Indicates that this cmdlet gets only defaults.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - </command:syntaxItem> - <command:syntaxItem> - <maml:name>Get-AzureRMSqlCapability</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>LocationName</maml:name> - <maml:description> - <maml:para>Specifies the name of the Location for which this cmdlet gets capabilities. For more information, see Azure Regions (http://azure.microsoft.com/en-us/regions/).</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ServerVersionName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server version for which this cmdlet gets capabilities.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>EditionName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database edition for which this cmdlet gets capabilities.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ServiceObjectiveName</maml:name> - <maml:description> - <maml:para>Specifies the name of the service objective for which this cmdlet gets capabilities.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>LocationName</maml:name> - <maml:description> - <maml:para>Specifies the name of the Location for which this cmdlet gets capabilities. For more information, see Azure Regions (http://azure.microsoft.com/en-us/regions/).</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ServerVersionName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server version for which this cmdlet gets capabilities.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>EditionName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database edition for which this cmdlet gets capabilities.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ServiceObjectiveName</maml:name> - <maml:description> - <maml:para>Specifies the name of the service objective for which this cmdlet gets capabilities.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Defaults</maml:name> - <maml:description> - <maml:para>Indicates that this cmdlet gets only defaults.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Location_Capabilities.Model.LocationCapabilityModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Get capabilities for the current subscription for a region --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlCapability -LocationName &quot;Central US&quot;</dev:code> - <dev:remarks> - <maml:para>This command returns the capabilities for SQL Database on the current subscription for the Central US region.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>Location : Central US Status : Available SupportedServerVersions : {12.0, 2.0}</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - <command:example> - <maml:title>-------------------------- Example 2: Get default capabilities for the current subscription for a region --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlCapability -LocationName &quot;Central US&quot; -Defaults</dev:code> - <dev:remarks> - <maml:para>This command returns the default capabilities for SQL Database on the current subscription in the Central US region.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>Location : Central US Status : Available ExpandedDetails : Version: 2.0 (Default) -&gt; Edition: Standard (Default) -&gt; Service Objective: S0 (Default)</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - <command:example> - <maml:title>-------------------------- Example 3: Get details for a service objective --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlCapability -LocationName &quot;Central US&quot; -ServiceObjectiveName &quot;S1&quot;</dev:code> - <dev:remarks> - <maml:para>This command gets default capabilities for SQL Database for the specified service objective on the current subscription.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>Location : Central US Status : Available ExpandedDetails : Version: 12.0 (Available) -&gt; Edition: Standard (Default) -&gt; Service Objective: S1 (Available) Version: 2.0 (Default) -&gt; Edition: Standard (Default) -&gt; Service Objective: S1 (Available)</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Azure SQL Database Cmdlets</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Get-AzureRMSqlDatabase</command:name> - <maml:description> - <maml:para>Gets one or more Azure SQL databases.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Get</command:verb> - <command:noun>AzureRMSqlDatabase</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Get-AzureRMSqlDatabase cmdlet gets one or more Azure SQL databases from an Azure SQL Database Server.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Get-AzureRMSqlDatabase</maml:name> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database to retrieve.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server the database is in.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group of the server that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database to retrieve.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server the database is in.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group of the server that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Get all databases on a server --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlDatabase -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot;</dev:code> - <dev:remarks> - <maml:para>This command gets all databases on the server named server01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>ResourceGroupName : resourcegroup01 ServerName : server01 DatabaseName : master Location : Central US DatabaseId : a2a7f2db-7526-4d86-a7b2-36276ee10dc6 Edition : None CollationName : SQL_Latin1_General_CP1_CI_AS CatalogCollation : MaxSizeBytes : 5368709120 Status : Online CreationDate : 7/3/2015 7:32:44 AM CurrentServiceObjectiveId : c99ac918-dbea-463f-a475-16ec020fdc12 CurrentServiceObjectiveName : System1 RequestedServiceObjectiveId : c99ac918-dbea-463f-a475-16ec020fdc12 RequestedServiceObjectiveName : ElasticPoolName : EarliestRestoreDate : Tags : - -ResourceGroupName : resourcegroup01 ServerName : server01 DatabaseName : database01 Location : Central US DatabaseId : a1e6bd1a-735a-4d48-8b98-afead5ef1218 Edition : Standard CollationName : SQL_Latin1_General_CP1_CI_AS CatalogCollation : MaxSizeBytes : 268435456000 Status : Online CreationDate : 7/3/2015 7:33:37 AM CurrentServiceObjectiveId : f1173c43-91bd-4aaa-973c-54e79e15235b CurrentServiceObjectiveName : S0 RequestedServiceObjectiveId : f1173c43-91bd-4aaa-973c-54e79e15235b RequestedServiceObjectiveName : ElasticPoolName : EarliestRestoreDate : Tags :</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - <command:example> - <maml:title>-------------------------- Example 2: Get a database by name on a server --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlDatabase -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot;</dev:code> - <dev:remarks> - <maml:para>This command gets a database named Database02 from a server named Server01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>ResourceGroupName : resourcegroup01 ServerName : server01 DatabaseName : database01 Location : Central US DatabaseId : a1e6bd1a-735a-4d48-8b98-afead5ef1218 Edition : Standard CollationName : SQL_Latin1_General_CP1_CI_AS CatalogCollation : MaxSizeBytes : 268435456000 Status : Online CreationDate : 7/3/2015 7:33:37 AM CurrentServiceObjectiveId : f1173c43-91bd-4aaa-973c-54e79e15235b CurrentServiceObjectiveName : S0 RequestedServiceObjectiveId : f1173c43-91bd-4aaa-973c-54e79e15235b RequestedServiceObjectiveName : ElasticPoolName : EarliestRestoreDate : Tags :</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>New-AzureRMSqlDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Remove-AzureRMSqlDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Resume-AzureRMSqlDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Suspend-AzureRMSqlDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Azure SQL Database</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Get-AzureRMSqlDatabaseActivity</command:name> - <maml:description> - <maml:para>Gets the status of moving elastic databases.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Get</command:verb> - <command:noun>AzureRMSqlDatabaseActivity</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Get-AzureRMSqlDatabaseActivity cmdlet gets the status of moving elastic databases into or out of an elastic database pool in Azure SQL Database.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Get-AzureRMSqlDatabaseActivity</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the SQL Server that hosts the elastic database pool.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ElasticPoolName</maml:name> - <maml:description> - <maml:para>Specifies the name of the elastic database pool for which this cmdlet gets status.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database for which this cmdlet gets status.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>OperationId</maml:name> - <maml:description> - <maml:para>Specifies the ID of the operation that this cmdlet gets.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Nullable`1[Guid]</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the database for which this cmdlet gets status.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the SQL Server that hosts the elastic database pool.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ElasticPoolName</maml:name> - <maml:description> - <maml:para>Specifies the name of the elastic database pool for which this cmdlet gets status.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database for which this cmdlet gets status.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>OperationId</maml:name> - <maml:description> - <maml:para>Specifies the ID of the operation that this cmdlet gets.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Nullable`1[Guid]</command:parameterValue> - <dev:type> - <maml:name>Nullable`1[Guid]</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the database for which this cmdlet gets status.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseActivityModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Get status for all SQL Database instances --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlDatabaseActivity -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -ElasticPoolName &quot;elasticPool01&quot;</dev:code> - <dev:remarks> - <maml:para>This command returns the operation status of all SQL Database instances in an elastic pool named elasticPool01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Get-AzureRMSqlDatabaseAuditingPolicy</command:name> - <maml:description> - <maml:para>Gets the auditing policy of an Azure SQL database.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Get</command:verb> - <command:noun>AzureRMSqlDatabaseAuditingPolicy</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Get-AzureRMSqlDatabaseAuditingPolicy cmdlet gets the auditing policy of an Azure SQL database. To use the cmdlet, use the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Get-AzureRMSqlDatabaseAuditingPolicy</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.DatabaseAuditingPolicyModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Get the auditing policy of an Azure SQL database --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot;</dev:code> - <dev:remarks> - <maml:para>This command gets the auditing policy of database database01 located in server01 in resource group resourcegroup01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>DatabaseName : database01 UseServerDefault : Disabled ResourceGroupName : resourcegroup01 ServerName : server01 StorageAccountName : StorageKeyType : Primary EventType : {PlainSQL_Success, PlainSQL_Failure, ParameterizedSQL_Success, ParameterizedSQL_Failure...} AuditState : New RetentionInDays : 0 TableIdentifier : Server01Database01</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Remove-AzureRMSqlDatabaseAuditing</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlDatabaseAuditingPolicy</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Azure SQL Database</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Get-AzureRMSqlDatabaseDataMaskingPolicy</command:name> - <maml:description> - <maml:para>Gets the data masking policy for an Azure SQL database.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Get</command:verb> - <command:noun>AzureRMSqlDatabaseDataMaskingPolicy</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Get-AzureRMSqlDatabaseDataMaskingPolicy cmdlet gets the data masking policy of an Azure SQL database. To use this cmdlet, use the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Get-AzureRMSqlDatabaseDataMaskingPolicy</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server containing the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group containing the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server containing the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group containing the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.DatabaseDataMaskingPolicyModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Get the data masking policy for an Azure SQL database --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlDatabaseDataMaskingPolicy -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot;</dev:code> - <dev:remarks> - <maml:para>This command gets the data masking policy from database database01 in resource group resourcegroup01 contained in server server01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>DatabaseName : database01 ResourceGroupName : resourcegroup01 ServerName : server01 DataMaskingState : Uninitialized PrivilegedLogins :</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlDatabaseDataMaskingRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>New-AzureRMSqlDatabaseDataMaskingRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Remove-AzureRMSqlDatabaseDataMaskingRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlDatabaseDataMaskingPolicy</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlDatabaseDataMaskingRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Azure SQL Database</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Get-AzureRMSqlDatabaseDataMaskingRule</command:name> - <maml:description> - <maml:para>Gets the data masking rules from an Azure SQL database.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Get</command:verb> - <command:noun>AzureRMSqlDatabaseDataMaskingRule</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Get-AzureRMSqlDatabaseDataMaskingRule cmdlet gets either a specific data masking rule, or all of the data masking rules of an Azure SQL database. To use the cmdlet, use the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database, and the RuleId parameter to specify which rule this cmdlet returns. If you do not provide RuleId, then all the data masking rules of that Azure SQL database are returned.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Get-AzureRMSqlDatabaseDataMaskingRule</maml:name> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>RuleId</maml:name> - <maml:description> - <maml:para>Specifies the ID of the requested rule. If you do not specify this parameter, this cmdlet gets all the information about all the data masking rules in the specified SQL database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group containing the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>RuleId</maml:name> - <maml:description> - <maml:para>Specifies the ID of the requested rule. If you do not specify this parameter, this cmdlet gets all the information about all the data masking rules in the specified SQL database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group containing the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.DatabaseDataMaskingRuleModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Get all data masking rules from a database --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot;</dev:code> - <dev:remarks> - <maml:para>This command gets all data masking rules from database01 in resource group resourcegroup01 contained in server server01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlDatabaseDataMaskingPolicy</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>New-AzureRMSqlDatabaseDataMaskingRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Remove-AzureRMSqlDatabaseDataMaskingRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlDatabaseDataMaskingPolicy</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlDatabaseDataMaskingRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Azure SQL Database</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Get-AzureRMSqlDatabaseExpanded</command:name> - <maml:description> - <maml:para /> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Get</command:verb> - <command:noun>AzureRMSqlDatabaseExpanded</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para /> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Get-AzureRMSqlDatabaseExpanded</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para /> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para /> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para /> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para /> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para /> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para /> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para /> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - </command:examples> - <maml:relatedLinks> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Get-AzureRMSqlDatabaseIndexRecommendations</command:name> - <maml:description> - <maml:para>Gets the recommended index operations for a server or database.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Get</command:verb> - <command:noun>AzureRMSqlDatabaseIndexRecommendations</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Get-AzureRMSqlDatabaseIndexRecommendations cmdlet gets the recommended index operations for a server or database in Azure SQL Database.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Get-AzureRMSqlDatabaseIndexRecommendations</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the server that hosts the database for which this cmdlet gets index recommendations.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database for which this cmdlet gets the index recommendations.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>TableName</maml:name> - <maml:description> - <maml:para>Specifies the name of an Azure SQL Table.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>IndexRecommendationName</maml:name> - <maml:description> - <maml:para>Specifies the name of the index recommendation that this cmdlet gets.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the server. This cmdlet gets index recommendations for a database that this server hosts.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the server that hosts the database for which this cmdlet gets index recommendations.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database for which this cmdlet gets the index recommendations.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>TableName</maml:name> - <maml:description> - <maml:para>Specifies the name of an Azure SQL Table.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>IndexRecommendationName</maml:name> - <maml:description> - <maml:para>Specifies the name of the index recommendation that this cmdlet gets.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the server. This cmdlet gets index recommendations for a database that this server hosts.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Get index recommendations for all databases on server --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlDatabaseIndexRecommendations -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot;</dev:code> - <dev:remarks> - <maml:para>This command returns index recommendations for all databases on server.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - <command:example> - <maml:title>-------------------------- Example 2: Get index recommendations for a specific database --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlDatabaseIndexRecommendations -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot;</dev:code> - <dev:remarks> - <maml:para>This command returns index recommendations for specific database.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - <command:example> - <maml:title>-------------------------- Example 3: Get a single index recommendation by name --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlDatabaseIndexRecommendations -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DtabaseName &quot;database01&quot; -IndexRecommendationName &quot;INDEX_NAME&quot;</dev:code> - <dev:remarks> - <maml:para>This command returns single index recommendation by name.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Start-AzureRMSqlDatabaseExecuteIndexRecommendation</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Stop-AzureRMSqlDatabaseExecuteIndexRecommendation</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Get-AzureRMSqlDatabaseReplicationLink</command:name> - <maml:description> - <maml:para>Gets the geo-replication links between an Azure SQL Database and the specified Azure Resource Group or Azure SQL Server.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Get</command:verb> - <command:noun>AzureRMSqlDatabaseReplicationLink</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>This cmdlet replaces the Get-AzureSqlDatabaseCopy cmdlet. It will return all geo-replication links between the specified Azure Resource Group or Azure SQL Server.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Get-AzureRMSqlDatabaseReplicationLink</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>The name of the Azure SQL Database to retrieve links for.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>PartnerResourceGroupName</maml:name> - <maml:description> - <maml:para>The name of the Azure Resource Group for the partner.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>The name of the Azure SQL Server for the database to retrieve links for.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>The name of the Azure Resource Group for the database to retrieve links for.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - <command:syntaxItem> - <maml:name>Get-AzureRMSqlDatabaseReplicationLink</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>The name of the Azure SQL Database to retrieve links for.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>PartnerResourceGroupName</maml:name> - <maml:description> - <maml:para>The name of the Azure Resource Group for the partner.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>PartnerServerName</maml:name> - <maml:description> - <maml:para>The name of the Azure SQL Server for the partner.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>The name of the Azure SQL Server for the database to retrieve links for.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>The name of the Azure Resource Group for the database to retrieve links for.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>The name of the Azure SQL Database to retrieve links for.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>PartnerResourceGroupName</maml:name> - <maml:description> - <maml:para>The name of the Azure Resource Group for the partner.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>The name of the Azure SQL Server for the database to retrieve links for.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>The name of the Azure Resource Group for the database to retrieve links for.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>PartnerServerName</maml:name> - <maml:description> - <maml:para>The name of the Azure SQL Server for the partner.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - </command:examples> - <maml:relatedLinks> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Get-AzureRMSqlDatabaseRestorePoints</command:name> - <maml:description> - <maml:para /> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Get</command:verb> - <command:noun>AzureRMSqlDatabaseRestorePoints</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para /> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Get-AzureRMSqlDatabaseRestorePoints</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the Azure SQL Server holding the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the Azure SQL Database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group of the Azure SQL Database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the Azure SQL Server holding the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the Azure SQL Database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group of the Azure SQL Database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1 --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlDatabaseRestorePoints -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot;</dev:code> - <dev:remarks> - <maml:para>Returns all available restore points for Azure SQL Database &quot;database01&quot;.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>ResourceGroupName : resourcegroup01 ServerName : server01 DatabaseName : database01 Location : Central US RestorePointType : CONTINUOUS RestorePointCreationDate : EarliestRestoreDate : 8/12/2015 12:00:00 AM -</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Get-AzureRMSqlDatabaseSecureConnectionPolicy</command:name> - <maml:description> - <maml:para>Gets the secure connection policy of an Azure SQL database.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Get</command:verb> - <command:noun>AzureRMSqlDatabaseSecureConnectionPolicy</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Get-AzureRMSqlDatabaseSecureConnectionPolicy cmdlet gets the secure connection policy of an Azure SQL database. To use the cmdlet, use the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database. After this cmdlet runs successfully, it returns an object describing the current secure connection policy as well as the database identifiers. Database identifiers include, but are not limited to, ResourceGroupName, ServerName, and DatabaseName.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Get-AzureRMSqlDatabaseSecureConnectionPolicy</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of server that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of server that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.DatabaseSecureConnectionPolicyModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Get the secure connection policy of an azure_2 SQL database --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlDatabaseSecureConnectionPolicy -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot;</dev:code> - <dev:remarks> - <maml:para>This command gets the secure connection policy of an Azure SQL database named database01 located in server server01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>DatabaseName : database01 ConnectionStrings : Microsoft.Azure.Commands.Sql.SecureConnection.Model.ConnectionStrings ResourceGroupName : resourcegroup01 ServerName : server01 ProxyDnsName : server01.database.secure.windows.net ProxyPort : 1433 SecureConnectionState : Optional</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Azure SQL Database</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Get-AzureRMSqlDatabaseTransparentDataEncryption</command:name> - <maml:description> - <maml:para>Gets the TPE state for an Azure SQL database.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Get</command:verb> - <command:noun>AzureRMSqlDatabaseTransparentDataEncryption</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Get-AzureRMSqlDatabaseTransparentDataEncryption cmdlet gets the state of Transparent Data Encryption (TPE) from an Azure SQL database. For more information, see Transparent Data Encryption with Azure SQL Database (https://msdn.microsoft.com/library/dn948096) in the Microsoft Developer Network Library. This cmdlet gets the current state of TPE, but both encryption and decryption can be long running operations. To see the encryption scan progress, run the Get-AzureRMSqlDatabaseTransparentDataEncryptionActivity cmdlet.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Get-AzureRMSqlDatabaseTransparentDataEncryption</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that hosts the database for which this cmdlet gets TDE status.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database for which this cmdlet gets TDE status.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the database for which this cmdlet gets TDE status.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that hosts the database for which this cmdlet gets TDE status.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database for which this cmdlet gets TDE status.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the database for which this cmdlet gets TDE status.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.TransparentDataEncryption.Model.AzureSqlDatabaseTransparentDataEncryptionModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Get TPE status for a database --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlDatabaseTransparentDataEncryption -ServerName &quot;server01&quot; -ResourceGroupName &quot;resourcegroup01&quot; -DatabaseName &quot;database01&quot;</dev:code> - <dev:remarks> - <maml:para>This command gets the status of TPE for the database named Database01 on the server named server01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>ResourceGroupName ServerName DatabaseName State ----------------- ---------- ------------ ----- resourcegroup01 server01 database01 Disabled -</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlDatabaseTransparentDataEncryptionActivity</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlDatabaseTransparentDataEncryption</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Get-AzureRMSqlDatabaseTransparentDataEncryptionActivity</command:name> - <maml:description> - <maml:para>Gets the progress of a TDE scan of an Azure SQL database.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Get</command:verb> - <command:noun>AzureRMSqlDatabaseTransparentDataEncryptionActivity</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Get-AzureRMSqlDatabaseTransparentDataEncryptionActivity cmdlet gets the progress of a Transparent Data Encryption (TDE) scan of an Azure SQL database. If no encryption span is running, this cmdlet returns an empty list. For more information, see Transparent Data Encryption with Azure SQL Database (https://msdn.microsoft.com/library/dn948096) in the Microsoft Developer Network Library.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Get-AzureRMSqlDatabaseTransparentDataEncryptionActivity</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that hosts the database for which this cmdlet gets TDE encryption activity.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database for which this cmdlet gets TDE encryption activity.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the database for which this cmdlet gets TDE encryption activity.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that hosts the database for which this cmdlet gets TDE encryption activity.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database for which this cmdlet gets TDE encryption activity.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the database for which this cmdlet gets TDE encryption activity.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.TransparentDataEncryption.Model.AzureSqlDatabaseTransparentDataEncryptionActivityModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Get TPE activity for a database --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlDatabaseTransparentDataEncryptionActivity -ServerName &quot;server01&quot; -ResourceGroupName &quot;resourcegroup01&quot; -DatabaseName &quot;database01&quot;</dev:code> - <dev:remarks> - <maml:para>This command gets the TPE activity for the database named database01 on the server named server01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>ResourceGroupName : resourcegroup01 ServerName : server01 DatabaseName : database01 Status : Encrypting PercentComplete : 3.662109 -</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlDatabaseTransparentDataEncryption</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlDatabaseTransparentDataEncryption</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Get-AzureRMSqlDatabaseUpgradeHint</command:name> - <maml:description> - <maml:para>Gets pricing tier hints for a database for upgrading SQL Database.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Get</command:verb> - <command:noun>AzureRMSqlDatabaseUpgradeHint</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Get-AzureRMSqlDatabaseUpgradeHint cmdlet gets pricing tier hints for a database for upgrading Azure SQL Database. Databases that are still in Web and Business pricing tiers get the hint to upgrade to the new Basic, Standard, or Premium pricing tiers.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Get-AzureRMSqlDatabaseUpgradeHint</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that hosts the database for which this cmdlet gets an upgrade hint.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the SQL database for which this cmdlet gets an upgrade hint. If you do not specify a database, this cmdlet gets hints for all databases on the logical server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ExcludeElasticPoolCandidates</maml:name> - <maml:description> - <maml:para>Indicates whether to exclude databases that are included in elastic database pool recommendations.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">Boolean</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the database for which this cmdlet gets an upgrade hint.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that hosts the database for which this cmdlet gets an upgrade hint.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the SQL database for which this cmdlet gets an upgrade hint. If you do not specify a database, this cmdlet gets hints for all databases on the logical server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ExcludeElasticPoolCandidates</maml:name> - <maml:description> - <maml:para>Indicates whether to exclude databases that are included in elastic database pool recommendations.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">Boolean</command:parameterValue> - <dev:type> - <maml:name>Boolean</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the database for which this cmdlet gets an upgrade hint.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Get recommendations for all databases on a server --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlDatabaseUpgradeHint -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot;</dev:code> - <dev:remarks> - <maml:para>This command returns upgrade hints for all databases on server.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - <command:example> - <maml:title>-------------------------- Example 2: Get recommendations for specific database --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlDatabaseUpgradeHint -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot;</dev:code> - <dev:remarks> - <maml:para>This command returns upgrade hint for specific database.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - <command:example> - <maml:title>-------------------------- Example 3: Get recommendation for all databases that are not recommended for an elastic database pool --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlDatabaseUpgradeHint -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -ExcludeElasticPoolCandidates $True</dev:code> - <dev:remarks> - <maml:para>This command returns upgrade hints for database that are not included in elastic database pool recommendations.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlDatabaseExpanded</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlElasticPoolRecommendation</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Get-AzureRMSqlElasticPool</command:name> - <maml:description> - <maml:para>Gets elastic pools and their property values in an Azure SQL Database.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Get</command:verb> - <command:noun>AzureRMSqlElasticPool</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Get-AzureRMSqlElasticPool cmdlet gets elastic pools and their property values in an Azure SQL Database. Specify the name of an existing elastic pool to see the property values for only that pool.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Get-AzureRMSqlElasticPool</maml:name> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>ElasticPoolName</maml:name> - <maml:description> - <maml:para>Specifies the name of the elastic pool that this cmdlet gets.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that contains the elastic pool that this cmdlet gets.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the elastic pool that this cmdlet gets.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>ElasticPoolName</maml:name> - <maml:description> - <maml:para>Specifies the name of the elastic pool that this cmdlet gets.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that contains the elastic pool that this cmdlet gets.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the elastic pool that this cmdlet gets.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.ElasticPool.Model.AzureSqlElasticPoolModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Get all elastic pools --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlElasticPool -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot;</dev:code> - <dev:remarks> - <maml:para>This command gets all elastic pools on the server named server01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>ResourceId : /subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/resourcegroup01/providers/Microsoft.Sql/servers/server01/elasticPools/elasticpool01 ResourceGroupName : resourcegroup01 ServerName : server01 ElasticPoolName : elasticpool01 Location : Central US CreationDate : 8/26/2015 10:00:17 PM State : Ready Edition : Standard Dtu : 400 DatabaseDtuMax : 100 DatabaseDtuMin : 10 StorageMB : 409600 Tags : - -ResourceId : /subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/resourcegroup01/providers/Microsoft.Sql/servers/server01/elasticPools/elasticpool02 ResourceGroupName : resourcegroup01 ServerName : server01 ElasticPoolName : elasticpool02 Location : Central US CreationDate : 8/26/2015 11:00:17 PM State : Ready Edition : Standard Dtu : 400 DatabaseDtuMax : 100 DatabaseDtuMin : 10 StorageMB : 409600 Tags : -</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - <command:example> - <maml:title>-------------------------- Example 2: Get a specific elastic pool --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlElasticPool -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -ElasticPoolName &quot;elasticPool27&quot;</dev:code> - <dev:remarks> - <maml:para>This command gets the elastic pool named elasticPool01 on the server named server01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>ResourceId : /subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/resourcegroup01/providers/Microsoft.Sql/servers/server01/elasticPools/elasticpool01 ResourceGroupName : resourcegroup01 ServerName : server01 ElasticPoolName : elasticpool01 Location : Central US CreationDate : 8/26/2015 10:00:17 PM State : Ready Edition : Standard Dtu : 400 DatabaseDtuMax : 100 DatabaseDtuMin : 10 StorageMB : 409600 Tags : -</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - <command:example> - <maml:title>-------------------------- Example 3: Get metrics for a Azure SQL Elastic Database Pool --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlElasticPool -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -ElasticPoolName &quot;elasticpool01&quot; | Get-Metrics -TimeGrain 0:5:0</dev:code> - <dev:remarks> - <maml:para>Returns metrics for an Azure SQL Elastic Database Pool named &quot;elasticpool01&quot;.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>DimensionName : DimensionValue : Name : cpu_percent EndTime : 8/27/2015 5:22:25 PM MetricValues : {Microsoft.Azure.Insights.Models.MetricValue, Microsoft.Azure.Insights.Models.MetricValue, Microsoft.Azure.Insights.Models.MetricValue, Microsoft.Azure.Insights.Models.MetricValue...} Properties : {} ResourceId : /subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/resourcegroup01/providers/Microsoft.Sql/servers/server01/elasticPools/elasticpool01 StartTime : 8/27/2015 4:20:00 PM TimeGrain : 00:05:00 Unit : Percent - -DimensionName : DimensionValue : Name : physical_data_read_percent EndTime : 8/27/2015 5:22:25 PM MetricValues : {Microsoft.Azure.Insights.Models.MetricValue, Microsoft.Azure.Insights.Models.MetricValue, Microsoft.Azure.Insights.Models.MetricValue, Microsoft.Azure.Insights.Models.MetricValue...} Properties : {} ResourceId : /subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/resourcegroup01/providers/Microsoft.Sql/servers/server01/elasticPools/elasticpool01 StartTime : 8/27/2015 4:20:00 PM TimeGrain : 00:05:00 Unit : Percent - -DimensionName : DimensionValue : Name : log_write_percent EndTime : 8/27/2015 5:22:25 PM MetricValues : {Microsoft.Azure.Insights.Models.MetricValue, Microsoft.Azure.Insights.Models.MetricValue, Microsoft.Azure.Insights.Models.MetricValue, Microsoft.Azure.Insights.Models.MetricValue...} Properties : {} ResourceId : /subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/resourcegroup01/providers/Microsoft.Sql/servers/server01/elasticPools/elasticpool01 StartTime : 8/27/2015 4:20:00 PM TimeGrain : 00:05:00 Unit : Percent - -DimensionName : DimensionValue : Name : dtu_consumption_percent EndTime : 8/27/2015 5:22:25 PM MetricValues : {Microsoft.Azure.Insights.Models.MetricValue, Microsoft.Azure.Insights.Models.MetricValue, Microsoft.Azure.Insights.Models.MetricValue, Microsoft.Azure.Insights.Models.MetricValue...} Properties : {} ResourceId : /subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/resourcegroup01/providers/Microsoft.Sql/servers/server01/elasticPools/elasticpool01 StartTime : 8/27/2015 4:20:00 PM TimeGrain : 00:05:00 Unit : Percent - -DimensionName : DimensionValue : Name : storage_percent EndTime : 8/27/2015 5:22:25 PM MetricValues : {Microsoft.Azure.Insights.Models.MetricValue, Microsoft.Azure.Insights.Models.MetricValue, Microsoft.Azure.Insights.Models.MetricValue, Microsoft.Azure.Insights.Models.MetricValue...} Properties : {} ResourceId : /subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/resourcegroup01/providers/Microsoft.Sql/servers/server01/elasticPools/elasticpool01 StartTime : 8/27/2015 4:20:00 PM TimeGrain : 00:05:00 Unit : Percent</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Azure SQL Database</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>New-AzureRMSqlElasticPool</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Remove-AzureRMSqlElasticPool</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlElasticPool</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Get-AzureRMSqlElasticPoolActivity</command:name> - <maml:description> - <maml:para>Gets the status of operations on an elastic pool.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Get</command:verb> - <command:noun>AzureRMSqlElasticPoolActivity</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Get-AzureRMSqlElasticPoolActivity cmdlet gets the status of operations on an elastic pool in Azure SQL Database. You can see status of pool creation and configuration updates.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Get-AzureRMSqlElasticPoolActivity</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of a server that contains an elastic pool. This cmdlet gets status for a pool on the server that this parameter specifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>ElasticPoolName</maml:name> - <maml:description> - <maml:para>Specifies the name of an elastic pool. This cmdlet gets status for the pool that this parameter specifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of a resource group that contains an elastic pool. This cmdlet gets status for a pool in the resource group that this parameter specifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of a server that contains an elastic pool. This cmdlet gets status for a pool on the server that this parameter specifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>ElasticPoolName</maml:name> - <maml:description> - <maml:para>Specifies the name of an elastic pool. This cmdlet gets status for the pool that this parameter specifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of a resource group that contains an elastic pool. This cmdlet gets status for a pool in the resource group that this parameter specifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.ElasticPool.Model.AzureSqlElasticPoolActivityModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Get the status of operations for an elastic pool --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlElasticPoolActivity -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -ElasticPoolName &quot;elasticpool01&quot;</dev:code> - <dev:remarks> - <maml:para>This command gets the status of the operations for the elastic pool named elasticPool01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Azure SQL Database</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlElasticPool</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlElasticPoolDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>New-AzureRMSqlElasticPool</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Remove-AzureRMSqlElasticPool</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlElasticPool</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Get-AzureRMSqlElasticPoolDatabase</command:name> - <maml:description> - <maml:para>Gets elastic databases in an elastic pool and their property values.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Get</command:verb> - <command:noun>AzureRMSqlElasticPoolDatabase</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Get-AzureRMSqlElasticPoolDatabase cmdlet gets elastic databases in an elastic pool and their property values. Specify the name of an elastic database in Azure SQL Database to see the property values for only that database.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Get-AzureRMSqlElasticPoolDatabase</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>ElasticPoolName</maml:name> - <maml:description> - <maml:para>Specifies the name of an elastic pool. This cmdlet gets databases in the pool that this parameter specifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the Azure SQL Database that this cmdlet gets.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of a server that contains an elastic pool. This cmdlet gets a database in a pool on the server that this parameter specifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of a resource group that contains an elastic pool. This cmdlet gets a database in a pool in the resource group that this parameter specifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>ElasticPoolName</maml:name> - <maml:description> - <maml:para>Specifies the name of an elastic pool. This cmdlet gets databases in the pool that this parameter specifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the Azure SQL Database that this cmdlet gets.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of a server that contains an elastic pool. This cmdlet gets a database in a pool on the server that this parameter specifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of a resource group that contains an elastic pool. This cmdlet gets a database in a pool in the resource group that this parameter specifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Get all databases in an elastic pool --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlElasticPoolDatabase -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -ElasticPoolName &quot;elasticPool01&quot;</dev:code> - <dev:remarks> - <maml:para>This command gets all databases in an elastic pool named elasticPool01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Azure SQL Database</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlElasticPool</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlElasticPoolActivity</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>New-AzureRMSqlElasticPool</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Remove-AzureRMSqlElasticPool</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlElasticPool</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Get-AzureRMSqlElasticPoolRecommendation</command:name> - <maml:description> - <maml:para>Gets elastic pool recommendations.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Get</command:verb> - <command:noun>AzureRMSqlElasticPoolRecommendation</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Get-AzureRMSqlElasticPoolRecommendation cmdlet gets elastic pool recommendations for a server. These recommendations include the following values: </maml:para> - <maml:para>-- DatabaseCollection. Collection of database names that belong to the pool. --- DatabaseDtuMin. Data Transmission Unit (DTU) guarantee for database in elastic pool. --- DatabaseDtuMax. DTU cap for database in elastic pool. --- Dtu. DTU guarantee for elastic pool. --- StorageMb. Storage in megabytes for elastic pool. --- Edition. Edition for elastic pool. Valid values are: Basic, Standard, and Premium. --- IncludeAllDatabases. Whether to include all databases in the server in the elastic pool. --- Name. Name of the elastic pool.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Get-AzureRMSqlElasticPoolRecommendation</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server for which this cmdlet gets recommendations.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies name of the resource group that contains the server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server for which this cmdlet gets recommendations.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies name of the resource group that contains the server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Get recommendations for a server --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlElasticPoolRecommendation -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot;</dev:code> - <dev:remarks> - <maml:para>This command gets the elastic pool recommendations for the server named server01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Get-AzureRMSqlServer</command:name> - <maml:description> - <maml:para>Returns information about Azure SQL Database servers.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Get</command:verb> - <command:noun>AzureRMSqlServer</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Get-AzureRMSqlServer cmdlet returns information about one or more Azure SQL Database servers. Specify the name of a server to see information about only that server.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Get-AzureRMSqlServer</maml:name> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that this cmdlet gets.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the servers that this cmdlet gets.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that this cmdlet gets.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the servers that this cmdlet gets.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Get all Azure SQL Servers in a resource group --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlServer –ResourceGroupName &quot;resourcegroup01&quot;</dev:code> - <dev:remarks> - <maml:para>This command gets information about all the Azure SQL Database servers in the resource group resourcegroup01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>ResourceGroupName : resourcegroup01 ServerName : server01 Location : Central US SqlAdministratorLogin : adminLogin SqlAdministratorPassword : ServerVersion : 12.0 Tags : - -ResourceGroupName : resourcegroup01 ServerName : server02 Location : West US SqlAdministratorLogin : adminLogin SqlAdministratorPassword : ServerVersion : 12.0 Tags :</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - <command:example> - <maml:title>-------------------------- Example 2: Get information about an Azure SQL Database server --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlServer -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot;</dev:code> - <dev:remarks> - <maml:para>This command gets information about the Azure SQL Database server named server01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>ResourceGroupName : resourcegroup01 ServerName : server01 Location : Central US SqlAdministratorLogin : adminLogin SqlAdministratorPassword : ServerVersion : 12.0 Tags : -</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - <command:example> - <maml:title>-------------------------- Example 3: Get all Azure SQL Servers in the subscription --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMResourceGroup | Get-AzureRMSqlServer</dev:code> - <dev:remarks> - <maml:para>This command gets information about all the Azure SQL Database servers in the current subscription.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>ResourceGroupName : resourcegroup01 ServerName : server01 Location : Central US SqlAdministratorLogin : adminLogin SqlAdministratorPassword : ServerVersion : 12.0 Tags : - -ResourceGroupName : resourcegroup01 ServerName : server02 Location : West US SqlAdministratorLogin : adminLogin SqlAdministratorPassword : ServerVersion : 12.0 Tags : - -ResourceGroupName : resourcegroup02 ServerName : server03 Location : East US SqlAdministratorLogin : adminLogin SqlAdministratorPassword : ServerVersion : 12.0 Tags :</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Azure SQL Database</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>New-AzureRMSqlServer</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Remove-AzureRMSqlServer</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlServer</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Get-AzureRMSqlServerActiveDirectoryAdministrator</command:name> - <maml:description> - <maml:para>Gets information about an Azure AD administrator for SQL Server.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Get</command:verb> - <command:noun>AzureRMSqlServerActiveDirectoryAdministrator</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Get-AzureRMSqlServerActiveDirectoryAdministrator cmdlet gets information about an Azure Active Directory (Azure AD) administrator for an Azure SQL Server in the current subscription.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Get-AzureRMSqlServerActiveDirectoryAdministrator</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the SQL Server for which this cmdlet gets information.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the SQL Server for which this cmdlet gets information.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the SQL Server for which this cmdlet gets information.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the SQL Server for which this cmdlet gets information.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.ServerActiveDirectoryAdministrator.Model.AzureSqlServerActiveDirectoryAdministratorModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Gets information about an administrator for a server --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlServerActiveDirectoryAdministrator -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -</dev:code> - <dev:remarks> - <maml:para>This command gets information about an Azure AD administrator for a server named Server06 that is associated with resource group named Resourcegroup01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>ResourceGroupName ServerName DisplayName ObjectId ------------------ ---------- ----------- -------- -resourcegroup01 server01 DBAs 40b79501-b343-44ed-9ce7-da4c8cc7353b</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Remove-AzureRMSqlServerActiveDirectoryAdministrator</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlServerActiveDirectoryAdministrator</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Get-AzureRMSqlServerAuditingPolicy</command:name> - <maml:description> - <maml:para>Gets the auditing policy of an Azure SQL server.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Get</command:verb> - <command:noun>AzureRMSqlServerAuditingPolicy</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Get-AzureRMSqlServerAuditingPolicy cmdlet gets the auditing policy of an Azure SQL server. Specify the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database. This cmdlet returns a policy that is used by the Azure SQL databases that are both defined in the specified Azure SQL server and use its auditing policy.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Get-AzureRMSqlServerAuditingPolicy</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the Azure SQL server for which this cmdlet gets an auditing policy.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the Azure SQL server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the Azure SQL server for which this cmdlet gets an auditing policy.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the Azure SQL server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.ServerAuditingPolicyModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Get the auditing policy of an Azure SQL server --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlServerAuditingPolicy -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot;</dev:code> - <dev:remarks> - <maml:para>This command gets the auditing policy of the server server02 in resource group resourcegroup01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>ResourceGroupName : resourcegroup01 ServerName : server01 StorageAccountName : StorageKeyType : Primary EventType : {PlainSQL_Success, PlainSQL_Failure, ParameterizedSQL_Success, ParameterizedSQL_Failure...} AuditState : New RetentionInDays : 0 TableIdentifier : Server01 -</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlServerAuditingPolicy</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Use-AzureRMSqlServerAuditingPolicy</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Get-AzureRMSqlServerFirewallRule</command:name> - <maml:description> - <maml:para>Gets firewall rules for an Azure SQL Database server.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Get</command:verb> - <command:noun>AzureRMSqlServerFirewallRule</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Get-AzureRMSqlServerFirewallRule cmdlet gets firewall rules for an Azure SQL Database server. If you specify the name of a firewall rule, this cmdlet gets information about that specific firewall rule.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Get-AzureRMSqlServerFirewallRule</maml:name> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>FirewallRuleName</maml:name> - <maml:description> - <maml:para>Specifies the name of the firewall rule that this cmdlet gets.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of a server. This cmdlet gets firewall rules from the server that this parameter specifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of a resource group. This cmdlet gets firewall rules on a server in the resource group that this parameter specifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>FirewallRuleName</maml:name> - <maml:description> - <maml:para>Specifies the name of the firewall rule that this cmdlet gets.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of a server. This cmdlet gets firewall rules from the server that this parameter specifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of a resource group. This cmdlet gets firewall rules on a server in the resource group that this parameter specifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.FirewallRule.Model.AzureSqlServerFirewallRuleModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Get all rules for a server --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlServerFirewallRule -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot;</dev:code> - <dev:remarks> - <maml:para>This command gets all the firewall rules for the server named server01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>ResourceGroupName : resourcegroup01 ServerName : server01 StartIpAddress : 0.0.0.0 EndIpAddress : 0.0.0.0 FirewallRuleName : AllowAllWindowsAzureIps - -ResourceGroupName : resourcegroup01 ServerName : server01 StartIpAddress : 1.2.3.4 EndIpAddress : 4.3.2.1 FirewallRuleName : rule01 -</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Azure SQL Database</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>New-AzureRMSqlServerFirewallRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Remove-AzureRMSqlServerFirewallRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlServerFirewallRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Get-AzureRMSqlServerServiceObjective</command:name> - <maml:description> - <maml:para>Gets service objectives for an Azure SQL Database server.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Get</command:verb> - <command:noun>AzureRMSqlServerServiceObjective</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Get-AzureRMSqlServerServiceObjective cmdlet gets the available service objectives for an Azure SQL Database server.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Get-AzureRMSqlServerServiceObjective</maml:name> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>ServiceObjectiveName</maml:name> - <maml:description> - <maml:para>Specifies the name of a service objective for an Azure SQL Database server. Valid values are: Basic, S0, S1, S2, P1, P2, and P3.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of an Azure SQL Database server. This cmdlet gets service objectives for the server that this parameter specifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of an Azure SQL Database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of a resource group. This cmdlet gets service objectives for an Azure SQL Database server in the resource group that this parameter specifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>ServiceObjectiveName</maml:name> - <maml:description> - <maml:para>Specifies the name of a service objective for an Azure SQL Database server. Valid values are: Basic, S0, S1, S2, P1, P2, and P3.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of an Azure SQL Database server. This cmdlet gets service objectives for the server that this parameter specifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of an Azure SQL Database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of a resource group. This cmdlet gets service objectives for an Azure SQL Database server in the resource group that this parameter specifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.ServiceObjective.Model.AzureSqlServerServiceObjectiveModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Get a service objective --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlServerServiceObjective -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot;</dev:code> - <dev:remarks> - <maml:para>This command gets the service objective for the server named server01. The command specifies the database named database01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para> ResourceGroupName ServerName ServiceObjectiveName Description Enabled IsDefault IsSystem ----------------- ---------- -------------------- ----------- ------- --------- -------- resourcegroup01 server01 ElasticPool True False False resourcegroup01 server01 System True False True resourcegroup01 server01 System0 True False True resourcegroup01 server01 System1 True False True resourcegroup01 server01 System2 True True True resourcegroup01 server01 Basic True True False resourcegroup01 server01 S0 True True False resourcegroup01 server01 S1 True False False resourcegroup01 server01 S2 True False False resourcegroup01 server01 S3 True False False resourcegroup01 server01 P1 True True False resourcegroup01 server01 P2 True False False resourcegroup01 server01 P3 True False False resourcegroup01 server01 P4 True False False</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Azure SQL Database</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Get-AzureRMSqlServerUpgrade</command:name> - <maml:description> - <maml:para>Gets the status of an Azure SQL Database server upgrade.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Get</command:verb> - <command:noun>AzureRMSqlServerUpgrade</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Get-AzureRMSqlServerUpgrade cmdlet gets the status of an Azure SQL Database server upgrade.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Get-AzureRMSqlServerUpgrade</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server about which this cmdlet gets upgrade status.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the server about which this cmdlet gets upgrade status.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server about which this cmdlet gets upgrade status.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the server about which this cmdlet gets upgrade status.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.ServerUpgrade.Model.AzureSqlServerUpgradeModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Get the status of an upgrade --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlServerUpgrade -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; | Format-List -</dev:code> - <dev:remarks> - <maml:para>This command gets the status of an upgrade request from the server named server01 in resource group named resourcegroup01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>ResourceGroupName : resourcegroup01 -ServerName : server01 -Status : Queued</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Start-AzureRMSqlServerUpgrade</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Stop-AzureRMSqlServerUpgrade</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Get-AzureRMSqlServerUpgradeHint</command:name> - <maml:description> - <maml:para>Gets pricing tier hints for upgrading a SQL Database server.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Get</command:verb> - <command:noun>AzureRMSqlServerUpgradeHint</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Get-AzureRMSqlServerUpgradeHint cmdlet gets pricing tier hints for upgrading an Azure SQL Database server. Hints may contain the elastic database pool and stand-alone database hints. Databases that are still in Web and Business pricing tiers get a hint to upgrade to the new Basic, Standard, or Premium pricing tiers, or to go into the elastic database pool. This cmdlet returns hints for all databases that the specified server hosts.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Get-AzureRMSqlServerUpgradeHint</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server for which this cmdlet gets an upgrade hint.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ExcludeElasticPools</maml:name> - <maml:description> - <maml:para>Indicates whether to exclude databases that are included in elastic database pool recommendations.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">Boolean</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the server for which this cmdlet gets an upgrade hint.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server for which this cmdlet gets an upgrade hint.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ExcludeElasticPools</maml:name> - <maml:description> - <maml:para>Indicates whether to exclude databases that are included in elastic database pool recommendations.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">Boolean</command:parameterValue> - <dev:type> - <maml:name>Boolean</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the server for which this cmdlet gets an upgrade hint.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Get combined recommendations --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Get-AzureRMSqlServerUpgradeHint -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot;</dev:code> - <dev:remarks> - <maml:para>This command gets combined recommendations for all the databases on server named server01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>ElasticPools Databases ------------- --------- -{} {database01, database02}</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlDatabaseExpanded</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlElasticPoolRecommendation</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>New-AzureRMSqlDatabase</command:name> - <maml:description> - <maml:para>Creates an Azure SQL database or an elastic database.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>New</command:verb> - <command:noun>AzureRMSqlDatabase</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The New-AzureRMSqlDatabase cmdlet creates a new Azure SQL database. -You can also create an elastic database by setting the ElasticPoolName parameter to an existing elastic pool.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>New-AzureRMSqlDatabase</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>CollationName</maml:name> - <maml:description> - <maml:para>Specifies the name of the Azure SQL database collation.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>CatalogCollation</maml:name> - <maml:description> - <maml:para>Specifies the name of the Azure SQL database catalog collation.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>MaxSizeBytes</maml:name> - <maml:description> - <maml:para>Specifies the maximum size of the database in bytes.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">Int64</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Edition</maml:name> - <maml:description> - <maml:para>Specifies the edition to assign to the database. Valid values are: --- Default --- None --- Premium --- Basis --- Standard</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">DatabaseEdition</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>RequestedServiceObjectiveName</maml:name> - <maml:description> - <maml:para>Specifies the name of the service objective to assign to the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>ElasticPoolName</maml:name> - <maml:description> - <maml:para>Specifies the name of the elastic pool in which to put the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> - <maml:name>Tags</maml:name> - <maml:description> - <maml:para>Specifies a dictionary of tags that this cmdlet associates with the new server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Dictionary`2[String]</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server to create the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that the server is in.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>CollationName</maml:name> - <maml:description> - <maml:para>Specifies the name of the Azure SQL database collation.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>CatalogCollation</maml:name> - <maml:description> - <maml:para>Specifies the name of the Azure SQL database catalog collation.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>MaxSizeBytes</maml:name> - <maml:description> - <maml:para>Specifies the maximum size of the database in bytes.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">Int64</command:parameterValue> - <dev:type> - <maml:name>Int64</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Edition</maml:name> - <maml:description> - <maml:para>Specifies the edition to assign to the database. Valid values are: --- Default --- None --- Premium --- Basis --- Standard</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">DatabaseEdition</command:parameterValue> - <dev:type> - <maml:name>DatabaseEdition</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>RequestedServiceObjectiveName</maml:name> - <maml:description> - <maml:para>Specifies the name of the service objective to assign to the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>ElasticPoolName</maml:name> - <maml:description> - <maml:para>Specifies the name of the elastic pool in which to put the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> - <maml:name>Tags</maml:name> - <maml:description> - <maml:para>Specifies a dictionary of tags that this cmdlet associates with the new server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Dictionary`2[String]</command:parameterValue> - <dev:type> - <maml:name>Dictionary`2[String]</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server to create the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that the server is in.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Create an database in a specified server --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; New-AzureRMSqlDatabase -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot;</dev:code> - <dev:remarks> - <maml:para>This command creates a database named database01 in server server01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>ResourceGroupName : resourcegroup01 ServerName : server01 DatabaseName : database01 Location : Central US DatabaseId : a1e6bd1a-735a-4d48-8b98-afead5ef1218 Edition : Standard CollationName : SQL_Latin1_General_CP1_CI_AS CatalogCollation : MaxSizeBytes : 268435456000 Status : Online CreationDate : 7/3/2015 7:33:37 AM CurrentServiceObjectiveId : f1173c43-91bd-4aaa-973c-54e79e15235b CurrentServiceObjectiveName : S0 RequestedServiceObjectiveId : f1173c43-91bd-4aaa-973c-54e79e15235b RequestedServiceObjectiveName : ElasticPoolName : EarliestRestoreDate : Tags :</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - <command:example> - <maml:title>-------------------------- Example 2: Create an elastic database in a specified server --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; New-AzureRMSqlDatabase -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot; -ElasticPoolName &quot;elasticpool01&quot;</dev:code> - <dev:remarks> - <maml:para>This command creates a database named database01 in the elastic pool named elasticpool01 in server server01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>ResourceGroupName : resourcegroup01 ServerName : server01 DatabaseName : database02 Location : Central US DatabaseId : 7bd9d561-42a7-484e-bf05-62ddef8015ab Edition : Standard CollationName : SQL_Latin1_General_CP1_CI_AS CatalogCollation : MaxSizeBytes : 268435456000 Status : Online CreationDate : 8/26/2015 10:04:29 PM CurrentServiceObjectiveId : d1737d22-a8ea-4de7-9bd0-33395d2a7419 CurrentServiceObjectiveName : ElasticPool RequestedServiceObjectiveId : d1737d22-a8ea-4de7-9bd0-33395d2a7419 RequestedServiceObjectiveName : ElasticPoolName : elasticpool01 EarliestRestoreDate : Tags :</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Remove-AzureRMSqlDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Resume-AzureRMSqlDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Suspend-AzureRMSqlDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Azure SQL Database</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>New-AzureRMSqlServer</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>New-AzureRMSqlElasticPool</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>New-AzureRMSqlDatabaseCopy</command:name> - <maml:description> - <maml:para>Creates a copy of an existing Azure SQL Database using the snapshot of the data at the time of the call.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>New</command:verb> - <command:noun>AzureRMSqlDatabaseCopy</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>This cmdlet replaces the Start-AzureRqlDatabaseCopy cmdlet when used to create a one-time database copy. It returns the database object of the copy.</maml:para> - <maml:para>Note: Use New-AzureRMSqlDatabaseSecondary for setting up geo-replication for a database.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>New-AzureRMSqlDatabaseCopy</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>The name of the Azure SQL Database to be copied.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>ServiceObjectiveName</maml:name> - <maml:description> - <maml:para>The name of the service objective to assign to the copy.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>ElasticPoolName</maml:name> - <maml:description> - <maml:para>The name of the Elastic Pool to put the copy in.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> - <maml:name>Tags</maml:name> - <maml:description> - <maml:para>The tags to associate with the Azure SQL Database copy.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Dictionary`2[String]</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>CopyResourceGroupName</maml:name> - <maml:description> - <maml:para>The name of the Azure Resource Group to create copy in.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>CopyServerName</maml:name> - <maml:description> - <maml:para>The name of the Azure SQL Server to create copy in.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>CopyDatabaseName</maml:name> - <maml:description> - <maml:para>The name of the Azure SQL Database copy.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>The name of the Azure SQL Server the database to be copied is in.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>The name of the Azure Resource Group the database to be copied is in.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>The name of the Azure SQL Database to be copied.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>ServiceObjectiveName</maml:name> - <maml:description> - <maml:para>The name of the service objective to assign to the copy.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>ElasticPoolName</maml:name> - <maml:description> - <maml:para>The name of the Elastic Pool to put the copy in.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> - <maml:name>Tags</maml:name> - <maml:description> - <maml:para>The tags to associate with the Azure SQL Database copy.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Dictionary`2[String]</command:parameterValue> - <dev:type> - <maml:name>Dictionary`2[String]</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>CopyResourceGroupName</maml:name> - <maml:description> - <maml:para>The name of the Azure Resource Group to create copy in.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>CopyServerName</maml:name> - <maml:description> - <maml:para>The name of the Azure SQL Server to create copy in.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>CopyDatabaseName</maml:name> - <maml:description> - <maml:para>The name of the Azure SQL Database copy.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>The name of the Azure SQL Server the database to be copied is in.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>The name of the Azure Resource Group the database to be copied is in.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - </command:examples> - <maml:relatedLinks> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>New-AzureRMSqlDatabaseDataMaskingRule</command:name> - <maml:description> - <maml:para>Creates a data masking rule for an Azure SQL database.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>New</command:verb> - <command:noun>AzureRMSqlDatabaseDataMaskingRule</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The New-AzureRMSqlDatabaseDataMaskingRule cmdlet is used to create a data masking rule in an Azure SQL database. To use the cmdlet, use the ResourceGroupName, ServerName, DatabaseName, and RuleId parameters to identify the rule. Provide the TableName and ColumnName to specify the target of the rule and the MaskingFunction parameter to define how the data is masked. </maml:para> - <maml:para>If MaskingFunction has a value of Number or Text, you can specify the NumberFrom and NumberTo parameters, for number masking, or the PrefixSize, ReplacementString, and SuffixSize for text masking. </maml:para> - <maml:para>If the command succeeds and the PassThru parameter is used, the cmdlet returns an object describing the data masking rule properties as well as the rule identifiers. Rule identifiers include, but are not limited to, ResourceGroupName, ServerName, DatabaseName, and RuleID.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>New-AzureRMSqlDatabaseDataMaskingRule</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ColumnName</maml:name> - <maml:description> - <maml:para>Specifies the name of the column that is the target of this masking rule.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>SchemaName</maml:name> - <maml:description> - <maml:para /> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>TableName</maml:name> - <maml:description> - <maml:para>Specifies the name of the table in the database of which the masked column is part.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>MaskingFunction</maml:name> - <maml:description> - <maml:para>Specifies the masking function that the rule uses. Valid values are: </maml:para> - <maml:para>-- Default --- NoMasking --- Text --- Number --- SocialSecurityNumber --- CreditCardNumber --- Email</maml:para> - <maml:para>The default value is Default.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>PrefixSize</maml:name> - <maml:description> - <maml:para>Specifies the number of characters in the beginning of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Nullable`1[UInt32]</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ReplacementString</maml:name> - <maml:description> - <maml:para>Specifies the number of characters in the end of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is an empty string.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>SuffixSize</maml:name> - <maml:description> - <maml:para>Specifies the number of characters in the end of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Nullable`1[UInt32]</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>NumberFrom</maml:name> - <maml:description> - <maml:para>Specifies the lower bound number of the interval from which a random value is selected. Specify this parameter only if you specify a value of Number for the MaskingFunction parameter. The default value is 0.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Nullable`1[Double]</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>NumberTo</maml:name> - <maml:description> - <maml:para>Specifies the upper bound number of the interval from which a random value is selected. Specify this parameter only if you specify a value of Number for the MaskingFunction parameter. The default value is 0.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Nullable`1[Double]</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>PassThru</maml:name> - <maml:description> - <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>RuleId</maml:name> - <maml:description> - <maml:para>Specifies the identifier for the data masking rule.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ColumnName</maml:name> - <maml:description> - <maml:para>Specifies the name of the column that is the target of this masking rule.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>SchemaName</maml:name> - <maml:description> - <maml:para /> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>TableName</maml:name> - <maml:description> - <maml:para>Specifies the name of the table in the database of which the masked column is part.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>MaskingFunction</maml:name> - <maml:description> - <maml:para>Specifies the masking function that the rule uses. Valid values are: </maml:para> - <maml:para>-- Default --- NoMasking --- Text --- Number --- SocialSecurityNumber --- CreditCardNumber --- Email</maml:para> - <maml:para>The default value is Default.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>PrefixSize</maml:name> - <maml:description> - <maml:para>Specifies the number of characters in the beginning of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Nullable`1[UInt32]</command:parameterValue> - <dev:type> - <maml:name>Nullable`1[UInt32]</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ReplacementString</maml:name> - <maml:description> - <maml:para>Specifies the number of characters in the end of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is an empty string.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>SuffixSize</maml:name> - <maml:description> - <maml:para>Specifies the number of characters in the end of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Nullable`1[UInt32]</command:parameterValue> - <dev:type> - <maml:name>Nullable`1[UInt32]</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>NumberFrom</maml:name> - <maml:description> - <maml:para>Specifies the lower bound number of the interval from which a random value is selected. Specify this parameter only if you specify a value of Number for the MaskingFunction parameter. The default value is 0.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Nullable`1[Double]</command:parameterValue> - <dev:type> - <maml:name>Nullable`1[Double]</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>NumberTo</maml:name> - <maml:description> - <maml:para>Specifies the upper bound number of the interval from which a random value is selected. Specify this parameter only if you specify a value of Number for the MaskingFunction parameter. The default value is 0.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Nullable`1[Double]</command:parameterValue> - <dev:type> - <maml:name>Nullable`1[Double]</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>PassThru</maml:name> - <maml:description> - <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>RuleId</maml:name> - <maml:description> - <maml:para>Specifies the identifier for the data masking rule.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.DatabaseDataMaskingRuleModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Create a data masking rule for a number column in a database --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Set-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot; -RuleId &quot;rule01&quot; -SchemaName &quot;schema01&quot; -TableName &quot;table01&quot; -ColumnName &quot;column01&quot; -MaskingFunction Number -NumberFrom 5 -NumberTo 14</dev:code> - <dev:remarks> - <maml:para>This command creates a data masking rule for the column named column01 in the table named table01 in the schema named schema01. database01 contains all these elements. The rule is a number masking rule that uses a random number between 5 and 14 as the masked value. The rule is named rule01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlDatabaseDataMaskingRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Remove-AzureRMSqlDatabaseDataMaskingRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlDatabaseDataMaskingRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Azure SQL Database</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>New-AzureRMSqlDatabaseSecondary</command:name> - <maml:description> - <maml:para>Creates a new secondary database for an existing Azure SQL Database and starts data replication.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>New</command:verb> - <command:noun>AzureRMSqlDatabaseSecondary</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>This cmdlet replaces the Start-AzureSqlDatabaseCopy cmdlet when used for setting up geo-replication for a database. It returns the geo-replication link object from the primary to the secondary database.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>New-AzureRMSqlDatabaseSecondary</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>The name of the Azure SQL Database to act as primary.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>SecondaryServiceObjectiveName</maml:name> - <maml:description> - <maml:para>The name of the service objective to assign to the secondary.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>SecondaryElasticPoolName</maml:name> - <maml:description> - <maml:para>The name of the Elastic Pool to put the secondary in.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> - <maml:name>Tags</maml:name> - <maml:description> - <maml:para>The tags to associate with the Azure SQL Database replication link.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Dictionary`2[String]</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>PartnerResourceGroupName</maml:name> - <maml:description> - <maml:para>The name of the Azure Resource Group to create secondary in.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>PartnerServerName</maml:name> - <maml:description> - <maml:para>The name of the Azure SQL Server to create secondary in.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>AllowConnections</maml:name> - <maml:description> - <maml:para>The read intent of the secondary Azure SQL Database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">AllowConnections</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>The name of the Azure SQL Server of the primary Azure SQL Database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>The name of the Azure Resource Group of the primary Azure SQL Database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>The name of the Azure SQL Database to act as primary.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>SecondaryServiceObjectiveName</maml:name> - <maml:description> - <maml:para>The name of the service objective to assign to the secondary.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>SecondaryElasticPoolName</maml:name> - <maml:description> - <maml:para>The name of the Elastic Pool to put the secondary in.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> - <maml:name>Tags</maml:name> - <maml:description> - <maml:para>The tags to associate with the Azure SQL Database replication link.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Dictionary`2[String]</command:parameterValue> - <dev:type> - <maml:name>Dictionary`2[String]</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>PartnerResourceGroupName</maml:name> - <maml:description> - <maml:para>The name of the Azure Resource Group to create secondary in.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>PartnerServerName</maml:name> - <maml:description> - <maml:para>The name of the Azure SQL Server to create secondary in.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>AllowConnections</maml:name> - <maml:description> - <maml:para>The read intent of the secondary Azure SQL Database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">AllowConnections</command:parameterValue> - <dev:type> - <maml:name>AllowConnections</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>The name of the Azure SQL Server of the primary Azure SQL Database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>The name of the Azure Resource Group of the primary Azure SQL Database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - </command:examples> - <maml:relatedLinks> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>New-AzureRMSqlElasticPool</command:name> - <maml:description> - <maml:para>Creates an elastic database pool in Azure SQL Database.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>New</command:verb> - <command:noun>AzureRMSqlElasticPool</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The New-AzureRMSqlElasticPool cmdlet creates an elastic database pool in Azure SQL Database.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>New-AzureRMSqlElasticPool</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>ElasticPoolName</maml:name> - <maml:description> - <maml:para>Specifies the name of the elastic pool that this cmdlet creates.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Edition</maml:name> - <maml:description> - <maml:para>Specifies the edition of Azure SQL Database for the elastic pool. Valid values are: </maml:para> - <maml:para>-- Premium --- Basic --- Standard</maml:para> - <maml:para>For the current preview, the edition must be Standard.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">DatabaseEdition</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Dtu</maml:name> - <maml:description> - <maml:para>Specifies the total number of shared DTUs for the elastic pool. The default values for different editions are as follows: </maml:para> - <maml:para>-- Basic. 100 DTUs --- Standard. 100 DTUs --- Premium. 125 DTUs</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>StorageMB</maml:name> - <maml:description> - <maml:para>Specifies the storage limit, in megabytes, for the elastic pool. You cannot specify a value for this parameter for the Premium edition. </maml:para> - <maml:para>If you do not specify this parameter, this cmdlet calculates a value based on the value of the Dtu parameter. We recommend that you do not specify the StorageMB parameter.</maml:para> - <maml:para>If you specify StorageMB, but do not specify Dtu, the cmdlet calculates a value for Dtu. If you specify values for both, the values must be consistent. For more information about the relationship between storage and DTUs, see eDTU and storage limits for elastic pools and elastic databases.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>DatabaseDtuMin</maml:name> - <maml:description> - <maml:para>Specifies the minimum number of DTUs that the elastic pool guarantees to all the databases in the pool. The default value is zero (0).</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>DatabaseDtuMax</maml:name> - <maml:description> - <maml:para>Specifies the maximum number of Database Throughput Units (DTUs) that any single database in the pool can consume. The default values for different editions are as follows: </maml:para> - <maml:para>-- Basic. 5 DTUs --- Standard. 100 DTUs --- Premium. 125 DTUs</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> - <maml:name>Tags</maml:name> - <maml:description> - <maml:para>Specifies a dictionary of tags that this cmdlet associates with the elastic pool.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Dictionary`2[String]</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server in which this cmdlet creates the elastic pool.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the elastic pool that this cmdlet creates.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>ElasticPoolName</maml:name> - <maml:description> - <maml:para>Specifies the name of the elastic pool that this cmdlet creates.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Edition</maml:name> - <maml:description> - <maml:para>Specifies the edition of Azure SQL Database for the elastic pool. Valid values are: </maml:para> - <maml:para>-- Premium --- Basic --- Standard</maml:para> - <maml:para>For the current preview, the edition must be Standard.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">DatabaseEdition</command:parameterValue> - <dev:type> - <maml:name>DatabaseEdition</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Dtu</maml:name> - <maml:description> - <maml:para>Specifies the total number of shared DTUs for the elastic pool. The default values for different editions are as follows: </maml:para> - <maml:para>-- Basic. 100 DTUs --- Standard. 100 DTUs --- Premium. 125 DTUs</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> - <dev:type> - <maml:name>Int32</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>StorageMB</maml:name> - <maml:description> - <maml:para>Specifies the storage limit, in megabytes, for the elastic pool. You cannot specify a value for this parameter for the Premium edition. </maml:para> - <maml:para>If you do not specify this parameter, this cmdlet calculates a value based on the value of the Dtu parameter. We recommend that you do not specify the StorageMB parameter.</maml:para> - <maml:para>If you specify StorageMB, but do not specify Dtu, the cmdlet calculates a value for Dtu. If you specify values for both, the values must be consistent. For more information about the relationship between storage and DTUs, see eDTU and storage limits for elastic pools and elastic databases.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> - <dev:type> - <maml:name>Int32</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>DatabaseDtuMin</maml:name> - <maml:description> - <maml:para>Specifies the minimum number of DTUs that the elastic pool guarantees to all the databases in the pool. The default value is zero (0).</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> - <dev:type> - <maml:name>Int32</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>DatabaseDtuMax</maml:name> - <maml:description> - <maml:para>Specifies the maximum number of Database Throughput Units (DTUs) that any single database in the pool can consume. The default values for different editions are as follows: </maml:para> - <maml:para>-- Basic. 5 DTUs --- Standard. 100 DTUs --- Premium. 125 DTUs</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> - <dev:type> - <maml:name>Int32</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> - <maml:name>Tags</maml:name> - <maml:description> - <maml:para>Specifies a dictionary of tags that this cmdlet associates with the elastic pool.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Dictionary`2[String]</command:parameterValue> - <dev:type> - <maml:name>Dictionary`2[String]</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server in which this cmdlet creates the elastic pool.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the elastic pool that this cmdlet creates.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.ElasticPool.Model.AzureSqlElasticPoolModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Create an elastic pool --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; New-AzureRMSqlElasticPool -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -ElasticPoolName &quot;elasticpool01&quot; -Edition &quot;Standard&quot; -Dtu 400 -DatabaseDtuMin 10 -DatabaseDtuMax 100</dev:code> - <dev:remarks> - <maml:para>This command creates an elastic pool in the Standard service tier named elasticpool01. The server named server01 hosts the elastic pool in an Azure resource group named resourcegroup01. The command specifies DTU property values for the pool and the databases in the pool.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>ResourceId : /subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/resourcegroup01/providers/Microsoft.Sql/servers/server01/elasticPools/elasticpool01 ResourceGroupName : resourcegroup01 ServerName : server01 ElasticPoolName : elasticpool01 Location : Central US CreationDate : 8/26/2015 10:00:17 PM State : Ready Edition : Standard Dtu : 400 DatabaseDtuMax : 100 DatabaseDtuMin : 10 StorageMB : 409600 Tags : -</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Azure SQL Database</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlElasticPool</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlElasticPoolActivity</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlElasticPoolDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Remove-AzureRMSqlElasticPool</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlElasticPool</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>New-AzureRMSqlServer</command:name> - <maml:description> - <maml:para>Creates an Azure SQL Database server.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>New</command:verb> - <command:noun>AzureRMSqlServer</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The New-AzureRMSqlServer cmdlet creates an Azure SQL Database server.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>New-AzureRMSqlServer</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the new server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>SqlAdministratorCredentials</maml:name> - <maml:description> - <maml:para>Specifies the SQL Database server administrator credential for the new server. To obtain a PSCredential object, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Location</maml:name> - <maml:description> - <maml:para>Specifies the location of the data center where this cmdlet creates the server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> - <maml:name>Tags</maml:name> - <maml:description> - <maml:para>Specifies a dictionary of tags that this cmdlet associates with the new server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Dictionary`2[String]</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>ServerVersion</maml:name> - <maml:description> - <maml:para>Specifies the version of the new server. Valid values are: 2.0 and 12.0.</maml:para> - <maml:para>Specify 2.0 to create a version 11 server, or 12.0 to create a version 12 server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group in which this cmdlet creates the server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the new server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>SqlAdministratorCredentials</maml:name> - <maml:description> - <maml:para>Specifies the SQL Database server administrator credential for the new server. To obtain a PSCredential object, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue> - <dev:type> - <maml:name>PSCredential</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Location</maml:name> - <maml:description> - <maml:para>Specifies the location of the data center where this cmdlet creates the server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> - <maml:name>Tags</maml:name> - <maml:description> - <maml:para>Specifies a dictionary of tags that this cmdlet associates with the new server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Dictionary`2[String]</command:parameterValue> - <dev:type> - <maml:name>Dictionary`2[String]</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>ServerVersion</maml:name> - <maml:description> - <maml:para>Specifies the version of the new server. Valid values are: 2.0 and 12.0.</maml:para> - <maml:para>Specify 2.0 to create a version 11 server, or 12.0 to create a version 12 server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group in which this cmdlet creates the server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Create a new Azure SQL Database server --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; New-AzureRMSqlServer -ResourceGroupName &quot;resourcegroup01&quot; -Location &quot;Central US&quot; -ServerName &quot;server01&quot; -ServerVersion &quot;12.0&quot;</dev:code> - <dev:remarks> - <maml:para>This command creates a version 12 Azure SQL Database server.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>ResourceGroupName : resourcegroup01 ServerName : server01 Location : Australia East SqlAdministratorLogin : adminLogin SqlAdministratorPassword : ServerVersion : 12.0 Tags : -</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Azure SQL Database</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlServer</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Remove-AzureRMSqlServer</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlServer</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>New-AzureRMSqlServerFirewallRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>New-AzureRMSqlServerFirewallRule</command:name> - <maml:description> - <maml:para>Creates a firewall rule for an Azure SQL Database server.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>New</command:verb> - <command:noun>AzureRMSqlServerFirewallRule</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The New-AzureRMSqlServerFirewallRule cmdlet creates a firewall rule for the specified Azure SQL Database server.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>New-AzureRMSqlServerFirewallRule</maml:name> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>AllowAllAzureIPs</maml:name> - <maml:description> - <maml:para>Indicates that this firewall rule enables all Azure IP addresses to access the server.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of a server. This cmdlet creates a firewall rule on the server that this cmdlet specifies. Specify the server name, not the fully qualified DNS name.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of a resource group that contains a server. This cmdlet creates a firewall rule on a server in the resource group that this cmdlet specifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - <command:syntaxItem> - <maml:name>New-AzureRMSqlServerFirewallRule</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>FirewallRuleName</maml:name> - <maml:description> - <maml:para>Specifies the name of the new firewall rule.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>StartIpAddress</maml:name> - <maml:description> - <maml:para>Specifies the start value of the IP address range for the firewall rule.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>EndIpAddress</maml:name> - <maml:description> - <maml:para>Specifies the end value of the IP address range for this rule.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of a server. This cmdlet creates a firewall rule on the server that this cmdlet specifies. Specify the server name, not the fully qualified DNS name.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of a resource group that contains a server. This cmdlet creates a firewall rule on a server in the resource group that this cmdlet specifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>FirewallRuleName</maml:name> - <maml:description> - <maml:para>Specifies the name of the new firewall rule.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>StartIpAddress</maml:name> - <maml:description> - <maml:para>Specifies the start value of the IP address range for the firewall rule.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>EndIpAddress</maml:name> - <maml:description> - <maml:para>Specifies the end value of the IP address range for this rule.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of a server. This cmdlet creates a firewall rule on the server that this cmdlet specifies. Specify the server name, not the fully qualified DNS name.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of a resource group that contains a server. This cmdlet creates a firewall rule on a server in the resource group that this cmdlet specifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>AllowAllAzureIPs</maml:name> - <maml:description> - <maml:para>Indicates that this firewall rule enables all Azure IP addresses to access the server.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.FirewallRule.Model.AzureSqlServerFirewallRuleModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Create a firewall rule --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; New-AzureRMSqlServerFirewallRule -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -FirewallRuleName &quot;rule01&quot; -StartIpAddress &quot;192.168.0.198&quot; -EndIpAddress &quot;192.168.0.199&quot;</dev:code> - <dev:remarks> - <maml:para>This command creates a firewall rule named rule01 on the server named server01. The rule includes the specified start and end IP addresses.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>ResourceGroupName : resourcegroup01 ServerName : server01 StartIpAddress : 192.168.0.198 EndIpAddress : 192.168.0.199 FirewallRuleName : rule01</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Azure SQL Database</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlServerFirewallRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Remove-AzureRMSqlServerFirewallRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlServerFirewallRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Remove-AzureRMSqlDatabase</command:name> - <maml:description> - <maml:para>Removes an Azure SQL database.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Remove</command:verb> - <command:noun>AzureRMSqlDatabase</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Remove-AzureRMSqlDatabase cmdlet removes an Azure SQL database.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Remove-AzureRMSqlDatabase</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database that this cmdlet removes.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Force</maml:name> - <maml:description> - <maml:para>Forces the command to run without asking for user confirmation.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server the database is in.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>WhatIf</maml:name> - <maml:description> - <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Confirm</maml:name> - <maml:description> - <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database that this cmdlet removes.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Force</maml:name> - <maml:description> - <maml:para>Forces the command to run without asking for user confirmation.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server the database is in.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>WhatIf</maml:name> - <maml:description> - <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>false</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Confirm</maml:name> - <maml:description> - <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>false</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Remove a database from an Azure SQL server --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Remove-AzureRMSqlDatabase -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot;</dev:code> - <dev:remarks> - <maml:para>This command removes the database named database01 from server server01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>New-AzureRMSqlDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Resume-AzureRMSqlDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Suspend-AzureRMSqlDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Azure SQL Database</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Remove-AzureRMSqlDatabaseAuditing</command:name> - <maml:description> - <maml:para>Removes auditing of an Azure SQL database.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Remove</command:verb> - <command:noun>AzureRMSqlDatabaseAuditing</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Remove-AzureRMSqlDatabaseAuditing cmdlet removes the auditing of an Azure SQL database. To use this cmdlet, use the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database. After you run this cmdlet, auditing of the database is not performed. If the command succeeds and you have used the PassThru parameter, the cmdlet returns an object describing the current auditing policy, as well as the database identifiers. Database identifiers include, but are not limited to, the ResourceGroupName, ServerName and DatabaseName.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Remove-AzureRMSqlDatabaseAuditing</maml:name> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>PassThru</maml:name> - <maml:description> - <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server containing the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group containing the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>PassThru</maml:name> - <maml:description> - <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server containing the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group containing the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.DatabaseAuditingPolicyModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.DatabaseAuditingPolicyModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Remove the auditing of an Azure SQL database --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Remove-AzureRMSqlDatabaseAuditing -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot;</dev:code> - <dev:remarks> - <maml:para>This command removes the auditing of database named database01. That database is located on server01 in the resource group named resourcegroup01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlDatabaseAuditingPolicy</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlDatabaseAuditingPolicy</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Azure SQL Database</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Remove-AzureRMSqlDatabaseDataMaskingRule</command:name> - <maml:description> - <maml:para>Removes a data masking rule from an Azure SQL database.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Remove</command:verb> - <command:noun>AzureRMSqlDatabaseDataMaskingRule</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Remove-AzureRMSqlDatabaseDataMaskingRule cmdlet removes a specific data masking rule from an Azure SQL database. You can remove a data masking rule by using the ResourceGroupName, ServerName, DatabaseName, and RuleId parameters to identify the rule to be removed.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Remove-AzureRMSqlDatabaseDataMaskingRule</maml:name> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>PassThru</maml:name> - <maml:description> - <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Force</maml:name> - <maml:description> - <maml:para>Forces the command to run without asking for user confirmation.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>RuleId</maml:name> - <maml:description> - <maml:para>Specifies the identifier for the data masking rule.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>WhatIf</maml:name> - <maml:description> - <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Confirm</maml:name> - <maml:description> - <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>PassThru</maml:name> - <maml:description> - <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Force</maml:name> - <maml:description> - <maml:para>Forces the command to run without asking for user confirmation.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>RuleId</maml:name> - <maml:description> - <maml:para>Specifies the identifier for the data masking rule.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>WhatIf</maml:name> - <maml:description> - <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>false</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Confirm</maml:name> - <maml:description> - <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>false</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.DatabaseDataMaskingRuleModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.DatabaseDataMaskingRuleModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Remove a database data masking rule --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Remove-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot; -RuleId &quot;rule01&quot;</dev:code> - <dev:remarks> - <maml:para>This command removes the rule that has the ID rule01, that was defined for the database database01 located in server01 in resource group resourcegroup01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlDatabaseDataMaskingRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>New-AzureRMSqlDatabaseDataMaskingRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlDatabaseDataMaskingRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Azure SQL Database</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Remove-AzureRMSqlDatabaseSecondary</command:name> - <maml:description> - <maml:para>Terminates data replication between an Azure SQL Database and the specified secondary database.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Remove</command:verb> - <command:noun>AzureRMSqlDatabaseSecondary</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>This cmdlet replaces the Stop-AzureSqlDatabaseCopy cmdlet. It will force terminates the geo-replication link. There is no replication synchronization prior to termination.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Remove-AzureRMSqlDatabaseSecondary</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>The name of the primary Azure SQL Database with the replication link to remove.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>PartnerResourceGroupName</maml:name> - <maml:description> - <maml:para>The name of the partner Azure Resource Group.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>PartnerServerName</maml:name> - <maml:description> - <maml:para>The name of the partner Azure SQL Server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>The name of the Azure SQL Server with the replication link to remove.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>The name of the Azure Resource Group with the replication link to remove.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>The name of the primary Azure SQL Database with the replication link to remove.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>PartnerResourceGroupName</maml:name> - <maml:description> - <maml:para>The name of the partner Azure Resource Group.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>PartnerServerName</maml:name> - <maml:description> - <maml:para>The name of the partner Azure SQL Server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>The name of the Azure SQL Server with the replication link to remove.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>The name of the Azure Resource Group with the replication link to remove.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - </command:examples> - <maml:relatedLinks> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Remove-AzureRMSqlElasticPool</command:name> - <maml:description> - <maml:para>Deletes an elastic database pool.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Remove</command:verb> - <command:noun>AzureRMSqlElasticPool</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Remove-AzureRMSqlElasticPool cmdlet deletes an elastic pool in Azure SQL Database.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Remove-AzureRMSqlElasticPool</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>ElasticPoolName</maml:name> - <maml:description> - <maml:para>Specifies the name of the elastic pool that this cmdlet deletes.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Force</maml:name> - <maml:description> - <maml:para>Forces the command to run without asking for user confirmation.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that contains the elastic pool that this cmdlet modifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the elastic pool that this cmdlet deletes.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>WhatIf</maml:name> - <maml:description> - <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Confirm</maml:name> - <maml:description> - <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>ElasticPoolName</maml:name> - <maml:description> - <maml:para>Specifies the name of the elastic pool that this cmdlet deletes.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Force</maml:name> - <maml:description> - <maml:para>Forces the command to run without asking for user confirmation.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that contains the elastic pool that this cmdlet modifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the elastic pool that this cmdlet deletes.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>WhatIf</maml:name> - <maml:description> - <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>false</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Confirm</maml:name> - <maml:description> - <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>false</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.ElasticPool.Model.AzureSqlElasticPoolModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.ElasticPool.Model.AzureSqlElasticPoolModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Delete an elastic pool --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Remove-AzureRMSqlElasticPool -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -ElasticPoolName &quot;elasticpool01&quot;</dev:code> - <dev:remarks> - <maml:para>This command deletes an elastic pool named elasticpool01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Azure SQL Database</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlElasticPool</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlElasticPoolActivity</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlElasticPoolDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>New-AzureRMSqlElasticPool</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlElasticPool</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Remove-AzureRMSqlServer</command:name> - <maml:description> - <maml:para>Removes an Azure SQL Database server.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Remove</command:verb> - <command:noun>AzureRMSqlServer</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Remove-AzureRMSqlServer cmdlet removes an Azure SQL Database server.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Remove-AzureRMSqlServer</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that this cmdlet removes.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Force</maml:name> - <maml:description> - <maml:para>Forces the command to run without asking for user confirmation.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the server that this cmdlet removes.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>WhatIf</maml:name> - <maml:description> - <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Confirm</maml:name> - <maml:description> - <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that this cmdlet removes.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Force</maml:name> - <maml:description> - <maml:para>Forces the command to run without asking for user confirmation.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the server that this cmdlet removes.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>WhatIf</maml:name> - <maml:description> - <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>false</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Confirm</maml:name> - <maml:description> - <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>false</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Remove a server --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Remove-AzureRMSqlServer -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot;</dev:code> - <dev:remarks> - <maml:para>This command removes the Azure SQL Database server named server01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Azure SQL Database</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlServer</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>New-AzureRMSqlServer</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlServer</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Remove-AzureRMSqlServerActiveDirectoryAdministrator</command:name> - <maml:description> - <maml:para>Removes an Azure AD administrator for SQL Server.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Remove</command:verb> - <command:noun>AzureRMSqlServerActiveDirectoryAdministrator</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Remove-AzureRMSqlServerActiveDirectoryAdministrator cmdlet removes an Azure Active Directory (Azure AD) administrator for Azure SQL Server in the current subscription.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Remove-AzureRMSqlServerActiveDirectoryAdministrator</maml:name> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Force</maml:name> - <maml:description> - <maml:para>Forces the command to run without asking for user confirmation.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the SQL Server for which this cmdlet removes an administrator.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the SQL Server for which this cmdlet removes an administrator.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>WhatIf</maml:name> - <maml:description> - <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Confirm</maml:name> - <maml:description> - <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Force</maml:name> - <maml:description> - <maml:para>Forces the command to run without asking for user confirmation.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the SQL Server for which this cmdlet removes an administrator.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the SQL Server for which this cmdlet removes an administrator.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>WhatIf</maml:name> - <maml:description> - <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>false</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Confirm</maml:name> - <maml:description> - <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>false</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.ServerActiveDirectoryAdministrator.Model.AzureSqlServerActiveDirectoryAdministratorModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.ServerActiveDirectoryAdministrator.Model.AzureSqlServerActiveDirectoryAdministratorModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Remove an administrator --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Remove-AzureRMSqlServerActiveDirectoryAdministrator -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -</dev:code> - <dev:remarks> - <maml:para>Removes the Azure AD administrator for the server named server01 that is associated with resource group resourcegroup01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>Confirm -Are you sure you want to remove the Azure Sql Server Active Directory Administrator on server &apos;server01&apos;? -[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is &quot;Y&quot;): Y - -ResourceGroupName ServerName DisplayName ObjectId ------------------ ---------- ----------- -------- -resourcegroup01 server01 DBAs 40b79501-b343-44ed-9ce7-da4c8cc7353b</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlServerActiveDirectoryAdministrator</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlServerActiveDirectoryAdministrator</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Remove-AzureRMSqlServerAuditing</command:name> - <maml:description> - <maml:para>Removes auditing of an Azure SQL server.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Remove</command:verb> - <command:noun>AzureRMSqlServerAuditing</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Remove-AzureRMSqlServerAuditing cmdlet removes the auditing of an Azure SQL server. To use this cmdlet, specify the ResourceGroupName and ServerName parameters to identify the server. After you run this cmdlet, auditing of the databases in the provided Azure SQL server, that are defined as using this policy of that Azure SQL server, is not performed. If the command succeeds, and you specify the PassThru parameter, the cmdlet returns an object that describes the current auditing policy and the Azure SQL server identifiers. Server identifiers include the ResourceGroupName and ServerName.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Remove-AzureRMSqlServerAuditing</maml:name> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>PassThru</maml:name> - <maml:description> - <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the Azure SQL server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group of the Azure SQL server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>PassThru</maml:name> - <maml:description> - <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the Azure SQL server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group of the Azure SQL server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.ServerAuditingPolicyModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.ServerAuditingPolicyModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Remove the auditing of an Azure SQL server --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Remove-AzureRMSqlDatabaseAuditing -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot;</dev:code> - <dev:remarks> - <maml:para>This command removes the auditing of all the databases located in server01 in resource group resourcegroup01 that use the policy of that server.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlDatabaseAuditingPolicy</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlDatabaseAuditingPolicy</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Remove-AzureRMSqlServerFirewallRule</command:name> - <maml:description> - <maml:para>Deletes a firewall rule from an Azure SQL Database server.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Remove</command:verb> - <command:noun>AzureRMSqlServerFirewallRule</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Remove-AzureRMSqlServerFirewallRule cmdlet deletes a firewall rule from the specified Azure SQL Database server.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Remove-AzureRMSqlServerFirewallRule</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>FirewallRuleName</maml:name> - <maml:description> - <maml:para>Specifies the name of the firewall rule that this cmdlet deletes.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Force</maml:name> - <maml:description> - <maml:para>Forces the command to run without asking for user confirmation.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of a server. This cmdlet deletes a firewall rule from the server that this parameter specifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of a resource group. This cmdlet deletes a firewall rule on a server in the resource group that this parameter specifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>WhatIf</maml:name> - <maml:description> - <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Confirm</maml:name> - <maml:description> - <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>FirewallRuleName</maml:name> - <maml:description> - <maml:para>Specifies the name of the firewall rule that this cmdlet deletes.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Force</maml:name> - <maml:description> - <maml:para>Forces the command to run without asking for user confirmation.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of a server. This cmdlet deletes a firewall rule from the server that this parameter specifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of a resource group. This cmdlet deletes a firewall rule on a server in the resource group that this parameter specifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>WhatIf</maml:name> - <maml:description> - <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>false</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Confirm</maml:name> - <maml:description> - <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>false</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.FirewallRule.Model.AzureSqlServerFirewallRuleModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Delete a rule --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Remove-AzureRMSqlServerFirewallRule -FirewallRuleName &quot;rule01&quot; -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot;</dev:code> - <dev:remarks> - <maml:para>This command deletes a firewall rule named rule01 on the server named server01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Azure SQL Database</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlServerFirewallRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>New-AzureRMSqlServerFirewallRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlServerFirewallRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Resume-AzureRMSqlDatabase</command:name> - <maml:description> - <maml:para>Resumes an Azure SQL Data Warehouse database.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Resume</command:verb> - <command:noun>AzureRMSqlDatabase</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Resume-AzureRMSqlDatabase cmdlet resumes an Azure SQL Data Warehouse database.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Resume-AzureRMSqlDatabase</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that hosts the database that this cmdlet resumes.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database that this cmdlet resumes.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the database that this cmdlet resumes.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that hosts the database that this cmdlet resumes.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database that this cmdlet resumes.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the database that this cmdlet resumes.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para>This Resume-AzureRMSqlDatabase cmdlet works only on Azure SQL Data Warehouse databases. This operation is not supported on Azure SQL Database Basic, Standard and Premium editions.</maml:para> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Resumes an Azure SQL Data Warehouse database --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Resume-AzureSqlDatabase -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot;</dev:code> - <dev:remarks> - <maml:para>This command resumes a suspended Azure SQL Data Warehouse database.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>New-AzureRMSqlDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Remove-AzureRMSqlDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Suspend-AzureRMSqlDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Set-AzureRMSqlDatabase</command:name> - <maml:description> - <maml:para>Sets properties for an Azure SQL database, or moves an existing database into an elastic pool.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Set</command:verb> - <command:noun>AzureRMSqlDatabase</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Set-AzureRMSqlDatabase cmdlet sets properties for an Azure SQL database. You can specify the ElasticPoolName parameter to move a database into an elastic pool. If database is already in an elastic pool, you can specify the RequestedServiceObjectiveName parameter to assign a performance level.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Set-AzureRMSqlDatabase</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>MaxSizeBytes</maml:name> - <maml:description> - <maml:para>Specifies the new maximum size for the database in bytes. You can specify either this parameter or MaxSizeGB. See the MaxSizeGB parameter for acceptable values based on edition.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">Int64</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Edition</maml:name> - <maml:description> - <maml:para>Specifies the edition for the database. Valid values are: --- Default --- None --- Premium --- Basic --- Standard</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">DatabaseEdition</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>RequestedServiceObjectiveName</maml:name> - <maml:description> - <maml:para>Specifies the name of the service objective to assign to the database. For information about service objectives, see Azure SQL Database Service Tiers and Performance Levels (https://msdn.microsoft.com/en-us/library/azure/dn741336.aspx) in the Microsoft Developer Library.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>ElasticPoolName</maml:name> - <maml:description> - <maml:para>Specifies name of the elastic pool in which to put the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> - <maml:name>Tags</maml:name> - <maml:description> - <maml:para>Specifies a dictionary of tags that this cmdlet associates with the new server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Dictionary`2[String]</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of resource group of the server that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>MaxSizeBytes</maml:name> - <maml:description> - <maml:para>Specifies the new maximum size for the database in bytes. You can specify either this parameter or MaxSizeGB. See the MaxSizeGB parameter for acceptable values based on edition.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">Int64</command:parameterValue> - <dev:type> - <maml:name>Int64</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Edition</maml:name> - <maml:description> - <maml:para>Specifies the edition for the database. Valid values are: --- Default --- None --- Premium --- Basic --- Standard</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">DatabaseEdition</command:parameterValue> - <dev:type> - <maml:name>DatabaseEdition</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>RequestedServiceObjectiveName</maml:name> - <maml:description> - <maml:para>Specifies the name of the service objective to assign to the database. For information about service objectives, see Azure SQL Database Service Tiers and Performance Levels (https://msdn.microsoft.com/en-us/library/azure/dn741336.aspx) in the Microsoft Developer Library.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>ElasticPoolName</maml:name> - <maml:description> - <maml:para>Specifies name of the elastic pool in which to put the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> - <maml:name>Tags</maml:name> - <maml:description> - <maml:para>Specifies a dictionary of tags that this cmdlet associates with the new server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Dictionary`2[String]</command:parameterValue> - <dev:type> - <maml:name>Dictionary`2[String]</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of resource group of the server that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Update a database to a Standard S2 database --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Set-AzureRMSqlDatabase -ResourceGroupName &quot;resourcegroup01&quot; -DatabaseName &quot;database01&quot; -ServerName &quot;server01&quot; -Edition &quot;Standard&quot; -RequestedServiceObjectiveName &quot;S2&quot;</dev:code> - <dev:remarks> - <maml:para>This command updates a database named database01 to a Standard S2 database in a server named server01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>ResourceGroupName : resourcegroup01 ServerName : server01 DatabaseName : database01 Location : Central US DatabaseId : a1e6bd1a-735a-4d48-8b98-afead5ef1218 Edition : Standard CollationName : SQL_Latin1_General_CP1_CI_AS CatalogCollation : MaxSizeBytes : 268435456000 Status : Online CreationDate : 7/3/2015 7:33:37 AM CurrentServiceObjectiveId : 455330e1-00cd-488b-b5fa-177c226f28b7 CurrentServiceObjectiveName : S2 RequestedServiceObjectiveId : 455330e1-00cd-488b-b5fa-177c226f28b7 RequestedServiceObjectiveName : ElasticPoolName : EarliestRestoreDate : Tags : -</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - <command:example> - <maml:title>-------------------------- Example 2: Add a database to an elastic pool --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Set-AzureRMSqlDatabase -ResourceGroupName &quot;resourcegroup01&quot; -DatabaseName &quot;database01&quot; -ServerName &quot;server01&quot; -ElasticPoolName &quot;elasticpool01&quot;</dev:code> - <dev:remarks> - <maml:para>The following command adds a database named database01 to the elastic pool named elasticpool01 in the server named server01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>ResourceGroupName : resourcegroup01 ServerName : server01 DatabaseName : database01 Location : Central US DatabaseId : a1e6bd1a-735a-4d48-8b98-afead5ef1218 Edition : Standard CollationName : SQL_Latin1_General_CP1_CI_AS CatalogCollation : MaxSizeBytes : 268435456000 Status : Online CreationDate : 7/3/2015 7:33:37 AM CurrentServiceObjectiveId : d1737d22-a8ea-4de7-9bd0-33395d2a7419 CurrentServiceObjectiveName : ElasticPool RequestedServiceObjectiveId : d1737d22-a8ea-4de7-9bd0-33395d2a7419 RequestedServiceObjectiveName : ElasticPoolName : elasticpool01 EarliestRestoreDate : Tags :</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>New-AzureRMSqlDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Remove-AzureRMSqlDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Resume-AzureRMSqlDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Suspend-AzureRMSqlDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Azure SQL Database</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Set-AzureRMSqlDatabaseAuditingPolicy</command:name> - <maml:description> - <maml:para>Sets the auditing policy for an Azure SQL database.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Set</command:verb> - <command:noun>AzureRMSqlDatabaseAuditingPolicy</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Set-AzureRMSqlDatabaseAuditingPolicy cmdlet changes the auditing policy of an Azure SQL database. To use the cmdlet, use the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database. Specify the StorageAccountName parameter to specify the storage account to be used for the audit logs and the StorageKeyType parameter to define which of that storage keys to use. </maml:para> - <maml:para>You can also define retention for the audit logs table by setting the value of the RetentionInDays and TableIdentifier parameters to define the period and the seed for the names of the audit logs tables. Specify the EventType parameter to define which event types to audit. </maml:para> - <maml:para>After the cmdlet runs successfully, auditing of the database is enabled. If the database used the policy of its server for auditing before you ran this cmdlet, auditing stops using the policy of its server. If the cmdlet succeeds and you use the PassThru parameter, it returns an object describing the current auditing policy, as well as the database identifiers. Database identifiers include, but are not limited to, ResourceGroupName, ServerName, and DatabaseName.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Set-AzureRMSqlDatabaseAuditingPolicy</maml:name> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>PassThru</maml:name> - <maml:description> - <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>EventType</maml:name> - <maml:description> - <maml:para>Specifies the event types to audit. Valid values are: </maml:para> - <maml:para>-- PlainSQL_Success --- PlainSQL_Failure --- ParameterizedSQL_Success --- ParameterizedSQL_Failure --- StoredProcedure_Success --- StoredProcedure_Failure --- Login_Success --- Login_Failure --- TransactionManagement_Success --- TransactionManagement_Failure --- All --- None</maml:para> - <maml:para>You can specify several event types. You can specify All to audit all of the event types or None to specify that no events will be audited. If you specify All or None at the same time, the cmdlet fails to run.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>StorageAccountName</maml:name> - <maml:description> - <maml:para>Specifies the name of the storage account to be used when auditing the database. Wildcards are not permitted. This parameter is not required. When this parameter is not provided, the cmdlet will use the storage account that was defined previously as part of the auditing policy of the database. If this is the first time a database auditing policy is defined and this parameter is not provided, the cmdlet will fail.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>StorageKeyType</maml:name> - <maml:description> - <maml:para>Specifies which of the storage access keys to use. Valid values are: </maml:para> - <maml:para>-- Primary --- Secondary</maml:para> - <maml:para>The default value is Primary.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>RetentionInDays</maml:name> - <maml:description> - <maml:para>Specifies the number of retention days for the audit logs table. A value of zero (0) means that the table is not retained. The default value is zero. If you specify a value greater than zero, you must specify a value for the TableIdentifer parameter.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Nullable`1[UInt32]</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>TableIdentifier</maml:name> - <maml:description> - <maml:para>Specifies the name of the audit logs table. Specify this value if you specify a value greater than zero for the RetentionInDays parameter.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>PassThru</maml:name> - <maml:description> - <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>EventType</maml:name> - <maml:description> - <maml:para>Specifies the event types to audit. Valid values are: </maml:para> - <maml:para>-- PlainSQL_Success --- PlainSQL_Failure --- ParameterizedSQL_Success --- ParameterizedSQL_Failure --- StoredProcedure_Success --- StoredProcedure_Failure --- Login_Success --- Login_Failure --- TransactionManagement_Success --- TransactionManagement_Failure --- All --- None</maml:para> - <maml:para>You can specify several event types. You can specify All to audit all of the event types or None to specify that no events will be audited. If you specify All or None at the same time, the cmdlet fails to run.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue> - <dev:type> - <maml:name>String[]</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>StorageAccountName</maml:name> - <maml:description> - <maml:para>Specifies the name of the storage account to be used when auditing the database. Wildcards are not permitted. This parameter is not required. When this parameter is not provided, the cmdlet will use the storage account that was defined previously as part of the auditing policy of the database. If this is the first time a database auditing policy is defined and this parameter is not provided, the cmdlet will fail.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>StorageKeyType</maml:name> - <maml:description> - <maml:para>Specifies which of the storage access keys to use. Valid values are: </maml:para> - <maml:para>-- Primary --- Secondary</maml:para> - <maml:para>The default value is Primary.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>RetentionInDays</maml:name> - <maml:description> - <maml:para>Specifies the number of retention days for the audit logs table. A value of zero (0) means that the table is not retained. The default value is zero. If you specify a value greater than zero, you must specify a value for the TableIdentifer parameter.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Nullable`1[UInt32]</command:parameterValue> - <dev:type> - <maml:name>Nullable`1[UInt32]</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>TableIdentifier</maml:name> - <maml:description> - <maml:para>Specifies the name of the audit logs table. Specify this value if you specify a value greater than zero for the RetentionInDays parameter.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.DatabaseAuditingPolicyModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Set the auditing policy of a database --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot; -StorageAccountName &quot;Storage31&quot;</dev:code> - <dev:remarks> - <maml:para>This command sets the auditing policy of database named database01 located in server01 to use the storage account named Storage31.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - <command:example> - <maml:title>-------------------------- Example 2: Set the storage account key of an existing auditing policy of a database --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot; -StorageAccountKey Secondary</dev:code> - <dev:remarks> - <maml:para>This command sets the auditing policy of database named database01 located in server01 to keep using the same storage account name, but use the secondary key.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - <command:example> - <maml:title>-------------------------- Example 3: Set the auditing policy of a database to use a specific event type --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Set-AzureRMSqlDatabaseAuditingPolicy -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot; -EventType Login_Failure</dev:code> - <dev:remarks> - <maml:para>This command sets the auditing policy of database named database01 located in server01 to log the Login_Failure event type. The command does not change the storage settings.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlDatabaseAuditingPolicy</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Remove-AzureRMSqlDatabaseAuditing</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Azure SQL Database</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Set-AzureRMSqlDatabaseDataMaskingPolicy</command:name> - <maml:description> - <maml:para>Sets data masking for an Azure SQL database.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Set</command:verb> - <command:noun>AzureRMSqlDatabaseDataMaskingPolicy</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Set-AzureRMSqlDatabaseDataMaskingPolicy cmdlet sets the data masking policy for an Azure SQL database. To use this cmdlet, use the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database. You can set the DataMaskingState parameter to specify whether data masking operations are enabled or disabled. You can also set the PrivilegedLogins parameter to specify which users are allowed to see the unmasked data. If the cmdlet succeeds and the PassThru parameter is used, it returns an object describing the current data masking policy as well as the database identifiers. Database identifiers include, but are not limited to, ResourceGroupName, ServerName, and DatabaseName.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Set-AzureRMSqlDatabaseDataMaskingPolicy</maml:name> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>PassThru</maml:name> - <maml:description> - <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>PrivilegedLogins</maml:name> - <maml:description> - <maml:para>Specifies a semicolon separated list of privileged user ids that can view the masking data.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>DataMaskingState</maml:name> - <maml:description> - <maml:para>Specifies whether data masking operation is enabled or disabled. Valid values are: --- Enabled --- Disabled</maml:para> - <maml:para>The default value is Enabled.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server containing the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group containing the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>PassThru</maml:name> - <maml:description> - <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>PrivilegedLogins</maml:name> - <maml:description> - <maml:para>Specifies a semicolon separated list of privileged user ids that can view the masking data.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>DataMaskingState</maml:name> - <maml:description> - <maml:para>Specifies whether data masking operation is enabled or disabled. Valid values are: --- Enabled --- Disabled</maml:para> - <maml:para>The default value is Enabled.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server containing the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group containing the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.DatabaseDataMaskingPolicyModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Set the data masking policy for a database --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Set-AzureRMSqlDatabaseDataMaskingPolicy -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot;</dev:code> - <dev:remarks> - <maml:para>This command sets the data masking policy from database named database01 on the server named server01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlDatabaseDataMaskingPolicy</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlDatabaseDataMaskingRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>New-AzureRMSqlDatabaseDataMaskingRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Remove-AzureRMSqlDatabaseDataMaskingRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlDatabaseDataMaskingRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Azure SQL Database</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Set-AzureRMSqlDatabaseDataMaskingRule</command:name> - <maml:description> - <maml:para>Sets the properties of a data masking rule in an Azure SQL database.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Set</command:verb> - <command:noun>AzureRMSqlDatabaseDataMaskingRule</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Set-AzureRMSqlDatabaseDataMaskingRule cmdlet is used to set a data masking rule in an Azure SQL database. To use the cmdlet, provide the ResourceGroupName, ServerName, DatabaseName, and RuleId parameters to identify the rule. You can provide any of the parameters of SchemaName, TableName, and ColumnName to retarget the rule. Specify the MaskingFunction parameter to modify how the data is masked. If you specify a value of Number or Text for MaskingFunction, you can specify the NumberFrom and NumberTo parameters for number masking or the PrefixSize, ReplacementString, and SuffixSize parameters for text masking. If the command succeeds, and if you specify the PassThru parameter, the cmdlet returns an object that describe the data masking rule properties, and the rule identifiers. Rule identifiers include, but are not limited to, ResourceGroupName, ServerName,DatabaseName and RuleId.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Set-AzureRMSqlDatabaseDataMaskingRule</maml:name> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ColumnName</maml:name> - <maml:description> - <maml:para>Specifies the name of the column that is the target of this masking rule.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>TableName</maml:name> - <maml:description> - <maml:para>Specifies the name of the table in the database of which the masked column is part.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>SchemaName</maml:name> - <maml:description> - <maml:para /> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>MaskingFunction</maml:name> - <maml:description> - <maml:para>Specifies the masking function that the rule uses. Valid values are: </maml:para> - <maml:para>-- Default --- NoMasking --- Text --- Number --- SocialSecurityNumber --- CreditCardNumber --- Email</maml:para> - <maml:para>The default value is Default.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>PrefixSize</maml:name> - <maml:description> - <maml:para>Specifies the number of characters in the beginning of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Nullable`1[UInt32]</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ReplacementString</maml:name> - <maml:description> - <maml:para>Specifies the number of characters in the end of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>SuffixSize</maml:name> - <maml:description> - <maml:para>Specifies the number of characters in the end of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Nullable`1[UInt32]</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>NumberFrom</maml:name> - <maml:description> - <maml:para>Specifies the lower bound number of the interval from which a random value is selected. Specify this parameter only if you specify a value of Number for the MaskingFunction parameter. The default value is 0.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Nullable`1[Double]</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>NumberTo</maml:name> - <maml:description> - <maml:para>Specifies the upper bound number of the interval from which a random value is selected. Specify this parameter only if you specify a value of Number for the MaskingFunction parameter. The default value is 0.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Nullable`1[Double]</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>PassThru</maml:name> - <maml:description> - <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>RuleId</maml:name> - <maml:description> - <maml:para>Specifies the identifier for the data masking rule.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ColumnName</maml:name> - <maml:description> - <maml:para>Specifies the name of the column that is the target of this masking rule.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>TableName</maml:name> - <maml:description> - <maml:para>Specifies the name of the table in the database of which the masked column is part.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>SchemaName</maml:name> - <maml:description> - <maml:para /> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>MaskingFunction</maml:name> - <maml:description> - <maml:para>Specifies the masking function that the rule uses. Valid values are: </maml:para> - <maml:para>-- Default --- NoMasking --- Text --- Number --- SocialSecurityNumber --- CreditCardNumber --- Email</maml:para> - <maml:para>The default value is Default.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>PrefixSize</maml:name> - <maml:description> - <maml:para>Specifies the number of characters in the beginning of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Nullable`1[UInt32]</command:parameterValue> - <dev:type> - <maml:name>Nullable`1[UInt32]</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ReplacementString</maml:name> - <maml:description> - <maml:para>Specifies the number of characters in the end of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>SuffixSize</maml:name> - <maml:description> - <maml:para>Specifies the number of characters in the end of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Nullable`1[UInt32]</command:parameterValue> - <dev:type> - <maml:name>Nullable`1[UInt32]</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>NumberFrom</maml:name> - <maml:description> - <maml:para>Specifies the lower bound number of the interval from which a random value is selected. Specify this parameter only if you specify a value of Number for the MaskingFunction parameter. The default value is 0.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Nullable`1[Double]</command:parameterValue> - <dev:type> - <maml:name>Nullable`1[Double]</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>NumberTo</maml:name> - <maml:description> - <maml:para>Specifies the upper bound number of the interval from which a random value is selected. Specify this parameter only if you specify a value of Number for the MaskingFunction parameter. The default value is 0.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Nullable`1[Double]</command:parameterValue> - <dev:type> - <maml:name>Nullable`1[Double]</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>PassThru</maml:name> - <maml:description> - <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>RuleId</maml:name> - <maml:description> - <maml:para>Specifies the identifier for the data masking rule.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.DatabaseDataMaskingRuleModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Change the range of a data masking rule in a database --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Set-AzureRMSqlDatabaseDataMaskingRule -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot; -RuleId &quot;Rule17&quot; -NumberFrom 23 -NumberTo 42</dev:code> - <dev:remarks> - <maml:para>This command modifies a data masking rule that has the ID Rule17. That rule operates in the database named database01 on server server01. This command changes the boundaries for the interval in which a random number is generated as the masked value. The new range is between 23 and 42.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlDatabaseDataMaskingRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>New-AzureRMSqlDatabaseDataMaskingRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Remove-AzureRMSqlDatabaseDataMaskingRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Azure SQL Database</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Set-AzureRMSqlDatabaseSecondary</command:name> - <maml:description> - <maml:para>Switches a secondary Azure SQL Database to the primary in order to failover.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Set</command:verb> - <command:noun>AzureRMSqlDatabaseSecondary</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>This cmdlet is designed as a general configuration command, but at the moment it is limited to initiating failover. Use it with the -AllowDataLoss parameter to initiate a force failover during an outage. You don’t have to specify it when performing a planned operation , such as DR drill. In the latter case the secondary databases will be synchronized with the primary before switching.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Set-AzureRMSqlDatabaseSecondary</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>The name of the Azure SQL Database Secondary.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>PartnerResourceGroupName</maml:name> - <maml:description> - <maml:para>The name of the Azure Resource Group of the partner Azure SQL Database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Failover</maml:name> - <maml:description> - <maml:para>Determines if this operation is a failover.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>AllowDataLoss</maml:name> - <maml:description> - <maml:para>Determines if this failover operation will allow data loss.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>The name of the Azure SQL Server of the Azure SQL Database Secondary.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>The name of the Azure Resource Group of the Azure SQL Database Secondary.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - <command:syntaxItem> - <maml:name>Set-AzureRMSqlDatabaseSecondary</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>The name of the Azure SQL Database Secondary.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>PartnerResourceGroupName</maml:name> - <maml:description> - <maml:para>The name of the Azure Resource Group of the partner Azure SQL Database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>The name of the Azure SQL Server of the Azure SQL Database Secondary.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>The name of the Azure Resource Group of the Azure SQL Database Secondary.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>The name of the Azure SQL Database Secondary.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>PartnerResourceGroupName</maml:name> - <maml:description> - <maml:para>The name of the Azure Resource Group of the partner Azure SQL Database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>The name of the Azure SQL Server of the Azure SQL Database Secondary.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>The name of the Azure Resource Group of the Azure SQL Database Secondary.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Failover</maml:name> - <maml:description> - <maml:para>Determines if this operation is a failover.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>AllowDataLoss</maml:name> - <maml:description> - <maml:para>Determines if this failover operation will allow data loss.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue></dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - </command:examples> - <maml:relatedLinks> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Set-AzureRMSqlDatabaseTransparentDataEncryption</command:name> - <maml:description> - <maml:para>Modifies TPE for an Azure SQL database.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Set</command:verb> - <command:noun>AzureRMSqlDatabaseTransparentDataEncryption</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Set-AzureRMSqlDatabaseTransparentDataEncryption cmdlet modifies the Transparent Data Encryption (TDE) property of an Azure SQL database. For more information, see Transparent Data Encryption with Azure SQL Database (https://msdn.microsoft.com/library/dn948096) in the Microsoft Developer Network Library.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Set-AzureRMSqlDatabaseTransparentDataEncryption</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="3"> - <maml:name>State</maml:name> - <maml:description> - <maml:para>Specifies the value of the TDE property. Valid values are: </maml:para> - <maml:para>-- Enabled --- Disabled</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">TransparentDataEncryptionStateType</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that hosts the database that this cmdlet modifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database that this cmdlet modifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the database that this cmdlet modifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="3"> - <maml:name>State</maml:name> - <maml:description> - <maml:para>Specifies the value of the TDE property. Valid values are: </maml:para> - <maml:para>-- Enabled --- Disabled</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">TransparentDataEncryptionStateType</command:parameterValue> - <dev:type> - <maml:name>TransparentDataEncryptionStateType</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that hosts the database that this cmdlet modifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database that this cmdlet modifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the database that this cmdlet modifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.TransparentDataEncryption.Model.AzureSqlDatabaseTransparentDataEncryptionModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Enable TPE for a database --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Set-AzureRMSqlDatabaseTransparentDataEncryption -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot; -State Enabled</dev:code> - <dev:remarks> - <maml:para>This command enables TPE for the database named database01 on the server named server01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>ResourceGroupName ServerName DatabaseName State ----------------- ---------- ------------ ----- resourcegroup01 server01 database01 Enabled -</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlDatabaseTransparentDataEncryption</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlDatabaseTransparentDataEncryptionActivity</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Set-AzureRMSqlElasticPool</command:name> - <maml:description> - <maml:para>Modifies properties for an elastic database pool in Azure SQL Database.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Set</command:verb> - <command:noun>AzureRMSqlElasticPool</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Set-AzureRMSqlElasticPool cmdlet modifies properties for an elastic database pool in Azure SQL Database. This cmdlet can modify the minimum Database Throughput Units (DTUs) per database, and the maximum DTUs per database, the number of DTUs for the pool, and the storage limit for the pool.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Set-AzureRMSqlElasticPool</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>ElasticPoolName</maml:name> - <maml:description> - <maml:para>Specifies the name of the elastic pool that this cmdlet modifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Edition</maml:name> - <maml:description> - <maml:para>Specifies the edition of Azure SQL Database for the elastic pool. You cannot change the edition.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">DatabaseEdition</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Dtu</maml:name> - <maml:description> - <maml:para>Specifies the total number of shared DTUs for the elastic pool. The default values for different editions are as follows: </maml:para> - <maml:para>-- Basic. 100 DTUs --- Standard. 100 DTUs --- Premium. 125 DTUs</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>StorageMB</maml:name> - <maml:description> - <maml:para>Specifies the storage limit, in megabytes, for the elastic pool. For more information, see the New-AzureRMSqlElasticPool cmdlet.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>DatabaseDtuMin</maml:name> - <maml:description> - <maml:para>Specifies the minimum number of DTUs that the elastic pool guarantees to all the databases in the pool. The default value is zero (0).</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>DatabaseDtuMax</maml:name> - <maml:description> - <maml:para>Specifies the maximum number of DTUs that any single database in the pool can consume. The default values for different editions are as follows: </maml:para> - <maml:para>-- Basic. 5 DTUs --- Standard. 100 DTUs --- Premium. 125 DTUs</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> - <maml:name>Tags</maml:name> - <maml:description> - <maml:para>Specifies a dictionary of tags that this cmdlet associates with the elastic pool.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Dictionary`2[String]</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that contains the elastic pool that this cmdlet updates.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the elastic pool that this cmdlet modifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>ElasticPoolName</maml:name> - <maml:description> - <maml:para>Specifies the name of the elastic pool that this cmdlet modifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Edition</maml:name> - <maml:description> - <maml:para>Specifies the edition of Azure SQL Database for the elastic pool. You cannot change the edition.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">DatabaseEdition</command:parameterValue> - <dev:type> - <maml:name>DatabaseEdition</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Dtu</maml:name> - <maml:description> - <maml:para>Specifies the total number of shared DTUs for the elastic pool. The default values for different editions are as follows: </maml:para> - <maml:para>-- Basic. 100 DTUs --- Standard. 100 DTUs --- Premium. 125 DTUs</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> - <dev:type> - <maml:name>Int32</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>StorageMB</maml:name> - <maml:description> - <maml:para>Specifies the storage limit, in megabytes, for the elastic pool. For more information, see the New-AzureRMSqlElasticPool cmdlet.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> - <dev:type> - <maml:name>Int32</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>DatabaseDtuMin</maml:name> - <maml:description> - <maml:para>Specifies the minimum number of DTUs that the elastic pool guarantees to all the databases in the pool. The default value is zero (0).</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> - <dev:type> - <maml:name>Int32</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>DatabaseDtuMax</maml:name> - <maml:description> - <maml:para>Specifies the maximum number of DTUs that any single database in the pool can consume. The default values for different editions are as follows: </maml:para> - <maml:para>-- Basic. 5 DTUs --- Standard. 100 DTUs --- Premium. 125 DTUs</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> - <dev:type> - <maml:name>Int32</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> - <maml:name>Tags</maml:name> - <maml:description> - <maml:para>Specifies a dictionary of tags that this cmdlet associates with the elastic pool.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Dictionary`2[String]</command:parameterValue> - <dev:type> - <maml:name>Dictionary`2[String]</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that contains the elastic pool that this cmdlet updates.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the elastic pool that this cmdlet modifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.ElasticPool.Model.AzureSqlElasticPoolModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Modify properties for an elastic pool --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Set-AzureRMSqlDatabaseElasticPool -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -ElasticPoolName &quot;elasticpool01&quot; -Dtu 1000 -DatabaseDtuMax 100 -DatabaseDtuMin 20</dev:code> - <dev:remarks> - <maml:para>This command modifies properties for an elastic pool named elasticpool01. The command sets the number of DTUs for the elastic pool to be 1000 and sets the minimum and maximum DTUs.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>ResourceId : /subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/resourcegroup01/providers/Microsoft.Sql/servers/server01/elasticPools/elasticpool01 ResourceGroupName : resourcegroup01 ServerName : server01 ElasticPoolName : elasticpool01 Location : Central US CreationDate : 8/26/2015 10:00:17 PM State : Ready Edition : Standard Dtu : 200 DatabaseDtuMax : 100 DatabaseDtuMin : 20 StorageMB : 204800 Tags : -</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Azure SQL Database</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlElasticPool</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlElasticPoolActivity</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlElasticPoolDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>New-AzureRMSqlElasticPool</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Set-AzureRMSqlServer</command:name> - <maml:description> - <maml:para>Modifies properties of an Azure SQL Database server.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Set</command:verb> - <command:noun>AzureRMSqlServer</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Set-AzureRMSqlServer cmdlet modifies properties of an Azure SQL Database server.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Set-AzureRMSqlServer</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that this cmdlet modifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>SqlAdministratorPassword</maml:name> - <maml:description> - <maml:para>Specifies a new password, as a SecureSting, for the database server administrator for the server. To obtain a SecureSting, use the Get-Credential cmdlet. For more information, type Get-Help ConvertTo-SecureString.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">SecureString</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> - <maml:name>Tags</maml:name> - <maml:description> - <maml:para>Specifies a dictionary of tags that this cmdlet associates with the server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Dictionary`2[String]</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>ServerVersion</maml:name> - <maml:description> - <maml:para>Specifies the version to which this cmdlet changes the server. Valid values are: 2.0 and 12.0.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Force</maml:name> - <maml:description> - <maml:para>Forces the command to run without asking for user confirmation.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the server that this cmdlet modifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>WhatIf</maml:name> - <maml:description> - <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Confirm</maml:name> - <maml:description> - <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that this cmdlet modifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>SqlAdministratorPassword</maml:name> - <maml:description> - <maml:para>Specifies a new password, as a SecureSting, for the database server administrator for the server. To obtain a SecureSting, use the Get-Credential cmdlet. For more information, type Get-Help ConvertTo-SecureString.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">SecureString</command:parameterValue> - <dev:type> - <maml:name>SecureString</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> - <maml:name>Tags</maml:name> - <maml:description> - <maml:para>Specifies a dictionary of tags that this cmdlet associates with the server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Dictionary`2[String]</command:parameterValue> - <dev:type> - <maml:name>Dictionary`2[String]</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>ServerVersion</maml:name> - <maml:description> - <maml:para>Specifies the version to which this cmdlet changes the server. Valid values are: 2.0 and 12.0.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Force</maml:name> - <maml:description> - <maml:para>Forces the command to run without asking for user confirmation.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the server that this cmdlet modifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>WhatIf</maml:name> - <maml:description> - <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>false</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Confirm</maml:name> - <maml:description> - <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>false</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Reset admin password on Azure SQL Server --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; $serverPassword = &quot;newpassword&quot; PS C:\&gt; $secureString = ConvertTo-SecureString $serverPassword -AsPlainText -Force -PS C:\&gt; Set-AzureSqlServer -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -SqlAdministratorPassword $secureString</dev:code> - <dev:remarks> - <maml:para>Resets the admin password to &quot;newpassword&quot; on Azure SQL Server &quot;server01&quot;.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>ResourceGroupName : resourcegroup01 ServerName : server01 Location : Australia East SqlAdministratorLogin : adminLogin SqlAdministratorPassword : ServerVersion : 12.0 Tags :</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Azure SQL Database</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Set-AzureRMSqlServerActiveDirectoryAdministrator</command:name> - <maml:description> - <maml:para>Provisions an Azure AD administrator for SQL Server.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Set</command:verb> - <command:noun>AzureRMSqlServerActiveDirectoryAdministrator</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Set-AzureRMSqlServerActiveDirectoryAdministrator cmdlet provisions an Azure Active Directory (Azure AD) administrator for Azure SQL Server in the current subscription.</maml:para> - <maml:para>Only one administrator can be provisioned at a time.</maml:para> - <maml:para>The following members of Azure AD can be provisioned as an administrator for SQL Server: </maml:para> - <maml:para>-- Native members of Azure AD --- Federated members of Azure AD --- Imported members from other Azure AD who are native or federated members --- Azure AD groups created as security groups</maml:para> - <maml:para> -Microsoft accounts, such as those in the Outllook.com, Hotmail.com, or Live.com domains, are not supported as administrators. Other guest accounts, such as those in the Gmail.com or Yahoo.com domains, are not supported as administrators.</maml:para> - <maml:para>We recommend that you provision a dedicated Azure AD group as an administrator.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Set-AzureRMSqlServerActiveDirectoryAdministrator</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DisplayName</maml:name> - <maml:description> - <maml:para>Specifies the display name of the Azure AD administrator that this cmdlet provisions for SQL Server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="3"> - <maml:name>ObjectId</maml:name> - <maml:description> - <maml:para>Specifies the unique ID of the Azure AD administrator that this cmdlet provisions for SQL Server. If the display name is not unique, you must specify a value for this parameter.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">Guid</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the SQL Server for which this cmdlet provisions an administrator.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the SQL Server for which this cmdlet provisions an administrator.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DisplayName</maml:name> - <maml:description> - <maml:para>Specifies the display name of the Azure AD administrator that this cmdlet provisions for SQL Server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="3"> - <maml:name>ObjectId</maml:name> - <maml:description> - <maml:para>Specifies the unique ID of the Azure AD administrator that this cmdlet provisions for SQL Server. If the display name is not unique, you must specify a value for this parameter.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">Guid</command:parameterValue> - <dev:type> - <maml:name>Guid</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the SQL Server for which this cmdlet provisions an administrator.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the SQL Server for which this cmdlet provisions an administrator.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.ServerActiveDirectoryAdministrator.Model.AzureSqlServerActiveDirectoryAdministratorModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Provision an administrator group for a server --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Set-AzureRMSqlServerActiveDirectoryAdministrator -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DisplayName &quot;DBAs&quot; -</dev:code> - <dev:remarks> - <maml:para>This command provisions an Azure AD administrator group DBAs for the server named server01 that is associated with resource group resourcegroup01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>ResourceGroupName ServerName DisplayName ObjectId ------------------ ---------- ----------- -------- -resourcegroup01 server01 DBAs 40b79501-b343-44ed-9ce7-da4c8cc7353b</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - <command:example> - <maml:title>-------------------------- Example 2: Provision an administrator user for a server --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Set-AzureRMSqlServerActiveDirectoryAdministrator -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DisplayName &quot;David Chew&quot; -</dev:code> - <dev:remarks> - <maml:para>This command provisions an Azure AD user David Chew as an administrator for the server named server01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>ResourceGroupName ServerName DisplayName ObjectId ------------------ ---------- ----------- -------- -resourcegroup01 server01 David Chew 11E95548-B179-4FE1-9AF4-ACA49D13ABB9</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - <command:example> - <maml:title>-------------------------- Example 3: Provision an administrator group by specifying its ID --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt;Set-AzureRMSqlServerActiveDirectoryAdministrator -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DisplayName &quot;DBAs&quot; -ObjectId &quot;40b79501-b343-44ed-9ce7-da4c8cc7353b&quot; -</dev:code> - <dev:remarks> - <maml:para>This command provisions an Azure AD administrator group DBAs for the server named server01. This command specifies an ID for the ObjectId parameter. If the display name of the object is not unique, the command still works.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>ResourceGroupName ServerName DisplayName ObjectId ------------------ ---------- ----------- -------- -resourcegroup01 server01 DBAs 40b79501-b343-44ed-9ce7-da4c8cc7353b</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlServerActiveDirectoryAdministrator</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Remove-AzureRMSqlServerActiveDirectoryAdministrator</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Set-AzureRMSqlServerAuditingPolicy</command:name> - <maml:description> - <maml:para>Changes the auditing policy of an Azure SQL server.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Set</command:verb> - <command:noun>AzureRMSqlServerAuditingPolicy</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Set-AzureRMSqlServerAuditingPolicy cmdlet changes the auditing policy of an Azure SQL server. Specify the ResourceGroupName and ServerName parameters to identify the server, the StorageAccountName parameter to specify the storage account to be used for the audit logs and the StorageKeyType parameter to define which of that storage keys to use. You can also define retention for the audit logs table by setting the value of the RetentionInDays and TableIdentifier parameters to define the period and the seed for the names of the audit logs tables. Specify the EventType parameter to define which event types to audit. After you run this cmdlet, auditing of the databases that use the policy of this server is enabled. If the cmdlet succeeds, and you specify the PassThru parameter, the cmdlet returns an object that describes the current auditing policy, and the server&#226;€™s identifiers. Server identifiers include, but are not limited to, ResourceGroupName and ServerName.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Set-AzureRMSqlServerAuditingPolicy</maml:name> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>PassThru</maml:name> - <maml:description> - <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>EventType</maml:name> - <maml:description> - <maml:para>Specifies the event types to audit. Valid values are: </maml:para> - <maml:para>-- PlainSQL_Success --- PlainSQL_Failure --- ParameterizedSQL_Success --- ParameterizedSQL_Failure --- StoredProcedure_Success --- StoredProcedure_Failure --- Login_Success --- Login_Failure --- TransactionManagement_Success --- TransactionManagement_Failure --- All --- None</maml:para> - <maml:para>You can specify several event types. You can specify All to audit all of the event types or None to specify that no events will be audited. If you specify All or None at the same time, the cmdlet fails.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>StorageAccountName</maml:name> - <maml:description> - <maml:para>Specifies the name of the storage account to be used when auditing the database. Wildcard characters are not permitted. If you do not specify this parameter, the cmdlet uses the storage account that was defined previously as part of the auditing policy of the database. If this is the first time a database auditing policy is defined and you do not specify this parameter, the cmdlet fails.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>StorageKeyType</maml:name> - <maml:description> - <maml:para>Specifies which of the storage access keys to use. Valid values are: </maml:para> - <maml:para>-- Primary --- Secondary</maml:para> - <maml:para>The default value is Primary.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>RetentionInDays</maml:name> - <maml:description> - <maml:para>Specifies the number of retention days for the audit logs table. A value of zero (0) means that the table is not retained. The default value is zero. If you specify a value greater than zero, you must specify a value for the TableIdentifer parameter.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Nullable`1[UInt32]</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>TableIdentifier</maml:name> - <maml:description> - <maml:para>Specifies the name of the audit logs table. Specify this value if you specify a value greater than zero for the RetentionInDays parameter.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>PassThru</maml:name> - <maml:description> - <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>EventType</maml:name> - <maml:description> - <maml:para>Specifies the event types to audit. Valid values are: </maml:para> - <maml:para>-- PlainSQL_Success --- PlainSQL_Failure --- ParameterizedSQL_Success --- ParameterizedSQL_Failure --- StoredProcedure_Success --- StoredProcedure_Failure --- Login_Success --- Login_Failure --- TransactionManagement_Success --- TransactionManagement_Failure --- All --- None</maml:para> - <maml:para>You can specify several event types. You can specify All to audit all of the event types or None to specify that no events will be audited. If you specify All or None at the same time, the cmdlet fails.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue> - <dev:type> - <maml:name>String[]</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>StorageAccountName</maml:name> - <maml:description> - <maml:para>Specifies the name of the storage account to be used when auditing the database. Wildcard characters are not permitted. If you do not specify this parameter, the cmdlet uses the storage account that was defined previously as part of the auditing policy of the database. If this is the first time a database auditing policy is defined and you do not specify this parameter, the cmdlet fails.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>StorageKeyType</maml:name> - <maml:description> - <maml:para>Specifies which of the storage access keys to use. Valid values are: </maml:para> - <maml:para>-- Primary --- Secondary</maml:para> - <maml:para>The default value is Primary.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>RetentionInDays</maml:name> - <maml:description> - <maml:para>Specifies the number of retention days for the audit logs table. A value of zero (0) means that the table is not retained. The default value is zero. If you specify a value greater than zero, you must specify a value for the TableIdentifer parameter.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Nullable`1[UInt32]</command:parameterValue> - <dev:type> - <maml:name>Nullable`1[UInt32]</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>TableIdentifier</maml:name> - <maml:description> - <maml:para>Specifies the name of the audit logs table. Specify this value if you specify a value greater than zero for the RetentionInDays parameter.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the database.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.ServerAuditingPolicyModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Set the auditing policy of an Azure SQL server --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Set-AzureRMSqlServerAuditingPolicy -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -StorageAccountName &quot;Storage22&quot;</dev:code> - <dev:remarks> - <maml:para>This command sets the auditing policy of the server named server01 to use storage account named Storage22.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - <command:example> - <maml:title>-------------------------- Example 2: Set the storage account key of an already existing auditing policy of an Azure SQL server --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Set-AzureRMSqlServerAuditingPolicy -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -StorageAccountKey Secondary</dev:code> - <dev:remarks> - <maml:para>This command sets the auditing policy of the server named server01 to use the secondary key. The command does not modify the storage account name.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - <command:example> - <maml:title>-------------------------- Example 3: Set the auditing policy of an Azure SQL server to use a specific event type --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Set-AzureRMSqlServerAuditingPolicy -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -EventType Login_Failure</dev:code> - <dev:remarks> - <maml:para>This command sets the auditing policy of the server named server01 to use the Login_Failure event type. This command does not modify any other setting.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlServerAuditingPolicy</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Use-AzureRMSqlServerAuditingPolicy</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Set-AzureRMSqlServerFirewallRule</command:name> - <maml:description> - <maml:para>Modifies a firewall rule in Azure SQL Database server.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Set</command:verb> - <command:noun>AzureRMSqlServerFirewallRule</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Set-AzureRMSqlServerFirewallRule cmdlet modifies a firewall rule in Azure SQL Database server.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Set-AzureRMSqlServerFirewallRule</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>FirewallRuleName</maml:name> - <maml:description> - <maml:para>Specifies the name of the firewall rule that this cmdlet modifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>StartIpAddress</maml:name> - <maml:description> - <maml:para>Specifies the start value of the IP address range for the firewall rule.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>EndIpAddress</maml:name> - <maml:description> - <maml:para>Specifies the end value of the IP address range for this rule.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of a server. This cmdlet modifies a firewall rule on the server that this parameter specifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of a resource group. This cmdlet modifies a firewall rule on a server in the resource group that this cmdlet specifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>FirewallRuleName</maml:name> - <maml:description> - <maml:para>Specifies the name of the firewall rule that this cmdlet modifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>StartIpAddress</maml:name> - <maml:description> - <maml:para>Specifies the start value of the IP address range for the firewall rule.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>EndIpAddress</maml:name> - <maml:description> - <maml:para>Specifies the end value of the IP address range for this rule.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of a server. This cmdlet modifies a firewall rule on the server that this parameter specifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of a resource group. This cmdlet modifies a firewall rule on a server in the resource group that this cmdlet specifies.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.FirewallRule.Model.AzureSqlServerFirewallRuleModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Modify a firewall rule --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Set-AzureRMSqlServerFirewallRule -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -FirewallRuleName &quot;rule01&quot; -StartIpAddress &quot;192.168.0.197&quot; -EndIpAddress &quot;192.168.0.199&quot;</dev:code> - <dev:remarks> - <maml:para>This command modifies a firewall rule named rule01 on the server named server01. The command modifies the start and end IP addresses.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>ResourceGroupName : resourcegroup01 ServerName : server01 StartIpAddress : 192.168.0.199 EndIpAddress : 192.168.0.200 FirewallRuleName : rule01</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Azure SQL Database</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlServerFirewallRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>New-AzureRMSqlServerFirewallRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Remove-AzureRMSqlServerFirewallRule</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Start-AzureRMSqlDatabaseExecuteIndexRecommendation</command:name> - <maml:description> - <maml:para>Starts the workflow that runs a recommended index operation.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Start</command:verb> - <command:noun>AzureRMSqlDatabaseExecuteIndexRecommendation</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Start-AzureRMSqlDatabaseExecuteIndexRecommendation cmdlet starts the workflow that runs a recommended index operation in Azure SQL Database.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Start-AzureRMSqlDatabaseExecuteIndexRecommendation</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the server that hosts the database for which this cmdlet starts a workflow.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database for which this cmdlet starts the workflow.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>IndexRecommendationName</maml:name> - <maml:description> - <maml:para>Specifies the name of the index recommendation that this cmdlet runs.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the server. This cmdlet starts a workflow on a database that this server hosts.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the server that hosts the database for which this cmdlet starts a workflow.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database for which this cmdlet starts the workflow.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>IndexRecommendationName</maml:name> - <maml:description> - <maml:para>Specifies the name of the index recommendation that this cmdlet runs.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the server. This cmdlet starts a workflow on a database that this server hosts.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Run an index recommendation --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Start-AzureRMSqlDatabaseExecuteIndexRecommendation -ResourceGroup &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot; -IndexRecommendationName &quot;INDEX_NAME&quot;</dev:code> - <dev:remarks> - <maml:para>This command runs index recommendation.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlDatabaseIndexRecommendations</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Stop-AzureRMSqlDatabaseExecuteIndexRecommendation</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Start-AzureRMSqlServerUpgrade</command:name> - <maml:description> - <maml:para>Starts the upgrade of an Azure SQL Database server.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Start</command:verb> - <command:noun>AzureRMSqlServerUpgrade</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Start-AzureRMSqlServerUpgrade cmdlet starts the upgrade of an Azure SQL Database server version 11 to version 12. Monitor the progress of an upgrade by using the Get-AzureRMSqlServerUpgrade cmdlet.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Start-AzureRMSqlServerUpgrade</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>ServerVersion</maml:name> - <maml:description> - <maml:para>Specifies the version to which this cmdlet upgrades the server. Currently, the only valid value is 12.0.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> - <maml:name>ScheduleUpgradeAfterUtcDateTime</maml:name> - <maml:description> - <maml:para>Specifies the earliest time, as a DateTime object, to upgrade the server. Specify a value in the ISO8601 format, in Coordinated Universal Time (UTC). For more information, type Get-Help Get-Date.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Nullable`1[DateTime]</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> - <maml:name>DatabaseCollection</maml:name> - <maml:description> - <maml:para>Specifies an array of RecommendedDatabaseProperties objects that this cmdlet uses for the server upgrade.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">RecommendedDatabaseProperties[]</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> - <maml:name>ElasticPoolCollection</maml:name> - <maml:description> - <maml:para>Collection of UpgradeRecommendedElasticPoolProperties objects to be used for the server upgrade. Check the examples on how to construct a sample object.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">UpgradeRecommendedElasticPoolProperties[]</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that this cmdlet upgrades.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group in which this cmdlet upgrades a server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>ServerVersion</maml:name> - <maml:description> - <maml:para>Specifies the version to which this cmdlet upgrades the server. Currently, the only valid value is 12.0.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> - <maml:name>ScheduleUpgradeAfterUtcDateTime</maml:name> - <maml:description> - <maml:para>Specifies the earliest time, as a DateTime object, to upgrade the server. Specify a value in the ISO8601 format, in Coordinated Universal Time (UTC). For more information, type Get-Help Get-Date.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">Nullable`1[DateTime]</command:parameterValue> - <dev:type> - <maml:name>Nullable`1[DateTime]</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> - <maml:name>DatabaseCollection</maml:name> - <maml:description> - <maml:para>Specifies an array of RecommendedDatabaseProperties objects that this cmdlet uses for the server upgrade.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">RecommendedDatabaseProperties[]</command:parameterValue> - <dev:type> - <maml:name>RecommendedDatabaseProperties[]</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> - <maml:name>ElasticPoolCollection</maml:name> - <maml:description> - <maml:para>Collection of UpgradeRecommendedElasticPoolProperties objects to be used for the server upgrade. Check the examples on how to construct a sample object.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="true">UpgradeRecommendedElasticPoolProperties[]</command:parameterValue> - <dev:type> - <maml:name>UpgradeRecommendedElasticPoolProperties[]</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that this cmdlet upgrades.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group in which this cmdlet upgrades a server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.ServerUpgrade.Model.AzureSqlServerUpgradeModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Upgrade a Simple server --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Start-AzureRMSqlServerUpgrade -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -ServerVersion 12.0</dev:code> - <dev:remarks> - <maml:para>This command upgrades the server named server01 in resource group named resourcegroup01 to version 12.0. server01 must currently be version 2.0.</maml:para> - <maml:para /> - <maml:para /> - <maml:para>ResourceGroupName : resourcegroup01 -ServerName : server01 -ServerVersion : 12.0 -ScheduleUpgradeAfterUtcDateTime : -DatabaseCollection :</maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - <command:example> - <maml:title>-------------------------- Example 2: Upgrade server by using schedule time and database recommendation --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; $ScheduleTime = (Get-Date).AddMinutes(5).ToUniversalTime() -PS C:\&gt; $DatabaseMap = New-Object -TypeName Microsoft.Azure.Management.Sql.Models.RecommendedDatabaseProperties -PS C:\&gt; $DatabaseMap.Name = &quot;contosodb&quot; -PS C:\&gt; $DatabaseMap.TargetEdition = &quot;Standard&quot; -PS C:\&gt; $DatabaseMap.TargetServiceLevelObjective = &quot;S0&quot; -PS C:\&gt; Start-AzureRMSqlServerUpgrade -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -ServerVersion 12.0 -ScheduleUpgradeAfterUtcDateTime $ScheduleTime -DatabaseCollection ($DatabaseMap)</dev:code> - <dev:remarks> - <maml:para>The first command creates a time five minutes in the future by using the Get-Date core cmdlet. The command stores the date in the $ScheduleTime variable. For more information, type Get-Help Get-Date. -The second command creates a RecommendedDatabaseProperties object, and then stores that object in the $DatabaseMap variable. -The next three commands assign values to properties of the object stored in $DatabaseMap. -The final command upgrades the existing server named server02 in the resource group named resourcegroup01 to version 12.0. The earliest time to upgrade is five minutes after you run the command, as specified by the $ScheduleTime variable. After the upgrade, the database contosodb has the edition Standard and the Service Level Objective value of S0.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlServerUpgrade</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Stop-AzureRMSqlServerUpgrade</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Stop-AzureRMSqlDatabaseExecuteIndexRecommendation</command:name> - <maml:description> - <maml:para>Stops the workflow that runs a recommended index operation.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Stop</command:verb> - <command:noun>AzureRMSqlDatabaseExecuteIndexRecommendation</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Stop-AzureRMSqlDatabaseExecuteIndexRecommendation cmdlet stops the workflow that runs a recommended index operation.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Stop-AzureRMSqlDatabaseExecuteIndexRecommendation</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the server that hosts the database for which this cmdlet stops a workflow.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database for which this cmdlet stops the workflow.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>IndexRecommendationName</maml:name> - <maml:description> - <maml:para>Specifies the name of the index recommendation that this cmdlet stops.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the server. This cmdlet stops a workflow on a database that this server hosts.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the server that hosts the database for which this cmdlet stops a workflow.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database for which this cmdlet stops the workflow.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>IndexRecommendationName</maml:name> - <maml:description> - <maml:para>Specifies the name of the index recommendation that this cmdlet stops.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the server. This cmdlet stops a workflow on a database that this server hosts.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Stop running an index recommendation --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Stop-AzureRMSqlDatabaseExecuteIndexRecommendation -ResourceGroup &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot; -IndexRecommendationName &quot;INDEX_NAME&quot;</dev:code> - <dev:remarks> - <maml:para>This command stops running the index recommendation.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlDatabaseIndexRecommendations</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Start-AzureRMSqlDatabaseExecuteIndexRecommendation</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Stop-AzureRMSqlServerUpgrade</command:name> - <maml:description> - <maml:para>Stops the upgrade of an Azure SQL Database server.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Stop</command:verb> - <command:noun>AzureRMSqlServerUpgrade</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Stop-AzureRMSqlServerUpgrade cmdlet stops the upgrade of an Azure SQL Database server.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Stop-AzureRMSqlServerUpgrade</maml:name> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Force</maml:name> - <maml:description> - <maml:para>Forces the command to run without asking for user confirmation.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server for which this cmdlet stops an upgrade.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group in which this cmdlet stops the upgrade of a server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>WhatIf</maml:name> - <maml:description> - <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Confirm</maml:name> - <maml:description> - <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Force</maml:name> - <maml:description> - <maml:para>Forces the command to run without asking for user confirmation.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server for which this cmdlet stops an upgrade.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group in which this cmdlet stops the upgrade of a server.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>WhatIf</maml:name> - <maml:description> - <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>false</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Confirm</maml:name> - <maml:description> - <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>false</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.ServerUpgrade.Model.AzureSqlServerUpgradeModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Stop a server upgrade --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Stop-AzureRMSqlServerUpgrade -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server02&quot;</dev:code> - <dev:remarks> - <maml:para>This command stops the request to upgrade the server named server02 in the resource group named resourcegroup01.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlServerUpgrade</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Start-AzureRMSqlServerUpgrade</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Suspend-AzureRMSqlDatabase</command:name> - <maml:description> - <maml:para>Suspends an Azure SQL Data Warehouse database.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Suspend</command:verb> - <command:noun>AzureRMSqlDatabase</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Suspend-AzureRMSqlDatabase cmdlet suspends an Azure SQL Data Warehouse database.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Suspend-AzureRMSqlDatabase</maml:name> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server which hosts the database that this cmdlet suspends.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database that this cmdlet suspends.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server which hosts the database that this cmdlet suspends.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database that this cmdlet suspends.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para>This Suspend-AzureRMSqlDatabase cmdlet works only on Azure SQL Data Warehouse databases. This operation is not supported on Azure SQL Database Basic, Standard and Premium editions.</maml:para> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Suspends an Azure SQL Data Warehouse database --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Suspend-AzureSqlDatabase -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot;</dev:code> - <dev:remarks> - <maml:para>This command suspends an active Azure SQL Data Warehouse database.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>New-AzureRMSqlDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Remove-AzureRMSqlDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Resume-AzureRMSqlDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlDatabase</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> -<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> -<!--Generated by PS Cmdlet Help Editor--> - <command:details> - <command:name>Use-AzureRMSqlServerAuditingPolicy</command:name> - <maml:description> - <maml:para>Specifies that a database uses the auditing policy of its hosting server.</maml:para> - </maml:description> - <maml:copyright> - <maml:para /> - </maml:copyright> - <command:verb>Use</command:verb> - <command:noun>AzureRMSqlServerAuditingPolicy</command:noun> - <dev:version /> - </command:details> - <maml:description> - <maml:para>The Use-AzureRMSqlServerAuditingPolicy cmdlet specifies that a database uses the auditing policy of its host server. Specify the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database. If no auditing policy is defined for the database server, this cmdlet fails.</maml:para> - </maml:description> - <command:syntax> - <command:syntaxItem> - <maml:name>Use-AzureRMSqlServerAuditingPolicy</maml:name> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>PassThru</maml:name> - <maml:description> - <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that hosts the database to use the auditing policy.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database to use the auditing policy.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the database to use the auditing policy.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - </command:parameter> - </command:syntaxItem> - </command:syntax> - <command:parameters> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>PassThru</maml:name> - <maml:description> - <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> - </maml:description> - <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> - <dev:type> - <maml:name>SwitchParameter</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> - <maml:name>ServerName</maml:name> - <maml:description> - <maml:para>Specifies the name of the server that hosts the database to use the auditing policy.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> - <maml:name>DatabaseName</maml:name> - <maml:description> - <maml:para>Specifies the name of the database to use the auditing policy.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> - <maml:name>ResourceGroupName</maml:name> - <maml:description> - <maml:para>Specifies the name of the resource group that contains the database to use the auditing policy.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">String</command:parameterValue> - <dev:type> - <maml:name>String</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> - <maml:name>Profile</maml:name> - <maml:description> - <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> - </maml:description> - <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> - <dev:type> - <maml:name>azureprofile</maml:name> - <maml:uri/> - </dev:type> - <dev:defaultValue>none</dev:defaultValue> - </command:parameter> - </command:parameters> - <command:inputTypes> - <command:inputType> - <dev:type> - <maml:name></maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:inputType> - </command:inputTypes> - <command:returnValues> - <command:returnValue> - <dev:type> - <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.DatabaseAuditingPolicyModel</maml:name> - <maml:uri></maml:uri> - <maml:description/> - </dev:type> - <maml:description> -<maml:para /> - </maml:description> - </command:returnValue> - </command:returnValues> - <command:terminatingErrors></command:terminatingErrors> - <command:nonTerminatingErrors></command:nonTerminatingErrors> - <maml:alertSet> - <maml:title></maml:title> - <maml:alert> - <maml:para /> - </maml:alert> - </maml:alertSet> - <command:examples> - <command:example> - <maml:title>-------------------------- Example 1: Define for a database to use the auditing policy of its server --------------------------</maml:title> - <maml:introduction> - <maml:paragraph>PS C:\&gt;</maml:paragraph> - </maml:introduction> - <dev:code>PS C:\&gt; Use-AzureRMSqlServerAuditingPolicy -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server02&quot; -DatabaseName &quot;database01&quot;</dev:code> - <dev:remarks> - <maml:para>This command specifies that the database named database01 on server01 uses the auditing policy of its server.</maml:para> - <maml:para /> - <maml:para /> - <maml:para></maml:para> - </dev:remarks> - <command:commandLines> - <command:commandLine> - <command:commandText> - <maml:para /> - </command:commandText> - </command:commandLine> - </command:commandLines> - </command:example> - </command:examples> - <maml:relatedLinks> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlDatabaseAuditingPolicy</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Get-AzureRMSqlServerAuditingPolicy</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlDatabaseAuditingPolicy</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - <maml:navigationLink> - <maml:linkText>Set-AzureRMSqlServerAuditingPolicy</maml:linkText> - <maml:uri></maml:uri> - </maml:navigationLink> - </maml:relatedLinks> -</command:command> +<?xml version="1.0" encoding="utf-8"?><helpItems schema="maml"> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Get-AzureRmSqlCapability</command:name> + <maml:description> + <maml:para>Gets SQL Database capabilities for the current subscription.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Get</command:verb> + <command:noun>AzureRMSqlCapability</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Get-AzureRmSqlCapability cmdlet gets the Azure SQL Database capabilities available on the current subscription for a region. If you specify the ServerVersionName, EditionName, or ServiceObjectiveName parameters, this cmdlet returns the specified values and their predecessors.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Get-AzureRmSqlCapability</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>LocationName</maml:name> + <maml:description> + <maml:para>Specifies the name of the Location for which this cmdlet gets capabilities. For more information, see Azure Regions (http://azure.microsoft.com/en-us/regions/).</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Defaults</maml:name> + <maml:description> + <maml:para>Indicates that this cmdlet gets only defaults.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + </command:syntaxItem> + <command:syntaxItem> + <maml:name>Get-AzureRmSqlCapability</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>LocationName</maml:name> + <maml:description> + <maml:para>Specifies the name of the Location for which this cmdlet gets capabilities. For more information, see Azure Regions (http://azure.microsoft.com/en-us/regions/).</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ServerVersionName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server version for which this cmdlet gets capabilities.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>EditionName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database edition for which this cmdlet gets capabilities.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ServiceObjectiveName</maml:name> + <maml:description> + <maml:para>Specifies the name of the service objective for which this cmdlet gets capabilities.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>LocationName</maml:name> + <maml:description> + <maml:para>Specifies the name of the Location for which this cmdlet gets capabilities. For more information, see Azure Regions (http://azure.microsoft.com/en-us/regions/).</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ServerVersionName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server version for which this cmdlet gets capabilities.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>EditionName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database edition for which this cmdlet gets capabilities.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ServiceObjectiveName</maml:name> + <maml:description> + <maml:para>Specifies the name of the service objective for which this cmdlet gets capabilities.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Defaults</maml:name> + <maml:description> + <maml:para>Indicates that this cmdlet gets only defaults.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Location_Capabilities.Model.LocationCapabilityModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Get capabilities for the current subscription for a region --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlCapability -LocationName &quot;Central US&quot;</dev:code> + <dev:remarks> + <maml:para>This command returns the capabilities for SQL Database on the current subscription for the Central US region.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>Location : Central US +Status : Available +SupportedServerVersions : {12.0, 2.0}</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + <command:example> + <maml:title>-------------------------- Example 2: Get default capabilities for the current subscription for a region --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlCapability -LocationName &quot;Central US&quot; -Defaults</dev:code> + <dev:remarks> + <maml:para>This command returns the default capabilities for SQL Database on the current subscription in the Central US region.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>Location : Central US +Status : Available +ExpandedDetails : Version: 2.0 (Default) -&gt; Edition: Standard (Default) -&gt; Service Objective: S0 (Default)</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + <command:example> + <maml:title>-------------------------- Example 3: Get details for a service objective --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlCapability -LocationName &quot;Central US&quot; -ServiceObjectiveName &quot;S1&quot;</dev:code> + <dev:remarks> + <maml:para>This command gets default capabilities for SQL Database for the specified service objective on the current subscription.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>Location : Central US +Status : Available +ExpandedDetails : Version: 12.0 (Available) -&gt; Edition: Standard (Default) -&gt; Service Objective: S1 (Available) + Version: 2.0 (Default) -&gt; Edition: Standard (Default) -&gt; Service Objective: S1 (Available)</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Azure SQL Database Cmdlets</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Get-AzureRmSqlDatabase</command:name> + <maml:description> + <maml:para>Gets one or more Azure SQL databases.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Get</command:verb> + <command:noun>AzureRMSqlDatabase</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Get-AzureRmSqlDatabase cmdlet gets one or more Azure SQL databases from an Azure SQL Database Server.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Get-AzureRmSqlDatabase</maml:name> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database to retrieve.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server the database is in.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group of the server that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database to retrieve.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server the database is in.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group of the server that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Get all databases on a server --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlDatabase -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot;</dev:code> + <dev:remarks> + <maml:para>This command gets all databases on the server named server01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>ResourceGroupName : resourcegroup01 +ServerName : server01 +DatabaseName : master +Location : Central US +DatabaseId : a2a7f2db-7526-4d86-a7b2-36276ee10dc6 +Edition : None +CollationName : SQL_Latin1_General_CP1_CI_AS +CatalogCollation : +MaxSizeBytes : 5368709120 +Status : Online +CreationDate : 7/3/2015 7:32:44 AM +CurrentServiceObjectiveId : c99ac918-dbea-463f-a475-16ec020fdc12 +CurrentServiceObjectiveName : System1 +RequestedServiceObjectiveId : c99ac918-dbea-463f-a475-16ec020fdc12 +RequestedServiceObjectiveName : +ElasticPoolName : +EarliestRestoreDate : +Tags : + +ResourceGroupName : resourcegroup01 +ServerName : server01 +DatabaseName : database01 +Location : Central US +DatabaseId : a1e6bd1a-735a-4d48-8b98-afead5ef1218 +Edition : Standard +CollationName : SQL_Latin1_General_CP1_CI_AS +CatalogCollation : +MaxSizeBytes : 268435456000 +Status : Online +CreationDate : 7/3/2015 7:33:37 AM +CurrentServiceObjectiveId : f1173c43-91bd-4aaa-973c-54e79e15235b +CurrentServiceObjectiveName : S0 +RequestedServiceObjectiveId : f1173c43-91bd-4aaa-973c-54e79e15235b +RequestedServiceObjectiveName : +ElasticPoolName : +EarliestRestoreDate : +Tags :</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + <command:example> + <maml:title>-------------------------- Example 2: Get a database by name on a server --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlDatabase -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot;</dev:code> + <dev:remarks> + <maml:para>This command gets a database named Database02 from a server named Server01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>ResourceGroupName : resourcegroup01 +ServerName : server01 +DatabaseName : database01 +Location : Central US +DatabaseId : a1e6bd1a-735a-4d48-8b98-afead5ef1218 +Edition : Standard +CollationName : SQL_Latin1_General_CP1_CI_AS +CatalogCollation : +MaxSizeBytes : 268435456000 +Status : Online +CreationDate : 7/3/2015 7:33:37 AM +CurrentServiceObjectiveId : f1173c43-91bd-4aaa-973c-54e79e15235b +CurrentServiceObjectiveName : S0 +RequestedServiceObjectiveId : f1173c43-91bd-4aaa-973c-54e79e15235b +RequestedServiceObjectiveName : +ElasticPoolName : +EarliestRestoreDate : +Tags :</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>New-AzureRmSqlDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Remove-AzureRmSqlDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Resume-AzureRmSqlDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Suspend-AzureRmSqlDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Azure SQL Database</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Get-AzureRmSqlDatabaseActivity</command:name> + <maml:description> + <maml:para>Gets the status of moving elastic databases.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Get</command:verb> + <command:noun>AzureRMSqlDatabaseActivity</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Get-AzureRmSqlDatabaseActivity cmdlet gets the status of moving elastic databases into or out of an elastic database pool in Azure SQL Database.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Get-AzureRmSqlDatabaseActivity</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the SQL Server that hosts the elastic database pool.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ElasticPoolName</maml:name> + <maml:description> + <maml:para>Specifies the name of the elastic database pool for which this cmdlet gets status.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database for which this cmdlet gets status.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>OperationId</maml:name> + <maml:description> + <maml:para>Specifies the ID of the operation that this cmdlet gets.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Nullable`1[Guid]</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the database for which this cmdlet gets status.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the SQL Server that hosts the elastic database pool.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ElasticPoolName</maml:name> + <maml:description> + <maml:para>Specifies the name of the elastic database pool for which this cmdlet gets status.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database for which this cmdlet gets status.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>OperationId</maml:name> + <maml:description> + <maml:para>Specifies the ID of the operation that this cmdlet gets.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Nullable`1[Guid]</command:parameterValue> + <dev:type> + <maml:name>Nullable`1[Guid]</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the database for which this cmdlet gets status.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseActivityModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Get status for all SQL Database instances --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlDatabaseActivity -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -ElasticPoolName &quot;elasticPool01&quot;</dev:code> + <dev:remarks> + <maml:para>This command returns the operation status of all SQL Database instances in an elastic pool named elasticPool01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Get-AzureRmSqlDatabaseAuditingPolicy</command:name> + <maml:description> + <maml:para>Gets the auditing policy of an Azure SQL database.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Get</command:verb> + <command:noun>AzureRMSqlDatabaseAuditingPolicy</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Get-AzureRmSqlDatabaseAuditingPolicy cmdlet gets the auditing policy of an Azure SQL database. To use the cmdlet, use the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Get-AzureRmSqlDatabaseAuditingPolicy</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.DatabaseAuditingPolicyModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Get the auditing policy of an Azure SQL database --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot;</dev:code> + <dev:remarks> + <maml:para>This command gets the auditing policy of database database01 located in server01 in resource group resourcegroup01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>DatabaseName : database01 +UseServerDefault : Disabled +ResourceGroupName : resourcegroup01 +ServerName : server01 +StorageAccountName : +StorageKeyType : Primary +EventType : {PlainSQL_Success, PlainSQL_Failure, ParameterizedSQL_Success, ParameterizedSQL_Failure...} +AuditState : New +RetentionInDays : 0 +TableIdentifier : Server01Database01</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Remove-AzureRmSqlDatabaseAuditing</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlDatabaseAuditingPolicy</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Azure SQL Database</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Get-AzureRmSqlDatabaseDataMaskingPolicy</command:name> + <maml:description> + <maml:para>Gets the data masking policy for an Azure SQL database.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Get</command:verb> + <command:noun>AzureRMSqlDatabaseDataMaskingPolicy</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Get-AzureRmSqlDatabaseDataMaskingPolicy cmdlet gets the data masking policy of an Azure SQL database. To use this cmdlet, use the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Get-AzureRmSqlDatabaseDataMaskingPolicy</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server containing the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group containing the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server containing the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group containing the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.DatabaseDataMaskingPolicyModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Get the data masking policy for an Azure SQL database --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlDatabaseDataMaskingPolicy -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot;</dev:code> + <dev:remarks> + <maml:para>This command gets the data masking policy from database database01 in resource group resourcegroup01 contained in server server01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>DatabaseName : database01 +ResourceGroupName : resourcegroup01 +ServerName : server01 +DataMaskingState : Uninitialized +PrivilegedLogins :</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlDatabaseDataMaskingRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>New-AzureRmSqlDatabaseDataMaskingRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Remove-AzureRmSqlDatabaseDataMaskingRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlDatabaseDataMaskingPolicy</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlDatabaseDataMaskingRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Azure SQL Database</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Get-AzureRmSqlDatabaseDataMaskingRule</command:name> + <maml:description> + <maml:para>Gets the data masking rules from an Azure SQL database.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Get</command:verb> + <command:noun>AzureRMSqlDatabaseDataMaskingRule</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Get-AzureRmSqlDatabaseDataMaskingRule cmdlet gets either a specific data masking rule, or all of the data masking rules of an Azure SQL database. To use the cmdlet, use the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database, and the RuleId parameter to specify which rule this cmdlet returns. If you do not provide RuleId, then all the data masking rules of that Azure SQL database are returned.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Get-AzureRmSqlDatabaseDataMaskingRule</maml:name> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>RuleId</maml:name> + <maml:description> + <maml:para>Specifies the ID of the requested rule. If you do not specify this parameter, this cmdlet gets all the information about all the data masking rules in the specified SQL database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group containing the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>RuleId</maml:name> + <maml:description> + <maml:para>Specifies the ID of the requested rule. If you do not specify this parameter, this cmdlet gets all the information about all the data masking rules in the specified SQL database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group containing the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.DatabaseDataMaskingRuleModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Get all data masking rules from a database --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot;</dev:code> + <dev:remarks> + <maml:para>This command gets all data masking rules from database01 in resource group resourcegroup01 contained in server server01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlDatabaseDataMaskingPolicy</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>New-AzureRmSqlDatabaseDataMaskingRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Remove-AzureRmSqlDatabaseDataMaskingRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlDatabaseDataMaskingPolicy</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlDatabaseDataMaskingRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Azure SQL Database</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Get-AzureRmSqlDatabaseExpanded</command:name> + <maml:description> + <maml:para /> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Get</command:verb> + <command:noun>AzureRMSqlDatabaseExpanded</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para /> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Get-AzureRmSqlDatabaseExpanded</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para /> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para /> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para /> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para /> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para /> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para /> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para /> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + </command:examples> + <maml:relatedLinks> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Get-AzureRmSqlDatabaseIndexRecommendations</command:name> + <maml:description> + <maml:para>Gets the recommended index operations for a server or database.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Get</command:verb> + <command:noun>AzureRMSqlDatabaseIndexRecommendations</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Get-AzureRmSqlDatabaseIndexRecommendations cmdlet gets the recommended index operations for a server or database in Azure SQL Database.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Get-AzureRmSqlDatabaseIndexRecommendations</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the server that hosts the database for which this cmdlet gets index recommendations.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database for which this cmdlet gets the index recommendations.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>TableName</maml:name> + <maml:description> + <maml:para>Specifies the name of an Azure SQL Table.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>IndexRecommendationName</maml:name> + <maml:description> + <maml:para>Specifies the name of the index recommendation that this cmdlet gets.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the server. This cmdlet gets index recommendations for a database that this server hosts.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the server that hosts the database for which this cmdlet gets index recommendations.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database for which this cmdlet gets the index recommendations.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>TableName</maml:name> + <maml:description> + <maml:para>Specifies the name of an Azure SQL Table.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>IndexRecommendationName</maml:name> + <maml:description> + <maml:para>Specifies the name of the index recommendation that this cmdlet gets.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the server. This cmdlet gets index recommendations for a database that this server hosts.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Get index recommendations for all databases on server --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlDatabaseIndexRecommendations -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot;</dev:code> + <dev:remarks> + <maml:para>This command returns index recommendations for all databases on server.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + <command:example> + <maml:title>-------------------------- Example 2: Get index recommendations for a specific database --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlDatabaseIndexRecommendations -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot;</dev:code> + <dev:remarks> + <maml:para>This command returns index recommendations for specific database.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + <command:example> + <maml:title>-------------------------- Example 3: Get a single index recommendation by name --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlDatabaseIndexRecommendations -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DtabaseName &quot;database01&quot; -IndexRecommendationName &quot;INDEX_NAME&quot;</dev:code> + <dev:remarks> + <maml:para>This command returns single index recommendation by name.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Start-AzureRmSqlDatabaseExecuteIndexRecommendation</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Stop-AzureRmSqlDatabaseExecuteIndexRecommendation</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Get-AzureRmSqlDatabaseReplicationLink</command:name> + <maml:description> + <maml:para>Gets the geo-replication links between an Azure SQL Database and the specified Azure Resource Group or Azure SQL Server.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Get</command:verb> + <command:noun>AzureRMSqlDatabaseReplicationLink</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>This cmdlet replaces the Get-AzureSqlDatabaseCopy cmdlet. It will return all geo-replication links between the specified Azure Resource Group or Azure SQL Server.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Get-AzureRmSqlDatabaseReplicationLink</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>The name of the Azure SQL Database to retrieve links for.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>PartnerResourceGroupName</maml:name> + <maml:description> + <maml:para>The name of the Azure Resource Group for the partner.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>The name of the Azure SQL Server for the database to retrieve links for.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>The name of the Azure Resource Group for the database to retrieve links for.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + <command:syntaxItem> + <maml:name>Get-AzureRmSqlDatabaseReplicationLink</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>The name of the Azure SQL Database to retrieve links for.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>PartnerResourceGroupName</maml:name> + <maml:description> + <maml:para>The name of the Azure Resource Group for the partner.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>PartnerServerName</maml:name> + <maml:description> + <maml:para>The name of the Azure SQL Server for the partner.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>The name of the Azure SQL Server for the database to retrieve links for.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>The name of the Azure Resource Group for the database to retrieve links for.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>The name of the Azure SQL Database to retrieve links for.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>PartnerResourceGroupName</maml:name> + <maml:description> + <maml:para>The name of the Azure Resource Group for the partner.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>The name of the Azure SQL Server for the database to retrieve links for.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>The name of the Azure Resource Group for the database to retrieve links for.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>PartnerServerName</maml:name> + <maml:description> + <maml:para>The name of the Azure SQL Server for the partner.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + </command:examples> + <maml:relatedLinks> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Get-AzureRmSqlDatabaseRestorePoints</command:name> + <maml:description> + <maml:para /> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Get</command:verb> + <command:noun>AzureRMSqlDatabaseRestorePoints</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para /> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Get-AzureRmSqlDatabaseRestorePoints</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the Azure SQL Server holding the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the Azure SQL Database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group of the Azure SQL Database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the Azure SQL Server holding the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the Azure SQL Database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group of the Azure SQL Database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1 --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlDatabaseRestorePoints -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot;</dev:code> + <dev:remarks> + <maml:para>Returns all available restore points for Azure SQL Database &quot;database01&quot;.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>ResourceGroupName : resourcegroup01 +ServerName : server01 +DatabaseName : database01 +Location : Central US +RestorePointType : CONTINUOUS +RestorePointCreationDate : +EarliestRestoreDate : 8/12/2015 12:00:00 AM +</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Get-AzureRmSqlDatabaseSecureConnectionPolicy</command:name> + <maml:description> + <maml:para>Gets the secure connection policy of an Azure SQL database.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Get</command:verb> + <command:noun>AzureRMSqlDatabaseSecureConnectionPolicy</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Get-AzureRmSqlDatabaseSecureConnectionPolicy cmdlet gets the secure connection policy of an Azure SQL database. To use the cmdlet, use the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database. After this cmdlet runs successfully, it returns an object describing the current secure connection policy as well as the database identifiers. Database identifiers include, but are not limited to, ResourceGroupName, ServerName, and DatabaseName.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Get-AzureRmSqlDatabaseSecureConnectionPolicy</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of server that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of server that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.DatabaseSecureConnectionPolicyModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Get the secure connection policy of an azure_2 SQL database --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlDatabaseSecureConnectionPolicy -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot;</dev:code> + <dev:remarks> + <maml:para>This command gets the secure connection policy of an Azure SQL database named database01 located in server server01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>DatabaseName : database01 +ConnectionStrings : Microsoft.Azure.Commands.Sql.SecureConnection.Model.ConnectionStrings +ResourceGroupName : resourcegroup01 +ServerName : server01 +ProxyDnsName : server01.database.secure.windows.net +ProxyPort : 1433 +SecureConnectionState : Optional</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Azure SQL Database</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Get-AzureRmSqlDatabaseTransparentDataEncryption</command:name> + <maml:description> + <maml:para>Gets the TPE state for an Azure SQL database.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Get</command:verb> + <command:noun>AzureRMSqlDatabaseTransparentDataEncryption</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Get-AzureRmSqlDatabaseTransparentDataEncryption cmdlet gets the state of Transparent Data Encryption (TPE) from an Azure SQL database. For more information, see Transparent Data Encryption with Azure SQL Database (https://msdn.microsoft.com/library/dn948096) in the Microsoft Developer Network Library. This cmdlet gets the current state of TPE, but both encryption and decryption can be long running operations. To see the encryption scan progress, run the Get-AzureRmSqlDatabaseTransparentDataEncryptionActivity cmdlet.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Get-AzureRmSqlDatabaseTransparentDataEncryption</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that hosts the database for which this cmdlet gets TDE status.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database for which this cmdlet gets TDE status.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the database for which this cmdlet gets TDE status.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that hosts the database for which this cmdlet gets TDE status.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database for which this cmdlet gets TDE status.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the database for which this cmdlet gets TDE status.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.TransparentDataEncryption.Model.AzureSqlDatabaseTransparentDataEncryptionModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Get TPE status for a database --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlDatabaseTransparentDataEncryption -ServerName &quot;server01&quot; -ResourceGroupName &quot;resourcegroup01&quot; -DatabaseName &quot;database01&quot;</dev:code> + <dev:remarks> + <maml:para>This command gets the status of TPE for the database named Database01 on the server named server01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>ResourceGroupName ServerName DatabaseName State +----------------- ---------- ------------ ----- +resourcegroup01 server01 database01 Disabled +</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlDatabaseTransparentDataEncryptionActivity</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlDatabaseTransparentDataEncryption</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Get-AzureRmSqlDatabaseTransparentDataEncryptionActivity</command:name> + <maml:description> + <maml:para>Gets the progress of a TDE scan of an Azure SQL database.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Get</command:verb> + <command:noun>AzureRMSqlDatabaseTransparentDataEncryptionActivity</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Get-AzureRmSqlDatabaseTransparentDataEncryptionActivity cmdlet gets the progress of a Transparent Data Encryption (TDE) scan of an Azure SQL database. If no encryption span is running, this cmdlet returns an empty list. For more information, see Transparent Data Encryption with Azure SQL Database (https://msdn.microsoft.com/library/dn948096) in the Microsoft Developer Network Library.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Get-AzureRmSqlDatabaseTransparentDataEncryptionActivity</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that hosts the database for which this cmdlet gets TDE encryption activity.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database for which this cmdlet gets TDE encryption activity.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the database for which this cmdlet gets TDE encryption activity.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that hosts the database for which this cmdlet gets TDE encryption activity.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database for which this cmdlet gets TDE encryption activity.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the database for which this cmdlet gets TDE encryption activity.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.TransparentDataEncryption.Model.AzureSqlDatabaseTransparentDataEncryptionActivityModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Get TPE activity for a database --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlDatabaseTransparentDataEncryptionActivity -ServerName &quot;server01&quot; -ResourceGroupName &quot;resourcegroup01&quot; -DatabaseName &quot;database01&quot;</dev:code> + <dev:remarks> + <maml:para>This command gets the TPE activity for the database named database01 on the server named server01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>ResourceGroupName : resourcegroup01 +ServerName : server01 +DatabaseName : database01 +Status : Encrypting +PercentComplete : 3.662109 +</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlDatabaseTransparentDataEncryption</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlDatabaseTransparentDataEncryption</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Get-AzureRmSqlDatabaseUpgradeHint</command:name> + <maml:description> + <maml:para>Gets pricing tier hints for a database for upgrading SQL Database.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Get</command:verb> + <command:noun>AzureRMSqlDatabaseUpgradeHint</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Get-AzureRmSqlDatabaseUpgradeHint cmdlet gets pricing tier hints for a database for upgrading Azure SQL Database. Databases that are still in Web and Business pricing tiers get the hint to upgrade to the new Basic, Standard, or Premium pricing tiers.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Get-AzureRmSqlDatabaseUpgradeHint</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that hosts the database for which this cmdlet gets an upgrade hint.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the SQL database for which this cmdlet gets an upgrade hint. If you do not specify a database, this cmdlet gets hints for all databases on the logical server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ExcludeElasticPoolCandidates</maml:name> + <maml:description> + <maml:para>Indicates whether to exclude databases that are included in elastic database pool recommendations.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">Boolean</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the database for which this cmdlet gets an upgrade hint.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that hosts the database for which this cmdlet gets an upgrade hint.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the SQL database for which this cmdlet gets an upgrade hint. If you do not specify a database, this cmdlet gets hints for all databases on the logical server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ExcludeElasticPoolCandidates</maml:name> + <maml:description> + <maml:para>Indicates whether to exclude databases that are included in elastic database pool recommendations.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">Boolean</command:parameterValue> + <dev:type> + <maml:name>Boolean</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the database for which this cmdlet gets an upgrade hint.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Get recommendations for all databases on a server --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlDatabaseUpgradeHint -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot;</dev:code> + <dev:remarks> + <maml:para>This command returns upgrade hints for all databases on server.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + <command:example> + <maml:title>-------------------------- Example 2: Get recommendations for specific database --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlDatabaseUpgradeHint -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot;</dev:code> + <dev:remarks> + <maml:para>This command returns upgrade hint for specific database.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + <command:example> + <maml:title>-------------------------- Example 3: Get recommendation for all databases that are not recommended for an elastic database pool --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlDatabaseUpgradeHint -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -ExcludeElasticPoolCandidates $True</dev:code> + <dev:remarks> + <maml:para>This command returns upgrade hints for database that are not included in elastic database pool recommendations.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlDatabaseExpanded</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlElasticPoolRecommendation</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Get-AzureRmSqlElasticPool</command:name> + <maml:description> + <maml:para>Gets elastic pools and their property values in an Azure SQL Database.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Get</command:verb> + <command:noun>AzureRMSqlElasticPool</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Get-AzureRmSqlElasticPool cmdlet gets elastic pools and their property values in an Azure SQL Database. Specify the name of an existing elastic pool to see the property values for only that pool.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Get-AzureRmSqlElasticPool</maml:name> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>ElasticPoolName</maml:name> + <maml:description> + <maml:para>Specifies the name of the elastic pool that this cmdlet gets.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that contains the elastic pool that this cmdlet gets.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the elastic pool that this cmdlet gets.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>ElasticPoolName</maml:name> + <maml:description> + <maml:para>Specifies the name of the elastic pool that this cmdlet gets.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that contains the elastic pool that this cmdlet gets.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the elastic pool that this cmdlet gets.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.ElasticPool.Model.AzureSqlElasticPoolModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Get all elastic pools --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlElasticPool -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot;</dev:code> + <dev:remarks> + <maml:para>This command gets all elastic pools on the server named server01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>ResourceId : /subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/resourcegroup01/providers/Microsoft.Sql/servers/server01/elasticPools/elasticpool01 +ResourceGroupName : resourcegroup01 +ServerName : server01 +ElasticPoolName : elasticpool01 +Location : Central US +CreationDate : 8/26/2015 10:00:17 PM +State : Ready +Edition : Standard +Dtu : 400 +DatabaseDtuMax : 100 +DatabaseDtuMin : 10 +StorageMB : 409600 +Tags : + +ResourceId : /subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/resourcegroup01/providers/Microsoft.Sql/servers/server01/elasticPools/elasticpool02 +ResourceGroupName : resourcegroup01 +ServerName : server01 +ElasticPoolName : elasticpool02 +Location : Central US +CreationDate : 8/26/2015 11:00:17 PM +State : Ready +Edition : Standard +Dtu : 400 +DatabaseDtuMax : 100 +DatabaseDtuMin : 10 +StorageMB : 409600 +Tags : +</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + <command:example> + <maml:title>-------------------------- Example 2: Get a specific elastic pool --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlElasticPool -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -ElasticPoolName &quot;elasticPool27&quot;</dev:code> + <dev:remarks> + <maml:para>This command gets the elastic pool named elasticPool01 on the server named server01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>ResourceId : /subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/resourcegroup01/providers/Microsoft.Sql/servers/server01/elasticPools/elasticpool01 +ResourceGroupName : resourcegroup01 +ServerName : server01 +ElasticPoolName : elasticpool01 +Location : Central US +CreationDate : 8/26/2015 10:00:17 PM +State : Ready +Edition : Standard +Dtu : 400 +DatabaseDtuMax : 100 +DatabaseDtuMin : 10 +StorageMB : 409600 +Tags : +</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + <command:example> + <maml:title>-------------------------- Example 3: Get metrics for a Azure SQL Elastic Database Pool --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlElasticPool -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -ElasticPoolName &quot;elasticpool01&quot; | Get-Metrics -TimeGrain 0:5:0</dev:code> + <dev:remarks> + <maml:para>Returns metrics for an Azure SQL Elastic Database Pool named &quot;elasticpool01&quot;.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>DimensionName : +DimensionValue : +Name : cpu_percent +EndTime : 8/27/2015 5:22:25 PM +MetricValues : {Microsoft.Azure.Insights.Models.MetricValue, Microsoft.Azure.Insights.Models.MetricValue, Microsoft.Azure.Insights.Models.MetricValue, Microsoft.Azure.Insights.Models.MetricValue...} +Properties : {} +ResourceId : /subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/resourcegroup01/providers/Microsoft.Sql/servers/server01/elasticPools/elasticpool01 +StartTime : 8/27/2015 4:20:00 PM +TimeGrain : 00:05:00 +Unit : Percent + +DimensionName : +DimensionValue : +Name : physical_data_read_percent +EndTime : 8/27/2015 5:22:25 PM +MetricValues : {Microsoft.Azure.Insights.Models.MetricValue, Microsoft.Azure.Insights.Models.MetricValue, Microsoft.Azure.Insights.Models.MetricValue, Microsoft.Azure.Insights.Models.MetricValue...} +Properties : {} +ResourceId : /subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/resourcegroup01/providers/Microsoft.Sql/servers/server01/elasticPools/elasticpool01 +StartTime : 8/27/2015 4:20:00 PM +TimeGrain : 00:05:00 +Unit : Percent + +DimensionName : +DimensionValue : +Name : log_write_percent +EndTime : 8/27/2015 5:22:25 PM +MetricValues : {Microsoft.Azure.Insights.Models.MetricValue, Microsoft.Azure.Insights.Models.MetricValue, Microsoft.Azure.Insights.Models.MetricValue, Microsoft.Azure.Insights.Models.MetricValue...} +Properties : {} +ResourceId : /subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/resourcegroup01/providers/Microsoft.Sql/servers/server01/elasticPools/elasticpool01 +StartTime : 8/27/2015 4:20:00 PM +TimeGrain : 00:05:00 +Unit : Percent + +DimensionName : +DimensionValue : +Name : dtu_consumption_percent +EndTime : 8/27/2015 5:22:25 PM +MetricValues : {Microsoft.Azure.Insights.Models.MetricValue, Microsoft.Azure.Insights.Models.MetricValue, Microsoft.Azure.Insights.Models.MetricValue, Microsoft.Azure.Insights.Models.MetricValue...} +Properties : {} +ResourceId : /subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/resourcegroup01/providers/Microsoft.Sql/servers/server01/elasticPools/elasticpool01 +StartTime : 8/27/2015 4:20:00 PM +TimeGrain : 00:05:00 +Unit : Percent + +DimensionName : +DimensionValue : +Name : storage_percent +EndTime : 8/27/2015 5:22:25 PM +MetricValues : {Microsoft.Azure.Insights.Models.MetricValue, Microsoft.Azure.Insights.Models.MetricValue, Microsoft.Azure.Insights.Models.MetricValue, Microsoft.Azure.Insights.Models.MetricValue...} +Properties : {} +ResourceId : /subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/resourcegroup01/providers/Microsoft.Sql/servers/server01/elasticPools/elasticpool01 +StartTime : 8/27/2015 4:20:00 PM +TimeGrain : 00:05:00 +Unit : Percent</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Azure SQL Database</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>New-AzureRmSqlElasticPool</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Remove-AzureRmSqlElasticPool</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlElasticPool</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Get-AzureRmSqlElasticPoolActivity</command:name> + <maml:description> + <maml:para>Gets the status of operations on an elastic pool.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Get</command:verb> + <command:noun>AzureRMSqlElasticPoolActivity</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Get-AzureRmSqlElasticPoolActivity cmdlet gets the status of operations on an elastic pool in Azure SQL Database. You can see status of pool creation and configuration updates.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Get-AzureRmSqlElasticPoolActivity</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of a server that contains an elastic pool. This cmdlet gets status for a pool on the server that this parameter specifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>ElasticPoolName</maml:name> + <maml:description> + <maml:para>Specifies the name of an elastic pool. This cmdlet gets status for the pool that this parameter specifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of a resource group that contains an elastic pool. This cmdlet gets status for a pool in the resource group that this parameter specifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of a server that contains an elastic pool. This cmdlet gets status for a pool on the server that this parameter specifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>ElasticPoolName</maml:name> + <maml:description> + <maml:para>Specifies the name of an elastic pool. This cmdlet gets status for the pool that this parameter specifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of a resource group that contains an elastic pool. This cmdlet gets status for a pool in the resource group that this parameter specifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.ElasticPool.Model.AzureSqlElasticPoolActivityModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Get the status of operations for an elastic pool --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlElasticPoolActivity -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -ElasticPoolName &quot;elasticpool01&quot;</dev:code> + <dev:remarks> + <maml:para>This command gets the status of the operations for the elastic pool named elasticPool01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Azure SQL Database</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlElasticPool</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlElasticPoolDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>New-AzureRmSqlElasticPool</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Remove-AzureRmSqlElasticPool</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlElasticPool</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Get-AzureRmSqlElasticPoolDatabase</command:name> + <maml:description> + <maml:para>Gets elastic databases in an elastic pool and their property values.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Get</command:verb> + <command:noun>AzureRMSqlElasticPoolDatabase</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Get-AzureRmSqlElasticPoolDatabase cmdlet gets elastic databases in an elastic pool and their property values. Specify the name of an elastic database in Azure SQL Database to see the property values for only that database.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Get-AzureRmSqlElasticPoolDatabase</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>ElasticPoolName</maml:name> + <maml:description> + <maml:para>Specifies the name of an elastic pool. This cmdlet gets databases in the pool that this parameter specifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the Azure SQL Database that this cmdlet gets.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of a server that contains an elastic pool. This cmdlet gets a database in a pool on the server that this parameter specifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of a resource group that contains an elastic pool. This cmdlet gets a database in a pool in the resource group that this parameter specifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>ElasticPoolName</maml:name> + <maml:description> + <maml:para>Specifies the name of an elastic pool. This cmdlet gets databases in the pool that this parameter specifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the Azure SQL Database that this cmdlet gets.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of a server that contains an elastic pool. This cmdlet gets a database in a pool on the server that this parameter specifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of a resource group that contains an elastic pool. This cmdlet gets a database in a pool in the resource group that this parameter specifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Get all databases in an elastic pool --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlElasticPoolDatabase -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -ElasticPoolName &quot;elasticPool01&quot;</dev:code> + <dev:remarks> + <maml:para>This command gets all databases in an elastic pool named elasticPool01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Azure SQL Database</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlElasticPool</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlElasticPoolActivity</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>New-AzureRmSqlElasticPool</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Remove-AzureRmSqlElasticPool</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlElasticPool</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Get-AzureRmSqlElasticPoolRecommendation</command:name> + <maml:description> + <maml:para>Gets elastic pool recommendations.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Get</command:verb> + <command:noun>AzureRMSqlElasticPoolRecommendation</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Get-AzureRmSqlElasticPoolRecommendation cmdlet gets elastic pool recommendations for a server. These recommendations include the following values: </maml:para> + <maml:para>-- DatabaseCollection. Collection of database names that belong to the pool. +-- DatabaseDtuMin. Data Transmission Unit (DTU) guarantee for database in elastic pool. +-- DatabaseDtuMax. DTU cap for database in elastic pool. +-- Dtu. DTU guarantee for elastic pool. +-- StorageMb. Storage in megabytes for elastic pool. +-- Edition. Edition for elastic pool. Valid values are: Basic, Standard, and Premium. +-- IncludeAllDatabases. Whether to include all databases in the server in the elastic pool. +-- Name. Name of the elastic pool.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Get-AzureRmSqlElasticPoolRecommendation</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server for which this cmdlet gets recommendations.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies name of the resource group that contains the server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server for which this cmdlet gets recommendations.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies name of the resource group that contains the server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Get recommendations for a server --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlElasticPoolRecommendation -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot;</dev:code> + <dev:remarks> + <maml:para>This command gets the elastic pool recommendations for the server named server01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Get-AzureRmSqlServer</command:name> + <maml:description> + <maml:para>Returns information about Azure SQL Database servers.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Get</command:verb> + <command:noun>AzureRMSqlServer</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Get-AzureRmSqlServer cmdlet returns information about one or more Azure SQL Database servers. Specify the name of a server to see information about only that server.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Get-AzureRmSqlServer</maml:name> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that this cmdlet gets.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the servers that this cmdlet gets.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that this cmdlet gets.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the servers that this cmdlet gets.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Get all Azure SQL Servers in a resource group --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlServer –ResourceGroupName &quot;resourcegroup01&quot;</dev:code> + <dev:remarks> + <maml:para>This command gets information about all the Azure SQL Database servers in the resource group resourcegroup01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>ResourceGroupName : resourcegroup01 +ServerName : server01 +Location : Central US +SqlAdministratorLogin : adminLogin +SqlAdministratorPassword : +ServerVersion : 12.0 +Tags : + +ResourceGroupName : resourcegroup01 +ServerName : server02 +Location : West US +SqlAdministratorLogin : adminLogin +SqlAdministratorPassword : +ServerVersion : 12.0 +Tags :</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + <command:example> + <maml:title>-------------------------- Example 2: Get information about an Azure SQL Database server --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlServer -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot;</dev:code> + <dev:remarks> + <maml:para>This command gets information about the Azure SQL Database server named server01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>ResourceGroupName : resourcegroup01 +ServerName : server01 +Location : Central US +SqlAdministratorLogin : adminLogin +SqlAdministratorPassword : +ServerVersion : 12.0 +Tags : +</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + <command:example> + <maml:title>-------------------------- Example 3: Get all Azure SQL Servers in the subscription --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmResourceGroup | Get-AzureRmSqlServer</dev:code> + <dev:remarks> + <maml:para>This command gets information about all the Azure SQL Database servers in the current subscription.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>ResourceGroupName : resourcegroup01 +ServerName : server01 +Location : Central US +SqlAdministratorLogin : adminLogin +SqlAdministratorPassword : +ServerVersion : 12.0 +Tags : + +ResourceGroupName : resourcegroup01 +ServerName : server02 +Location : West US +SqlAdministratorLogin : adminLogin +SqlAdministratorPassword : +ServerVersion : 12.0 +Tags : + +ResourceGroupName : resourcegroup02 +ServerName : server03 +Location : East US +SqlAdministratorLogin : adminLogin +SqlAdministratorPassword : +ServerVersion : 12.0 +Tags :</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Azure SQL Database</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>New-AzureRmSqlServer</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Remove-AzureRmSqlServer</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlServer</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Get-AzureRmSqlServerActiveDirectoryAdministrator</command:name> + <maml:description> + <maml:para>Gets information about an Azure AD administrator for SQL Server.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Get</command:verb> + <command:noun>AzureRMSqlServerActiveDirectoryAdministrator</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Get-AzureRmSqlServerActiveDirectoryAdministrator cmdlet gets information about an Azure Active Directory (Azure AD) administrator for an Azure SQL Server in the current subscription.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Get-AzureRmSqlServerActiveDirectoryAdministrator</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the SQL Server for which this cmdlet gets information.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the SQL Server for which this cmdlet gets information.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the SQL Server for which this cmdlet gets information.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the SQL Server for which this cmdlet gets information.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.ServerActiveDirectoryAdministrator.Model.AzureSqlServerActiveDirectoryAdministratorModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Gets information about an administrator for a server --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlServerActiveDirectoryAdministrator -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; +</dev:code> + <dev:remarks> + <maml:para>This command gets information about an Azure AD administrator for a server named Server06 that is associated with resource group named Resourcegroup01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>ResourceGroupName ServerName DisplayName ObjectId +----------------- ---------- ----------- -------- +resourcegroup01 server01 DBAs 40b79501-b343-44ed-9ce7-da4c8cc7353b</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Remove-AzureRmSqlServerActiveDirectoryAdministrator</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlServerActiveDirectoryAdministrator</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Get-AzureRmSqlServerAuditingPolicy</command:name> + <maml:description> + <maml:para>Gets the auditing policy of an Azure SQL server.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Get</command:verb> + <command:noun>AzureRMSqlServerAuditingPolicy</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Get-AzureRmSqlServerAuditingPolicy cmdlet gets the auditing policy of an Azure SQL server. Specify the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database. This cmdlet returns a policy that is used by the Azure SQL databases that are both defined in the specified Azure SQL server and use its auditing policy.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Get-AzureRmSqlServerAuditingPolicy</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the Azure SQL server for which this cmdlet gets an auditing policy.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the Azure SQL server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the Azure SQL server for which this cmdlet gets an auditing policy.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the Azure SQL server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.ServerAuditingPolicyModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Get the auditing policy of an Azure SQL server --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlServerAuditingPolicy -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot;</dev:code> + <dev:remarks> + <maml:para>This command gets the auditing policy of the server server02 in resource group resourcegroup01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>ResourceGroupName : resourcegroup01 +ServerName : server01 +StorageAccountName : +StorageKeyType : Primary +EventType : {PlainSQL_Success, PlainSQL_Failure, ParameterizedSQL_Success, ParameterizedSQL_Failure...} +AuditState : New +RetentionInDays : 0 +TableIdentifier : Server01 +</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlServerAuditingPolicy</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Use-AzureRmSqlServerAuditingPolicy</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Get-AzureRmSqlServerFirewallRule</command:name> + <maml:description> + <maml:para>Gets firewall rules for an Azure SQL Database server.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Get</command:verb> + <command:noun>AzureRMSqlServerFirewallRule</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Get-AzureRmSqlServerFirewallRule cmdlet gets firewall rules for an Azure SQL Database server. If you specify the name of a firewall rule, this cmdlet gets information about that specific firewall rule.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Get-AzureRmSqlServerFirewallRule</maml:name> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>FirewallRuleName</maml:name> + <maml:description> + <maml:para>Specifies the name of the firewall rule that this cmdlet gets.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of a server. This cmdlet gets firewall rules from the server that this parameter specifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of a resource group. This cmdlet gets firewall rules on a server in the resource group that this parameter specifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>FirewallRuleName</maml:name> + <maml:description> + <maml:para>Specifies the name of the firewall rule that this cmdlet gets.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of a server. This cmdlet gets firewall rules from the server that this parameter specifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of a resource group. This cmdlet gets firewall rules on a server in the resource group that this parameter specifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.FirewallRule.Model.AzureSqlServerFirewallRuleModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Get all rules for a server --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlServerFirewallRule -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot;</dev:code> + <dev:remarks> + <maml:para>This command gets all the firewall rules for the server named server01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>ResourceGroupName : resourcegroup01 +ServerName : server01 +StartIpAddress : 0.0.0.0 +EndIpAddress : 0.0.0.0 +FirewallRuleName : AllowAllWindowsAzureIps + +ResourceGroupName : resourcegroup01 +ServerName : server01 +StartIpAddress : 1.2.3.4 +EndIpAddress : 4.3.2.1 +FirewallRuleName : rule01 +</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Azure SQL Database</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>New-AzureRmSqlServerFirewallRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Remove-AzureRmSqlServerFirewallRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlServerFirewallRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Get-AzureRmSqlServerServiceObjective</command:name> + <maml:description> + <maml:para>Gets service objectives for an Azure SQL Database server.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Get</command:verb> + <command:noun>AzureRMSqlServerServiceObjective</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Get-AzureRmSqlServerServiceObjective cmdlet gets the available service objectives for an Azure SQL Database server.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Get-AzureRmSqlServerServiceObjective</maml:name> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>ServiceObjectiveName</maml:name> + <maml:description> + <maml:para>Specifies the name of a service objective for an Azure SQL Database server. Valid values are: Basic, S0, S1, S2, P1, P2, and P3.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of an Azure SQL Database server. This cmdlet gets service objectives for the server that this parameter specifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of an Azure SQL Database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of a resource group. This cmdlet gets service objectives for an Azure SQL Database server in the resource group that this parameter specifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>ServiceObjectiveName</maml:name> + <maml:description> + <maml:para>Specifies the name of a service objective for an Azure SQL Database server. Valid values are: Basic, S0, S1, S2, P1, P2, and P3.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of an Azure SQL Database server. This cmdlet gets service objectives for the server that this parameter specifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of an Azure SQL Database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of a resource group. This cmdlet gets service objectives for an Azure SQL Database server in the resource group that this parameter specifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.ServiceObjective.Model.AzureSqlServerServiceObjectiveModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Get a service objective --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlServerServiceObjective -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot;</dev:code> + <dev:remarks> + <maml:para>This command gets the service objective for the server named server01. The command specifies the database named database01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para> ResourceGroupName ServerName ServiceObjectiveName Description Enabled IsDefault IsSystem +----------------- ---------- -------------------- ----------- ------- --------- -------- +resourcegroup01 server01 ElasticPool True False False +resourcegroup01 server01 System True False True +resourcegroup01 server01 System0 True False True +resourcegroup01 server01 System1 True False True +resourcegroup01 server01 System2 True True True +resourcegroup01 server01 Basic True True False +resourcegroup01 server01 S0 True True False +resourcegroup01 server01 S1 True False False +resourcegroup01 server01 S2 True False False +resourcegroup01 server01 S3 True False False +resourcegroup01 server01 P1 True True False +resourcegroup01 server01 P2 True False False +resourcegroup01 server01 P3 True False False +resourcegroup01 server01 P4 True False False</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Azure SQL Database</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Get-AzureRmSqlServerUpgrade</command:name> + <maml:description> + <maml:para>Gets the status of an Azure SQL Database server upgrade.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Get</command:verb> + <command:noun>AzureRMSqlServerUpgrade</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Get-AzureRmSqlServerUpgrade cmdlet gets the status of an Azure SQL Database server upgrade.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Get-AzureRmSqlServerUpgrade</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server about which this cmdlet gets upgrade status.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the server about which this cmdlet gets upgrade status.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server about which this cmdlet gets upgrade status.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the server about which this cmdlet gets upgrade status.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.ServerUpgrade.Model.AzureSqlServerUpgradeModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Get the status of an upgrade --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlServerUpgrade -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; | Format-List +</dev:code> + <dev:remarks> + <maml:para>This command gets the status of an upgrade request from the server named server01 in resource group named resourcegroup01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>ResourceGroupName : resourcegroup01 +ServerName : server01 +Status : Queued</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Start-AzureRmSqlServerUpgrade</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Stop-AzureRmSqlServerUpgrade</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Get-AzureRmSqlServerUpgradeHint</command:name> + <maml:description> + <maml:para>Gets pricing tier hints for upgrading a SQL Database server.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Get</command:verb> + <command:noun>AzureRMSqlServerUpgradeHint</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Get-AzureRmSqlServerUpgradeHint cmdlet gets pricing tier hints for upgrading an Azure SQL Database server. Hints may contain the elastic database pool and stand-alone database hints. Databases that are still in Web and Business pricing tiers get a hint to upgrade to the new Basic, Standard, or Premium pricing tiers, or to go into the elastic database pool. This cmdlet returns hints for all databases that the specified server hosts.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Get-AzureRmSqlServerUpgradeHint</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server for which this cmdlet gets an upgrade hint.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ExcludeElasticPools</maml:name> + <maml:description> + <maml:para>Indicates whether to exclude databases that are included in elastic database pool recommendations.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">Boolean</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the server for which this cmdlet gets an upgrade hint.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server for which this cmdlet gets an upgrade hint.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ExcludeElasticPools</maml:name> + <maml:description> + <maml:para>Indicates whether to exclude databases that are included in elastic database pool recommendations.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">Boolean</command:parameterValue> + <dev:type> + <maml:name>Boolean</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the server for which this cmdlet gets an upgrade hint.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Get combined recommendations --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Get-AzureRmSqlServerUpgradeHint -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot;</dev:code> + <dev:remarks> + <maml:para>This command gets combined recommendations for all the databases on server named server01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>ElasticPools Databases +------------ --------- +{} {database01, database02}</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlDatabaseExpanded</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlElasticPoolRecommendation</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>New-AzureRmSqlDatabase</command:name> + <maml:description> + <maml:para>Creates an Azure SQL database or an elastic database.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>New</command:verb> + <command:noun>AzureRMSqlDatabase</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The New-AzureRmSqlDatabase cmdlet creates a new Azure SQL database. +You can also create an elastic database by setting the ElasticPoolName parameter to an existing elastic pool.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>New-AzureRmSqlDatabase</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>CollationName</maml:name> + <maml:description> + <maml:para>Specifies the name of the Azure SQL database collation.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>CatalogCollation</maml:name> + <maml:description> + <maml:para>Specifies the name of the Azure SQL database catalog collation.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>MaxSizeBytes</maml:name> + <maml:description> + <maml:para>Specifies the maximum size of the database in bytes.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">Int64</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Edition</maml:name> + <maml:description> + <maml:para>Specifies the edition to assign to the database. Valid values are: +-- Default +-- None +-- Premium +-- Basis +-- Standard</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">DatabaseEdition</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>RequestedServiceObjectiveName</maml:name> + <maml:description> + <maml:para>Specifies the name of the service objective to assign to the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>ElasticPoolName</maml:name> + <maml:description> + <maml:para>Specifies the name of the elastic pool in which to put the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> + <maml:name>Tags</maml:name> + <maml:description> + <maml:para>Specifies a dictionary of tags that this cmdlet associates with the new server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Dictionary`2[String]</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server to create the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that the server is in.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>CollationName</maml:name> + <maml:description> + <maml:para>Specifies the name of the Azure SQL database collation.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>CatalogCollation</maml:name> + <maml:description> + <maml:para>Specifies the name of the Azure SQL database catalog collation.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>MaxSizeBytes</maml:name> + <maml:description> + <maml:para>Specifies the maximum size of the database in bytes.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">Int64</command:parameterValue> + <dev:type> + <maml:name>Int64</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Edition</maml:name> + <maml:description> + <maml:para>Specifies the edition to assign to the database. Valid values are: +-- Default +-- None +-- Premium +-- Basis +-- Standard</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">DatabaseEdition</command:parameterValue> + <dev:type> + <maml:name>DatabaseEdition</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>RequestedServiceObjectiveName</maml:name> + <maml:description> + <maml:para>Specifies the name of the service objective to assign to the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>ElasticPoolName</maml:name> + <maml:description> + <maml:para>Specifies the name of the elastic pool in which to put the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> + <maml:name>Tags</maml:name> + <maml:description> + <maml:para>Specifies a dictionary of tags that this cmdlet associates with the new server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Dictionary`2[String]</command:parameterValue> + <dev:type> + <maml:name>Dictionary`2[String]</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server to create the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that the server is in.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Create an database in a specified server --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; New-AzureRmSqlDatabase -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot;</dev:code> + <dev:remarks> + <maml:para>This command creates a database named database01 in server server01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>ResourceGroupName : resourcegroup01 +ServerName : server01 +DatabaseName : database01 +Location : Central US +DatabaseId : a1e6bd1a-735a-4d48-8b98-afead5ef1218 +Edition : Standard +CollationName : SQL_Latin1_General_CP1_CI_AS +CatalogCollation : +MaxSizeBytes : 268435456000 +Status : Online +CreationDate : 7/3/2015 7:33:37 AM +CurrentServiceObjectiveId : f1173c43-91bd-4aaa-973c-54e79e15235b +CurrentServiceObjectiveName : S0 +RequestedServiceObjectiveId : f1173c43-91bd-4aaa-973c-54e79e15235b +RequestedServiceObjectiveName : +ElasticPoolName : +EarliestRestoreDate : +Tags :</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + <command:example> + <maml:title>-------------------------- Example 2: Create an elastic database in a specified server --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; New-AzureRmSqlDatabase -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot; -ElasticPoolName &quot;elasticpool01&quot;</dev:code> + <dev:remarks> + <maml:para>This command creates a database named database01 in the elastic pool named elasticpool01 in server server01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>ResourceGroupName : resourcegroup01 +ServerName : server01 +DatabaseName : database02 +Location : Central US +DatabaseId : 7bd9d561-42a7-484e-bf05-62ddef8015ab +Edition : Standard +CollationName : SQL_Latin1_General_CP1_CI_AS +CatalogCollation : +MaxSizeBytes : 268435456000 +Status : Online +CreationDate : 8/26/2015 10:04:29 PM +CurrentServiceObjectiveId : d1737d22-a8ea-4de7-9bd0-33395d2a7419 +CurrentServiceObjectiveName : ElasticPool +RequestedServiceObjectiveId : d1737d22-a8ea-4de7-9bd0-33395d2a7419 +RequestedServiceObjectiveName : +ElasticPoolName : elasticpool01 +EarliestRestoreDate : +Tags :</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Remove-AzureRmSqlDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Resume-AzureRmSqlDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Suspend-AzureRmSqlDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Azure SQL Database</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>New-AzureRmSqlServer</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>New-AzureRmSqlElasticPool</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>New-AzureRmSqlDatabaseCopy</command:name> + <maml:description> + <maml:para>Creates a copy of an existing Azure SQL Database using the snapshot of the data at the time of the call.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>New</command:verb> + <command:noun>AzureRMSqlDatabaseCopy</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>This cmdlet replaces the Start-AzureRqlDatabaseCopy cmdlet when used to create a one-time database copy. It returns the database object of the copy.</maml:para> + <maml:para>Note: Use New-AzureRmSqlDatabaseSecondary for setting up geo-replication for a database.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>New-AzureRmSqlDatabaseCopy</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>The name of the Azure SQL Database to be copied.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>ServiceObjectiveName</maml:name> + <maml:description> + <maml:para>The name of the service objective to assign to the copy.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>ElasticPoolName</maml:name> + <maml:description> + <maml:para>The name of the Elastic Pool to put the copy in.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> + <maml:name>Tags</maml:name> + <maml:description> + <maml:para>The tags to associate with the Azure SQL Database copy.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Dictionary`2[String]</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>CopyResourceGroupName</maml:name> + <maml:description> + <maml:para>The name of the Azure Resource Group to create copy in.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>CopyServerName</maml:name> + <maml:description> + <maml:para>The name of the Azure SQL Server to create copy in.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>CopyDatabaseName</maml:name> + <maml:description> + <maml:para>The name of the Azure SQL Database copy.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>The name of the Azure SQL Server the database to be copied is in.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>The name of the Azure Resource Group the database to be copied is in.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>The name of the Azure SQL Database to be copied.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>ServiceObjectiveName</maml:name> + <maml:description> + <maml:para>The name of the service objective to assign to the copy.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>ElasticPoolName</maml:name> + <maml:description> + <maml:para>The name of the Elastic Pool to put the copy in.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> + <maml:name>Tags</maml:name> + <maml:description> + <maml:para>The tags to associate with the Azure SQL Database copy.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Dictionary`2[String]</command:parameterValue> + <dev:type> + <maml:name>Dictionary`2[String]</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>CopyResourceGroupName</maml:name> + <maml:description> + <maml:para>The name of the Azure Resource Group to create copy in.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>CopyServerName</maml:name> + <maml:description> + <maml:para>The name of the Azure SQL Server to create copy in.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>CopyDatabaseName</maml:name> + <maml:description> + <maml:para>The name of the Azure SQL Database copy.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>The name of the Azure SQL Server the database to be copied is in.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>The name of the Azure Resource Group the database to be copied is in.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + </command:examples> + <maml:relatedLinks> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>New-AzureRmSqlDatabaseDataMaskingRule</command:name> + <maml:description> + <maml:para>Creates a data masking rule for an Azure SQL database.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>New</command:verb> + <command:noun>AzureRMSqlDatabaseDataMaskingRule</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The New-AzureRmSqlDatabaseDataMaskingRule cmdlet is used to create a data masking rule in an Azure SQL database. To use the cmdlet, use the ResourceGroupName, ServerName, DatabaseName, and RuleId parameters to identify the rule. Provide the TableName and ColumnName to specify the target of the rule and the MaskingFunction parameter to define how the data is masked. </maml:para> + <maml:para>If MaskingFunction has a value of Number or Text, you can specify the NumberFrom and NumberTo parameters, for number masking, or the PrefixSize, ReplacementString, and SuffixSize for text masking. </maml:para> + <maml:para>If the command succeeds and the PassThru parameter is used, the cmdlet returns an object describing the data masking rule properties as well as the rule identifiers. Rule identifiers include, but are not limited to, ResourceGroupName, ServerName, DatabaseName, and RuleID.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>New-AzureRmSqlDatabaseDataMaskingRule</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ColumnName</maml:name> + <maml:description> + <maml:para>Specifies the name of the column that is the target of this masking rule.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>SchemaName</maml:name> + <maml:description> + <maml:para /> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>TableName</maml:name> + <maml:description> + <maml:para>Specifies the name of the table in the database of which the masked column is part.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>MaskingFunction</maml:name> + <maml:description> + <maml:para>Specifies the masking function that the rule uses. Valid values are: </maml:para> + <maml:para>-- Default +-- NoMasking +-- Text +-- Number +-- SocialSecurityNumber +-- CreditCardNumber +-- Email</maml:para> + <maml:para>The default value is Default.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>PrefixSize</maml:name> + <maml:description> + <maml:para>Specifies the number of characters in the beginning of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Nullable`1[UInt32]</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ReplacementString</maml:name> + <maml:description> + <maml:para>Specifies the number of characters in the end of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is an empty string.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>SuffixSize</maml:name> + <maml:description> + <maml:para>Specifies the number of characters in the end of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Nullable`1[UInt32]</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>NumberFrom</maml:name> + <maml:description> + <maml:para>Specifies the lower bound number of the interval from which a random value is selected. Specify this parameter only if you specify a value of Number for the MaskingFunction parameter. The default value is 0.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Nullable`1[Double]</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>NumberTo</maml:name> + <maml:description> + <maml:para>Specifies the upper bound number of the interval from which a random value is selected. Specify this parameter only if you specify a value of Number for the MaskingFunction parameter. The default value is 0.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Nullable`1[Double]</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>PassThru</maml:name> + <maml:description> + <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>RuleId</maml:name> + <maml:description> + <maml:para>Specifies the identifier for the data masking rule.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ColumnName</maml:name> + <maml:description> + <maml:para>Specifies the name of the column that is the target of this masking rule.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>SchemaName</maml:name> + <maml:description> + <maml:para /> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>TableName</maml:name> + <maml:description> + <maml:para>Specifies the name of the table in the database of which the masked column is part.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>MaskingFunction</maml:name> + <maml:description> + <maml:para>Specifies the masking function that the rule uses. Valid values are: </maml:para> + <maml:para>-- Default +-- NoMasking +-- Text +-- Number +-- SocialSecurityNumber +-- CreditCardNumber +-- Email</maml:para> + <maml:para>The default value is Default.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>PrefixSize</maml:name> + <maml:description> + <maml:para>Specifies the number of characters in the beginning of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Nullable`1[UInt32]</command:parameterValue> + <dev:type> + <maml:name>Nullable`1[UInt32]</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ReplacementString</maml:name> + <maml:description> + <maml:para>Specifies the number of characters in the end of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is an empty string.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>SuffixSize</maml:name> + <maml:description> + <maml:para>Specifies the number of characters in the end of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Nullable`1[UInt32]</command:parameterValue> + <dev:type> + <maml:name>Nullable`1[UInt32]</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>NumberFrom</maml:name> + <maml:description> + <maml:para>Specifies the lower bound number of the interval from which a random value is selected. Specify this parameter only if you specify a value of Number for the MaskingFunction parameter. The default value is 0.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Nullable`1[Double]</command:parameterValue> + <dev:type> + <maml:name>Nullable`1[Double]</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>NumberTo</maml:name> + <maml:description> + <maml:para>Specifies the upper bound number of the interval from which a random value is selected. Specify this parameter only if you specify a value of Number for the MaskingFunction parameter. The default value is 0.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Nullable`1[Double]</command:parameterValue> + <dev:type> + <maml:name>Nullable`1[Double]</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>PassThru</maml:name> + <maml:description> + <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>RuleId</maml:name> + <maml:description> + <maml:para>Specifies the identifier for the data masking rule.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.DatabaseDataMaskingRuleModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Create a data masking rule for a number column in a database --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Set-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot; -RuleId &quot;rule01&quot; -SchemaName &quot;schema01&quot; -TableName &quot;table01&quot; -ColumnName &quot;column01&quot; -MaskingFunction Number -NumberFrom 5 -NumberTo 14</dev:code> + <dev:remarks> + <maml:para>This command creates a data masking rule for the column named column01 in the table named table01 in the schema named schema01. database01 contains all these elements. The rule is a number masking rule that uses a random number between 5 and 14 as the masked value. The rule is named rule01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlDatabaseDataMaskingRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Remove-AzureRmSqlDatabaseDataMaskingRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlDatabaseDataMaskingRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Azure SQL Database</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>New-AzureRmSqlDatabaseSecondary</command:name> + <maml:description> + <maml:para>Creates a new secondary database for an existing Azure SQL Database and starts data replication.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>New</command:verb> + <command:noun>AzureRMSqlDatabaseSecondary</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>This cmdlet replaces the Start-AzureSqlDatabaseCopy cmdlet when used for setting up geo-replication for a database. It returns the geo-replication link object from the primary to the secondary database.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>New-AzureRmSqlDatabaseSecondary</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>The name of the Azure SQL Database to act as primary.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>SecondaryServiceObjectiveName</maml:name> + <maml:description> + <maml:para>The name of the service objective to assign to the secondary.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>SecondaryElasticPoolName</maml:name> + <maml:description> + <maml:para>The name of the Elastic Pool to put the secondary in.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> + <maml:name>Tags</maml:name> + <maml:description> + <maml:para>The tags to associate with the Azure SQL Database replication link.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Dictionary`2[String]</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>PartnerResourceGroupName</maml:name> + <maml:description> + <maml:para>The name of the Azure Resource Group to create secondary in.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>PartnerServerName</maml:name> + <maml:description> + <maml:para>The name of the Azure SQL Server to create secondary in.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>AllowConnections</maml:name> + <maml:description> + <maml:para>The read intent of the secondary Azure SQL Database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">AllowConnections</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>The name of the Azure SQL Server of the primary Azure SQL Database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>The name of the Azure Resource Group of the primary Azure SQL Database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>The name of the Azure SQL Database to act as primary.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>SecondaryServiceObjectiveName</maml:name> + <maml:description> + <maml:para>The name of the service objective to assign to the secondary.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>SecondaryElasticPoolName</maml:name> + <maml:description> + <maml:para>The name of the Elastic Pool to put the secondary in.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> + <maml:name>Tags</maml:name> + <maml:description> + <maml:para>The tags to associate with the Azure SQL Database replication link.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Dictionary`2[String]</command:parameterValue> + <dev:type> + <maml:name>Dictionary`2[String]</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>PartnerResourceGroupName</maml:name> + <maml:description> + <maml:para>The name of the Azure Resource Group to create secondary in.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>PartnerServerName</maml:name> + <maml:description> + <maml:para>The name of the Azure SQL Server to create secondary in.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>AllowConnections</maml:name> + <maml:description> + <maml:para>The read intent of the secondary Azure SQL Database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">AllowConnections</command:parameterValue> + <dev:type> + <maml:name>AllowConnections</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>The name of the Azure SQL Server of the primary Azure SQL Database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>The name of the Azure Resource Group of the primary Azure SQL Database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + </command:examples> + <maml:relatedLinks> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>New-AzureRmSqlElasticPool</command:name> + <maml:description> + <maml:para>Creates an elastic database pool in Azure SQL Database.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>New</command:verb> + <command:noun>AzureRMSqlElasticPool</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The New-AzureRmSqlElasticPool cmdlet creates an elastic database pool in Azure SQL Database.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>New-AzureRmSqlElasticPool</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>ElasticPoolName</maml:name> + <maml:description> + <maml:para>Specifies the name of the elastic pool that this cmdlet creates.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Edition</maml:name> + <maml:description> + <maml:para>Specifies the edition of Azure SQL Database for the elastic pool. Valid values are: </maml:para> + <maml:para>-- Premium +-- Basic +-- Standard</maml:para> + <maml:para>For the current preview, the edition must be Standard.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">DatabaseEdition</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Dtu</maml:name> + <maml:description> + <maml:para>Specifies the total number of shared DTUs for the elastic pool. The default values for different editions are as follows: </maml:para> + <maml:para>-- Basic. 100 DTUs +-- Standard. 100 DTUs +-- Premium. 125 DTUs</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>StorageMB</maml:name> + <maml:description> + <maml:para>Specifies the storage limit, in megabytes, for the elastic pool. You cannot specify a value for this parameter for the Premium edition. </maml:para> + <maml:para>If you do not specify this parameter, this cmdlet calculates a value based on the value of the Dtu parameter. We recommend that you do not specify the StorageMB parameter.</maml:para> + <maml:para>If you specify StorageMB, but do not specify Dtu, the cmdlet calculates a value for Dtu. If you specify values for both, the values must be consistent. For more information about the relationship between storage and DTUs, see eDTU and storage limits for elastic pools and elastic databases.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>DatabaseDtuMin</maml:name> + <maml:description> + <maml:para>Specifies the minimum number of DTUs that the elastic pool guarantees to all the databases in the pool. The default value is zero (0).</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>DatabaseDtuMax</maml:name> + <maml:description> + <maml:para>Specifies the maximum number of Database Throughput Units (DTUs) that any single database in the pool can consume. The default values for different editions are as follows: </maml:para> + <maml:para>-- Basic. 5 DTUs +-- Standard. 100 DTUs +-- Premium. 125 DTUs</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> + <maml:name>Tags</maml:name> + <maml:description> + <maml:para>Specifies a dictionary of tags that this cmdlet associates with the elastic pool.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Dictionary`2[String]</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server in which this cmdlet creates the elastic pool.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the elastic pool that this cmdlet creates.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>ElasticPoolName</maml:name> + <maml:description> + <maml:para>Specifies the name of the elastic pool that this cmdlet creates.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Edition</maml:name> + <maml:description> + <maml:para>Specifies the edition of Azure SQL Database for the elastic pool. Valid values are: </maml:para> + <maml:para>-- Premium +-- Basic +-- Standard</maml:para> + <maml:para>For the current preview, the edition must be Standard.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">DatabaseEdition</command:parameterValue> + <dev:type> + <maml:name>DatabaseEdition</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Dtu</maml:name> + <maml:description> + <maml:para>Specifies the total number of shared DTUs for the elastic pool. The default values for different editions are as follows: </maml:para> + <maml:para>-- Basic. 100 DTUs +-- Standard. 100 DTUs +-- Premium. 125 DTUs</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> + <dev:type> + <maml:name>Int32</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>StorageMB</maml:name> + <maml:description> + <maml:para>Specifies the storage limit, in megabytes, for the elastic pool. You cannot specify a value for this parameter for the Premium edition. </maml:para> + <maml:para>If you do not specify this parameter, this cmdlet calculates a value based on the value of the Dtu parameter. We recommend that you do not specify the StorageMB parameter.</maml:para> + <maml:para>If you specify StorageMB, but do not specify Dtu, the cmdlet calculates a value for Dtu. If you specify values for both, the values must be consistent. For more information about the relationship between storage and DTUs, see eDTU and storage limits for elastic pools and elastic databases.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> + <dev:type> + <maml:name>Int32</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>DatabaseDtuMin</maml:name> + <maml:description> + <maml:para>Specifies the minimum number of DTUs that the elastic pool guarantees to all the databases in the pool. The default value is zero (0).</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> + <dev:type> + <maml:name>Int32</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>DatabaseDtuMax</maml:name> + <maml:description> + <maml:para>Specifies the maximum number of Database Throughput Units (DTUs) that any single database in the pool can consume. The default values for different editions are as follows: </maml:para> + <maml:para>-- Basic. 5 DTUs +-- Standard. 100 DTUs +-- Premium. 125 DTUs</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> + <dev:type> + <maml:name>Int32</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> + <maml:name>Tags</maml:name> + <maml:description> + <maml:para>Specifies a dictionary of tags that this cmdlet associates with the elastic pool.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Dictionary`2[String]</command:parameterValue> + <dev:type> + <maml:name>Dictionary`2[String]</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server in which this cmdlet creates the elastic pool.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the elastic pool that this cmdlet creates.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.ElasticPool.Model.AzureSqlElasticPoolModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Create an elastic pool --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; New-AzureRmSqlElasticPool -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -ElasticPoolName &quot;elasticpool01&quot; -Edition &quot;Standard&quot; -Dtu 400 -DatabaseDtuMin 10 -DatabaseDtuMax 100</dev:code> + <dev:remarks> + <maml:para>This command creates an elastic pool in the Standard service tier named elasticpool01. The server named server01 hosts the elastic pool in an Azure resource group named resourcegroup01. The command specifies DTU property values for the pool and the databases in the pool.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>ResourceId : /subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/resourcegroup01/providers/Microsoft.Sql/servers/server01/elasticPools/elasticpool01 +ResourceGroupName : resourcegroup01 +ServerName : server01 +ElasticPoolName : elasticpool01 +Location : Central US +CreationDate : 8/26/2015 10:00:17 PM +State : Ready +Edition : Standard +Dtu : 400 +DatabaseDtuMax : 100 +DatabaseDtuMin : 10 +StorageMB : 409600 +Tags : +</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Azure SQL Database</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlElasticPool</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlElasticPoolActivity</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlElasticPoolDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Remove-AzureRmSqlElasticPool</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlElasticPool</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>New-AzureRmSqlServer</command:name> + <maml:description> + <maml:para>Creates an Azure SQL Database server.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>New</command:verb> + <command:noun>AzureRMSqlServer</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The New-AzureRmSqlServer cmdlet creates an Azure SQL Database server.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>New-AzureRmSqlServer</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the new server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>SqlAdministratorCredentials</maml:name> + <maml:description> + <maml:para>Specifies the SQL Database server administrator credential for the new server. To obtain a PSCredential object, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Location</maml:name> + <maml:description> + <maml:para>Specifies the location of the data center where this cmdlet creates the server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> + <maml:name>Tags</maml:name> + <maml:description> + <maml:para>Specifies a dictionary of tags that this cmdlet associates with the new server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Dictionary`2[String]</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>ServerVersion</maml:name> + <maml:description> + <maml:para>Specifies the version of the new server. Valid values are: 2.0 and 12.0.</maml:para> + <maml:para>Specify 2.0 to create a version 11 server, or 12.0 to create a version 12 server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group in which this cmdlet creates the server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the new server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>SqlAdministratorCredentials</maml:name> + <maml:description> + <maml:para>Specifies the SQL Database server administrator credential for the new server. To obtain a PSCredential object, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue> + <dev:type> + <maml:name>PSCredential</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Location</maml:name> + <maml:description> + <maml:para>Specifies the location of the data center where this cmdlet creates the server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> + <maml:name>Tags</maml:name> + <maml:description> + <maml:para>Specifies a dictionary of tags that this cmdlet associates with the new server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Dictionary`2[String]</command:parameterValue> + <dev:type> + <maml:name>Dictionary`2[String]</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>ServerVersion</maml:name> + <maml:description> + <maml:para>Specifies the version of the new server. Valid values are: 2.0 and 12.0.</maml:para> + <maml:para>Specify 2.0 to create a version 11 server, or 12.0 to create a version 12 server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group in which this cmdlet creates the server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Create a new Azure SQL Database server --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; New-AzureRmSqlServer -ResourceGroupName &quot;resourcegroup01&quot; -Location &quot;Central US&quot; -ServerName &quot;server01&quot; -ServerVersion &quot;12.0&quot;</dev:code> + <dev:remarks> + <maml:para>This command creates a version 12 Azure SQL Database server.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>ResourceGroupName : resourcegroup01 +ServerName : server01 +Location : Australia East +SqlAdministratorLogin : adminLogin +SqlAdministratorPassword : +ServerVersion : 12.0 +Tags : +</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Azure SQL Database</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlServer</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Remove-AzureRmSqlServer</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlServer</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>New-AzureRmSqlServerFirewallRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>New-AzureRmSqlServerFirewallRule</command:name> + <maml:description> + <maml:para>Creates a firewall rule for an Azure SQL Database server.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>New</command:verb> + <command:noun>AzureRMSqlServerFirewallRule</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The New-AzureRmSqlServerFirewallRule cmdlet creates a firewall rule for the specified Azure SQL Database server.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>New-AzureRmSqlServerFirewallRule</maml:name> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>AllowAllAzureIPs</maml:name> + <maml:description> + <maml:para>Indicates that this firewall rule enables all Azure IP addresses to access the server.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of a server. This cmdlet creates a firewall rule on the server that this cmdlet specifies. Specify the server name, not the fully qualified DNS name.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of a resource group that contains a server. This cmdlet creates a firewall rule on a server in the resource group that this cmdlet specifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + <command:syntaxItem> + <maml:name>New-AzureRmSqlServerFirewallRule</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>FirewallRuleName</maml:name> + <maml:description> + <maml:para>Specifies the name of the new firewall rule.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>StartIpAddress</maml:name> + <maml:description> + <maml:para>Specifies the start value of the IP address range for the firewall rule.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>EndIpAddress</maml:name> + <maml:description> + <maml:para>Specifies the end value of the IP address range for this rule.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of a server. This cmdlet creates a firewall rule on the server that this cmdlet specifies. Specify the server name, not the fully qualified DNS name.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of a resource group that contains a server. This cmdlet creates a firewall rule on a server in the resource group that this cmdlet specifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>FirewallRuleName</maml:name> + <maml:description> + <maml:para>Specifies the name of the new firewall rule.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>StartIpAddress</maml:name> + <maml:description> + <maml:para>Specifies the start value of the IP address range for the firewall rule.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>EndIpAddress</maml:name> + <maml:description> + <maml:para>Specifies the end value of the IP address range for this rule.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of a server. This cmdlet creates a firewall rule on the server that this cmdlet specifies. Specify the server name, not the fully qualified DNS name.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of a resource group that contains a server. This cmdlet creates a firewall rule on a server in the resource group that this cmdlet specifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>AllowAllAzureIPs</maml:name> + <maml:description> + <maml:para>Indicates that this firewall rule enables all Azure IP addresses to access the server.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.FirewallRule.Model.AzureSqlServerFirewallRuleModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Create a firewall rule --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; New-AzureRmSqlServerFirewallRule -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -FirewallRuleName &quot;rule01&quot; -StartIpAddress &quot;192.168.0.198&quot; -EndIpAddress &quot;192.168.0.199&quot;</dev:code> + <dev:remarks> + <maml:para>This command creates a firewall rule named rule01 on the server named server01. The rule includes the specified start and end IP addresses.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>ResourceGroupName : resourcegroup01 +ServerName : server01 +StartIpAddress : 192.168.0.198 +EndIpAddress : 192.168.0.199 +FirewallRuleName : rule01</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Azure SQL Database</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlServerFirewallRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Remove-AzureRmSqlServerFirewallRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlServerFirewallRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Remove-AzureRmSqlDatabase</command:name> + <maml:description> + <maml:para>Removes an Azure SQL database.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Remove</command:verb> + <command:noun>AzureRMSqlDatabase</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Remove-AzureRmSqlDatabase cmdlet removes an Azure SQL database.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Remove-AzureRmSqlDatabase</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database that this cmdlet removes.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Force</maml:name> + <maml:description> + <maml:para>Forces the command to run without asking for user confirmation.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server the database is in.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>WhatIf</maml:name> + <maml:description> + <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Confirm</maml:name> + <maml:description> + <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database that this cmdlet removes.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Force</maml:name> + <maml:description> + <maml:para>Forces the command to run without asking for user confirmation.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server the database is in.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>WhatIf</maml:name> + <maml:description> + <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>false</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Confirm</maml:name> + <maml:description> + <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>false</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Remove a database from an Azure SQL server --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Remove-AzureRmSqlDatabase -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot;</dev:code> + <dev:remarks> + <maml:para>This command removes the database named database01 from server server01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>New-AzureRmSqlDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Resume-AzureRmSqlDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Suspend-AzureRmSqlDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Azure SQL Database</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Remove-AzureRmSqlDatabaseAuditing</command:name> + <maml:description> + <maml:para>Removes auditing of an Azure SQL database.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Remove</command:verb> + <command:noun>AzureRMSqlDatabaseAuditing</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Remove-AzureRmSqlDatabaseAuditing cmdlet removes the auditing of an Azure SQL database. To use this cmdlet, use the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database. After you run this cmdlet, auditing of the database is not performed. If the command succeeds and you have used the PassThru parameter, the cmdlet returns an object describing the current auditing policy, as well as the database identifiers. Database identifiers include, but are not limited to, the ResourceGroupName, ServerName and DatabaseName.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Remove-AzureRmSqlDatabaseAuditing</maml:name> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>PassThru</maml:name> + <maml:description> + <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server containing the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group containing the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>PassThru</maml:name> + <maml:description> + <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server containing the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group containing the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.DatabaseAuditingPolicyModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.DatabaseAuditingPolicyModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Remove the auditing of an Azure SQL database --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Remove-AzureRmSqlDatabaseAuditing -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot;</dev:code> + <dev:remarks> + <maml:para>This command removes the auditing of database named database01. That database is located on server01 in the resource group named resourcegroup01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlDatabaseAuditingPolicy</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlDatabaseAuditingPolicy</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Azure SQL Database</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Remove-AzureRmSqlDatabaseDataMaskingRule</command:name> + <maml:description> + <maml:para>Removes a data masking rule from an Azure SQL database.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Remove</command:verb> + <command:noun>AzureRMSqlDatabaseDataMaskingRule</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Remove-AzureRmSqlDatabaseDataMaskingRule cmdlet removes a specific data masking rule from an Azure SQL database. You can remove a data masking rule by using the ResourceGroupName, ServerName, DatabaseName, and RuleId parameters to identify the rule to be removed.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Remove-AzureRmSqlDatabaseDataMaskingRule</maml:name> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>PassThru</maml:name> + <maml:description> + <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Force</maml:name> + <maml:description> + <maml:para>Forces the command to run without asking for user confirmation.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>RuleId</maml:name> + <maml:description> + <maml:para>Specifies the identifier for the data masking rule.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>WhatIf</maml:name> + <maml:description> + <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Confirm</maml:name> + <maml:description> + <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>PassThru</maml:name> + <maml:description> + <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Force</maml:name> + <maml:description> + <maml:para>Forces the command to run without asking for user confirmation.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>RuleId</maml:name> + <maml:description> + <maml:para>Specifies the identifier for the data masking rule.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>WhatIf</maml:name> + <maml:description> + <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>false</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Confirm</maml:name> + <maml:description> + <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>false</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.DatabaseDataMaskingRuleModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.DatabaseDataMaskingRuleModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Remove a database data masking rule --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Remove-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot; -RuleId &quot;rule01&quot;</dev:code> + <dev:remarks> + <maml:para>This command removes the rule that has the ID rule01, that was defined for the database database01 located in server01 in resource group resourcegroup01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlDatabaseDataMaskingRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>New-AzureRmSqlDatabaseDataMaskingRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlDatabaseDataMaskingRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Azure SQL Database</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Remove-AzureRmSqlDatabaseSecondary</command:name> + <maml:description> + <maml:para>Terminates data replication between an Azure SQL Database and the specified secondary database.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Remove</command:verb> + <command:noun>AzureRMSqlDatabaseSecondary</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>This cmdlet replaces the Stop-AzureSqlDatabaseCopy cmdlet. It will force terminates the geo-replication link. There is no replication synchronization prior to termination.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Remove-AzureRmSqlDatabaseSecondary</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>The name of the primary Azure SQL Database with the replication link to remove.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>PartnerResourceGroupName</maml:name> + <maml:description> + <maml:para>The name of the partner Azure Resource Group.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>PartnerServerName</maml:name> + <maml:description> + <maml:para>The name of the partner Azure SQL Server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>The name of the Azure SQL Server with the replication link to remove.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>The name of the Azure Resource Group with the replication link to remove.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>The name of the primary Azure SQL Database with the replication link to remove.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>PartnerResourceGroupName</maml:name> + <maml:description> + <maml:para>The name of the partner Azure Resource Group.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>PartnerServerName</maml:name> + <maml:description> + <maml:para>The name of the partner Azure SQL Server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>The name of the Azure SQL Server with the replication link to remove.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>The name of the Azure Resource Group with the replication link to remove.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + </command:examples> + <maml:relatedLinks> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Remove-AzureRmSqlElasticPool</command:name> + <maml:description> + <maml:para>Deletes an elastic database pool.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Remove</command:verb> + <command:noun>AzureRMSqlElasticPool</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Remove-AzureRmSqlElasticPool cmdlet deletes an elastic pool in Azure SQL Database.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Remove-AzureRmSqlElasticPool</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>ElasticPoolName</maml:name> + <maml:description> + <maml:para>Specifies the name of the elastic pool that this cmdlet deletes.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Force</maml:name> + <maml:description> + <maml:para>Forces the command to run without asking for user confirmation.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that contains the elastic pool that this cmdlet modifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the elastic pool that this cmdlet deletes.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>WhatIf</maml:name> + <maml:description> + <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Confirm</maml:name> + <maml:description> + <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>ElasticPoolName</maml:name> + <maml:description> + <maml:para>Specifies the name of the elastic pool that this cmdlet deletes.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Force</maml:name> + <maml:description> + <maml:para>Forces the command to run without asking for user confirmation.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that contains the elastic pool that this cmdlet modifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the elastic pool that this cmdlet deletes.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>WhatIf</maml:name> + <maml:description> + <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>false</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Confirm</maml:name> + <maml:description> + <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>false</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.ElasticPool.Model.AzureSqlElasticPoolModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.ElasticPool.Model.AzureSqlElasticPoolModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Delete an elastic pool --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Remove-AzureRmSqlElasticPool -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -ElasticPoolName &quot;elasticpool01&quot;</dev:code> + <dev:remarks> + <maml:para>This command deletes an elastic pool named elasticpool01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Azure SQL Database</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlElasticPool</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlElasticPoolActivity</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlElasticPoolDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>New-AzureRmSqlElasticPool</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlElasticPool</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Remove-AzureRmSqlServer</command:name> + <maml:description> + <maml:para>Removes an Azure SQL Database server.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Remove</command:verb> + <command:noun>AzureRMSqlServer</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Remove-AzureRmSqlServer cmdlet removes an Azure SQL Database server.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Remove-AzureRmSqlServer</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that this cmdlet removes.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Force</maml:name> + <maml:description> + <maml:para>Forces the command to run without asking for user confirmation.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the server that this cmdlet removes.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>WhatIf</maml:name> + <maml:description> + <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Confirm</maml:name> + <maml:description> + <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that this cmdlet removes.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Force</maml:name> + <maml:description> + <maml:para>Forces the command to run without asking for user confirmation.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the server that this cmdlet removes.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>WhatIf</maml:name> + <maml:description> + <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>false</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Confirm</maml:name> + <maml:description> + <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>false</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Remove a server --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Remove-AzureRmSqlServer -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot;</dev:code> + <dev:remarks> + <maml:para>This command removes the Azure SQL Database server named server01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Azure SQL Database</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlServer</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>New-AzureRmSqlServer</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlServer</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Remove-AzureRmSqlServerActiveDirectoryAdministrator</command:name> + <maml:description> + <maml:para>Removes an Azure AD administrator for SQL Server.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Remove</command:verb> + <command:noun>AzureRMSqlServerActiveDirectoryAdministrator</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Remove-AzureRmSqlServerActiveDirectoryAdministrator cmdlet removes an Azure Active Directory (Azure AD) administrator for Azure SQL Server in the current subscription.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Remove-AzureRmSqlServerActiveDirectoryAdministrator</maml:name> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Force</maml:name> + <maml:description> + <maml:para>Forces the command to run without asking for user confirmation.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the SQL Server for which this cmdlet removes an administrator.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the SQL Server for which this cmdlet removes an administrator.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>WhatIf</maml:name> + <maml:description> + <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Confirm</maml:name> + <maml:description> + <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Force</maml:name> + <maml:description> + <maml:para>Forces the command to run without asking for user confirmation.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the SQL Server for which this cmdlet removes an administrator.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the SQL Server for which this cmdlet removes an administrator.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>WhatIf</maml:name> + <maml:description> + <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>false</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Confirm</maml:name> + <maml:description> + <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>false</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.ServerActiveDirectoryAdministrator.Model.AzureSqlServerActiveDirectoryAdministratorModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.ServerActiveDirectoryAdministrator.Model.AzureSqlServerActiveDirectoryAdministratorModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Remove an administrator --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Remove-AzureRmSqlServerActiveDirectoryAdministrator -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; +</dev:code> + <dev:remarks> + <maml:para>Removes the Azure AD administrator for the server named server01 that is associated with resource group resourcegroup01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>Confirm +Are you sure you want to remove the Azure Sql Server Active Directory Administrator on server &apos;server01&apos;? +[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is &quot;Y&quot;): Y + +ResourceGroupName ServerName DisplayName ObjectId +----------------- ---------- ----------- -------- +resourcegroup01 server01 DBAs 40b79501-b343-44ed-9ce7-da4c8cc7353b</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlServerActiveDirectoryAdministrator</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlServerActiveDirectoryAdministrator</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Remove-AzureRmSqlServerAuditing</command:name> + <maml:description> + <maml:para>Removes auditing of an Azure SQL server.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Remove</command:verb> + <command:noun>AzureRMSqlServerAuditing</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Remove-AzureRmSqlServerAuditing cmdlet removes the auditing of an Azure SQL server. To use this cmdlet, specify the ResourceGroupName and ServerName parameters to identify the server. After you run this cmdlet, auditing of the databases in the provided Azure SQL server, that are defined as using this policy of that Azure SQL server, is not performed. If the command succeeds, and you specify the PassThru parameter, the cmdlet returns an object that describes the current auditing policy and the Azure SQL server identifiers. Server identifiers include the ResourceGroupName and ServerName.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Remove-AzureRmSqlServerAuditing</maml:name> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>PassThru</maml:name> + <maml:description> + <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the Azure SQL server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group of the Azure SQL server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>PassThru</maml:name> + <maml:description> + <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the Azure SQL server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group of the Azure SQL server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.ServerAuditingPolicyModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.ServerAuditingPolicyModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Remove the auditing of an Azure SQL server --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Remove-AzureRmSqlDatabaseAuditing -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot;</dev:code> + <dev:remarks> + <maml:para>This command removes the auditing of all the databases located in server01 in resource group resourcegroup01 that use the policy of that server.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlDatabaseAuditingPolicy</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlDatabaseAuditingPolicy</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Remove-AzureRmSqlServerFirewallRule</command:name> + <maml:description> + <maml:para>Deletes a firewall rule from an Azure SQL Database server.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Remove</command:verb> + <command:noun>AzureRMSqlServerFirewallRule</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Remove-AzureRmSqlServerFirewallRule cmdlet deletes a firewall rule from the specified Azure SQL Database server.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Remove-AzureRmSqlServerFirewallRule</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>FirewallRuleName</maml:name> + <maml:description> + <maml:para>Specifies the name of the firewall rule that this cmdlet deletes.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Force</maml:name> + <maml:description> + <maml:para>Forces the command to run without asking for user confirmation.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of a server. This cmdlet deletes a firewall rule from the server that this parameter specifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of a resource group. This cmdlet deletes a firewall rule on a server in the resource group that this parameter specifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>WhatIf</maml:name> + <maml:description> + <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Confirm</maml:name> + <maml:description> + <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>FirewallRuleName</maml:name> + <maml:description> + <maml:para>Specifies the name of the firewall rule that this cmdlet deletes.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Force</maml:name> + <maml:description> + <maml:para>Forces the command to run without asking for user confirmation.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of a server. This cmdlet deletes a firewall rule from the server that this parameter specifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of a resource group. This cmdlet deletes a firewall rule on a server in the resource group that this parameter specifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>WhatIf</maml:name> + <maml:description> + <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>false</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Confirm</maml:name> + <maml:description> + <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>false</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.FirewallRule.Model.AzureSqlServerFirewallRuleModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Delete a rule --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Remove-AzureRmSqlServerFirewallRule -FirewallRuleName &quot;rule01&quot; -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot;</dev:code> + <dev:remarks> + <maml:para>This command deletes a firewall rule named rule01 on the server named server01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Azure SQL Database</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlServerFirewallRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>New-AzureRmSqlServerFirewallRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlServerFirewallRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Resume-AzureRmSqlDatabase</command:name> + <maml:description> + <maml:para>Resumes an Azure SQL Data Warehouse database.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Resume</command:verb> + <command:noun>AzureRMSqlDatabase</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Resume-AzureRmSqlDatabase cmdlet resumes an Azure SQL Data Warehouse database.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Resume-AzureRmSqlDatabase</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that hosts the database that this cmdlet resumes.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database that this cmdlet resumes.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the database that this cmdlet resumes.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that hosts the database that this cmdlet resumes.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database that this cmdlet resumes.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the database that this cmdlet resumes.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para>This Resume-AzureRmSqlDatabase cmdlet works only on Azure SQL Data Warehouse databases. This operation is not supported on Azure SQL Database Basic, Standard and Premium editions.</maml:para> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Resumes an Azure SQL Data Warehouse database --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Resume-AzureSqlDatabase -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot;</dev:code> + <dev:remarks> + <maml:para>This command resumes a suspended Azure SQL Data Warehouse database.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>New-AzureRmSqlDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Remove-AzureRmSqlDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Suspend-AzureRmSqlDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Set-AzureRmSqlDatabase</command:name> + <maml:description> + <maml:para>Sets properties for an Azure SQL database, or moves an existing database into an elastic pool.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Set</command:verb> + <command:noun>AzureRMSqlDatabase</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Set-AzureRmSqlDatabase cmdlet sets properties for an Azure SQL database. You can specify the ElasticPoolName parameter to move a database into an elastic pool. If database is already in an elastic pool, you can specify the RequestedServiceObjectiveName parameter to assign a performance level.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Set-AzureRmSqlDatabase</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>MaxSizeBytes</maml:name> + <maml:description> + <maml:para>Specifies the new maximum size for the database in bytes. You can specify either this parameter or MaxSizeGB. See the MaxSizeGB parameter for acceptable values based on edition.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">Int64</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Edition</maml:name> + <maml:description> + <maml:para>Specifies the edition for the database. Valid values are: +-- Default +-- None +-- Premium +-- Basic +-- Standard</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">DatabaseEdition</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>RequestedServiceObjectiveName</maml:name> + <maml:description> + <maml:para>Specifies the name of the service objective to assign to the database. For information about service objectives, see Azure SQL Database Service Tiers and Performance Levels (https://msdn.microsoft.com/en-us/library/azure/dn741336.aspx) in the Microsoft Developer Library.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>ElasticPoolName</maml:name> + <maml:description> + <maml:para>Specifies name of the elastic pool in which to put the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> + <maml:name>Tags</maml:name> + <maml:description> + <maml:para>Specifies a dictionary of tags that this cmdlet associates with the new server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Dictionary`2[String]</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of resource group of the server that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>MaxSizeBytes</maml:name> + <maml:description> + <maml:para>Specifies the new maximum size for the database in bytes. You can specify either this parameter or MaxSizeGB. See the MaxSizeGB parameter for acceptable values based on edition.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">Int64</command:parameterValue> + <dev:type> + <maml:name>Int64</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Edition</maml:name> + <maml:description> + <maml:para>Specifies the edition for the database. Valid values are: +-- Default +-- None +-- Premium +-- Basic +-- Standard</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">DatabaseEdition</command:parameterValue> + <dev:type> + <maml:name>DatabaseEdition</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>RequestedServiceObjectiveName</maml:name> + <maml:description> + <maml:para>Specifies the name of the service objective to assign to the database. For information about service objectives, see Azure SQL Database Service Tiers and Performance Levels (https://msdn.microsoft.com/en-us/library/azure/dn741336.aspx) in the Microsoft Developer Library.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>ElasticPoolName</maml:name> + <maml:description> + <maml:para>Specifies name of the elastic pool in which to put the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> + <maml:name>Tags</maml:name> + <maml:description> + <maml:para>Specifies a dictionary of tags that this cmdlet associates with the new server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Dictionary`2[String]</command:parameterValue> + <dev:type> + <maml:name>Dictionary`2[String]</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of resource group of the server that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Update a database to a Standard S2 database --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Set-AzureRmSqlDatabase -ResourceGroupName &quot;resourcegroup01&quot; -DatabaseName &quot;database01&quot; -ServerName &quot;server01&quot; -Edition &quot;Standard&quot; -RequestedServiceObjectiveName &quot;S2&quot;</dev:code> + <dev:remarks> + <maml:para>This command updates a database named database01 to a Standard S2 database in a server named server01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>ResourceGroupName : resourcegroup01 +ServerName : server01 +DatabaseName : database01 +Location : Central US +DatabaseId : a1e6bd1a-735a-4d48-8b98-afead5ef1218 +Edition : Standard +CollationName : SQL_Latin1_General_CP1_CI_AS +CatalogCollation : +MaxSizeBytes : 268435456000 +Status : Online +CreationDate : 7/3/2015 7:33:37 AM +CurrentServiceObjectiveId : 455330e1-00cd-488b-b5fa-177c226f28b7 +CurrentServiceObjectiveName : S2 +RequestedServiceObjectiveId : 455330e1-00cd-488b-b5fa-177c226f28b7 +RequestedServiceObjectiveName : +ElasticPoolName : +EarliestRestoreDate : +Tags : +</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + <command:example> + <maml:title>-------------------------- Example 2: Add a database to an elastic pool --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Set-AzureRmSqlDatabase -ResourceGroupName &quot;resourcegroup01&quot; -DatabaseName &quot;database01&quot; -ServerName &quot;server01&quot; -ElasticPoolName &quot;elasticpool01&quot;</dev:code> + <dev:remarks> + <maml:para>The following command adds a database named database01 to the elastic pool named elasticpool01 in the server named server01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>ResourceGroupName : resourcegroup01 +ServerName : server01 +DatabaseName : database01 +Location : Central US +DatabaseId : a1e6bd1a-735a-4d48-8b98-afead5ef1218 +Edition : Standard +CollationName : SQL_Latin1_General_CP1_CI_AS +CatalogCollation : +MaxSizeBytes : 268435456000 +Status : Online +CreationDate : 7/3/2015 7:33:37 AM +CurrentServiceObjectiveId : d1737d22-a8ea-4de7-9bd0-33395d2a7419 +CurrentServiceObjectiveName : ElasticPool +RequestedServiceObjectiveId : d1737d22-a8ea-4de7-9bd0-33395d2a7419 +RequestedServiceObjectiveName : +ElasticPoolName : elasticpool01 +EarliestRestoreDate : +Tags :</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>New-AzureRmSqlDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Remove-AzureRmSqlDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Resume-AzureRmSqlDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Suspend-AzureRmSqlDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Azure SQL Database</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Set-AzureRmSqlDatabaseAuditingPolicy</command:name> + <maml:description> + <maml:para>Sets the auditing policy for an Azure SQL database.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Set</command:verb> + <command:noun>AzureRMSqlDatabaseAuditingPolicy</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Set-AzureRmSqlDatabaseAuditingPolicy cmdlet changes the auditing policy of an Azure SQL database. To use the cmdlet, use the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database. Specify the StorageAccountName parameter to specify the storage account to be used for the audit logs and the StorageKeyType parameter to define which of that storage keys to use. </maml:para> + <maml:para>You can also define retention for the audit logs table by setting the value of the RetentionInDays and TableIdentifier parameters to define the period and the seed for the names of the audit logs tables. Specify the EventType parameter to define which event types to audit. </maml:para> + <maml:para>After the cmdlet runs successfully, auditing of the database is enabled. If the database used the policy of its server for auditing before you ran this cmdlet, auditing stops using the policy of its server. If the cmdlet succeeds and you use the PassThru parameter, it returns an object describing the current auditing policy, as well as the database identifiers. Database identifiers include, but are not limited to, ResourceGroupName, ServerName, and DatabaseName.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Set-AzureRmSqlDatabaseAuditingPolicy</maml:name> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>PassThru</maml:name> + <maml:description> + <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>EventType</maml:name> + <maml:description> + <maml:para>Specifies the event types to audit. Valid values are: </maml:para> + <maml:para>-- PlainSQL_Success +-- PlainSQL_Failure +-- ParameterizedSQL_Success +-- ParameterizedSQL_Failure +-- StoredProcedure_Success +-- StoredProcedure_Failure +-- Login_Success +-- Login_Failure +-- TransactionManagement_Success +-- TransactionManagement_Failure +-- All +-- None</maml:para> + <maml:para>You can specify several event types. You can specify All to audit all of the event types or None to specify that no events will be audited. If you specify All or None at the same time, the cmdlet fails to run.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>StorageAccountName</maml:name> + <maml:description> + <maml:para>Specifies the name of the storage account to be used when auditing the database. Wildcards are not permitted. This parameter is not required. When this parameter is not provided, the cmdlet will use the storage account that was defined previously as part of the auditing policy of the database. If this is the first time a database auditing policy is defined and this parameter is not provided, the cmdlet will fail.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>StorageKeyType</maml:name> + <maml:description> + <maml:para>Specifies which of the storage access keys to use. Valid values are: </maml:para> + <maml:para>-- Primary +-- Secondary</maml:para> + <maml:para>The default value is Primary.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>RetentionInDays</maml:name> + <maml:description> + <maml:para>Specifies the number of retention days for the audit logs table. A value of zero (0) means that the table is not retained. The default value is zero. If you specify a value greater than zero, you must specify a value for the TableIdentifer parameter.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Nullable`1[UInt32]</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>TableIdentifier</maml:name> + <maml:description> + <maml:para>Specifies the name of the audit logs table. Specify this value if you specify a value greater than zero for the RetentionInDays parameter.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>PassThru</maml:name> + <maml:description> + <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>EventType</maml:name> + <maml:description> + <maml:para>Specifies the event types to audit. Valid values are: </maml:para> + <maml:para>-- PlainSQL_Success +-- PlainSQL_Failure +-- ParameterizedSQL_Success +-- ParameterizedSQL_Failure +-- StoredProcedure_Success +-- StoredProcedure_Failure +-- Login_Success +-- Login_Failure +-- TransactionManagement_Success +-- TransactionManagement_Failure +-- All +-- None</maml:para> + <maml:para>You can specify several event types. You can specify All to audit all of the event types or None to specify that no events will be audited. If you specify All or None at the same time, the cmdlet fails to run.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue> + <dev:type> + <maml:name>String[]</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>StorageAccountName</maml:name> + <maml:description> + <maml:para>Specifies the name of the storage account to be used when auditing the database. Wildcards are not permitted. This parameter is not required. When this parameter is not provided, the cmdlet will use the storage account that was defined previously as part of the auditing policy of the database. If this is the first time a database auditing policy is defined and this parameter is not provided, the cmdlet will fail.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>StorageKeyType</maml:name> + <maml:description> + <maml:para>Specifies which of the storage access keys to use. Valid values are: </maml:para> + <maml:para>-- Primary +-- Secondary</maml:para> + <maml:para>The default value is Primary.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>RetentionInDays</maml:name> + <maml:description> + <maml:para>Specifies the number of retention days for the audit logs table. A value of zero (0) means that the table is not retained. The default value is zero. If you specify a value greater than zero, you must specify a value for the TableIdentifer parameter.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Nullable`1[UInt32]</command:parameterValue> + <dev:type> + <maml:name>Nullable`1[UInt32]</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>TableIdentifier</maml:name> + <maml:description> + <maml:para>Specifies the name of the audit logs table. Specify this value if you specify a value greater than zero for the RetentionInDays parameter.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.DatabaseAuditingPolicyModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Set the auditing policy of a database --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot; -StorageAccountName &quot;Storage31&quot;</dev:code> + <dev:remarks> + <maml:para>This command sets the auditing policy of database named database01 located in server01 to use the storage account named Storage31.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + <command:example> + <maml:title>-------------------------- Example 2: Set the storage account key of an existing auditing policy of a database --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot; -StorageAccountKey Secondary</dev:code> + <dev:remarks> + <maml:para>This command sets the auditing policy of database named database01 located in server01 to keep using the same storage account name, but use the secondary key.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + <command:example> + <maml:title>-------------------------- Example 3: Set the auditing policy of a database to use a specific event type --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot; -EventType Login_Failure</dev:code> + <dev:remarks> + <maml:para>This command sets the auditing policy of database named database01 located in server01 to log the Login_Failure event type. The command does not change the storage settings.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlDatabaseAuditingPolicy</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Remove-AzureRmSqlDatabaseAuditing</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Azure SQL Database</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Set-AzureRmSqlDatabaseDataMaskingPolicy</command:name> + <maml:description> + <maml:para>Sets data masking for an Azure SQL database.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Set</command:verb> + <command:noun>AzureRMSqlDatabaseDataMaskingPolicy</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Set-AzureRmSqlDatabaseDataMaskingPolicy cmdlet sets the data masking policy for an Azure SQL database. To use this cmdlet, use the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database. You can set the DataMaskingState parameter to specify whether data masking operations are enabled or disabled. You can also set the PrivilegedLogins parameter to specify which users are allowed to see the unmasked data. If the cmdlet succeeds and the PassThru parameter is used, it returns an object describing the current data masking policy as well as the database identifiers. Database identifiers include, but are not limited to, ResourceGroupName, ServerName, and DatabaseName.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Set-AzureRmSqlDatabaseDataMaskingPolicy</maml:name> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>PassThru</maml:name> + <maml:description> + <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>PrivilegedLogins</maml:name> + <maml:description> + <maml:para>Specifies a semicolon separated list of privileged user ids that can view the masking data.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>DataMaskingState</maml:name> + <maml:description> + <maml:para>Specifies whether data masking operation is enabled or disabled. Valid values are: +-- Enabled +-- Disabled</maml:para> + <maml:para>The default value is Enabled.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server containing the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group containing the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>PassThru</maml:name> + <maml:description> + <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>PrivilegedLogins</maml:name> + <maml:description> + <maml:para>Specifies a semicolon separated list of privileged user ids that can view the masking data.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>DataMaskingState</maml:name> + <maml:description> + <maml:para>Specifies whether data masking operation is enabled or disabled. Valid values are: +-- Enabled +-- Disabled</maml:para> + <maml:para>The default value is Enabled.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server containing the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group containing the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.DatabaseDataMaskingPolicyModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Set the data masking policy for a database --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Set-AzureRmSqlDatabaseDataMaskingPolicy -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot;</dev:code> + <dev:remarks> + <maml:para>This command sets the data masking policy from database named database01 on the server named server01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlDatabaseDataMaskingPolicy</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlDatabaseDataMaskingRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>New-AzureRmSqlDatabaseDataMaskingRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Remove-AzureRmSqlDatabaseDataMaskingRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlDatabaseDataMaskingRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Azure SQL Database</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Set-AzureRmSqlDatabaseDataMaskingRule</command:name> + <maml:description> + <maml:para>Sets the properties of a data masking rule in an Azure SQL database.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Set</command:verb> + <command:noun>AzureRMSqlDatabaseDataMaskingRule</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Set-AzureRmSqlDatabaseDataMaskingRule cmdlet is used to set a data masking rule in an Azure SQL database. To use the cmdlet, provide the ResourceGroupName, ServerName, DatabaseName, and RuleId parameters to identify the rule. You can provide any of the parameters of SchemaName, TableName, and ColumnName to retarget the rule. Specify the MaskingFunction parameter to modify how the data is masked. If you specify a value of Number or Text for MaskingFunction, you can specify the NumberFrom and NumberTo parameters for number masking or the PrefixSize, ReplacementString, and SuffixSize parameters for text masking. If the command succeeds, and if you specify the PassThru parameter, the cmdlet returns an object that describe the data masking rule properties, and the rule identifiers. Rule identifiers include, but are not limited to, ResourceGroupName, ServerName,DatabaseName and RuleId.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Set-AzureRmSqlDatabaseDataMaskingRule</maml:name> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ColumnName</maml:name> + <maml:description> + <maml:para>Specifies the name of the column that is the target of this masking rule.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>TableName</maml:name> + <maml:description> + <maml:para>Specifies the name of the table in the database of which the masked column is part.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>SchemaName</maml:name> + <maml:description> + <maml:para /> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>MaskingFunction</maml:name> + <maml:description> + <maml:para>Specifies the masking function that the rule uses. Valid values are: </maml:para> + <maml:para>-- Default +-- NoMasking +-- Text +-- Number +-- SocialSecurityNumber +-- CreditCardNumber +-- Email</maml:para> + <maml:para>The default value is Default.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>PrefixSize</maml:name> + <maml:description> + <maml:para>Specifies the number of characters in the beginning of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Nullable`1[UInt32]</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ReplacementString</maml:name> + <maml:description> + <maml:para>Specifies the number of characters in the end of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>SuffixSize</maml:name> + <maml:description> + <maml:para>Specifies the number of characters in the end of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Nullable`1[UInt32]</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>NumberFrom</maml:name> + <maml:description> + <maml:para>Specifies the lower bound number of the interval from which a random value is selected. Specify this parameter only if you specify a value of Number for the MaskingFunction parameter. The default value is 0.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Nullable`1[Double]</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>NumberTo</maml:name> + <maml:description> + <maml:para>Specifies the upper bound number of the interval from which a random value is selected. Specify this parameter only if you specify a value of Number for the MaskingFunction parameter. The default value is 0.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Nullable`1[Double]</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>PassThru</maml:name> + <maml:description> + <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>RuleId</maml:name> + <maml:description> + <maml:para>Specifies the identifier for the data masking rule.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ColumnName</maml:name> + <maml:description> + <maml:para>Specifies the name of the column that is the target of this masking rule.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>TableName</maml:name> + <maml:description> + <maml:para>Specifies the name of the table in the database of which the masked column is part.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>SchemaName</maml:name> + <maml:description> + <maml:para /> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>MaskingFunction</maml:name> + <maml:description> + <maml:para>Specifies the masking function that the rule uses. Valid values are: </maml:para> + <maml:para>-- Default +-- NoMasking +-- Text +-- Number +-- SocialSecurityNumber +-- CreditCardNumber +-- Email</maml:para> + <maml:para>The default value is Default.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>PrefixSize</maml:name> + <maml:description> + <maml:para>Specifies the number of characters in the beginning of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Nullable`1[UInt32]</command:parameterValue> + <dev:type> + <maml:name>Nullable`1[UInt32]</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ReplacementString</maml:name> + <maml:description> + <maml:para>Specifies the number of characters in the end of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>SuffixSize</maml:name> + <maml:description> + <maml:para>Specifies the number of characters in the end of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Nullable`1[UInt32]</command:parameterValue> + <dev:type> + <maml:name>Nullable`1[UInt32]</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>NumberFrom</maml:name> + <maml:description> + <maml:para>Specifies the lower bound number of the interval from which a random value is selected. Specify this parameter only if you specify a value of Number for the MaskingFunction parameter. The default value is 0.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Nullable`1[Double]</command:parameterValue> + <dev:type> + <maml:name>Nullable`1[Double]</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>NumberTo</maml:name> + <maml:description> + <maml:para>Specifies the upper bound number of the interval from which a random value is selected. Specify this parameter only if you specify a value of Number for the MaskingFunction parameter. The default value is 0.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Nullable`1[Double]</command:parameterValue> + <dev:type> + <maml:name>Nullable`1[Double]</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>PassThru</maml:name> + <maml:description> + <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>RuleId</maml:name> + <maml:description> + <maml:para>Specifies the identifier for the data masking rule.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.DatabaseDataMaskingRuleModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Change the range of a data masking rule in a database --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Set-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot; -RuleId &quot;Rule17&quot; -NumberFrom 23 -NumberTo 42</dev:code> + <dev:remarks> + <maml:para>This command modifies a data masking rule that has the ID Rule17. That rule operates in the database named database01 on server server01. This command changes the boundaries for the interval in which a random number is generated as the masked value. The new range is between 23 and 42.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlDatabaseDataMaskingRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>New-AzureRmSqlDatabaseDataMaskingRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Remove-AzureRmSqlDatabaseDataMaskingRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Azure SQL Database</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Set-AzureRmSqlDatabaseSecondary</command:name> + <maml:description> + <maml:para>Switches a secondary Azure SQL Database to the primary in order to failover.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Set</command:verb> + <command:noun>AzureRMSqlDatabaseSecondary</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>This cmdlet is designed as a general configuration command, but at the moment it is limited to initiating failover. Use it with the -AllowDataLoss parameter to initiate a force failover during an outage. You don’t have to specify it when performing a planned operation , such as DR drill. In the latter case the secondary databases will be synchronized with the primary before switching.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Set-AzureRmSqlDatabaseSecondary</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>The name of the Azure SQL Database Secondary.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>PartnerResourceGroupName</maml:name> + <maml:description> + <maml:para>The name of the Azure Resource Group of the partner Azure SQL Database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Failover</maml:name> + <maml:description> + <maml:para>Determines if this operation is a failover.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>AllowDataLoss</maml:name> + <maml:description> + <maml:para>Determines if this failover operation will allow data loss.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>The name of the Azure SQL Server of the Azure SQL Database Secondary.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>The name of the Azure Resource Group of the Azure SQL Database Secondary.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + <command:syntaxItem> + <maml:name>Set-AzureRmSqlDatabaseSecondary</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>The name of the Azure SQL Database Secondary.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>PartnerResourceGroupName</maml:name> + <maml:description> + <maml:para>The name of the Azure Resource Group of the partner Azure SQL Database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>The name of the Azure SQL Server of the Azure SQL Database Secondary.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>The name of the Azure Resource Group of the Azure SQL Database Secondary.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>The name of the Azure SQL Database Secondary.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>PartnerResourceGroupName</maml:name> + <maml:description> + <maml:para>The name of the Azure Resource Group of the partner Azure SQL Database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>The name of the Azure SQL Server of the Azure SQL Database Secondary.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>The name of the Azure Resource Group of the Azure SQL Database Secondary.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Failover</maml:name> + <maml:description> + <maml:para>Determines if this operation is a failover.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>AllowDataLoss</maml:name> + <maml:description> + <maml:para>Determines if this failover operation will allow data loss.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue></dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + </command:examples> + <maml:relatedLinks> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Set-AzureRmSqlDatabaseTransparentDataEncryption</command:name> + <maml:description> + <maml:para>Modifies TPE for an Azure SQL database.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Set</command:verb> + <command:noun>AzureRMSqlDatabaseTransparentDataEncryption</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Set-AzureRmSqlDatabaseTransparentDataEncryption cmdlet modifies the Transparent Data Encryption (TDE) property of an Azure SQL database. For more information, see Transparent Data Encryption with Azure SQL Database (https://msdn.microsoft.com/library/dn948096) in the Microsoft Developer Network Library.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Set-AzureRmSqlDatabaseTransparentDataEncryption</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="3"> + <maml:name>State</maml:name> + <maml:description> + <maml:para>Specifies the value of the TDE property. Valid values are: </maml:para> + <maml:para>-- Enabled +-- Disabled</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">TransparentDataEncryptionStateType</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that hosts the database that this cmdlet modifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database that this cmdlet modifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the database that this cmdlet modifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="3"> + <maml:name>State</maml:name> + <maml:description> + <maml:para>Specifies the value of the TDE property. Valid values are: </maml:para> + <maml:para>-- Enabled +-- Disabled</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">TransparentDataEncryptionStateType</command:parameterValue> + <dev:type> + <maml:name>TransparentDataEncryptionStateType</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that hosts the database that this cmdlet modifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database that this cmdlet modifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the database that this cmdlet modifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.TransparentDataEncryption.Model.AzureSqlDatabaseTransparentDataEncryptionModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Enable TPE for a database --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Set-AzureRmSqlDatabaseTransparentDataEncryption -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot; -State Enabled</dev:code> + <dev:remarks> + <maml:para>This command enables TPE for the database named database01 on the server named server01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>ResourceGroupName ServerName DatabaseName State +----------------- ---------- ------------ ----- +resourcegroup01 server01 database01 Enabled +</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlDatabaseTransparentDataEncryption</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlDatabaseTransparentDataEncryptionActivity</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Set-AzureRmSqlElasticPool</command:name> + <maml:description> + <maml:para>Modifies properties for an elastic database pool in Azure SQL Database.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Set</command:verb> + <command:noun>AzureRMSqlElasticPool</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Set-AzureRmSqlElasticPool cmdlet modifies properties for an elastic database pool in Azure SQL Database. This cmdlet can modify the minimum Database Throughput Units (DTUs) per database, and the maximum DTUs per database, the number of DTUs for the pool, and the storage limit for the pool.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Set-AzureRmSqlElasticPool</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>ElasticPoolName</maml:name> + <maml:description> + <maml:para>Specifies the name of the elastic pool that this cmdlet modifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Edition</maml:name> + <maml:description> + <maml:para>Specifies the edition of Azure SQL Database for the elastic pool. You cannot change the edition.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">DatabaseEdition</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Dtu</maml:name> + <maml:description> + <maml:para>Specifies the total number of shared DTUs for the elastic pool. The default values for different editions are as follows: </maml:para> + <maml:para>-- Basic. 100 DTUs +-- Standard. 100 DTUs +-- Premium. 125 DTUs</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>StorageMB</maml:name> + <maml:description> + <maml:para>Specifies the storage limit, in megabytes, for the elastic pool. For more information, see the New-AzureRmSqlElasticPool cmdlet.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>DatabaseDtuMin</maml:name> + <maml:description> + <maml:para>Specifies the minimum number of DTUs that the elastic pool guarantees to all the databases in the pool. The default value is zero (0).</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>DatabaseDtuMax</maml:name> + <maml:description> + <maml:para>Specifies the maximum number of DTUs that any single database in the pool can consume. The default values for different editions are as follows: </maml:para> + <maml:para>-- Basic. 5 DTUs +-- Standard. 100 DTUs +-- Premium. 125 DTUs</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> + <maml:name>Tags</maml:name> + <maml:description> + <maml:para>Specifies a dictionary of tags that this cmdlet associates with the elastic pool.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Dictionary`2[String]</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that contains the elastic pool that this cmdlet updates.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the elastic pool that this cmdlet modifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>ElasticPoolName</maml:name> + <maml:description> + <maml:para>Specifies the name of the elastic pool that this cmdlet modifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Edition</maml:name> + <maml:description> + <maml:para>Specifies the edition of Azure SQL Database for the elastic pool. You cannot change the edition.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">DatabaseEdition</command:parameterValue> + <dev:type> + <maml:name>DatabaseEdition</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Dtu</maml:name> + <maml:description> + <maml:para>Specifies the total number of shared DTUs for the elastic pool. The default values for different editions are as follows: </maml:para> + <maml:para>-- Basic. 100 DTUs +-- Standard. 100 DTUs +-- Premium. 125 DTUs</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> + <dev:type> + <maml:name>Int32</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>StorageMB</maml:name> + <maml:description> + <maml:para>Specifies the storage limit, in megabytes, for the elastic pool. For more information, see the New-AzureRmSqlElasticPool cmdlet.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> + <dev:type> + <maml:name>Int32</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>DatabaseDtuMin</maml:name> + <maml:description> + <maml:para>Specifies the minimum number of DTUs that the elastic pool guarantees to all the databases in the pool. The default value is zero (0).</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> + <dev:type> + <maml:name>Int32</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>DatabaseDtuMax</maml:name> + <maml:description> + <maml:para>Specifies the maximum number of DTUs that any single database in the pool can consume. The default values for different editions are as follows: </maml:para> + <maml:para>-- Basic. 5 DTUs +-- Standard. 100 DTUs +-- Premium. 125 DTUs</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> + <dev:type> + <maml:name>Int32</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> + <maml:name>Tags</maml:name> + <maml:description> + <maml:para>Specifies a dictionary of tags that this cmdlet associates with the elastic pool.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Dictionary`2[String]</command:parameterValue> + <dev:type> + <maml:name>Dictionary`2[String]</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that contains the elastic pool that this cmdlet updates.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the elastic pool that this cmdlet modifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.ElasticPool.Model.AzureSqlElasticPoolModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Modify properties for an elastic pool --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Set-AzureRmSqlDatabaseElasticPool -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -ElasticPoolName &quot;elasticpool01&quot; -Dtu 1000 -DatabaseDtuMax 100 -DatabaseDtuMin 20</dev:code> + <dev:remarks> + <maml:para>This command modifies properties for an elastic pool named elasticpool01. The command sets the number of DTUs for the elastic pool to be 1000 and sets the minimum and maximum DTUs.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>ResourceId : /subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/resourcegroup01/providers/Microsoft.Sql/servers/server01/elasticPools/elasticpool01 +ResourceGroupName : resourcegroup01 +ServerName : server01 +ElasticPoolName : elasticpool01 +Location : Central US +CreationDate : 8/26/2015 10:00:17 PM +State : Ready +Edition : Standard +Dtu : 200 +DatabaseDtuMax : 100 +DatabaseDtuMin : 20 +StorageMB : 204800 +Tags : +</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Azure SQL Database</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlElasticPool</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlElasticPoolActivity</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlElasticPoolDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>New-AzureRmSqlElasticPool</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Set-AzureRmSqlServer</command:name> + <maml:description> + <maml:para>Modifies properties of an Azure SQL Database server.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Set</command:verb> + <command:noun>AzureRMSqlServer</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Set-AzureRmSqlServer cmdlet modifies properties of an Azure SQL Database server.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Set-AzureRmSqlServer</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that this cmdlet modifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>SqlAdministratorPassword</maml:name> + <maml:description> + <maml:para>Specifies a new password, as a SecureSting, for the database server administrator for the server. To obtain a SecureSting, use the Get-Credential cmdlet. For more information, type Get-Help ConvertTo-SecureString.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">SecureString</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> + <maml:name>Tags</maml:name> + <maml:description> + <maml:para>Specifies a dictionary of tags that this cmdlet associates with the server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Dictionary`2[String]</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>ServerVersion</maml:name> + <maml:description> + <maml:para>Specifies the version to which this cmdlet changes the server. Valid values are: 2.0 and 12.0.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Force</maml:name> + <maml:description> + <maml:para>Forces the command to run without asking for user confirmation.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the server that this cmdlet modifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>WhatIf</maml:name> + <maml:description> + <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Confirm</maml:name> + <maml:description> + <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that this cmdlet modifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>SqlAdministratorPassword</maml:name> + <maml:description> + <maml:para>Specifies a new password, as a SecureSting, for the database server administrator for the server. To obtain a SecureSting, use the Get-Credential cmdlet. For more information, type Get-Help ConvertTo-SecureString.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">SecureString</command:parameterValue> + <dev:type> + <maml:name>SecureString</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> + <maml:name>Tags</maml:name> + <maml:description> + <maml:para>Specifies a dictionary of tags that this cmdlet associates with the server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Dictionary`2[String]</command:parameterValue> + <dev:type> + <maml:name>Dictionary`2[String]</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>ServerVersion</maml:name> + <maml:description> + <maml:para>Specifies the version to which this cmdlet changes the server. Valid values are: 2.0 and 12.0.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Force</maml:name> + <maml:description> + <maml:para>Forces the command to run without asking for user confirmation.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the server that this cmdlet modifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>WhatIf</maml:name> + <maml:description> + <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>false</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Confirm</maml:name> + <maml:description> + <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>false</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Reset admin password on Azure SQL Server --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; $serverPassword = &quot;newpassword&quot; +PS C:\&gt; $secureString = ConvertTo-SecureString $serverPassword -AsPlainText -Force +PS C:\&gt; Set-AzureSqlServer -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -SqlAdministratorPassword $secureString</dev:code> + <dev:remarks> + <maml:para>Resets the admin password to &quot;newpassword&quot; on Azure SQL Server &quot;server01&quot;.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>ResourceGroupName : resourcegroup01 +ServerName : server01 +Location : Australia East +SqlAdministratorLogin : adminLogin +SqlAdministratorPassword : +ServerVersion : 12.0 +Tags :</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Azure SQL Database</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Set-AzureRmSqlServerActiveDirectoryAdministrator</command:name> + <maml:description> + <maml:para>Provisions an Azure AD administrator for SQL Server.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Set</command:verb> + <command:noun>AzureRMSqlServerActiveDirectoryAdministrator</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Set-AzureRmSqlServerActiveDirectoryAdministrator cmdlet provisions an Azure Active Directory (Azure AD) administrator for Azure SQL Server in the current subscription.</maml:para> + <maml:para>Only one administrator can be provisioned at a time.</maml:para> + <maml:para>The following members of Azure AD can be provisioned as an administrator for SQL Server: </maml:para> + <maml:para>-- Native members of Azure AD +-- Federated members of Azure AD +-- Imported members from other Azure AD who are native or federated members +-- Azure AD groups created as security groups</maml:para> + <maml:para> +Microsoft accounts, such as those in the Outllook.com, Hotmail.com, or Live.com domains, are not supported as administrators. Other guest accounts, such as those in the Gmail.com or Yahoo.com domains, are not supported as administrators.</maml:para> + <maml:para>We recommend that you provision a dedicated Azure AD group as an administrator.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Set-AzureRmSqlServerActiveDirectoryAdministrator</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DisplayName</maml:name> + <maml:description> + <maml:para>Specifies the display name of the Azure AD administrator that this cmdlet provisions for SQL Server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="3"> + <maml:name>ObjectId</maml:name> + <maml:description> + <maml:para>Specifies the unique ID of the Azure AD administrator that this cmdlet provisions for SQL Server. If the display name is not unique, you must specify a value for this parameter.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">Guid</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the SQL Server for which this cmdlet provisions an administrator.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the SQL Server for which this cmdlet provisions an administrator.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DisplayName</maml:name> + <maml:description> + <maml:para>Specifies the display name of the Azure AD administrator that this cmdlet provisions for SQL Server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="3"> + <maml:name>ObjectId</maml:name> + <maml:description> + <maml:para>Specifies the unique ID of the Azure AD administrator that this cmdlet provisions for SQL Server. If the display name is not unique, you must specify a value for this parameter.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">Guid</command:parameterValue> + <dev:type> + <maml:name>Guid</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the SQL Server for which this cmdlet provisions an administrator.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the SQL Server for which this cmdlet provisions an administrator.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.ServerActiveDirectoryAdministrator.Model.AzureSqlServerActiveDirectoryAdministratorModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Provision an administrator group for a server --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Set-AzureRmSqlServerActiveDirectoryAdministrator -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DisplayName &quot;DBAs&quot; +</dev:code> + <dev:remarks> + <maml:para>This command provisions an Azure AD administrator group DBAs for the server named server01 that is associated with resource group resourcegroup01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>ResourceGroupName ServerName DisplayName ObjectId +----------------- ---------- ----------- -------- +resourcegroup01 server01 DBAs 40b79501-b343-44ed-9ce7-da4c8cc7353b</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + <command:example> + <maml:title>-------------------------- Example 2: Provision an administrator user for a server --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Set-AzureRmSqlServerActiveDirectoryAdministrator -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DisplayName &quot;David Chew&quot; +</dev:code> + <dev:remarks> + <maml:para>This command provisions an Azure AD user David Chew as an administrator for the server named server01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>ResourceGroupName ServerName DisplayName ObjectId +----------------- ---------- ----------- -------- +resourcegroup01 server01 David Chew 11E95548-B179-4FE1-9AF4-ACA49D13ABB9</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + <command:example> + <maml:title>-------------------------- Example 3: Provision an administrator group by specifying its ID --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt;Set-AzureRmSqlServerActiveDirectoryAdministrator -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DisplayName &quot;DBAs&quot; -ObjectId &quot;40b79501-b343-44ed-9ce7-da4c8cc7353b&quot; +</dev:code> + <dev:remarks> + <maml:para>This command provisions an Azure AD administrator group DBAs for the server named server01. This command specifies an ID for the ObjectId parameter. If the display name of the object is not unique, the command still works.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>ResourceGroupName ServerName DisplayName ObjectId +----------------- ---------- ----------- -------- +resourcegroup01 server01 DBAs 40b79501-b343-44ed-9ce7-da4c8cc7353b</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlServerActiveDirectoryAdministrator</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Remove-AzureRmSqlServerActiveDirectoryAdministrator</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Set-AzureRmSqlServerAuditingPolicy</command:name> + <maml:description> + <maml:para>Changes the auditing policy of an Azure SQL server.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Set</command:verb> + <command:noun>AzureRMSqlServerAuditingPolicy</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Set-AzureRmSqlServerAuditingPolicy cmdlet changes the auditing policy of an Azure SQL server. Specify the ResourceGroupName and ServerName parameters to identify the server, the StorageAccountName parameter to specify the storage account to be used for the audit logs and the StorageKeyType parameter to define which of that storage keys to use. You can also define retention for the audit logs table by setting the value of the RetentionInDays and TableIdentifier parameters to define the period and the seed for the names of the audit logs tables. Specify the EventType parameter to define which event types to audit. After you run this cmdlet, auditing of the databases that use the policy of this server is enabled. If the cmdlet succeeds, and you specify the PassThru parameter, the cmdlet returns an object that describes the current auditing policy, and the server&#226;€™s identifiers. Server identifiers include, but are not limited to, ResourceGroupName and ServerName.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Set-AzureRmSqlServerAuditingPolicy</maml:name> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>PassThru</maml:name> + <maml:description> + <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>EventType</maml:name> + <maml:description> + <maml:para>Specifies the event types to audit. Valid values are: </maml:para> + <maml:para>-- PlainSQL_Success +-- PlainSQL_Failure +-- ParameterizedSQL_Success +-- ParameterizedSQL_Failure +-- StoredProcedure_Success +-- StoredProcedure_Failure +-- Login_Success +-- Login_Failure +-- TransactionManagement_Success +-- TransactionManagement_Failure +-- All +-- None</maml:para> + <maml:para>You can specify several event types. You can specify All to audit all of the event types or None to specify that no events will be audited. If you specify All or None at the same time, the cmdlet fails.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>StorageAccountName</maml:name> + <maml:description> + <maml:para>Specifies the name of the storage account to be used when auditing the database. Wildcard characters are not permitted. If you do not specify this parameter, the cmdlet uses the storage account that was defined previously as part of the auditing policy of the database. If this is the first time a database auditing policy is defined and you do not specify this parameter, the cmdlet fails.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>StorageKeyType</maml:name> + <maml:description> + <maml:para>Specifies which of the storage access keys to use. Valid values are: </maml:para> + <maml:para>-- Primary +-- Secondary</maml:para> + <maml:para>The default value is Primary.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>RetentionInDays</maml:name> + <maml:description> + <maml:para>Specifies the number of retention days for the audit logs table. A value of zero (0) means that the table is not retained. The default value is zero. If you specify a value greater than zero, you must specify a value for the TableIdentifer parameter.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Nullable`1[UInt32]</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>TableIdentifier</maml:name> + <maml:description> + <maml:para>Specifies the name of the audit logs table. Specify this value if you specify a value greater than zero for the RetentionInDays parameter.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>PassThru</maml:name> + <maml:description> + <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>EventType</maml:name> + <maml:description> + <maml:para>Specifies the event types to audit. Valid values are: </maml:para> + <maml:para>-- PlainSQL_Success +-- PlainSQL_Failure +-- ParameterizedSQL_Success +-- ParameterizedSQL_Failure +-- StoredProcedure_Success +-- StoredProcedure_Failure +-- Login_Success +-- Login_Failure +-- TransactionManagement_Success +-- TransactionManagement_Failure +-- All +-- None</maml:para> + <maml:para>You can specify several event types. You can specify All to audit all of the event types or None to specify that no events will be audited. If you specify All or None at the same time, the cmdlet fails.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue> + <dev:type> + <maml:name>String[]</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>StorageAccountName</maml:name> + <maml:description> + <maml:para>Specifies the name of the storage account to be used when auditing the database. Wildcard characters are not permitted. If you do not specify this parameter, the cmdlet uses the storage account that was defined previously as part of the auditing policy of the database. If this is the first time a database auditing policy is defined and you do not specify this parameter, the cmdlet fails.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>StorageKeyType</maml:name> + <maml:description> + <maml:para>Specifies which of the storage access keys to use. Valid values are: </maml:para> + <maml:para>-- Primary +-- Secondary</maml:para> + <maml:para>The default value is Primary.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>RetentionInDays</maml:name> + <maml:description> + <maml:para>Specifies the number of retention days for the audit logs table. A value of zero (0) means that the table is not retained. The default value is zero. If you specify a value greater than zero, you must specify a value for the TableIdentifer parameter.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Nullable`1[UInt32]</command:parameterValue> + <dev:type> + <maml:name>Nullable`1[UInt32]</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>TableIdentifier</maml:name> + <maml:description> + <maml:para>Specifies the name of the audit logs table. Specify this value if you specify a value greater than zero for the RetentionInDays parameter.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the database.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.ServerAuditingPolicyModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Set the auditing policy of an Azure SQL server --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -StorageAccountName &quot;Storage22&quot;</dev:code> + <dev:remarks> + <maml:para>This command sets the auditing policy of the server named server01 to use storage account named Storage22.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + <command:example> + <maml:title>-------------------------- Example 2: Set the storage account key of an already existing auditing policy of an Azure SQL server --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -StorageAccountKey Secondary</dev:code> + <dev:remarks> + <maml:para>This command sets the auditing policy of the server named server01 to use the secondary key. The command does not modify the storage account name.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + <command:example> + <maml:title>-------------------------- Example 3: Set the auditing policy of an Azure SQL server to use a specific event type --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -EventType Login_Failure</dev:code> + <dev:remarks> + <maml:para>This command sets the auditing policy of the server named server01 to use the Login_Failure event type. This command does not modify any other setting.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlServerAuditingPolicy</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Use-AzureRmSqlServerAuditingPolicy</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Set-AzureRmSqlServerFirewallRule</command:name> + <maml:description> + <maml:para>Modifies a firewall rule in Azure SQL Database server.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Set</command:verb> + <command:noun>AzureRMSqlServerFirewallRule</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Set-AzureRmSqlServerFirewallRule cmdlet modifies a firewall rule in Azure SQL Database server.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Set-AzureRmSqlServerFirewallRule</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>FirewallRuleName</maml:name> + <maml:description> + <maml:para>Specifies the name of the firewall rule that this cmdlet modifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>StartIpAddress</maml:name> + <maml:description> + <maml:para>Specifies the start value of the IP address range for the firewall rule.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>EndIpAddress</maml:name> + <maml:description> + <maml:para>Specifies the end value of the IP address range for this rule.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of a server. This cmdlet modifies a firewall rule on the server that this parameter specifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of a resource group. This cmdlet modifies a firewall rule on a server in the resource group that this cmdlet specifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>FirewallRuleName</maml:name> + <maml:description> + <maml:para>Specifies the name of the firewall rule that this cmdlet modifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>StartIpAddress</maml:name> + <maml:description> + <maml:para>Specifies the start value of the IP address range for the firewall rule.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>EndIpAddress</maml:name> + <maml:description> + <maml:para>Specifies the end value of the IP address range for this rule.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of a server. This cmdlet modifies a firewall rule on the server that this parameter specifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of a resource group. This cmdlet modifies a firewall rule on a server in the resource group that this cmdlet specifies.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.FirewallRule.Model.AzureSqlServerFirewallRuleModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Modify a firewall rule --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Set-AzureRmSqlServerFirewallRule -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -FirewallRuleName &quot;rule01&quot; -StartIpAddress &quot;192.168.0.197&quot; -EndIpAddress &quot;192.168.0.199&quot;</dev:code> + <dev:remarks> + <maml:para>This command modifies a firewall rule named rule01 on the server named server01. The command modifies the start and end IP addresses.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>ResourceGroupName : resourcegroup01 +ServerName : server01 +StartIpAddress : 192.168.0.199 +EndIpAddress : 192.168.0.200 +FirewallRuleName : rule01</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Azure SQL Database</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlServerFirewallRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>New-AzureRmSqlServerFirewallRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Remove-AzureRmSqlServerFirewallRule</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Start-AzureRmSqlDatabaseExecuteIndexRecommendation</command:name> + <maml:description> + <maml:para>Starts the workflow that runs a recommended index operation.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Start</command:verb> + <command:noun>AzureRMSqlDatabaseExecuteIndexRecommendation</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Start-AzureRmSqlDatabaseExecuteIndexRecommendation cmdlet starts the workflow that runs a recommended index operation in Azure SQL Database.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Start-AzureRmSqlDatabaseExecuteIndexRecommendation</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the server that hosts the database for which this cmdlet starts a workflow.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database for which this cmdlet starts the workflow.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>IndexRecommendationName</maml:name> + <maml:description> + <maml:para>Specifies the name of the index recommendation that this cmdlet runs.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the server. This cmdlet starts a workflow on a database that this server hosts.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the server that hosts the database for which this cmdlet starts a workflow.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database for which this cmdlet starts the workflow.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>IndexRecommendationName</maml:name> + <maml:description> + <maml:para>Specifies the name of the index recommendation that this cmdlet runs.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the server. This cmdlet starts a workflow on a database that this server hosts.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Run an index recommendation --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Start-AzureRmSqlDatabaseExecuteIndexRecommendation -ResourceGroup &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot; -IndexRecommendationName &quot;INDEX_NAME&quot;</dev:code> + <dev:remarks> + <maml:para>This command runs index recommendation.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlDatabaseIndexRecommendations</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Stop-AzureRmSqlDatabaseExecuteIndexRecommendation</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Start-AzureRmSqlServerUpgrade</command:name> + <maml:description> + <maml:para>Starts the upgrade of an Azure SQL Database server.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Start</command:verb> + <command:noun>AzureRMSqlServerUpgrade</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Start-AzureRmSqlServerUpgrade cmdlet starts the upgrade of an Azure SQL Database server version 11 to version 12. Monitor the progress of an upgrade by using the Get-AzureRmSqlServerUpgrade cmdlet.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Start-AzureRmSqlServerUpgrade</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>ServerVersion</maml:name> + <maml:description> + <maml:para>Specifies the version to which this cmdlet upgrades the server. Currently, the only valid value is 12.0.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> + <maml:name>ScheduleUpgradeAfterUtcDateTime</maml:name> + <maml:description> + <maml:para>Specifies the earliest time, as a DateTime object, to upgrade the server. Specify a value in the ISO8601 format, in Coordinated Universal Time (UTC). For more information, type Get-Help Get-Date.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Nullable`1[DateTime]</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> + <maml:name>DatabaseCollection</maml:name> + <maml:description> + <maml:para>Specifies an array of RecommendedDatabaseProperties objects that this cmdlet uses for the server upgrade.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">RecommendedDatabaseProperties[]</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> + <maml:name>ElasticPoolCollection</maml:name> + <maml:description> + <maml:para>Collection of UpgradeRecommendedElasticPoolProperties objects to be used for the server upgrade. Check the examples on how to construct a sample object.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">UpgradeRecommendedElasticPoolProperties[]</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that this cmdlet upgrades.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group in which this cmdlet upgrades a server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>ServerVersion</maml:name> + <maml:description> + <maml:para>Specifies the version to which this cmdlet upgrades the server. Currently, the only valid value is 12.0.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> + <maml:name>ScheduleUpgradeAfterUtcDateTime</maml:name> + <maml:description> + <maml:para>Specifies the earliest time, as a DateTime object, to upgrade the server. Specify a value in the ISO8601 format, in Coordinated Universal Time (UTC). For more information, type Get-Help Get-Date.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">Nullable`1[DateTime]</command:parameterValue> + <dev:type> + <maml:name>Nullable`1[DateTime]</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> + <maml:name>DatabaseCollection</maml:name> + <maml:description> + <maml:para>Specifies an array of RecommendedDatabaseProperties objects that this cmdlet uses for the server upgrade.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">RecommendedDatabaseProperties[]</command:parameterValue> + <dev:type> + <maml:name>RecommendedDatabaseProperties[]</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> + <maml:name>ElasticPoolCollection</maml:name> + <maml:description> + <maml:para>Collection of UpgradeRecommendedElasticPoolProperties objects to be used for the server upgrade. Check the examples on how to construct a sample object.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="true">UpgradeRecommendedElasticPoolProperties[]</command:parameterValue> + <dev:type> + <maml:name>UpgradeRecommendedElasticPoolProperties[]</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that this cmdlet upgrades.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group in which this cmdlet upgrades a server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.ServerUpgrade.Model.AzureSqlServerUpgradeModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Upgrade a Simple server --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Start-AzureRmSqlServerUpgrade -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -ServerVersion 12.0</dev:code> + <dev:remarks> + <maml:para>This command upgrades the server named server01 in resource group named resourcegroup01 to version 12.0. server01 must currently be version 2.0.</maml:para> + <maml:para /> + <maml:para /> + <maml:para>ResourceGroupName : resourcegroup01 +ServerName : server01 +ServerVersion : 12.0 +ScheduleUpgradeAfterUtcDateTime : +DatabaseCollection :</maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + <command:example> + <maml:title>-------------------------- Example 2: Upgrade server by using schedule time and database recommendation --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; $ScheduleTime = (Get-Date).AddMinutes(5).ToUniversalTime() +PS C:\&gt; $DatabaseMap = New-Object -TypeName Microsoft.Azure.Management.Sql.Models.RecommendedDatabaseProperties +PS C:\&gt; $DatabaseMap.Name = &quot;contosodb&quot; +PS C:\&gt; $DatabaseMap.TargetEdition = &quot;Standard&quot; +PS C:\&gt; $DatabaseMap.TargetServiceLevelObjective = &quot;S0&quot; +PS C:\&gt; Start-AzureRmSqlServerUpgrade -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -ServerVersion 12.0 -ScheduleUpgradeAfterUtcDateTime $ScheduleTime -DatabaseCollection ($DatabaseMap)</dev:code> + <dev:remarks> + <maml:para>The first command creates a time five minutes in the future by using the Get-Date core cmdlet. The command stores the date in the $ScheduleTime variable. For more information, type Get-Help Get-Date. +The second command creates a RecommendedDatabaseProperties object, and then stores that object in the $DatabaseMap variable. +The next three commands assign values to properties of the object stored in $DatabaseMap. +The final command upgrades the existing server named server02 in the resource group named resourcegroup01 to version 12.0. The earliest time to upgrade is five minutes after you run the command, as specified by the $ScheduleTime variable. After the upgrade, the database contosodb has the edition Standard and the Service Level Objective value of S0.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlServerUpgrade</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Stop-AzureRmSqlServerUpgrade</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Stop-AzureRmSqlDatabaseExecuteIndexRecommendation</command:name> + <maml:description> + <maml:para>Stops the workflow that runs a recommended index operation.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Stop</command:verb> + <command:noun>AzureRMSqlDatabaseExecuteIndexRecommendation</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Stop-AzureRmSqlDatabaseExecuteIndexRecommendation cmdlet stops the workflow that runs a recommended index operation.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Stop-AzureRmSqlDatabaseExecuteIndexRecommendation</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the server that hosts the database for which this cmdlet stops a workflow.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database for which this cmdlet stops the workflow.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>IndexRecommendationName</maml:name> + <maml:description> + <maml:para>Specifies the name of the index recommendation that this cmdlet stops.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the server. This cmdlet stops a workflow on a database that this server hosts.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the server that hosts the database for which this cmdlet stops a workflow.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database for which this cmdlet stops the workflow.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>IndexRecommendationName</maml:name> + <maml:description> + <maml:para>Specifies the name of the index recommendation that this cmdlet stops.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the server. This cmdlet stops a workflow on a database that this server hosts.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Stop running an index recommendation --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Stop-AzureRmSqlDatabaseExecuteIndexRecommendation -ResourceGroup &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot; -IndexRecommendationName &quot;INDEX_NAME&quot;</dev:code> + <dev:remarks> + <maml:para>This command stops running the index recommendation.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlDatabaseIndexRecommendations</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Start-AzureRmSqlDatabaseExecuteIndexRecommendation</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Stop-AzureRmSqlServerUpgrade</command:name> + <maml:description> + <maml:para>Stops the upgrade of an Azure SQL Database server.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Stop</command:verb> + <command:noun>AzureRMSqlServerUpgrade</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Stop-AzureRmSqlServerUpgrade cmdlet stops the upgrade of an Azure SQL Database server.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Stop-AzureRmSqlServerUpgrade</maml:name> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Force</maml:name> + <maml:description> + <maml:para>Forces the command to run without asking for user confirmation.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server for which this cmdlet stops an upgrade.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group in which this cmdlet stops the upgrade of a server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>WhatIf</maml:name> + <maml:description> + <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Confirm</maml:name> + <maml:description> + <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Force</maml:name> + <maml:description> + <maml:para>Forces the command to run without asking for user confirmation.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server for which this cmdlet stops an upgrade.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group in which this cmdlet stops the upgrade of a server.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>WhatIf</maml:name> + <maml:description> + <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>false</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Confirm</maml:name> + <maml:description> + <maml:para>Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>false</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.ServerUpgrade.Model.AzureSqlServerUpgradeModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Stop a server upgrade --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Stop-AzureRmSqlServerUpgrade -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server02&quot;</dev:code> + <dev:remarks> + <maml:para>This command stops the request to upgrade the server named server02 in the resource group named resourcegroup01.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlServerUpgrade</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Start-AzureRmSqlServerUpgrade</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Suspend-AzureRmSqlDatabase</command:name> + <maml:description> + <maml:para>Suspends an Azure SQL Data Warehouse database.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Suspend</command:verb> + <command:noun>AzureRMSqlDatabase</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Suspend-AzureRmSqlDatabase cmdlet suspends an Azure SQL Data Warehouse database.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Suspend-AzureRmSqlDatabase</maml:name> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server which hosts the database that this cmdlet suspends.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database that this cmdlet suspends.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server which hosts the database that this cmdlet suspends.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database that this cmdlet suspends.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para>This Suspend-AzureRmSqlDatabase cmdlet works only on Azure SQL Data Warehouse databases. This operation is not supported on Azure SQL Database Basic, Standard and Premium editions.</maml:para> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Suspends an Azure SQL Data Warehouse database --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Suspend-AzureSqlDatabase -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server01&quot; -DatabaseName &quot;database01&quot;</dev:code> + <dev:remarks> + <maml:para>This command suspends an active Azure SQL Data Warehouse database.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>New-AzureRmSqlDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Remove-AzureRmSqlDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Resume-AzureRmSqlDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlDatabase</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> +<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> +<!--Generated by PS Cmdlet Help Editor--> + <command:details> + <command:name>Use-AzureRmSqlServerAuditingPolicy</command:name> + <maml:description> + <maml:para>Specifies that a database uses the auditing policy of its hosting server.</maml:para> + </maml:description> + <maml:copyright> + <maml:para /> + </maml:copyright> + <command:verb>Use</command:verb> + <command:noun>AzureRMSqlServerAuditingPolicy</command:noun> + <dev:version /> + </command:details> + <maml:description> + <maml:para>The Use-AzureRmSqlServerAuditingPolicy cmdlet specifies that a database uses the auditing policy of its host server. Specify the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database. If no auditing policy is defined for the database server, this cmdlet fails.</maml:para> + </maml:description> + <command:syntax> + <command:syntaxItem> + <maml:name>Use-AzureRmSqlServerAuditingPolicy</maml:name> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>PassThru</maml:name> + <maml:description> + <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that hosts the database to use the auditing policy.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database to use the auditing policy.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the database to use the auditing policy.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + </command:parameter> + </command:syntaxItem> + </command:syntax> + <command:parameters> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>PassThru</maml:name> + <maml:description> + <maml:para>Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.</maml:para> + </maml:description> + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> + <dev:type> + <maml:name>SwitchParameter</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> + <maml:name>ServerName</maml:name> + <maml:description> + <maml:para>Specifies the name of the server that hosts the database to use the auditing policy.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> + <maml:name>DatabaseName</maml:name> + <maml:description> + <maml:para>Specifies the name of the database to use the auditing policy.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> + <maml:name>ResourceGroupName</maml:name> + <maml:description> + <maml:para>Specifies the name of the resource group that contains the database to use the auditing policy.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> + <dev:type> + <maml:name>String</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> + <maml:name>Profile</maml:name> + <maml:description> + <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> + </maml:description> + <command:parameterValue required="true" variableLength="false">azureprofile</command:parameterValue> + <dev:type> + <maml:name>azureprofile</maml:name> + <maml:uri/> + </dev:type> + <dev:defaultValue>none</dev:defaultValue> + </command:parameter> + </command:parameters> + <command:inputTypes> + <command:inputType> + <dev:type> + <maml:name></maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:inputType> + </command:inputTypes> + <command:returnValues> + <command:returnValue> + <dev:type> + <maml:name>Microsoft.Azure.Commands.Sql.Security.Model.DatabaseAuditingPolicyModel</maml:name> + <maml:uri></maml:uri> + <maml:description/> + </dev:type> + <maml:description> +<maml:para /> + </maml:description> + </command:returnValue> + </command:returnValues> + <command:terminatingErrors></command:terminatingErrors> + <command:nonTerminatingErrors></command:nonTerminatingErrors> + <maml:alertSet> + <maml:title></maml:title> + <maml:alert> + <maml:para /> + </maml:alert> + </maml:alertSet> + <command:examples> + <command:example> + <maml:title>-------------------------- Example 1: Define for a database to use the auditing policy of its server --------------------------</maml:title> + <maml:introduction> + <maml:paragraph>PS C:\&gt;</maml:paragraph> + </maml:introduction> + <dev:code>PS C:\&gt; Use-AzureRmSqlServerAuditingPolicy -ResourceGroupName &quot;resourcegroup01&quot; -ServerName &quot;server02&quot; -DatabaseName &quot;database01&quot;</dev:code> + <dev:remarks> + <maml:para>This command specifies that the database named database01 on server01 uses the auditing policy of its server.</maml:para> + <maml:para /> + <maml:para /> + <maml:para></maml:para> + </dev:remarks> + <command:commandLines> + <command:commandLine> + <command:commandText> + <maml:para /> + </command:commandText> + </command:commandLine> + </command:commandLines> + </command:example> + </command:examples> + <maml:relatedLinks> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlDatabaseAuditingPolicy</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Get-AzureRmSqlServerAuditingPolicy</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlDatabaseAuditingPolicy</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + <maml:navigationLink> + <maml:linkText>Set-AzureRmSqlServerAuditingPolicy</maml:linkText> + <maml:uri></maml:uri> + </maml:navigationLink> + </maml:relatedLinks> +</command:command> </helpItems> \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql/Properties/Resources.Designer.cs b/src/ResourceManager/Sql/Commands.Sql/Properties/Resources.Designer.cs index 7f598d5dc5f9..a26f983a46e8 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Properties/Resources.Designer.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Properties/Resources.Designer.cs @@ -61,7 +61,7 @@ internal Resources() { } /// <summary> - /// Looks up a localized string similar to More than one Active Directory group with the display name &apos;{0}&apos; was found. Please provide an Azure Active Directory object id to select the correct group. To get the object id use Get-AzureRMADGroup -SearchString &quot;{0}&quot;. + /// Looks up a localized string similar to More than one Active Directory group with the display name &apos;{0}&apos; was found. Please provide an Azure Active Directory object id to select the correct group. To get the object id use Get-AzureRmADGroup -SearchString &quot;{0}&quot;. /// </summary> public static string ADGroupMoreThanOneFound { get { @@ -70,7 +70,7 @@ public static string ADGroupMoreThanOneFound { } /// <summary> - /// Looks up a localized string similar to Cannot find the Azure Active Directory object &apos;{0}&apos;. Please make sure that the user or group you are authorizing is registered in the current subscription&apos;s Azure Active directory. To get a list of Azure Active Directory groups use Get-AzureRMADGroup, or to get a list of Azure Active Directory users use Get-AzureRMADUser.. + /// Looks up a localized string similar to Cannot find the Azure Active Directory object &apos;{0}&apos;. Please make sure that the user or group you are authorizing is registered in the current subscription&apos;s Azure Active directory. To get a list of Azure Active Directory groups use Get-AzureRmADGroup, or to get a list of Azure Active Directory users use Get-AzureRmADUser.. /// </summary> public static string ADObjectNotFound { get { @@ -79,7 +79,7 @@ public static string ADObjectNotFound { } /// <summary> - /// Looks up a localized string similar to More than one Azure Active Directory user with the display name &apos;{0}&apos; was found. Please provide an Azure Active Directory object id to select the correct user. To get the object id use Get-AzureRMADUser -SearchString &quot;{0}&quot;. + /// Looks up a localized string similar to More than one Azure Active Directory user with the display name &apos;{0}&apos; was found. Please provide an Azure Active Directory object id to select the correct user. To get the object id use Get-AzureRmADUser -SearchString &quot;{0}&quot;. /// </summary> public static string ADUserMoreThanOneFound { get { @@ -196,7 +196,7 @@ public static string InvalidEventTypeSet { } /// <summary> - /// Looks up a localized string similar to Please use Set-AzureRMEnvironment to set a valid GraphEndpoint for the current AzureEnvironment.. + /// Looks up a localized string similar to Please use Set-AzureRmEnvironment to set a valid GraphEndpoint for the current AzureEnvironment.. /// </summary> public static string InvalidGraphEndpoint { get { diff --git a/src/ResourceManager/Sql/Commands.Sql/Properties/Resources.resx b/src/ResourceManager/Sql/Commands.Sql/Properties/Resources.resx index 540e8bf94a82..e4ae98af7883 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Properties/Resources.resx +++ b/src/ResourceManager/Sql/Commands.Sql/Properties/Resources.resx @@ -118,13 +118,13 @@ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <data name="ADGroupMoreThanOneFound" xml:space="preserve"> - <value>More than one Active Directory group with the display name '{0}' was found. Please provide an Azure Active Directory object id to select the correct group. To get the object id use Get-AzureRMADGroup -SearchString "{0}"</value> + <value>More than one Active Directory group with the display name '{0}' was found. Please provide an Azure Active Directory object id to select the correct group. To get the object id use Get-AzureRmADGroup -SearchString "{0}"</value> </data> <data name="ADObjectNotFound" xml:space="preserve"> - <value>Cannot find the Azure Active Directory object '{0}'. Please make sure that the user or group you are authorizing is registered in the current subscription's Azure Active directory. To get a list of Azure Active Directory groups use Get-AzureRMADGroup, or to get a list of Azure Active Directory users use Get-AzureRMADUser.</value> + <value>Cannot find the Azure Active Directory object '{0}'. Please make sure that the user or group you are authorizing is registered in the current subscription's Azure Active directory. To get a list of Azure Active Directory groups use Get-AzureRmADGroup, or to get a list of Azure Active Directory users use Get-AzureRmADUser.</value> </data> <data name="ADUserMoreThanOneFound" xml:space="preserve"> - <value>More than one Azure Active Directory user with the display name '{0}' was found. Please provide an Azure Active Directory object id to select the correct user. To get the object id use Get-AzureRMADUser -SearchString "{0}"</value> + <value>More than one Azure Active Directory user with the display name '{0}' was found. Please provide an Azure Active Directory object id to select the correct user. To get the object id use Get-AzureRmADUser -SearchString "{0}"</value> </data> <data name="DatabaseNameExists" xml:space="preserve"> <value>Database with name: '{0}' already exists in server '{1}'.</value> @@ -163,7 +163,7 @@ <value>Cannot use the '{0}' option with other event types.</value> </data> <data name="InvalidGraphEndpoint" xml:space="preserve"> - <value>Please use Set-AzureRMEnvironment to set a valid GraphEndpoint for the current AzureEnvironment.</value> + <value>Please use Set-AzureRmEnvironment to set a valid GraphEndpoint for the current AzureEnvironment.</value> </data> <data name="InvalidRetentionTypeSet" xml:space="preserve"> <value>Cannot use audit table retention without specifying TableIdentifier. You may want to use '{0}'.</value> diff --git a/src/ResourceManager/Sql/Commands.Sql/RecommendedElasticPools/Cmdlet/GetAzureSqlElasticPoolRecommendation.cs b/src/ResourceManager/Sql/Commands.Sql/RecommendedElasticPools/Cmdlet/GetAzureSqlElasticPoolRecommendation.cs index 88845c54e66a..5da7e369712c 100644 --- a/src/ResourceManager/Sql/Commands.Sql/RecommendedElasticPools/Cmdlet/GetAzureSqlElasticPoolRecommendation.cs +++ b/src/ResourceManager/Sql/Commands.Sql/RecommendedElasticPools/Cmdlet/GetAzureSqlElasticPoolRecommendation.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Sql.RecommendedElasticPools.Cmdlet { - [Cmdlet(VerbsCommon.Get, "AzureRMSqlElasticPoolRecommendation", + [Cmdlet(VerbsCommon.Get, "AzureRmSqlElasticPoolRecommendation", ConfirmImpact = ConfirmImpact.None)] public class GetAzureSqlElasticPoolRecommendation : AzureSqlCmdletBase<IEnumerable<UpgradeRecommendedElasticPoolProperties>, AzureSqlElasticPoolRecommendationAdapter> { diff --git a/src/ResourceManager/Sql/Commands.Sql/Replication/Cmdlet/GetAzureSqlDatabaseReplicationLink.cs b/src/ResourceManager/Sql/Commands.Sql/Replication/Cmdlet/GetAzureSqlDatabaseReplicationLink.cs index 4ffe4faf22bf..0110b3c587b9 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Replication/Cmdlet/GetAzureSqlDatabaseReplicationLink.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Replication/Cmdlet/GetAzureSqlDatabaseReplicationLink.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.Sql.Replication.Cmdlet { - [Cmdlet(VerbsCommon.Get, "AzureRMSqlDatabaseReplicationLink", + [Cmdlet(VerbsCommon.Get, "AzureRmSqlDatabaseReplicationLink", DefaultParameterSetName = ByDatabaseName, ConfirmImpact = ConfirmImpact.None)] public class GetAzureSqlDatabaseReplicationLink : AzureSqlDatabaseSecondaryCmdletBase diff --git a/src/ResourceManager/Sql/Commands.Sql/Replication/Cmdlet/NewAzureSqlDatabaseCopy.cs b/src/ResourceManager/Sql/Commands.Sql/Replication/Cmdlet/NewAzureSqlDatabaseCopy.cs index bafc2f0af53f..ab0cab0e17d0 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Replication/Cmdlet/NewAzureSqlDatabaseCopy.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Replication/Cmdlet/NewAzureSqlDatabaseCopy.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Sql.Replication.Cmdlet /// <summary> /// Cmdlet to create a new Azure SQL Database Copy /// </summary> - [Cmdlet(VerbsCommon.New, "AzureRMSqlDatabaseCopy", + [Cmdlet(VerbsCommon.New, "AzureRmSqlDatabaseCopy", ConfirmImpact = ConfirmImpact.Low)] public class NewAzureSqlDatabaseCopy : AzureSqlDatabaseCopyCmdletBase { diff --git a/src/ResourceManager/Sql/Commands.Sql/Replication/Cmdlet/NewAzureSqlDatabaseSecondary.cs b/src/ResourceManager/Sql/Commands.Sql/Replication/Cmdlet/NewAzureSqlDatabaseSecondary.cs index 377976577dfb..1ba538766468 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Replication/Cmdlet/NewAzureSqlDatabaseSecondary.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Replication/Cmdlet/NewAzureSqlDatabaseSecondary.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Sql.Replication.Cmdlet /// <summary> /// Cmdlet to create a new Azure SQL Database Secondary and Replication Link /// </summary> - [Cmdlet(VerbsCommon.New, "AzureRMSqlDatabaseSecondary", + [Cmdlet(VerbsCommon.New, "AzureRmSqlDatabaseSecondary", ConfirmImpact = ConfirmImpact.Low)] public class NewAzureSqlDatabaseSecondary : AzureSqlDatabaseSecondaryCmdletBase { diff --git a/src/ResourceManager/Sql/Commands.Sql/Replication/Cmdlet/RemoveAzureSqlDatabaseSecondary.cs b/src/ResourceManager/Sql/Commands.Sql/Replication/Cmdlet/RemoveAzureSqlDatabaseSecondary.cs index de0d218f813b..29d727287be0 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Replication/Cmdlet/RemoveAzureSqlDatabaseSecondary.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Replication/Cmdlet/RemoveAzureSqlDatabaseSecondary.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Sql.Replication.Cmdlet { - [Cmdlet(VerbsCommon.Remove, "AzureRMSqlDatabaseSecondary", + [Cmdlet(VerbsCommon.Remove, "AzureRmSqlDatabaseSecondary", ConfirmImpact = ConfirmImpact.High)] public class RemoveAzureSqlDatabaseSecondary : AzureSqlDatabaseSecondaryCmdletBase { diff --git a/src/ResourceManager/Sql/Commands.Sql/Replication/Cmdlet/SetAzureSqlDatabaseSecondary.cs b/src/ResourceManager/Sql/Commands.Sql/Replication/Cmdlet/SetAzureSqlDatabaseSecondary.cs index 81a496774b22..901c9449a4c5 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Replication/Cmdlet/SetAzureSqlDatabaseSecondary.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Replication/Cmdlet/SetAzureSqlDatabaseSecondary.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Sql.Replication.Cmdlet /// <summary> /// Cmdlet to fail over Azure SQL Database Replication Link to the secondary database /// </summary> - [Cmdlet(VerbsCommon.Set, "AzureRMSqlDatabaseSecondary", + [Cmdlet(VerbsCommon.Set, "AzureRmSqlDatabaseSecondary", DefaultParameterSetName = NoOptionsSet, ConfirmImpact = ConfirmImpact.Medium)] public class SetAzureSqlDatabaseSecondary : AzureSqlDatabaseSecondaryCmdletBase diff --git a/src/ResourceManager/Sql/Commands.Sql/Secure Connection/Cmdlet/GetAzureSqlDatabaseSecureConnectionPolicy.cs b/src/ResourceManager/Sql/Commands.Sql/Secure Connection/Cmdlet/GetAzureSqlDatabaseSecureConnectionPolicy.cs index 155056dfda6b..25f4ff23b9e3 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Secure Connection/Cmdlet/GetAzureSqlDatabaseSecureConnectionPolicy.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Secure Connection/Cmdlet/GetAzureSqlDatabaseSecureConnectionPolicy.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Sql.SecureConnection.Cmdlet /// <summary> /// Returns the secure connection policy of a specific database. /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMSqlDatabaseSecureConnectionPolicy"), OutputType(typeof(DatabaseSecureConnectionPolicyModel))] + [Cmdlet(VerbsCommon.Get, "AzureRmSqlDatabaseSecureConnectionPolicy"), OutputType(typeof(DatabaseSecureConnectionPolicyModel))] public class GetAzureSqlDatabaseSecureConnectionPolicy : SqlDatabaseSecureConnectionCmdletBase { /// <summary> diff --git a/src/ResourceManager/Sql/Commands.Sql/Server/Cmdlet/GetAzureSqlServer.cs b/src/ResourceManager/Sql/Commands.Sql/Server/Cmdlet/GetAzureSqlServer.cs index 0c16a3a90bc3..ea570c9fc74b 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Server/Cmdlet/GetAzureSqlServer.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Server/Cmdlet/GetAzureSqlServer.cs @@ -19,9 +19,9 @@ namespace Microsoft.Azure.Commands.Sql.Server.Cmdlet { /// <summary> - /// Defines the Get-AzureRMSqlServer cmdlet + /// Defines the Get-AzureRmSqlServer cmdlet /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMSqlServer", ConfirmImpact = ConfirmImpact.None)] + [Cmdlet(VerbsCommon.Get, "AzureRmSqlServer", ConfirmImpact = ConfirmImpact.None)] public class GetAzureSqlServer : AzureSqlServerCmdletBase { /// <summary> diff --git a/src/ResourceManager/Sql/Commands.Sql/Server/Cmdlet/NewAzureSqlServer.cs b/src/ResourceManager/Sql/Commands.Sql/Server/Cmdlet/NewAzureSqlServer.cs index 019cea71a033..47ca2a2470a9 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Server/Cmdlet/NewAzureSqlServer.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Server/Cmdlet/NewAzureSqlServer.cs @@ -21,9 +21,9 @@ namespace Microsoft.Azure.Commands.Sql.Server.Cmdlet { /// <summary> - /// Defines the Get-AzureRMSqlServer cmdlet + /// Defines the Get-AzureRmSqlServer cmdlet /// </summary> - [Cmdlet(VerbsCommon.New, "AzureRMSqlServer", + [Cmdlet(VerbsCommon.New, "AzureRmSqlServer", ConfirmImpact = ConfirmImpact.Low)] public class NewAzureSqlServer : AzureSqlServerCmdletBase { diff --git a/src/ResourceManager/Sql/Commands.Sql/Server/Cmdlet/RemoveAzureSqlServer.cs b/src/ResourceManager/Sql/Commands.Sql/Server/Cmdlet/RemoveAzureSqlServer.cs index 4d072c796bfa..6c4ef380e47c 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Server/Cmdlet/RemoveAzureSqlServer.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Server/Cmdlet/RemoveAzureSqlServer.cs @@ -20,9 +20,9 @@ namespace Microsoft.Azure.Commands.Sql.Server.Cmdlet { /// <summary> - /// Defines the Get-AzureRMSqlDatabaseServer cmdlet + /// Defines the Get-AzureRmSqlDatabaseServer cmdlet /// </summary> - [Cmdlet(VerbsCommon.Remove, "AzureRMSqlServer", + [Cmdlet(VerbsCommon.Remove, "AzureRmSqlServer", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] public class RemoveAzureSqlServer : AzureSqlServerCmdletBase diff --git a/src/ResourceManager/Sql/Commands.Sql/Server/Cmdlet/SetAzureSqlServer.cs b/src/ResourceManager/Sql/Commands.Sql/Server/Cmdlet/SetAzureSqlServer.cs index 7f305dc65a70..430e61388257 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Server/Cmdlet/SetAzureSqlServer.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Server/Cmdlet/SetAzureSqlServer.cs @@ -20,9 +20,9 @@ namespace Microsoft.Azure.Commands.Sql.Server.Cmdlet { /// <summary> - /// Defines the Get-AzureRMSqlServer cmdlet + /// Defines the Get-AzureRmSqlServer cmdlet /// </summary> - [Cmdlet(VerbsCommon.Set, "AzureRMSqlServer", + [Cmdlet(VerbsCommon.Set, "AzureRmSqlServer", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] public class SetAzureSqlServer : AzureSqlServerCmdletBase diff --git a/src/ResourceManager/Sql/Commands.Sql/ServerActiveDirectoryAdministrator/Cmdlet/GetAzureSqlServerActiveDirectoryAdministrator.cs b/src/ResourceManager/Sql/Commands.Sql/ServerActiveDirectoryAdministrator/Cmdlet/GetAzureSqlServerActiveDirectoryAdministrator.cs index 11e03bf31f7f..a0ebe3920435 100644 --- a/src/ResourceManager/Sql/Commands.Sql/ServerActiveDirectoryAdministrator/Cmdlet/GetAzureSqlServerActiveDirectoryAdministrator.cs +++ b/src/ResourceManager/Sql/Commands.Sql/ServerActiveDirectoryAdministrator/Cmdlet/GetAzureSqlServerActiveDirectoryAdministrator.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Sql.ServerActiveDirectoryAdministrator.Cmdlet { - [Cmdlet(VerbsCommon.Get, "AzureRMSqlServerActiveDirectoryAdministrator", + [Cmdlet(VerbsCommon.Get, "AzureRmSqlServerActiveDirectoryAdministrator", ConfirmImpact = ConfirmImpact.None)] public class GetAzureSqlServerActiveDirectoryAdministrator : AzureSqlServerActiveDirectoryAdministratorCmdletBase { diff --git a/src/ResourceManager/Sql/Commands.Sql/ServerActiveDirectoryAdministrator/Cmdlet/RemoveAzureSqlServerActiveDirectoryAdministrator.cs b/src/ResourceManager/Sql/Commands.Sql/ServerActiveDirectoryAdministrator/Cmdlet/RemoveAzureSqlServerActiveDirectoryAdministrator.cs index 7bb5d884bb87..032edfdc6b31 100644 --- a/src/ResourceManager/Sql/Commands.Sql/ServerActiveDirectoryAdministrator/Cmdlet/RemoveAzureSqlServerActiveDirectoryAdministrator.cs +++ b/src/ResourceManager/Sql/Commands.Sql/ServerActiveDirectoryAdministrator/Cmdlet/RemoveAzureSqlServerActiveDirectoryAdministrator.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Sql.ServerActiveDirectoryAdministrator.Cmdlet { - [Cmdlet(VerbsCommon.Remove, "AzureRMSqlServerActiveDirectoryAdministrator", + [Cmdlet(VerbsCommon.Remove, "AzureRmSqlServerActiveDirectoryAdministrator", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] public class RemoveAzureSqlServerActiveDirectoryAdministrator : AzureSqlServerActiveDirectoryAdministratorCmdletBase diff --git a/src/ResourceManager/Sql/Commands.Sql/ServerActiveDirectoryAdministrator/Cmdlet/SetAzureSqlServerActiveDirectoryAdministrator.cs b/src/ResourceManager/Sql/Commands.Sql/ServerActiveDirectoryAdministrator/Cmdlet/SetAzureSqlServerActiveDirectoryAdministrator.cs index e4635debcfdb..73224d59dfc3 100644 --- a/src/ResourceManager/Sql/Commands.Sql/ServerActiveDirectoryAdministrator/Cmdlet/SetAzureSqlServerActiveDirectoryAdministrator.cs +++ b/src/ResourceManager/Sql/Commands.Sql/ServerActiveDirectoryAdministrator/Cmdlet/SetAzureSqlServerActiveDirectoryAdministrator.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Sql.ServerActiveDirectoryAdministrator.Cmdlet /// <summary> /// Cmdlet to create a new Azure SQL Server Active Directory administrator /// </summary> - [Cmdlet(VerbsCommon.Set, "AzureRMSqlServerActiveDirectoryAdministrator", + [Cmdlet(VerbsCommon.Set, "AzureRmSqlServerActiveDirectoryAdministrator", ConfirmImpact = ConfirmImpact.Medium)] public class SetAzureSqlServerActiveDirectoryAdministrator : AzureSqlServerActiveDirectoryAdministratorCmdletBase { diff --git a/src/ResourceManager/Sql/Commands.Sql/ServerUpgrade/Cmdlet/GetAzureSqlServerUpgrade.cs b/src/ResourceManager/Sql/Commands.Sql/ServerUpgrade/Cmdlet/GetAzureSqlServerUpgrade.cs index ac3c244d62e3..e9991f3f8061 100644 --- a/src/ResourceManager/Sql/Commands.Sql/ServerUpgrade/Cmdlet/GetAzureSqlServerUpgrade.cs +++ b/src/ResourceManager/Sql/Commands.Sql/ServerUpgrade/Cmdlet/GetAzureSqlServerUpgrade.cs @@ -19,9 +19,9 @@ namespace Microsoft.Azure.Commands.Sql.ServerUpgrade.Cmdlet { /// <summary> - /// Defines the Get-AzureRMSqlServerUpgrade cmdlet + /// Defines the Get-AzureRmSqlServerUpgrade cmdlet /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMSqlServerUpgrade", ConfirmImpact = ConfirmImpact.None)] + [Cmdlet(VerbsCommon.Get, "AzureRmSqlServerUpgrade", ConfirmImpact = ConfirmImpact.None)] public class GetAzureSqlServerUpgrade : AzureSqlServerUpgradeCmdletBase<AzureSqlServerUpgradeModel> { /// <summary> diff --git a/src/ResourceManager/Sql/Commands.Sql/ServerUpgrade/Cmdlet/StartAzureSqlServerUpgrade.cs b/src/ResourceManager/Sql/Commands.Sql/ServerUpgrade/Cmdlet/StartAzureSqlServerUpgrade.cs index 2d7c31d21cb1..273c0e1c5ed6 100644 --- a/src/ResourceManager/Sql/Commands.Sql/ServerUpgrade/Cmdlet/StartAzureSqlServerUpgrade.cs +++ b/src/ResourceManager/Sql/Commands.Sql/ServerUpgrade/Cmdlet/StartAzureSqlServerUpgrade.cs @@ -23,9 +23,9 @@ namespace Microsoft.Azure.Commands.Sql.ServerUpgrade.Cmdlet { /// <summary> - /// Defines the Start-AzureRMSqlServerUpgrade cmdlet + /// Defines the Start-AzureRmSqlServerUpgrade cmdlet /// </summary> - [Cmdlet(VerbsLifecycle.Start, "AzureRMSqlServerUpgrade", + [Cmdlet(VerbsLifecycle.Start, "AzureRmSqlServerUpgrade", ConfirmImpact = ConfirmImpact.Low)] public class StartAzureSqlServerUpgrade : AzureSqlServerUpgradeCmdletBase<AzureSqlServerUpgradeStartModel> { diff --git a/src/ResourceManager/Sql/Commands.Sql/ServerUpgrade/Cmdlet/StopAzureSqlServerUpgrade.cs b/src/ResourceManager/Sql/Commands.Sql/ServerUpgrade/Cmdlet/StopAzureSqlServerUpgrade.cs index 6c71b9bacb78..33cd8888d8c3 100644 --- a/src/ResourceManager/Sql/Commands.Sql/ServerUpgrade/Cmdlet/StopAzureSqlServerUpgrade.cs +++ b/src/ResourceManager/Sql/Commands.Sql/ServerUpgrade/Cmdlet/StopAzureSqlServerUpgrade.cs @@ -21,9 +21,9 @@ namespace Microsoft.Azure.Commands.Sql.ServerUpgrade.Cmdlet { /// <summary> - /// Defines the Get-AzureRMSqlDatabaseServer cmdlet + /// Defines the Get-AzureRmSqlDatabaseServer cmdlet /// </summary> - [Cmdlet(VerbsLifecycle.Stop, "AzureRMSqlServerUpgrade", + [Cmdlet(VerbsLifecycle.Stop, "AzureRmSqlServerUpgrade", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] public class StopAzureSqlServerUpgrade : AzureSqlServerUpgradeCmdletBase<AzureSqlServerUpgradeModel> diff --git a/src/ResourceManager/Sql/Commands.Sql/ServiceObjective/Cmdlet/GetAzureSqlServerServiceObjective.cs b/src/ResourceManager/Sql/Commands.Sql/ServiceObjective/Cmdlet/GetAzureSqlServerServiceObjective.cs index 1aa86c145f2a..96b3c746fdb7 100644 --- a/src/ResourceManager/Sql/Commands.Sql/ServiceObjective/Cmdlet/GetAzureSqlServerServiceObjective.cs +++ b/src/ResourceManager/Sql/Commands.Sql/ServiceObjective/Cmdlet/GetAzureSqlServerServiceObjective.cs @@ -20,9 +20,9 @@ namespace Microsoft.Azure.Commands.Sql.ServiceObjective.Cmdlet { /// <summary> - /// Defines the Get-AzureRMSqlDatabaseServer cmdlet + /// Defines the Get-AzureRmSqlDatabaseServer cmdlet /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMSqlServerServiceObjective", ConfirmImpact = ConfirmImpact.None)] + [Cmdlet(VerbsCommon.Get, "AzureRmSqlServerServiceObjective", ConfirmImpact = ConfirmImpact.None)] public class GetAzureSqlServerServiceObjective : AzureSqlServerServiceObjectiveCmdletBase { /// <summary> diff --git a/src/ResourceManager/Sql/Commands.Sql/ServiceTierAdvisor/Cmdlet/GetAzureSqlUpgradeDatabaseHint.cs b/src/ResourceManager/Sql/Commands.Sql/ServiceTierAdvisor/Cmdlet/GetAzureSqlUpgradeDatabaseHint.cs index 6d1aab0294ac..e446b6e0c3d0 100644 --- a/src/ResourceManager/Sql/Commands.Sql/ServiceTierAdvisor/Cmdlet/GetAzureSqlUpgradeDatabaseHint.cs +++ b/src/ResourceManager/Sql/Commands.Sql/ServiceTierAdvisor/Cmdlet/GetAzureSqlUpgradeDatabaseHint.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Sql.ServiceTierAdvisor.Cmdlet { - [Cmdlet(VerbsCommon.Get, "AzureRMSqlDatabaseUpgradeHint", ConfirmImpact = ConfirmImpact.None)] + [Cmdlet(VerbsCommon.Get, "AzureRmSqlDatabaseUpgradeHint", ConfirmImpact = ConfirmImpact.None)] public class GetAzureSqlDatabaseUpgradeHint : AzureSqlCmdletBase<IEnumerable<RecommendedDatabaseProperties>, AzureSqlServiceTierAdvisorAdapter> { /// <summary> diff --git a/src/ResourceManager/Sql/Commands.Sql/ServiceTierAdvisor/Cmdlet/GetAzureSqlUpgradeServerHint.cs b/src/ResourceManager/Sql/Commands.Sql/ServiceTierAdvisor/Cmdlet/GetAzureSqlUpgradeServerHint.cs index 13c44497ea4c..179803015a24 100644 --- a/src/ResourceManager/Sql/Commands.Sql/ServiceTierAdvisor/Cmdlet/GetAzureSqlUpgradeServerHint.cs +++ b/src/ResourceManager/Sql/Commands.Sql/ServiceTierAdvisor/Cmdlet/GetAzureSqlUpgradeServerHint.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Sql.ServiceTierAdvisor.Cmdlet { - [Cmdlet(VerbsCommon.Get, "AzureRMSqlServerUpgradeHint", ConfirmImpact = ConfirmImpact.None)] + [Cmdlet(VerbsCommon.Get, "AzureRmSqlServerUpgradeHint", ConfirmImpact = ConfirmImpact.None)] public class GetAzureSqlServerUpgradeHint : AzureSqlCmdletBase<UpgradeServerHint, AzureSqlServiceTierAdvisorAdapter> { /// <summary> diff --git a/src/ResourceManager/Sql/Commands.Sql/TransparentDataEncryption/Cmdlet/GetAzureSqlDatabaseTransparentDataEncryption.cs b/src/ResourceManager/Sql/Commands.Sql/TransparentDataEncryption/Cmdlet/GetAzureSqlDatabaseTransparentDataEncryption.cs index fcb7e5eea986..25f6640c93fb 100644 --- a/src/ResourceManager/Sql/Commands.Sql/TransparentDataEncryption/Cmdlet/GetAzureSqlDatabaseTransparentDataEncryption.cs +++ b/src/ResourceManager/Sql/Commands.Sql/TransparentDataEncryption/Cmdlet/GetAzureSqlDatabaseTransparentDataEncryption.cs @@ -19,9 +19,9 @@ namespace Microsoft.Azure.Commands.Sql.TransparentDataEncryption.Cmdlet { /// <summary> - /// Defines the Get-AzureRMSqlDatabaseTransparentDataEncryption cmdlet + /// Defines the Get-AzureRmSqlDatabaseTransparentDataEncryption cmdlet /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMSqlDatabaseTransparentDataEncryption", ConfirmImpact = ConfirmImpact.None)] + [Cmdlet(VerbsCommon.Get, "AzureRmSqlDatabaseTransparentDataEncryption", ConfirmImpact = ConfirmImpact.None)] public class GetAzureSqlDatabaseTransparentDataEncryption : AzureSqlDatabaseTransparentDataEncryptionCmdletBase { /// <summary> diff --git a/src/ResourceManager/Sql/Commands.Sql/TransparentDataEncryption/Cmdlet/GetAzureSqlDatabaseTransparentDataEncryptionActivity.cs b/src/ResourceManager/Sql/Commands.Sql/TransparentDataEncryption/Cmdlet/GetAzureSqlDatabaseTransparentDataEncryptionActivity.cs index c89fc0f2ee45..dcac0e42f930 100644 --- a/src/ResourceManager/Sql/Commands.Sql/TransparentDataEncryption/Cmdlet/GetAzureSqlDatabaseTransparentDataEncryptionActivity.cs +++ b/src/ResourceManager/Sql/Commands.Sql/TransparentDataEncryption/Cmdlet/GetAzureSqlDatabaseTransparentDataEncryptionActivity.cs @@ -19,9 +19,9 @@ namespace Microsoft.Azure.Commands.Sql.TransparentDataEncryption.Cmdlet { /// <summary> - /// Defines the Get-AzureRMSqlDatabaseTransparentDataEncryption cmdlet + /// Defines the Get-AzureRmSqlDatabaseTransparentDataEncryption cmdlet /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMSqlDatabaseTransparentDataEncryptionActivity", ConfirmImpact = ConfirmImpact.None)] + [Cmdlet(VerbsCommon.Get, "AzureRmSqlDatabaseTransparentDataEncryptionActivity", ConfirmImpact = ConfirmImpact.None)] public class GetAzureSqlDatabaseTransparentDataEncryptionActivity : AzureSqlDatabaseTransparentDataEncryptionActivityCmdletBase { /// <summary> diff --git a/src/ResourceManager/Sql/Commands.Sql/TransparentDataEncryption/Cmdlet/SetAzureSqlDatabaseTransparentDataEncryption.cs b/src/ResourceManager/Sql/Commands.Sql/TransparentDataEncryption/Cmdlet/SetAzureSqlDatabaseTransparentDataEncryption.cs index 6b01db2ac0a3..5e0be60ab2ee 100644 --- a/src/ResourceManager/Sql/Commands.Sql/TransparentDataEncryption/Cmdlet/SetAzureSqlDatabaseTransparentDataEncryption.cs +++ b/src/ResourceManager/Sql/Commands.Sql/TransparentDataEncryption/Cmdlet/SetAzureSqlDatabaseTransparentDataEncryption.cs @@ -20,9 +20,9 @@ namespace Microsoft.Azure.Commands.Sql.TransparentDataEncryption.Cmdlet { /// <summary> - /// Defines the Get-AzureRMSqlDatabaseTransparentDataEncryption cmdlet + /// Defines the Get-AzureRmSqlDatabaseTransparentDataEncryption cmdlet /// </summary> - [Cmdlet(VerbsCommon.Set, "AzureRMSqlDatabaseTransparentDataEncryption", ConfirmImpact = ConfirmImpact.Low)] + [Cmdlet(VerbsCommon.Set, "AzureRmSqlDatabaseTransparentDataEncryption", ConfirmImpact = ConfirmImpact.Low)] public class SetAzureSqlDatabaseTransparentDataEncryption : AzureSqlDatabaseTransparentDataEncryptionCmdletBase { /// <summary> diff --git a/src/ResourceManager/Storage/Commands.Management.Storage.Test/ScenarioTests/Common.ps1 b/src/ResourceManager/Storage/Commands.Management.Storage.Test/ScenarioTests/Common.ps1 index c9bd5b9a52b5..2b50a69c220a 100644 --- a/src/ResourceManager/Storage/Commands.Management.Storage.Test/ScenarioTests/Common.ps1 +++ b/src/ResourceManager/Storage/Commands.Management.Storage.Test/ScenarioTests/Common.ps1 @@ -19,7 +19,7 @@ Cleans the created resource groups function Clean-ResourceGroup($rgname) { if ([Microsoft.Azure.Test.HttpRecorder.HttpMockServer]::Mode -ne [Microsoft.Azure.Test.HttpRecorder.HttpRecorderMode]::Playback) { - Remove-AzureRMResourceGroup -Name $rgname -Force + Remove-AzureRmResourceGroup -Name $rgname -Force } } diff --git a/src/ResourceManager/Storage/Commands.Management.Storage.Test/ScenarioTests/StorageAccountTests.ps1 b/src/ResourceManager/Storage/Commands.Management.Storage.Test/ScenarioTests/StorageAccountTests.ps1 index c75024cabc86..c0da868e24dd 100644 --- a/src/ResourceManager/Storage/Commands.Management.Storage.Test/ScenarioTests/StorageAccountTests.ps1 +++ b/src/ResourceManager/Storage/Commands.Management.Storage.Test/ScenarioTests/StorageAccountTests.ps1 @@ -28,60 +28,60 @@ function Test-StorageAccount $stotype = 'Standard_GRS'; $loc = 'West US'; - New-AzureRMResourceGroup -Name $rgname -Location $loc; + New-AzureRmResourceGroup -Name $rgname -Location $loc; - New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - $stos = Get-AzureRMStorageAccount -ResourceGroupName $rgname; + New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + $stos = Get-AzureRmStorageAccount -ResourceGroupName $rgname; $stotype = 'StandardGRS'; - Retry-IfException { $global:sto = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; } + Retry-IfException { $global:sto = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; } Assert-AreEqual $sto.Name $stoname; Assert-AreEqual $sto.AccountType $stotype; Assert-AreEqual $sto.Location $loc; $stotype = 'Standard_LRS'; # TODO: Still need to do retry for Set-, even after Get- returns it. - Retry-IfException { $global:sto = Set-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Type $stotype; } - $sto = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; + Retry-IfException { $global:sto = Set-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Type $stotype; } + $sto = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; $stotype = 'StandardLRS'; Assert-AreEqual $sto.Name $stoname; Assert-AreEqual $sto.AccountType $stotype; Assert-AreEqual $sto.Location $loc; $stotype = 'Standard_RAGRS'; - Set-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Type $stotype; + Set-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Type $stotype; - $sto = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; + $sto = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; $stotype = 'StandardRAGRS'; Assert-AreEqual $sto.Name $stoname; Assert-AreEqual $sto.AccountType $stotype; Assert-AreEqual $sto.Location $loc; $stotype = 'Standard_GRS'; - Set-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Type $stotype; + Set-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Type $stotype; - $sto = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; + $sto = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; $stotype = 'StandardGRS'; Assert-AreEqual $sto.Name $stoname; Assert-AreEqual $sto.AccountType $stotype; Assert-AreEqual $sto.Location $loc; - $stokey1 = Get-AzureRMStorageAccountKey -ResourceGroupName $rgname -Name $stoname; + $stokey1 = Get-AzureRmStorageAccountKey -ResourceGroupName $rgname -Name $stoname; - New-AzureRMStorageAccountKey -ResourceGroupName $rgname -Name $stoname -KeyName key1; + New-AzureRmStorageAccountKey -ResourceGroupName $rgname -Name $stoname -KeyName key1; - $stokey2 = Get-AzureRMStorageAccountKey -ResourceGroupName $rgname -Name $stoname; + $stokey2 = Get-AzureRmStorageAccountKey -ResourceGroupName $rgname -Name $stoname; Assert-AreNotEqual $stokey1.Key1 $stokey2.Key1; Assert-AreEqual $stokey1.Key2 $stokey2.Key2; - New-AzureRMStorageAccountKey -ResourceGroupName $rgname -Name $stoname -KeyName key2; + New-AzureRmStorageAccountKey -ResourceGroupName $rgname -Name $stoname -KeyName key2; - $stokey3 = Get-AzureRMStorageAccountKey -ResourceGroupName $rgname -Name $stoname; + $stokey3 = Get-AzureRmStorageAccountKey -ResourceGroupName $rgname -Name $stoname; Assert-AreNotEqual $stokey1.Key1 $stokey2.Key1; Assert-AreEqual $stokey2.Key1 $stokey3.Key1; Assert-AreNotEqual $stokey2.Key2 $stokey3.Key2; - Remove-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; + Remove-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; } finally { @@ -92,7 +92,7 @@ function Test-StorageAccount <# .SYNOPSIS -Test New-AzureRMStorageAccount +Test New-AzureRmStorageAccount #> function Test-NewAzureStorageAccount { @@ -106,11 +106,11 @@ function Test-NewAzureStorageAccount $stotype = 'Standard_GRS'; $loc = 'West US'; - New-AzureRMResourceGroup -Name $rgname -Location $loc; + New-AzureRmResourceGroup -Name $rgname -Location $loc; - New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - Retry-IfException { Remove-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; } + Retry-IfException { Remove-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; } } finally { @@ -121,7 +121,7 @@ function Test-NewAzureStorageAccount <# .SYNOPSIS -Test Get-AzureRMStorageAccount +Test Get-AzureRmStorageAccount #> function Test-GetAzureStorageAccount { @@ -135,22 +135,22 @@ function Test-GetAzureStorageAccount $stotype = 'Standard_GRS'; $loc = 'West US'; - New-AzureRMResourceGroup -Name $rgname -Location $loc; + New-AzureRmResourceGroup -Name $rgname -Location $loc; - New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - Retry-IfException { $global:sto = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; } + Retry-IfException { $global:sto = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; } $stotype = 'StandardGRS'; Assert-AreEqual $sto.Name $stoname; Assert-AreEqual $sto.AccountType $stotype; Assert-AreEqual $sto.Location $loc; - $stos = Get-AzureRMStorageAccount -ResourceGroupName $rgname; + $stos = Get-AzureRmStorageAccount -ResourceGroupName $rgname; Assert-AreEqual $stos[0].Name $stoname; Assert-AreEqual $stos[0].AccountType $stotype; Assert-AreEqual $stos[0].Location $loc; - Remove-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; + Remove-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; } finally { @@ -161,7 +161,7 @@ function Test-GetAzureStorageAccount <# .SYNOPSIS -Test Set-AzureRMStorageAccount +Test Set-AzureRmStorageAccount #> function Test-SetAzureStorageAccount { @@ -175,33 +175,33 @@ function Test-SetAzureStorageAccount $stotype = 'Standard_GRS'; $loc = 'West US'; - New-AzureRMResourceGroup -Name $rgname -Location $loc; - New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + New-AzureRmResourceGroup -Name $rgname -Location $loc; + New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - Retry-IfException { $global:sto = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; } + Retry-IfException { $global:sto = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; } $stotype = 'StandardGRS'; Assert-AreEqual $sto.Name $stoname; Assert-AreEqual $sto.AccountType $stotype; Assert-AreEqual $sto.Location $loc; - $stos = Get-AzureRMStorageAccount -ResourceGroupName $rgname; + $stos = Get-AzureRmStorageAccount -ResourceGroupName $rgname; Assert-AreEqual $stos[0].Name $stoname; Assert-AreEqual $stos[0].AccountType $stotype; Assert-AreEqual $stos[0].Location $loc; $stotype = 'Standard_LRS'; # TODO: Still need to do retry for Set-, even after Get- returns it. - Retry-IfException { Set-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Type $stotype; } + Retry-IfException { Set-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Type $stotype; } $stotype = 'Standard_RAGRS'; - Set-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Type $stotype; + Set-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Type $stotype; - $sto = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; + $sto = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; $stotype = 'StandardRAGRS'; Assert-AreEqual $sto.Name $stoname; Assert-AreEqual $sto.AccountType $stotype; Assert-AreEqual $sto.Location $loc; - Remove-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; + Remove-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; } finally { @@ -212,7 +212,7 @@ function Test-SetAzureStorageAccount <# .SYNOPSIS -Test Remove-AzureRMStorageAccount +Test Remove-AzureRmStorageAccount #> function Test-RemoveAzureStorageAccount { @@ -226,11 +226,11 @@ function Test-RemoveAzureStorageAccount $stotype = 'Standard_GRS'; $loc = 'West US'; - New-AzureRMResourceGroup -Name $rgname -Location $loc; + New-AzureRmResourceGroup -Name $rgname -Location $loc; - New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - Retry-IfException { Remove-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; } + Retry-IfException { Remove-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; } } finally { @@ -241,7 +241,7 @@ function Test-RemoveAzureStorageAccount <# .SYNOPSIS -Test Get-AzureRMStorageAccountKey +Test Get-AzureRmStorageAccountKey #> function Test-GetAzureStorageAccountKey { @@ -255,14 +255,14 @@ function Test-GetAzureStorageAccountKey $stotype = 'Standard_GRS'; $loc = 'West US'; - New-AzureRMResourceGroup -Name $rgname -Location $loc; + New-AzureRmResourceGroup -Name $rgname -Location $loc; - New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - Retry-IfException { $global:stokeys = Get-AzureRMStorageAccountKey -ResourceGroupName $rgname -Name $stoname; } + Retry-IfException { $global:stokeys = Get-AzureRmStorageAccountKey -ResourceGroupName $rgname -Name $stoname; } Assert-AreNotEqual $stokeys.Key1 $stokeys.Key2; - Remove-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; + Remove-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; } finally { @@ -273,7 +273,7 @@ function Test-GetAzureStorageAccountKey <# .SYNOPSIS -Test New-AzureRMStorageAccountKey +Test New-AzureRmStorageAccountKey #> function Test-NewAzureStorageAccountKey { @@ -287,26 +287,26 @@ function Test-NewAzureStorageAccountKey $stotype = 'Standard_GRS'; $loc = 'West US'; - New-AzureRMResourceGroup -Name $rgname -Location $loc; + New-AzureRmResourceGroup -Name $rgname -Location $loc; - New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - Retry-IfException { $global:stokey1 = Get-AzureRMStorageAccountKey -ResourceGroupName $rgname -Name $stoname; } + Retry-IfException { $global:stokey1 = Get-AzureRmStorageAccountKey -ResourceGroupName $rgname -Name $stoname; } - New-AzureRMStorageAccountKey -ResourceGroupName $rgname -Name $stoname -KeyName key1; + New-AzureRmStorageAccountKey -ResourceGroupName $rgname -Name $stoname -KeyName key1; - $stokey2 = Get-AzureRMStorageAccountKey -ResourceGroupName $rgname -Name $stoname; + $stokey2 = Get-AzureRmStorageAccountKey -ResourceGroupName $rgname -Name $stoname; Assert-AreNotEqual $stokey1.Key1 $stokey2.Key1; Assert-AreEqual $stokey1.Key2 $stokey2.Key2; - New-AzureRMStorageAccountKey -ResourceGroupName $rgname -Name $stoname -KeyName key2; + New-AzureRmStorageAccountKey -ResourceGroupName $rgname -Name $stoname -KeyName key2; - $stokey3 = Get-AzureRMStorageAccountKey -ResourceGroupName $rgname -Name $stoname; + $stokey3 = Get-AzureRmStorageAccountKey -ResourceGroupName $rgname -Name $stoname; Assert-AreNotEqual $stokey1.Key1 $stokey2.Key1; Assert-AreEqual $stokey2.Key1 $stokey3.Key1; Assert-AreNotEqual $stokey2.Key2 $stokey3.Key2; - Remove-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; + Remove-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; } finally { @@ -317,7 +317,7 @@ function Test-NewAzureStorageAccountKey <# .SYNOPSIS -Test Get-AzureRMStorageAccount | Get-AzureRMStorageAccountKey +Test Get-AzureRmStorageAccount | Get-AzureRmStorageAccountKey #> function Test-PipingGetAccountToGetKey { @@ -331,14 +331,14 @@ function Test-PipingGetAccountToGetKey $stotype = 'Standard_GRS'; $loc = 'West US'; - New-AzureRMResourceGroup -Name $rgname -Location $loc; + New-AzureRmResourceGroup -Name $rgname -Location $loc; - New-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; + New-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype; - Retry-IfException { $global:stokeys = Get-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname | Get-AzureRMStorageAccountKey -ResourceGroupName $rgname; } + Retry-IfException { $global:stokeys = Get-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname | Get-AzureRmStorageAccountKey -ResourceGroupName $rgname; } Assert-AreNotEqual $stokeys.Key1 $stokeys.Key2; - Remove-AzureRMStorageAccount -ResourceGroupName $rgname -Name $stoname; + Remove-AzureRmStorageAccount -ResourceGroupName $rgname -Name $stoname; } finally { diff --git a/src/ResourceManager/Storage/Commands.Management.Storage/Microsoft.Azure.Commands.Management.Storage.dll-Help.xml b/src/ResourceManager/Storage/Commands.Management.Storage/Microsoft.Azure.Commands.Management.Storage.dll-Help.xml index 5844a2baf766..430ffff8f2cc 100644 --- a/src/ResourceManager/Storage/Commands.Management.Storage/Microsoft.Azure.Commands.Management.Storage.dll-Help.xml +++ b/src/ResourceManager/Storage/Commands.Management.Storage/Microsoft.Azure.Commands.Management.Storage.dll-Help.xml @@ -2,7 +2,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMStorageAccount</command:name> + <command:name>Get-AzureRmStorageAccount</command:name> <maml:description> <maml:para>Get the properties of a Storage Account</maml:para> </maml:description> @@ -18,7 +18,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMStorageAccount</maml:name> + <maml:name>Get-AzureRmStorageAccount</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -121,7 +121,7 @@ <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> <dev:code>PS C:\&gt; #Get one storage account - Get-AzureRMStorageAccount -ResourceGroupName &quot;RG1&quot; -AccountName &quot;myStorageAccount&quot;</dev:code> + Get-AzureRmStorageAccount -ResourceGroupName &quot;RG1&quot; -AccountName &quot;myStorageAccount&quot;</dev:code> <dev:remarks> <maml:para /> <maml:para /> @@ -142,7 +142,7 @@ <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> <dev:code>PS C:\&gt; # Get all Storage Accounts in a Resource Group - Get-AzureRMStorageAccount -ResourceGroupName &quot;RG1&quot;</dev:code> + Get-AzureRmStorageAccount -ResourceGroupName &quot;RG1&quot;</dev:code> <dev:remarks> <maml:para /> <maml:para /> @@ -163,7 +163,7 @@ <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> <dev:code>PS C:\&gt; # Get all Storage Accounts in the subscription - Get-AzureRMStorageAccount</dev:code> + Get-AzureRmStorageAccount</dev:code> <dev:remarks> <maml:para /> <maml:para /> @@ -185,7 +185,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMStorageAccountKey</command:name> + <command:name>Get-AzureRmStorageAccountKey</command:name> <maml:description> <maml:para>Get the access keys for an Azure storage account</maml:para> </maml:description> @@ -201,7 +201,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMStorageAccountKey</maml:name> + <maml:name>Get-AzureRmStorageAccountKey</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -304,7 +304,7 @@ <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> <dev:code>#Get keys - Get-AzureRMStorageAccountKey -ResourceGroupName &quot;RG1&quot; -AccountName &quot;myStorageAccount&quot;</dev:code> + Get-AzureRmStorageAccountKey -ResourceGroupName &quot;RG1&quot; -AccountName &quot;myStorageAccount&quot;</dev:code> <dev:remarks> <maml:para /> <maml:para /> @@ -326,7 +326,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>New-AzureRMStorageAccount</command:name> + <command:name>New-AzureRmStorageAccount</command:name> <maml:description> <maml:para>Allows you to create a new Storage Account</maml:para> </maml:description> @@ -342,7 +342,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMStorageAccount</maml:name> + <maml:name>New-AzureRmStorageAccount</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -490,7 +490,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>New-AzureRMStorageAccount -ResourceGroupName &quot;myResourceGroup&quot; -AccountName &quot;myStorageAccount&quot; -Location &quot;US West&quot; -Type &quot;Standard_GRS&quot;</dev:code> + <dev:code>New-AzureRmStorageAccount -ResourceGroupName &quot;myResourceGroup&quot; -AccountName &quot;myStorageAccount&quot; -Location &quot;US West&quot; -Type &quot;Standard_GRS&quot;</dev:code> <dev:remarks> <maml:para /> <maml:para /> @@ -512,7 +512,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>New-AzureRMStorageAccountKey</command:name> + <command:name>New-AzureRmStorageAccountKey</command:name> <maml:description> <maml:para>Regenerates a storage key for an Azure storage account.</maml:para> </maml:description> @@ -528,7 +528,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMStorageAccountKey</maml:name> + <maml:name>New-AzureRmStorageAccountKey</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -654,7 +654,7 @@ <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> <dev:code>#Regenerate a key -New-AzureRMStorageKey -ResourceGroupName &quot;myResourceGroup&quot; -AccountName &quot;myStorageAccount&quot; -keyName &quot;key1&quot;</dev:code> +New-AzureRmStorageKey -ResourceGroupName &quot;myResourceGroup&quot; -AccountName &quot;myStorageAccount&quot; -keyName &quot;key1&quot;</dev:code> <dev:remarks> <maml:para /> <maml:para /> @@ -676,7 +676,7 @@ New-AzureRMStorageKey -ResourceGroupName &quot;myResourceGroup&quot; -AccountNam <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Remove-AzureRMStorageAccount</command:name> + <command:name>Remove-AzureRmStorageAccount</command:name> <maml:description> <maml:para>Remove Storage Account from Azure</maml:para> </maml:description> @@ -692,7 +692,7 @@ New-AzureRMStorageKey -ResourceGroupName &quot;myResourceGroup&quot; -AccountNam </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMStorageAccount</maml:name> + <maml:name>Remove-AzureRmStorageAccount</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -794,7 +794,7 @@ New-AzureRMStorageKey -ResourceGroupName &quot;myResourceGroup&quot; -AccountNam <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>PS C:\&gt; Remove-AzureRMStorageAccount -ResourceGroupName &quot;RG1&quot; -AccountName &quot;myStorageAccount&quot;</dev:code> + <dev:code>PS C:\&gt; Remove-AzureRmStorageAccount -ResourceGroupName &quot;RG1&quot; -AccountName &quot;myStorageAccount&quot;</dev:code> <dev:remarks> <maml:para /> <maml:para /> @@ -816,7 +816,7 @@ New-AzureRMStorageKey -ResourceGroupName &quot;myResourceGroup&quot; -AccountNam <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Set-AzureRMStorageAccount</command:name> + <command:name>Set-AzureRmStorageAccount</command:name> <maml:description> <maml:para>Update the Storage Account properties</maml:para> </maml:description> @@ -832,7 +832,7 @@ New-AzureRMStorageKey -ResourceGroupName &quot;myResourceGroup&quot; -AccountNam </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMStorageAccount</maml:name> + <maml:name>Set-AzureRmStorageAccount</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -869,7 +869,7 @@ New-AzureRMStorageKey -ResourceGroupName &quot;myResourceGroup&quot; -AccountNam </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMStorageAccount</maml:name> + <maml:name>Set-AzureRmStorageAccount</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -907,7 +907,7 @@ New-AzureRMStorageKey -ResourceGroupName &quot;myResourceGroup&quot; -AccountNam </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Set-AzureRMStorageAccount</maml:name> + <maml:name>Set-AzureRmStorageAccount</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -1083,7 +1083,7 @@ New-AzureRMStorageKey -ResourceGroupName &quot;myResourceGroup&quot; -AccountNam <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> <dev:code>PS C:\&gt; # Set account type - Set-AzureRMStorageAccount -ResourceGroupName &quot;myResourceGroup&quot; -AccountName &quot;myStorageAccount&quot; -Type &quot;Standard_RAGRS&quot;</dev:code> + Set-AzureRmStorageAccount -ResourceGroupName &quot;myResourceGroup&quot; -AccountName &quot;myStorageAccount&quot; -Type &quot;Standard_RAGRS&quot;</dev:code> <dev:remarks> <maml:para /> <maml:para /> @@ -1104,7 +1104,7 @@ New-AzureRMStorageKey -ResourceGroupName &quot;myResourceGroup&quot; -AccountNam <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> <dev:code>PS C:\&gt; #Set custom domain - Set-AzureRMStorageAccount -ResourceGroupName &quot;myResourceGroup&quot; -AccountName &quot;myStorageAccount&quot; -CustomDomainName &quot;domain name&quot; –UseSubDomain “true”</dev:code> + Set-AzureRmStorageAccount -ResourceGroupName &quot;myResourceGroup&quot; -AccountName &quot;myStorageAccount&quot; -CustomDomainName &quot;domain name&quot; –UseSubDomain “true”</dev:code> <dev:remarks> <maml:para /> <maml:para /> diff --git a/src/ResourceManager/Storage/Commands.Management.Storage/StorageAccount/StorageAccountBaseCmdlet.cs b/src/ResourceManager/Storage/Commands.Management.Storage/StorageAccount/StorageAccountBaseCmdlet.cs index 75707c30d643..cb42abe88152 100644 --- a/src/ResourceManager/Storage/Commands.Management.Storage/StorageAccount/StorageAccountBaseCmdlet.cs +++ b/src/ResourceManager/Storage/Commands.Management.Storage/StorageAccount/StorageAccountBaseCmdlet.cs @@ -26,7 +26,7 @@ public abstract class StorageAccountBaseCmdlet : AzureRMCmdlet { private StorageManagementClientWrapper storageClientWrapper; - protected const string StorageAccountNounStr = "AzureRMStorageAccount"; + protected const string StorageAccountNounStr = "AzureRmStorageAccount"; protected const string StorageAccountKeyNounStr = StorageAccountNounStr + "Key"; protected const string StorageAccountNameAlias = "StorageAccountName"; diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/ScenarioTests/EndToEndTests.ps1 b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/ScenarioTests/EndToEndTests.ps1 index e200b0316d73..7f31fbb6b1b5 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/ScenarioTests/EndToEndTests.ps1 +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/ScenarioTests/EndToEndTests.ps1 @@ -25,83 +25,83 @@ function Test-TestStreamingAnalyticsE2E $transformationName = "transform1" # Create Job - $actual = New-AzureRMStreamAnalyticsJob -File .\Resources\job.json -ResourceGroupName $resourceGroup -Name $jobName -Force - $expected = Get-AzureRMStreamAnalyticsJob -Name $jobName -ResourceGroupName $resourceGroup + $actual = New-AzureRmStreamAnalyticsJob -File .\Resources\job.json -ResourceGroupName $resourceGroup -Name $jobName -Force + $expected = Get-AzureRmStreamAnalyticsJob -Name $jobName -ResourceGroupName $resourceGroup Assert-AreEqual $expected.Name $actual.Name # Get Job Input - $actual = Get-AzureRMStreamAnalyticsInput -JobName $jobName -ResourceGroupName $resourceGroup + $actual = Get-AzureRmStreamAnalyticsInput -JobName $jobName -ResourceGroupName $resourceGroup Assert-AreEqual $inputName $actual.Name # Get Job Output - $actual = Get-AzureRMStreamAnalyticsOutput -JobName $jobName -ResourceGroupName $resourceGroup + $actual = Get-AzureRmStreamAnalyticsOutput -JobName $jobName -ResourceGroupName $resourceGroup Assert-AreEqual $outputName $actual.Name # Get Job transformation - $actual = Get-AzureRMStreamAnalyticsTransformation -JobName $jobName -Name $transformationName -ResourceGroupName $resourceGroup + $actual = Get-AzureRmStreamAnalyticsTransformation -JobName $jobName -Name $transformationName -ResourceGroupName $resourceGroup Assert-AreEqual $transformationName $actual.Name # New Input (Patch) - $actual = New-AzureRMStreamAnalyticsInput -File .\Resources\Input.json -JobName $jobName -ResourceGroupName $resourceGroup -Force + $actual = New-AzureRmStreamAnalyticsInput -File .\Resources\Input.json -JobName $jobName -ResourceGroupName $resourceGroup -Force Assert-AreEqual $inputName $actual.Name # Test Input - $actual = Test-AzureRMStreamAnalyticsInput -JobName $jobName -Name Input -ResourceGroupName $resourceGroup + $actual = Test-AzureRmStreamAnalyticsInput -JobName $jobName -Name Input -ResourceGroupName $resourceGroup $expected = "True" Assert-AreEqual $expected $actual # New Output (Patch) - $actual = New-AzureRMStreamAnalyticsOutput -File .\Resources\Output.json -JobName $jobName -ResourceGroupName $resourceGroup -Force + $actual = New-AzureRmStreamAnalyticsOutput -File .\Resources\Output.json -JobName $jobName -ResourceGroupName $resourceGroup -Force Assert-AreEqual $outputName $actual.Name # Test Output - $actual = Test-AzureRMStreamAnalyticsOutput -JobName $jobName -Name $outputName -ResourceGroupName $resourceGroup + $actual = Test-AzureRmStreamAnalyticsOutput -JobName $jobName -Name $outputName -ResourceGroupName $resourceGroup $expected = "True" Assert-AreEqual $expected $actual # Create transformation (Patch) - $actual = New-AzureRMStreamAnalyticsTransformation -File .\Resources\Transformation.json -JobName $jobName -ResourceGroupName $resourceGroup -Force + $actual = New-AzureRmStreamAnalyticsTransformation -File .\Resources\Transformation.json -JobName $jobName -ResourceGroupName $resourceGroup -Force Assert-AreEqual $transformationName $actual.Name # Get Quota - $actual = Get-AzureRMStreamAnalyticsQuota -Location "West US" + $actual = Get-AzureRmStreamAnalyticsQuota -Location "West US" $expected = 0 Assert-AreEqual $expected $actual.CurrentCount # Start Job - $actual = Start-AzureRMStreamAnalyticsJob -Name $jobName -ResourceGroupName $resourceGroup + $actual = Start-AzureRmStreamAnalyticsJob -Name $jobName -ResourceGroupName $resourceGroup $expected = "True" Assert-AreEqual $expected $actual # Get Quota - $actual = Get-AzureRMStreamAnalyticsQuota -Location "West US" + $actual = Get-AzureRmStreamAnalyticsQuota -Location "West US" $expected = 1 Assert-AreEqual $expected $actual.CurrentCount #Get Diagnostics - $actual = Get-AzureRMStreamAnalyticsInput -JobName $jobName -ResourceGroupName $resourceGroup + $actual = Get-AzureRmStreamAnalyticsInput -JobName $jobName -ResourceGroupName $resourceGroup Assert-NotNull $actual Assert-NotNull $actual.Properties.Diagnostics Assert-NotNull $actual.Properties.Diagnostics.Conditions Assert-NotNull $actual.Properties.Diagnostics.Conditions.Message # Stop Job - $actual = Stop-AzureRMStreamAnalyticsJob -Name $jobName -ResourceGroupName $resourceGroup + $actual = Stop-AzureRmStreamAnalyticsJob -Name $jobName -ResourceGroupName $resourceGroup $expected = "True" Assert-AreEqual $expected $actual # Remove Output - $actual = Remove-AzureRMStreamAnalyticsOutput -JobName $jobName -Name Output -ResourceGroupName $resourceGroup -Force + $actual = Remove-AzureRmStreamAnalyticsOutput -JobName $jobName -Name Output -ResourceGroupName $resourceGroup -Force $expected = "True" Assert-AreEqual $expected $actual # Remove Input - $actual = Remove-AzureRMStreamAnalyticsInput -JobName $jobName -Name Input -ResourceGroupName $resourceGroup -Force + $actual = Remove-AzureRmStreamAnalyticsInput -JobName $jobName -Name Input -ResourceGroupName $resourceGroup -Force $expected = "True" Assert-AreEqual $expected $actual # Remove Job - $actual = Remove-AzureRMStreamAnalyticsJob -Name $jobName -ResourceGroupName $resourceGroup -Force + $actual = Remove-AzureRmStreamAnalyticsJob -Name $jobName -ResourceGroupName $resourceGroup -Force $expected = "True" Assert-AreEqual $expected $actual } \ No newline at end of file diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Constants.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Constants.cs index 78cae63763d0..308a8e3d7afa 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Constants.cs +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Constants.cs @@ -18,14 +18,14 @@ namespace Microsoft.Azure.Commands.StreamAnalytics { internal static class Constants { - public const string StreamAnalyticsJob = "AzureRMStreamAnalyticsJob"; + public const string StreamAnalyticsJob = "AzureRmStreamAnalyticsJob"; - public const string StreamAnalyticsInput = "AzureRMStreamAnalyticsInput"; + public const string StreamAnalyticsInput = "AzureRmStreamAnalyticsInput"; - public const string StreamAnalyticsOutput = "AzureRMStreamAnalyticsOutput"; + public const string StreamAnalyticsOutput = "AzureRmStreamAnalyticsOutput"; - public const string StreamAnalyticsTransformation = "AzureRMStreamAnalyticsTransformation"; + public const string StreamAnalyticsTransformation = "AzureRmStreamAnalyticsTransformation"; - public const string StreamAnalyticsQuota = "AzureRMStreamAnalyticsQuota"; + public const string StreamAnalyticsQuota = "AzureRmStreamAnalyticsQuota"; } } \ No newline at end of file diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Microsoft.Azure.Commands.StreamAnalytics.dll-Help.xml b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Microsoft.Azure.Commands.StreamAnalytics.dll-Help.xml index e0503b4ab40a..0004b01ebced 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Microsoft.Azure.Commands.StreamAnalytics.dll-Help.xml +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Microsoft.Azure.Commands.StreamAnalytics.dll-Help.xml @@ -2,7 +2,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMStreamAnalyticsInput</command:name> + <command:name>Get-AzureRmStreamAnalyticsInput</command:name> <maml:description> <maml:para>Lists all of the inputs that are defined in a specified Stream Analytics job or gets information about a specific input.</maml:para> </maml:description> @@ -14,11 +14,11 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMStreamAnalyticsInput cmdlet lists all of the inputs that are defined in a specified Stream Analytics job or gets information about a specific input.</maml:para> + <maml:para>The Get-AzureRmStreamAnalyticsInput cmdlet lists all of the inputs that are defined in a specified Stream Analytics job or gets information about a specific input.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMStreamAnalyticsInput</maml:name> + <maml:name>Get-AzureRmStreamAnalyticsInput</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> <maml:name>JobName</maml:name> <maml:description> @@ -152,7 +152,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>Get-AzureRMStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob</dev:code> + <dev:code>Get-AzureRmStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob</dev:code> <dev:remarks> <maml:para>This command returns information about all the inputs defined on the job StreamingJob.</maml:para> <maml:para /> @@ -172,7 +172,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>Get-AzureRMStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name EntryStream</dev:code> + <dev:code>Get-AzureRmStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name EntryStream</dev:code> <dev:remarks> <maml:para>This command returns information about the input named EntryStream defined on the job StreamingJob.</maml:para> <maml:para /> @@ -190,15 +190,15 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>New-AzureRMStreamAnalyticsInput</maml:linkText> + <maml:linkText>New-AzureRmStreamAnalyticsInput</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMStreamAnalyticsInput</maml:linkText> + <maml:linkText>Remove-AzureRmStreamAnalyticsInput</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Test-AzureRMStreamAnalyticsInput</maml:linkText> + <maml:linkText>Test-AzureRmStreamAnalyticsInput</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> @@ -206,7 +206,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMStreamAnalyticsJob</command:name> + <command:name>Get-AzureRmStreamAnalyticsJob</command:name> <maml:description> <maml:para>Lists all Stream Analytics jobs defined in the Azure subscription or specified resource group or gets job information about a specific job within a resource group.</maml:para> </maml:description> @@ -218,11 +218,11 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMStreamAnalyticsJob cmdlet lists all Stream Analytics jobs defined in the Azure subscription or specified resource group or gets job information about a specific job within a resource group.</maml:para> + <maml:para>The Get-AzureRmStreamAnalyticsJob cmdlet lists all Stream Analytics jobs defined in the Azure subscription or specified resource group or gets job information about a specific job within a resource group.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMStreamAnalyticsJob</maml:name> + <maml:name>Get-AzureRmStreamAnalyticsJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -253,7 +253,7 @@ </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Get-AzureRMStreamAnalyticsJob</maml:name> + <maml:name>Get-AzureRmStreamAnalyticsJob</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> <maml:name>NoExpand</maml:name> <maml:description> @@ -373,7 +373,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>Get-AzureRMStreamAnalyticsJob</dev:code> + <dev:code>Get-AzureRmStreamAnalyticsJob</dev:code> <dev:remarks> <maml:para>This command returns information about all the Stream Analytics jobs in the Azure subscription.</maml:para> <maml:para /> @@ -393,7 +393,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>Get-AzureRMStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US</dev:code> + <dev:code>Get-AzureRmStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US</dev:code> <dev:remarks> <maml:para>This command returns information about all the Stream Analytics jobs in the resource group StreamAnalytics-Default-West-US.</maml:para> <maml:para /> @@ -413,7 +413,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>Get-AzureRMStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US -Name StreamingJob</dev:code> + <dev:code>Get-AzureRmStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US -Name StreamingJob</dev:code> <dev:remarks> <maml:para>This command returns information about the Stream Analytics job StreamingJob in the resource group StreamAnalytics-Default-West-US.</maml:para> <maml:para /> @@ -431,19 +431,19 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>New-AzureRMStreamAnalyticsJob</maml:linkText> + <maml:linkText>New-AzureRmStreamAnalyticsJob</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMStreamAnalyticsJob</maml:linkText> + <maml:linkText>Remove-AzureRmStreamAnalyticsJob</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Start-AzureRMStreamAnalyticsJob</maml:linkText> + <maml:linkText>Start-AzureRmStreamAnalyticsJob</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Stop-AzureRMStreamAnalyticsJob</maml:linkText> + <maml:linkText>Stop-AzureRmStreamAnalyticsJob</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> @@ -451,7 +451,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMStreamAnalyticsOutput</command:name> + <command:name>Get-AzureRmStreamAnalyticsOutput</command:name> <maml:description> <maml:para>Lists all of the outputs that are defined in a specified Stream Analytics job or gets information about a specific output.</maml:para> </maml:description> @@ -463,11 +463,11 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMStreamAnalyticsOutput cmdlet lists all of the outputs that are defined in a specified Stream Analytics job or gets information about a specific output.</maml:para> + <maml:para>The Get-AzureRmStreamAnalyticsOutput cmdlet lists all of the outputs that are defined in a specified Stream Analytics job or gets information about a specific output.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMStreamAnalyticsOutput</maml:name> + <maml:name>Get-AzureRmStreamAnalyticsOutput</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> <maml:name>JobName</maml:name> <maml:description> @@ -601,7 +601,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>Get-AzureRMStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob</dev:code> + <dev:code>Get-AzureRmStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob</dev:code> <dev:remarks> <maml:para>This command returns information about the outputs defined on the job StreamingJob.</maml:para> <maml:para /> @@ -621,7 +621,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>Get-AzureRMStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name Output</dev:code> + <dev:code>Get-AzureRmStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name Output</dev:code> <dev:remarks> <maml:para>This command returns information about the output named Output defined on the job StreamingJob.</maml:para> <maml:para /> @@ -639,15 +639,15 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>New-AzureRMStreamAnalyticsOutput</maml:linkText> + <maml:linkText>New-AzureRmStreamAnalyticsOutput</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMStreamAnalyticsOutput</maml:linkText> + <maml:linkText>Remove-AzureRmStreamAnalyticsOutput</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Test-AzureRMStreamAnalyticsOutput</maml:linkText> + <maml:linkText>Test-AzureRmStreamAnalyticsOutput</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> @@ -655,7 +655,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMStreamAnalyticsQuota</command:name> + <command:name>Get-AzureRmStreamAnalyticsQuota</command:name> <maml:description> <maml:para> Gets information about the Streaming Unit quota of a specified region.</maml:para> @@ -668,11 +668,11 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMStreamAnalyticsQuota cmdlet gets information about the Streaming Unit quota of a specified region.</maml:para> + <maml:para>The Get-AzureRmStreamAnalyticsQuota cmdlet gets information about the Streaming Unit quota of a specified region.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMStreamAnalyticsQuota</maml:name> + <maml:name>Get-AzureRmStreamAnalyticsQuota</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>Location</maml:name> <maml:description> @@ -768,7 +768,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>Get-AzureRMStreamAnalyticsQuota -Location &quot;West US&quot;</dev:code> + <dev:code>Get-AzureRmStreamAnalyticsQuota -Location &quot;West US&quot;</dev:code> <dev:remarks> <maml:para>This command returns information about Streaming Unit quota and usage in the West US region.</maml:para> <maml:para /> @@ -794,7 +794,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMStreamAnalyticsTransformation</command:name> + <command:name>Get-AzureRmStreamAnalyticsTransformation</command:name> <maml:description> <maml:para>Gets information about a specific transformation defined on Stream Analytics job.</maml:para> </maml:description> @@ -806,11 +806,11 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMStreamAnalyticsTransformation cmdlet gets information about a specific transformation defined on Stream Analytics job.</maml:para> + <maml:para>The Get-AzureRmStreamAnalyticsTransformation cmdlet gets information about a specific transformation defined on Stream Analytics job.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMStreamAnalyticsTransformation</maml:name> + <maml:name>Get-AzureRmStreamAnalyticsTransformation</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> <maml:name>JobName</maml:name> <maml:description> @@ -944,7 +944,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>Get-AzureRMStreamAnalyticsTransformation -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name StreamingJob</dev:code> + <dev:code>Get-AzureRmStreamAnalyticsTransformation -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name StreamingJob</dev:code> <dev:remarks> <maml:para>This command returns information about the transformation called StreamingJob on the job StreamingJob.</maml:para> <maml:para /> @@ -962,7 +962,7 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>New-AzureRMStreamAnalyticsTransformation</maml:linkText> + <maml:linkText>New-AzureRmStreamAnalyticsTransformation</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> @@ -970,7 +970,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>New-AzureRMStreamAnalyticsInput</command:name> + <command:name>New-AzureRmStreamAnalyticsInput</command:name> <maml:description> <maml:para> Creates a new input within a Stream Analytics job or updates an existing specified input. @@ -987,14 +987,14 @@ </command:details> <maml:description> <maml:para> - The New-AzureRMStreamAnalyticsInput cmdlet creates a new input within a Stream Analytics job or updates an existing specified input. + The New-AzureRmStreamAnalyticsInput cmdlet creates a new input within a Stream Analytics job or updates an existing specified input. The name of the input can be specified in the .JSON file or on the command line. If both are specified, the name on command line must be the same with the one in the file. If you specify an input that already exists and do not specify -Force parameter, the cmdlet will ask whether or not to replace the existing input. If you specify -Force parameter and specify an existing input name, the input will be replaced without confirmation.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMStreamAnalyticsInput</maml:name> + <maml:name>New-AzureRmStreamAnalyticsInput</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> <maml:name>JobName</maml:name> <maml:description> @@ -1165,7 +1165,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>New-AzureRMStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -File &quot;C:\Input.json&quot;</dev:code> + <dev:code>New-AzureRmStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -File &quot;C:\Input.json&quot;</dev:code> <dev:remarks> <maml:para>This command creates a new input from the file Input.json. If an existing input with the name specified in the input definition file is already defined, the cmdlet will ask whether or not to replace it.</maml:para> <maml:para /> @@ -1185,7 +1185,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>New-AzureRMStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -File &quot;C:\Input.json&quot; -Name EntryStream</dev:code> + <dev:code>New-AzureRmStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -File &quot;C:\Input.json&quot; -Name EntryStream</dev:code> <dev:remarks> <maml:para>This command creates a new input on the job called EntryStream. If an existing input with this name is already defined, the cmdlet will ask whether or not to replace it.</maml:para> <maml:para /> @@ -1205,7 +1205,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>New-AzureRMStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -File &quot;C:\Input.json&quot; -Name EntryStream -Force</dev:code> + <dev:code>New-AzureRmStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -File &quot;C:\Input.json&quot; -Name EntryStream -Force</dev:code> <dev:remarks> <maml:para>This command replaces the definition of the existing input source called EntryStream with the definition from file.</maml:para> <maml:para /> @@ -1223,15 +1223,15 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMStreamAnalyticsInput</maml:linkText> + <maml:linkText>Get-AzureRmStreamAnalyticsInput</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMStreamAnalyticsInput</maml:linkText> + <maml:linkText>Remove-AzureRmStreamAnalyticsInput</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Test-AzureRMStreamAnalyticsInput</maml:linkText> + <maml:linkText>Test-AzureRmStreamAnalyticsInput</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> @@ -1239,7 +1239,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>New-AzureRMStreamAnalyticsJob</command:name> + <command:name>New-AzureRmStreamAnalyticsJob</command:name> <maml:description> <maml:para> Creates a new Stream Analytics job in Microsoft Azure or updates the definition of an existing specified job. @@ -1256,14 +1256,14 @@ </command:details> <maml:description> <maml:para> - The New-AzureRMStreamAnalyticsJob cmdlet creates a new Stream Analytics job in Microsoft Azure or updates the definition of an existing specified job. + The New-AzureRmStreamAnalyticsJob cmdlet creates a new Stream Analytics job in Microsoft Azure or updates the definition of an existing specified job. The name of the job can be specified in the .JSON file or on the command line. If both are specified, the name on command line must be the same with the one in the file. If you specify a job name that already exists and do not specify -Force parameter, the cmdlet will ask whether or not to replace the existing job. If you specify -Force parameter and specify an existing job name, the job definition will be replaced without confirmation.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMStreamAnalyticsJob</maml:name> + <maml:name>New-AzureRmStreamAnalyticsJob</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> <maml:name>Name</maml:name> <maml:description> @@ -1415,7 +1415,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>New-AzureRMStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US -File &quot;C:\JobDefinition.json&quot;</dev:code> + <dev:code>New-AzureRmStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US -File &quot;C:\JobDefinition.json&quot;</dev:code> <dev:remarks> <maml:para>This command creates a new job from the definition in JobDefinition.json. If an existing job with the name specified in the job definition file is already defined, the cmdlet will ask whether or not to replace it.</maml:para> <maml:para /> @@ -1435,7 +1435,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>New-AzureRMStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US -File &quot;C:\JobDefinition.json&quot; -Name StreamingJob -Force</dev:code> + <dev:code>New-AzureRmStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US -File &quot;C:\JobDefinition.json&quot; -Name StreamingJob -Force</dev:code> <dev:remarks> <maml:para>This command replaces the job definition for StreamingJob.</maml:para> <maml:para /> @@ -1453,19 +1453,19 @@ </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMStreamAnalyticsJob</maml:linkText> + <maml:linkText>Get-AzureRmStreamAnalyticsJob</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMStreamAnalyticsJob</maml:linkText> + <maml:linkText>Remove-AzureRmStreamAnalyticsJob</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Start-AzureRMStreamAnalyticsJob</maml:linkText> + <maml:linkText>Start-AzureRmStreamAnalyticsJob</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Stop-AzureRMStreamAnalyticsJob</maml:linkText> + <maml:linkText>Stop-AzureRmStreamAnalyticsJob</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> @@ -1473,7 +1473,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>New-AzureRMStreamAnalyticsOutput</command:name> + <command:name>New-AzureRmStreamAnalyticsOutput</command:name> <maml:description> <maml:para> Creates a new output within a Stream Analytics job or updates an existing output. @@ -1490,14 +1490,14 @@ </command:details> <maml:description> <maml:para> - The New-AzureRMStreamAnalyticsOutput cmdlet creates a new output within a Stream Analytics job or updates an existing output. + The New-AzureRmStreamAnalyticsOutput cmdlet creates a new output within a Stream Analytics job or updates an existing output. The name of the output can be specified in the .JSON file or on the command line. If both are specified, the name on command line must be the same with the one in the file. If you specify an output that already exists and do not specify -Force parameter, the cmdlet will ask whether or not to replace the existing output. If you specify -Force parameter and specify an existing output name, the output will be replaced without confirmation.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMStreamAnalyticsOutput</maml:name> + <maml:name>New-AzureRmStreamAnalyticsOutput</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> <maml:name>JobName</maml:name> <maml:description> @@ -1668,7 +1668,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>New-AzureRMStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -File &quot;C:\Output.json&quot; -JobName StreamingJob -Name output</dev:code> + <dev:code>New-AzureRmStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -File &quot;C:\Output.json&quot; -JobName StreamingJob -Name output</dev:code> <dev:remarks> <maml:para>This command creates a new output called &quot;output&quot; in the job StreamingJob. If an existing output with this name is already defined, the cmdlet will ask whether or not to replace it.</maml:para> @@ -1689,7 +1689,7 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>New-AzureRMStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -File &quot;C:\Output.json&quot; -JobName StreamingJob -Name output -Force</dev:code> + <dev:code>New-AzureRmStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -File &quot;C:\Output.json&quot; -JobName StreamingJob -Name output -Force</dev:code> <dev:remarks> <maml:para>This command replaces the definition for &quot;output&quot; in the job StreamingJob.</maml:para> <maml:para /> @@ -1707,15 +1707,15 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMStreamAnalyticsOutput</maml:linkText> + <maml:linkText>Get-AzureRmStreamAnalyticsOutput</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMStreamAnalyticsOutput</maml:linkText> + <maml:linkText>Remove-AzureRmStreamAnalyticsOutput</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Test-AzureRMStreamAnalyticsOutput</maml:linkText> + <maml:linkText>Test-AzureRmStreamAnalyticsOutput</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> @@ -1723,7 +1723,7 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>New-AzureRMStreamAnalyticsTransformation</command:name> + <command:name>New-AzureRmStreamAnalyticsTransformation</command:name> <maml:description> <maml:para> Creates a new transformation within a Stream Analytics job or updates the existing transformation. @@ -1740,14 +1740,14 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para </command:details> <maml:description> <maml:para> - The New-AzureRMStreamAnalyticsTransformation cmdlet creates a new transformation within a Stream Analytics job or updates the existing transformation. + The New-AzureRmStreamAnalyticsTransformation cmdlet creates a new transformation within a Stream Analytics job or updates the existing transformation. The name of the transformation can be specified in the .JSON file or on the command line. If both are specified, the name on command line must be the same with the one in the file. If you specify a transformation that already exists and do not specify -Force parameter, the cmdlet will ask whether or not to replace the existing transformation. If you specify -Force parameter and specify an existing transformation name, the transformation will be replaced without confirmation.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMStreamAnalyticsTransformation</maml:name> + <maml:name>New-AzureRmStreamAnalyticsTransformation</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> <maml:name>JobName</maml:name> <maml:description> @@ -1918,7 +1918,7 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>New-AzureRMStreamAnalyticsTransformation -ResourceGroupName StreamAnalytics-Default-West-US -File &quot;C:\Transformation.json&quot; -JobName StreamingJob -Name StreamingJobTransform</dev:code> + <dev:code>New-AzureRmStreamAnalyticsTransformation -ResourceGroupName StreamAnalytics-Default-West-US -File &quot;C:\Transformation.json&quot; -JobName StreamingJob -Name StreamingJobTransform</dev:code> <dev:remarks> <maml:para>This command creates a new transformation called StreamingJobTransform in the job StreamingJob. If an existing transformation is already defined with this name, the cmdlet will ask whether or not to replace it.</maml:para> <maml:para /> @@ -1938,7 +1938,7 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>New-AzureRMStreamAnalyticsTransformation -ResourceGroupName StreamAnalytics-Default-West-US -File &quot;C:\Transformation.json&quot; -JobName StreamingJob -Name StreamingJobTransform -Force</dev:code> + <dev:code>New-AzureRmStreamAnalyticsTransformation -ResourceGroupName StreamAnalytics-Default-West-US -File &quot;C:\Transformation.json&quot; -JobName StreamingJob -Name StreamingJobTransform -Force</dev:code> <dev:remarks> <maml:para>This command replaces the definition of StreamingJobTransform in the job StreamingJob.</maml:para> <maml:para /> @@ -1956,7 +1956,7 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMStreamAnalyticsTransformation</maml:linkText> + <maml:linkText>Get-AzureRmStreamAnalyticsTransformation</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> @@ -1964,7 +1964,7 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Remove-AzureRMStreamAnalyticsInput</command:name> + <command:name>Remove-AzureRmStreamAnalyticsInput</command:name> <maml:description> <maml:para> Asynchronously deletes a specific input from a Stream Analytics job in Microsoft Azure. @@ -1979,12 +1979,12 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para </command:details> <maml:description> <maml:para> - The Remove-AzureRMStreamAnalyticsInput cmdlet asynchronously deletes a specific input from a Stream Analytics job in Microsoft Azure. + The Remove-AzureRmStreamAnalyticsInput cmdlet asynchronously deletes a specific input from a Stream Analytics job in Microsoft Azure. If you specify -Force parameter the input will be deleted without confirmation.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMStreamAnalyticsInput</maml:name> + <maml:name>Remove-AzureRmStreamAnalyticsInput</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> <maml:name>JobName</maml:name> <maml:description> @@ -2136,7 +2136,7 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>Remove-AzureRMStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name EventStream</dev:code> + <dev:code>Remove-AzureRmStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name EventStream</dev:code> <dev:remarks> <maml:para>This command removes the input EventStream from StreamingJob</maml:para> <maml:para /> @@ -2154,15 +2154,15 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>New-AzureRMStreamAnalyticsInput</maml:linkText> + <maml:linkText>New-AzureRmStreamAnalyticsInput</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMStreamAnalyticsInput</maml:linkText> + <maml:linkText>Get-AzureRmStreamAnalyticsInput</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Test-AzureRMStreamAnalyticsInput</maml:linkText> + <maml:linkText>Test-AzureRmStreamAnalyticsInput</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> @@ -2170,7 +2170,7 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Remove-AzureRMStreamAnalyticsJob</command:name> + <command:name>Remove-AzureRmStreamAnalyticsJob</command:name> <maml:description> <maml:para> Asynchronously deletes a specific Stream Analytics job in Microsoft Azure. @@ -2185,12 +2185,12 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para </command:details> <maml:description> <maml:para> - The Remove-AzureRMStreamAnalyticsJob cmdlet asynchronously deletes a specific Stream Analytics job in Microsoft Azure. + The Remove-AzureRmStreamAnalyticsJob cmdlet asynchronously deletes a specific Stream Analytics job in Microsoft Azure. If you specify -Force parameter the job will be deleted without confirmation.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMStreamAnalyticsJob</maml:name> + <maml:name>Remove-AzureRmStreamAnalyticsJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> <maml:name>Name</maml:name> <maml:description> @@ -2323,7 +2323,7 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>Remove-AzureRMStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US -Name StreamingJob</dev:code> + <dev:code>Remove-AzureRmStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US -Name StreamingJob</dev:code> <dev:remarks> <maml:para>This command removes the job StreamingJob.</maml:para> <maml:para /> @@ -2341,19 +2341,19 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMStreamAnalyticsJob</maml:linkText> + <maml:linkText>Get-AzureRmStreamAnalyticsJob</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMStreamAnalyticsJob</maml:linkText> + <maml:linkText>New-AzureRmStreamAnalyticsJob</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Start-AzureRMStreamAnalyticsJob</maml:linkText> + <maml:linkText>Start-AzureRmStreamAnalyticsJob</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Stop-AzureRMStreamAnalyticsJob</maml:linkText> + <maml:linkText>Stop-AzureRmStreamAnalyticsJob</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> @@ -2361,7 +2361,7 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Remove-AzureRMStreamAnalyticsOutput</command:name> + <command:name>Remove-AzureRmStreamAnalyticsOutput</command:name> <maml:description> <maml:para> Asynchronously deletes a specific output from a Stream Analytics job in Microsoft Azure. @@ -2376,12 +2376,12 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para </command:details> <maml:description> <maml:para> - The Remove-AzureRMStreamAnalyticsOutput cmdlet asynchronously deletes a specific output from a Stream Analytics job in Microsoft Azure. + The Remove-AzureRmStreamAnalyticsOutput cmdlet asynchronously deletes a specific output from a Stream Analytics job in Microsoft Azure. If you specify -Force parameter the output will be deleted without confirmation.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMStreamAnalyticsOutput</maml:name> + <maml:name>Remove-AzureRmStreamAnalyticsOutput</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> <maml:name>JobName</maml:name> <maml:description> @@ -2533,7 +2533,7 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>Remove-AzureRMStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name Output</dev:code> + <dev:code>Remove-AzureRmStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name Output</dev:code> <dev:remarks> <maml:para>This command removes the output Output in the job StreamingJob.</maml:para> <maml:para /> @@ -2551,15 +2551,15 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMStreamAnalyticsOutput</maml:linkText> + <maml:linkText>Get-AzureRmStreamAnalyticsOutput</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMStreamAnalyticsOutput</maml:linkText> + <maml:linkText>New-AzureRmStreamAnalyticsOutput</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Test-AzureRMStreamAnalyticsOutput</maml:linkText> + <maml:linkText>Test-AzureRmStreamAnalyticsOutput</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> @@ -2567,7 +2567,7 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Start-AzureRMStreamAnalyticsJob</command:name> + <command:name>Start-AzureRmStreamAnalyticsJob</command:name> <maml:description> <maml:para>Asynchronously deploys and starts a Stream Analytics job in Microsoft Azure.</maml:para> </maml:description> @@ -2579,11 +2579,11 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para <dev:version /> </command:details> <maml:description> - <maml:para>The Start-AzureRMStreamAnalyticsJob cmdlet asynchronously deploys and starts a Stream Analytics job in Microsoft Azure.</maml:para> + <maml:para>The Start-AzureRmStreamAnalyticsJob cmdlet asynchronously deploys and starts a Stream Analytics job in Microsoft Azure.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Start-AzureRMStreamAnalyticsJob</maml:name> + <maml:name>Start-AzureRmStreamAnalyticsJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> <maml:name>Name</maml:name> <maml:description> @@ -2735,7 +2735,7 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>Start-AzureRMStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US -Name StreamingJob -OutputStartMode CustomTime -OutputStartTime 2014-07-03T01:00Z</dev:code> + <dev:code>Start-AzureRmStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US -Name StreamingJob -OutputStartMode CustomTime -OutputStartTime 2014-07-03T01:00Z</dev:code> <dev:remarks> <maml:para>This command starts the job StreamingJob and specifies that the output event stream should start at timestamp 2014-07-03T01:00Z.</maml:para> <maml:para /> @@ -2753,19 +2753,19 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMStreamAnalyticsJob</maml:linkText> + <maml:linkText>Get-AzureRmStreamAnalyticsJob</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMStreamAnalyticsJob</maml:linkText> + <maml:linkText>New-AzureRmStreamAnalyticsJob</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMStreamAnalyticsJob</maml:linkText> + <maml:linkText>Remove-AzureRmStreamAnalyticsJob</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Stop-AzureRMStreamAnalyticsJob</maml:linkText> + <maml:linkText>Stop-AzureRmStreamAnalyticsJob</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> @@ -2773,7 +2773,7 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Stop-AzureRMStreamAnalyticsJob</command:name> + <command:name>Stop-AzureRmStreamAnalyticsJob</command:name> <maml:description> <maml:para>Asynchronously stops a Stream Analytics job from running in Microsoft Azure and de-allocates resources that were that were being used. The job definition and meta-data will remain available within your subscription through both the Azure Portal and Management APIs, such that the job can be edited and restarted. You will not be charged for a job in the Stopped state.</maml:para> </maml:description> @@ -2785,11 +2785,11 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para <dev:version /> </command:details> <maml:description> - <maml:para>The Stop-AzureRMStreamAnalyticsJob cmdlet asynchronously stops a Stream Analytics job from running in Microsoft Azure and de-allocates resources that were that were being used. The job definition and meta-data will remain available within your subscription through both the Azure Portal and Management APIs, such that the job can be edited and restarted. You will not be charged for a job in the Stopped state.</maml:para> + <maml:para>The Stop-AzureRmStreamAnalyticsJob cmdlet asynchronously stops a Stream Analytics job from running in Microsoft Azure and de-allocates resources that were that were being used. The job definition and meta-data will remain available within your subscription through both the Azure Portal and Management APIs, such that the job can be edited and restarted. You will not be charged for a job in the Stopped state.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Stop-AzureRMStreamAnalyticsJob</maml:name> + <maml:name>Stop-AzureRmStreamAnalyticsJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> <maml:name>Name</maml:name> <maml:description> @@ -2903,7 +2903,7 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>Stop-AzureRMStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US -Name StreamingJob</dev:code> + <dev:code>Stop-AzureRmStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US -Name StreamingJob</dev:code> <dev:remarks> <maml:para>This command stops the job StreamingJob.</maml:para> <maml:para /> @@ -2921,19 +2921,19 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMStreamAnalyticsJob</maml:linkText> + <maml:linkText>Get-AzureRmStreamAnalyticsJob</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMStreamAnalyticsJob</maml:linkText> + <maml:linkText>New-AzureRmStreamAnalyticsJob</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMStreamAnalyticsJob</maml:linkText> + <maml:linkText>Remove-AzureRmStreamAnalyticsJob</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Start-AzureRMStreamAnalyticsJob</maml:linkText> + <maml:linkText>Start-AzureRmStreamAnalyticsJob</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> @@ -2941,7 +2941,7 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Test-AzureRMStreamAnalyticsInput</command:name> + <command:name>Test-AzureRmStreamAnalyticsInput</command:name> <maml:description> <maml:para>Tests the ability of Stream Analytics to connect to a specified input.</maml:para> </maml:description> @@ -2953,11 +2953,11 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para <dev:version /> </command:details> <maml:description> - <maml:para>The Test-AzureRMStreamAnalyticsInput cmdlet tests the ability of Stream Analytics to connect to a specified input.</maml:para> + <maml:para>The Test-AzureRmStreamAnalyticsInput cmdlet tests the ability of Stream Analytics to connect to a specified input.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Test-AzureRMStreamAnalyticsInput</maml:name> + <maml:name>Test-AzureRmStreamAnalyticsInput</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> <maml:name>JobName</maml:name> <maml:description> @@ -3090,7 +3090,7 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>Test-AzureRMStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name EntryStream</dev:code> + <dev:code>Test-AzureRmStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name EntryStream</dev:code> <dev:remarks> <maml:para>This tests the connection status of the input EntryStream in StreamingJob.</maml:para> <maml:para /> @@ -3108,15 +3108,15 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMStreamAnalyticsInput</maml:linkText> + <maml:linkText>Get-AzureRmStreamAnalyticsInput</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMStreamAnalyticsInput</maml:linkText> + <maml:linkText>New-AzureRmStreamAnalyticsInput</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMStreamAnalyticsInput</maml:linkText> + <maml:linkText>Remove-AzureRmStreamAnalyticsInput</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> @@ -3124,7 +3124,7 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Test-AzureRMStreamAnalyticsOutput</command:name> + <command:name>Test-AzureRmStreamAnalyticsOutput</command:name> <maml:description> <maml:para>Tests the ability of Stream Analytics to connect to a specified output.</maml:para> </maml:description> @@ -3136,11 +3136,11 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para <dev:version /> </command:details> <maml:description> - <maml:para>The Test-AzureRMStreamAnalyticsOutput cmdlet tests the ability of Stream Analytics to connect to a specified output.</maml:para> + <maml:para>The Test-AzureRmStreamAnalyticsOutput cmdlet tests the ability of Stream Analytics to connect to a specified output.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Test-AzureRMStreamAnalyticsOutput</maml:name> + <maml:name>Test-AzureRmStreamAnalyticsOutput</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> <maml:name>JobName</maml:name> <maml:description> @@ -3273,7 +3273,7 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>Test-AzureRMStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name Output</dev:code> + <dev:code>Test-AzureRmStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name Output</dev:code> <dev:remarks> <maml:para>This tests the connection status of the output Output in StreamingJob.</maml:para> <maml:para /> @@ -3291,15 +3291,15 @@ is already defined, the cmdlet will ask whether or not to replace it.</maml:para </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMStreamAnalyticsOuput</maml:linkText> + <maml:linkText>Get-AzureRmStreamAnalyticsOuput</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMStreamAnalyticsOuput</maml:linkText> + <maml:linkText>New-AzureRmStreamAnalyticsOuput</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMStreamAnalyticsOuput</maml:linkText> + <maml:linkText>Remove-AzureRmStreamAnalyticsOuput</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> diff --git a/src/ResourceManager/Tags/Commands.Tags/Microsoft.Azure.Commands.Tags.dll-help.xml b/src/ResourceManager/Tags/Commands.Tags/Microsoft.Azure.Commands.Tags.dll-help.xml index 1c8ff261eb2a..06713da5a24f 100644 --- a/src/ResourceManager/Tags/Commands.Tags/Microsoft.Azure.Commands.Tags.dll-help.xml +++ b/src/ResourceManager/Tags/Commands.Tags/Microsoft.Azure.Commands.Tags.dll-help.xml @@ -2,7 +2,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMTag</command:name> + <command:name>Get-AzureRmTag</command:name> <maml:description> <maml:para>Gets predefined Azure tags</maml:para> </maml:description> @@ -15,15 +15,15 @@ </command:details> <maml:description> <!--This is the Description section--> - <maml:para>The Get-AzureRMTag cmdlet gets predefined Azure tags in your subscription. This cmdlet returns basic information about the tags or detailed information about tags and their values. All output objects include a Count property that represents the number of resources and resource groups to which the tags and values have been applied. Get-AzureRMTag is part of a set of cmdlets (New/Get/Remove) that help you manage predefined Azure tags.An Azure &quot;tag&quot; is a name-value pair that you can use to categorize your Azure resources and resource groups, such as by department or cost center, or to track notes or comments about the resources and groups. You can define and apply tags in a single step, but predefined tags let you establish standard, consistent, predictable names and values for the tags in your subscription. If the subscription includes any predefined tags, you cannot apply undefined tags or values to any resource or resource group in the subscription.To create a predefined tag, use the New-AzureRMTag cmdlet. To apply a predefined tag to a resource or resource group. use the Tag parameters of the New and Set cmdlets in the AzureResourceManager module. To search for resources or resource groups with a specified tag name or name and value, use the Tag parameters of the Get-AzureRMResource and Get-AzureRMResourceGroup cmdlets.</maml:para> + <maml:para>The Get-AzureRmTag cmdlet gets predefined Azure tags in your subscription. This cmdlet returns basic information about the tags or detailed information about tags and their values. All output objects include a Count property that represents the number of resources and resource groups to which the tags and values have been applied. Get-AzureRmTag is part of a set of cmdlets (New/Get/Remove) that help you manage predefined Azure tags.An Azure &quot;tag&quot; is a name-value pair that you can use to categorize your Azure resources and resource groups, such as by department or cost center, or to track notes or comments about the resources and groups. You can define and apply tags in a single step, but predefined tags let you establish standard, consistent, predictable names and values for the tags in your subscription. If the subscription includes any predefined tags, you cannot apply undefined tags or values to any resource or resource group in the subscription.To create a predefined tag, use the New-AzureRmTag cmdlet. To apply a predefined tag to a resource or resource group. use the Tag parameters of the New and Set cmdlets in the AzureResourceManager module. To search for resources or resource groups with a specified tag name or name and value, use the Tag parameters of the Get-AzureRmResource and Get-AzureRmResourceGroup cmdlets.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMTag</maml:name> + <maml:name>Get-AzureRmTag</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>Name</maml:name> <maml:description> - <maml:para>Gets detailed information about the predefined tag with the specified name. By default, Get-AzureRMTag gets basic information about all predefined tags in the subscription.When you use the Name parameter, the Detailed parameter has no effect.</maml:para> + <maml:para>Gets detailed information about the predefined tag with the specified name. By default, Get-AzureRmTag gets basic information about all predefined tags in the subscription.When you use the Name parameter, the Detailed parameter has no effect.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -40,7 +40,7 @@ <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>Name</maml:name> <maml:description> - <maml:para>Gets detailed information about the predefined tag with the specified name. By default, Get-AzureRMTag gets basic information about all predefined tags in the subscription.When you use the Name parameter, the Detailed parameter has no effect.</maml:para> + <maml:para>Gets detailed information about the predefined tag with the specified name. By default, Get-AzureRmTag gets basic information about all predefined tags in the subscription.When you use the Name parameter, the Detailed parameter has no effect.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -100,7 +100,7 @@ <maml:introduction> <maml:para></maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMTag + <dev:code>PS C:\&gt;Get-AzureRmTag Name Count ======== ===== @@ -124,7 +124,7 @@ CostCenter 20</dev:code> <maml:introduction> <maml:para></maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMTag -Name Department + <dev:code>PS C:\&gt;Get-AzureRmTag -Name Department Name: Department Count: 5 @@ -152,7 +152,7 @@ Values: <maml:introduction> <maml:para></maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMTag -Detailed + <dev:code>PS C:\&gt;Get-AzureRmTag -Detailed Name: Department Count: 5 @@ -204,11 +204,11 @@ Values: <maml:uri>http://go.microsoft.com/fwlink/?LinkId=404173</maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMTag</maml:linkText> + <maml:linkText>New-AzureRmTag</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMTag</maml:linkText> + <maml:linkText>Remove-AzureRmTag</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> @@ -216,7 +216,7 @@ Values: <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>New-AzureRMTag</command:name> + <command:name>New-AzureRmTag</command:name> <maml:description> <maml:para>Creates a predefined Azure tag or adds values to an existing tag</maml:para> </maml:description> @@ -229,15 +229,15 @@ Values: </command:details> <maml:description> <!--This is the Description section--> - <maml:para>The New-AzureRMTag cmdlet creates a predefined Azure tag with an optional predefined value. You can also use it to add additional values to existing predefined tags. To create a new predefined tag, enter a unique tag name. To add a value to an existing predefined tag, specify the name of the existing tag and the new value. This cmdlet returns an object that represents the new or changed tag with its values and the number of resources to which it has been applied. New-AzureRMTag is part of a set of cmdlets (New/Get/Remove) that let you manage predefined Azure tags.An Azure &quot;tag&quot; is a name-value pair that you can use to categorize your Azure resources and resource groups, such as by department or cost center, or to track notes or comments about the resources and groups. You can define and apply tags in a single step, but predefined tags let you establish standard, consistent, predictable names and values for the tags in your subscription. If the subscription includes any predefined tags, you cannot apply undefined tags or values to any resource or resource group in the subscription.To apply a predefined tag to a resource or resource group. use the Tag parameters of the New and Set cmdlets in the AzureResourceManager module. To search for resources or resource groups with a specified tag name or name and value, use the Tag parameters of the Get-AzureRMResource and Get-AzureRMResourceGroup cmdlets.Every tag has a name. The values are optional. A predefined Azure tag can have multiple values, but when you apply the tag to a resource or resource group, you apply the tag name and only one of its values. For example, you can create a predefined Department tag with a value for each department, such as Finance, Human Resources, and IT. When you apply the Department tag to a resource, you apply only one predefined value, such as Finance.</maml:para> + <maml:para>The New-AzureRmTag cmdlet creates a predefined Azure tag with an optional predefined value. You can also use it to add additional values to existing predefined tags. To create a new predefined tag, enter a unique tag name. To add a value to an existing predefined tag, specify the name of the existing tag and the new value. This cmdlet returns an object that represents the new or changed tag with its values and the number of resources to which it has been applied. New-AzureRmTag is part of a set of cmdlets (New/Get/Remove) that let you manage predefined Azure tags.An Azure &quot;tag&quot; is a name-value pair that you can use to categorize your Azure resources and resource groups, such as by department or cost center, or to track notes or comments about the resources and groups. You can define and apply tags in a single step, but predefined tags let you establish standard, consistent, predictable names and values for the tags in your subscription. If the subscription includes any predefined tags, you cannot apply undefined tags or values to any resource or resource group in the subscription.To apply a predefined tag to a resource or resource group. use the Tag parameters of the New and Set cmdlets in the AzureResourceManager module. To search for resources or resource groups with a specified tag name or name and value, use the Tag parameters of the Get-AzureRmResource and Get-AzureRmResourceGroup cmdlets.Every tag has a name. The values are optional. A predefined Azure tag can have multiple values, but when you apply the tag to a resource or resource group, you apply the tag name and only one of its values. For example, you can create a predefined Department tag with a value for each department, such as Finance, Human Resources, and IT. When you apply the Department tag to a resource, you apply only one predefined value, such as Finance.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMTag</maml:name> + <maml:name>New-AzureRmTag</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>Name</maml:name> <maml:description> - <maml:para>Specifies the tag name. To create a new predefined tag, enter a unique name. To add a new value to an existing tag, enter the name of the existing tag.If an existing predefined tag has the specified name, New-AzureRMTag adds the specified value, if any, to the tag with that name, instead of creating a new tag.</maml:para> + <maml:para>Specifies the tag name. To create a new predefined tag, enter a unique name. To add a new value to an existing tag, enter the name of the existing tag.If an existing predefined tag has the specified name, New-AzureRmTag adds the specified value, if any, to the tag with that name, instead of creating a new tag.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -254,7 +254,7 @@ Values: <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>Name</maml:name> <maml:description> - <maml:para>Specifies the tag name. To create a new predefined tag, enter a unique name. To add a new value to an existing tag, enter the name of the existing tag.If an existing predefined tag has the specified name, New-AzureRMTag adds the specified value, if any, to the tag with that name, instead of creating a new tag.</maml:para> + <maml:para>Specifies the tag name. To create a new predefined tag, enter a unique name. To add a new value to an existing tag, enter the name of the existing tag.If an existing predefined tag has the specified name, New-AzureRmTag adds the specified value, if any, to the tag with that name, instead of creating a new tag.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -314,7 +314,7 @@ Values: <maml:introduction> <maml:para></maml:para> </maml:introduction> - <dev:code>PS C:\&gt;New-AzureRMTag -Name FY2015 + <dev:code>PS C:\&gt;New-AzureRmTag -Name FY2015 Name: Department Count: 0 @@ -327,7 +327,7 @@ Values: Finance 0</dev:code> <dev:remarks> - <maml:para>This command creates a predefined tag named &quot;FY2015&quot;. This tag has no values. You can apply a tag with no values to a resource or resource group, or use New-AzureRMTag to add values to the tag. You can also specify a value when you apply the tag to the resource or resource group.</maml:para> + <maml:para>This command creates a predefined tag named &quot;FY2015&quot;. This tag has no values. You can apply a tag with no values to a resource or resource group, or use New-AzureRmTag to add values to the tag. You can also specify a value when you apply the tag to the resource or resource group.</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> @@ -340,7 +340,7 @@ Values: <maml:introduction> <maml:para></maml:para> </maml:introduction> - <dev:code>PS C:\&gt;New-AzureRMTag -Name Department -Value Finance + <dev:code>PS C:\&gt;New-AzureRmTag -Name Department -Value Finance Name: Department Count: 0 @@ -366,7 +366,7 @@ Values: <maml:introduction> <maml:para></maml:para> </maml:introduction> - <dev:code>PS C:\&gt;New-AzureRMTag -Name Department -Value Finance + <dev:code>PS C:\&gt;New-AzureRmTag -Name Department -Value Finance Name: Department Count: 0 @@ -376,7 +376,7 @@ Values: Finance 0 -PS C:\&gt;New-AzureRMTag -Name Department -Value IT +PS C:\&gt;New-AzureRmTag -Name Department -Value IT Name: Department Count: 0 @@ -386,7 +386,7 @@ Values: Finance 0 IT 0</dev:code> <dev:remarks> - <maml:para>These commands creates a Department predefined tag with two values. When the tag name exists, New-AzureRMTag adds the value to the existing tag, instead of creating a new one.</maml:para> + <maml:para>These commands creates a Department predefined tag with two values. When the tag name exists, New-AzureRmTag adds the value to the existing tag, instead of creating a new one.</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> @@ -399,7 +399,7 @@ Values: <maml:introduction> <maml:para></maml:para> </maml:introduction> - <dev:code>PS C:\&gt;New-AzureRMTag -Name CostCenter -Value 0001 + <dev:code>PS C:\&gt;New-AzureRmTag -Name CostCenter -Value 0001 Name: CostCenter @@ -410,7 +410,7 @@ Values: 0001 0 -PS C:\&gt;Set-AzureRMResourceGroup -Name EngineerBlog -Tag @{Name=&quot;CostCenter&quot;;Value=&quot;0001&quot;} +PS C:\&gt;Set-AzureRmResourceGroup -Name EngineerBlog -Tag @{Name=&quot;CostCenter&quot;;Value=&quot;0001&quot;} Name: EngineerBlog @@ -428,7 +428,7 @@ Tags: CostCenter 0001 -PS C:\&gt;Get-AzureRMTag -Name CostCenter +PS C:\&gt;Get-AzureRmTag -Name CostCenter Name: CostCenter @@ -438,7 +438,7 @@ Values: ========= ===== 0001 1 -PS C:\&gt;Get-AzureRMResourceGroup -Tag @{Name=&quot;CostCenter&quot;} +PS C:\&gt;Get-AzureRmResourceGroup -Tag @{Name=&quot;CostCenter&quot;} Name: EngineerBlog Location: East US @@ -458,7 +458,7 @@ Tags: </dev:remarks> <command:commandLines> <command:commandLine> - <command:commandText>The first command uses the New-AzureRMTag cmdlet to create a predefined CostCenter tag with a value of 0001. You can use New-AzureRMTag again to add more values to the predefined tag.The second command uses the Set-AzureRMResourceGroup cmdlet to apply the CostCenter tag to the EngineerBlog resource group.The third command uses the Get-AzureRMTag cmdlet to get the CostCenter tag. The output shows that the Count property of the tag and its values were incremented when the tag was applied to the EngineeringBlog resource group.The fourth command uses the Tag parameter of the Get-AzureRMResource cmdlet to search for resource groups with the CostCenter tag (and any value). The cmdlet returns the EngineeringBlog resource group.</command:commandText> + <command:commandText>The first command uses the New-AzureRmTag cmdlet to create a predefined CostCenter tag with a value of 0001. You can use New-AzureRmTag again to add more values to the predefined tag.The second command uses the Set-AzureRmResourceGroup cmdlet to apply the CostCenter tag to the EngineerBlog resource group.The third command uses the Get-AzureRmTag cmdlet to get the CostCenter tag. The output shows that the Count property of the tag and its values were incremented when the tag was applied to the EngineeringBlog resource group.The fourth command uses the Tag parameter of the Get-AzureRmResource cmdlet to search for resource groups with the CostCenter tag (and any value). The cmdlet returns the EngineeringBlog resource group.</command:commandText> </command:commandLine> </command:commandLines> </command:example> @@ -469,11 +469,11 @@ Tags: <maml:uri>http://go.microsoft.com/fwlink/?LinkId=404172</maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMTag</maml:linkText> + <maml:linkText>Get-AzureRmTag</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMTag</maml:linkText> + <maml:linkText>Remove-AzureRmTag</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> @@ -481,7 +481,7 @@ Tags: <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Remove-AzureRMTag</command:name> + <command:name>Remove-AzureRmTag</command:name> <maml:description> <maml:para>Deletes predefined Azure tags or values</maml:para> </maml:description> @@ -494,15 +494,15 @@ Tags: </command:details> <maml:description> <!--This is the Description section--> - <maml:para>The Remove-AzureRMTag cmdlet deletes predefined Azure tags and values from your subscription. To delete particular values from a predefined tag, use the Value parameter. By default, Remove-AzureRMTag deletes the specified tag and all of its values.You cannot delete a tag or value that is currently applied to a resource or resource group. Before using Remove-AzureRMTag, use the Tag parameter of the Set-AzureRMResource or Set-AzureRMResourceGroup cmdlets to delete the tag or values from the resource or resource group. The Remove-AzureRMTag cmdlet is part of a set of cmdlets (New/Get/Remove) that help you to manage your predefined Azure tags.An Azure &quot;tag&quot; is a name-value pair that you can use to categorize your Azure resources and resource groups, such as by department or cost center, or to track notes or comments about the resources and groups.You can define and apply tags in a single step, but predefined tags let you establish standard, consistent, predictable names and values for the tags in your subscription. If the subscription includes any predefined tags, you cannot apply undefined tags or values to any resource or resource group in the subscription.</maml:para> + <maml:para>The Remove-AzureRmTag cmdlet deletes predefined Azure tags and values from your subscription. To delete particular values from a predefined tag, use the Value parameter. By default, Remove-AzureRmTag deletes the specified tag and all of its values.You cannot delete a tag or value that is currently applied to a resource or resource group. Before using Remove-AzureRmTag, use the Tag parameter of the Set-AzureRmResource or Set-AzureRmResourceGroup cmdlets to delete the tag or values from the resource or resource group. The Remove-AzureRmTag cmdlet is part of a set of cmdlets (New/Get/Remove) that help you to manage your predefined Azure tags.An Azure &quot;tag&quot; is a name-value pair that you can use to categorize your Azure resources and resource groups, such as by department or cost center, or to track notes or comments about the resources and groups.You can define and apply tags in a single step, but predefined tags let you establish standard, consistent, predictable names and values for the tags in your subscription. If the subscription includes any predefined tags, you cannot apply undefined tags or values to any resource or resource group in the subscription.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMTag</maml:name> + <maml:name>Remove-AzureRmTag</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>Name</maml:name> <maml:description> - <maml:para>Specifies the name of the tag to be deleted. This parameter is required. By default, Remove-AzureRMTag removes the specified tag and all of its values. To delete selected values, but not delete the tag, use the Value parameter.</maml:para> + <maml:para>Specifies the name of the tag to be deleted. This parameter is required. By default, Remove-AzureRmTag removes the specified tag and all of its values. To delete selected values, but not delete the tag, use the Value parameter.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> @@ -516,7 +516,7 @@ Tags: <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Force</maml:name> <maml:description> - <maml:para>Suppresses the confirmation prompt. By default, Remove-AzureRMTag prompts for confirmation before deleting a predefined Azure tag.</maml:para> + <maml:para>Suppresses the confirmation prompt. By default, Remove-AzureRmTag prompts for confirmation before deleting a predefined Azure tag.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> </command:parameter> @@ -533,7 +533,7 @@ Tags: <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0"> <maml:name>Name</maml:name> <maml:description> - <maml:para>Specifies the name of the tag to be deleted. This parameter is required. By default, Remove-AzureRMTag removes the specified tag and all of its values. To delete selected values, but not delete the tag, use the Value parameter.</maml:para> + <maml:para>Specifies the name of the tag to be deleted. This parameter is required. By default, Remove-AzureRmTag removes the specified tag and all of its values. To delete selected values, but not delete the tag, use the Value parameter.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> @@ -557,7 +557,7 @@ Tags: <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Force</maml:name> <maml:description> - <maml:para>Suppresses the confirmation prompt. By default, Remove-AzureRMTag prompts for confirmation before deleting a predefined Azure tag.</maml:para> + <maml:para>Suppresses the confirmation prompt. By default, Remove-AzureRmTag prompts for confirmation before deleting a predefined Azure tag.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> @@ -617,7 +617,7 @@ Tags: <maml:introduction> <maml:para></maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Remove-AzureRMTag -Name Department</dev:code> + <dev:code>PS C:\&gt;Remove-AzureRmTag -Name Department</dev:code> <dev:remarks> <maml:para>This command deletes the predefined Department tag and all of its resources. If the tag has been applied to any resources or resource groups, the command fails.</maml:para> </dev:remarks> @@ -632,7 +632,7 @@ Tags: <maml:introduction> <maml:para></maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Remove-AzureRMTag -Name Department -Value HumanResources -PassThru + <dev:code>PS C:\&gt;Remove-AzureRmTag -Name Department -Value HumanResources -PassThru Name: Department Count: 14 @@ -662,11 +662,11 @@ Values: <maml:uri>http://go.microsoft.com/fwlink/?LinkId=404174</maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMTag</maml:linkText> + <maml:linkText>Get-AzureRmTag</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMTag</maml:linkText> + <maml:linkText>New-AzureRmTag</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </maml:relatedLinks> diff --git a/src/ResourceManager/Tags/Commands.Tags/Tag/GetAzureTagCommand.cs b/src/ResourceManager/Tags/Commands.Tags/Tag/GetAzureTagCommand.cs index af78be81c469..f9a8adc46454 100644 --- a/src/ResourceManager/Tags/Commands.Tags/Tag/GetAzureTagCommand.cs +++ b/src/ResourceManager/Tags/Commands.Tags/Tag/GetAzureTagCommand.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Tags.Tag /// <summary> /// Creates a new tag with the specified values /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMTag"), OutputType(typeof(List<PSTag>))] + [Cmdlet(VerbsCommon.Get, "AzureRmTag"), OutputType(typeof(List<PSTag>))] public class GetAzureTagCommand : TagBaseCmdlet { [Parameter(Position = 0, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Name of the tag. If not specified, return all the tags of the subscription.")] diff --git a/src/ResourceManager/Tags/Commands.Tags/Tag/NewAzureTagCommand.cs b/src/ResourceManager/Tags/Commands.Tags/Tag/NewAzureTagCommand.cs index 395b5bd8125e..a855e78297f1 100644 --- a/src/ResourceManager/Tags/Commands.Tags/Tag/NewAzureTagCommand.cs +++ b/src/ResourceManager/Tags/Commands.Tags/Tag/NewAzureTagCommand.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Tags.Tag /// <summary> /// Creates a new tag with the specified values /// </summary> - [Cmdlet(VerbsCommon.New, "AzureRMTag"), OutputType(typeof(PSTag))] + [Cmdlet(VerbsCommon.New, "AzureRmTag"), OutputType(typeof(PSTag))] public class NewAzureTagCommand : TagBaseCmdlet { [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Name of the tag. If the tag name doesn't exist, create the tag name. Otherwise, add the value to the existing tag name.")] diff --git a/src/ResourceManager/Tags/Commands.Tags/Tag/RemoveAzureTagCommand.cs b/src/ResourceManager/Tags/Commands.Tags/Tag/RemoveAzureTagCommand.cs index 09533d9dda7f..1134c27fc970 100644 --- a/src/ResourceManager/Tags/Commands.Tags/Tag/RemoveAzureTagCommand.cs +++ b/src/ResourceManager/Tags/Commands.Tags/Tag/RemoveAzureTagCommand.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.Tags.Tag /// <summary> /// Creates a new tag with the specified values /// </summary> - [Cmdlet(VerbsCommon.Remove, "AzureRMTag"), OutputType(typeof(PSTag))] + [Cmdlet(VerbsCommon.Remove, "AzureRmTag"), OutputType(typeof(PSTag))] public class RemoveAzureTagCommand : TagBaseCmdlet { [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Name of the tag to remove.")] diff --git a/src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/ScenarioTests/Common.ps1 b/src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/ScenarioTests/Common.ps1 index bfcb36ba82e3..3aa2aa02e3ea 100644 --- a/src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/ScenarioTests/Common.ps1 +++ b/src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/ScenarioTests/Common.ps1 @@ -36,7 +36,7 @@ Gets the default location for a provider #> function Get-ProviderLocation($provider) { - $location = Get-AzureRMLocation | where {[string]::Compare($_.Name, $provider, $True) -eq $True} + $location = Get-AzureRmLocation | where {[string]::Compare($_.Name, $provider, $True) -eq $True} if ($location -eq $null) { "West US" } else { @@ -52,7 +52,7 @@ function TestSetup-CreateResourceGroup { $resourceGroupName = getAssetName $rglocation = Get-ProviderLocation "North Europe" - $resourceGroup = New-AzureRMResourceGroup -Name $resourceGroupName -location $rglocation -Force + $resourceGroup = New-AzureRmResourceGroup -Name $resourceGroupName -location $rglocation -Force return $resourceGroup } @@ -64,7 +64,7 @@ function TestSetup-CreateProfile($profileName, $resourceGroupName) { $relativeName = getAssetName - $profile = New-AzureRMTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroupName -RelativeDnsName $relativeName -Ttl 50 -TrafficRoutingMethod "Performance" -MonitorProtocol "HTTP" -MonitorPort 80 -MonitorPath "/testpath.asp" + $profile = New-AzureRmTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroupName -RelativeDnsName $relativeName -Ttl 50 -TrafficRoutingMethod "Performance" -MonitorProtocol "HTTP" -MonitorPort 80 -MonitorPath "/testpath.asp" return $profile } @@ -75,7 +75,7 @@ Creates a resource group to use in tests #> function TestSetup-AddEndpoint($endpointName, $profile) { - $profile = Add-AzureRMTrafficManagerEndpointConfig -EndpointName $endpointName -TrafficManagerProfile $profile -Type "ExternalEndpoints" -Target "www.contoso.com" -EndpointStatus "Enabled" -EndpointLocation "North Europe" + $profile = Add-AzureRmTrafficManagerEndpointConfig -EndpointName $endpointName -TrafficManagerProfile $profile -Type "ExternalEndpoints" -Target "www.contoso.com" -EndpointStatus "Enabled" -EndpointLocation "North Europe" return $profile } \ No newline at end of file diff --git a/src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/ScenarioTests/EndpointTests.ps1 b/src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/ScenarioTests/EndpointTests.ps1 index 0cc5b7754875..fae3a1a96393 100644 --- a/src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/ScenarioTests/EndpointTests.ps1 +++ b/src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/ScenarioTests/EndpointTests.ps1 @@ -43,7 +43,7 @@ function Test-DeleteEndpoint TestSetup-AddEndpoint $endpointName $profile - Remove-AzureRMTrafficManagerEndpointConfig -EndpointName $endpointName -TrafficManagerProfile $profile + Remove-AzureRmTrafficManagerEndpointConfig -EndpointName $endpointName -TrafficManagerProfile $profile Assert-AreEqual 0 $profile.Endpoints.Count } @@ -60,7 +60,7 @@ function Test-EndpointCrud $profile = TestSetup-CreateProfile $profileName $resourceGroup.ResourceGroupName - $endpoint = New-AzureRMTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" -Target "www.contoso.com" -EndpointStatus "Enabled" -EndpointLocation "North Europe" + $endpoint = New-AzureRmTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" -Target "www.contoso.com" -EndpointStatus "Enabled" -EndpointLocation "North Europe" Assert-NotNull $endpoint Assert-AreEqual $endpointName $endpoint.Name @@ -71,7 +71,7 @@ function Test-EndpointCrud Assert-AreEqual "Enabled" $endpoint.EndpointStatus <# Assert-AreEqual "North Europe" $endpoint.EndpointLocation #> - $endpoint = Get-AzureRMTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" + $endpoint = Get-AzureRmTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" Assert-NotNull $endpoint Assert-AreEqual $endpointName $endpoint.Name @@ -84,9 +84,9 @@ function Test-EndpointCrud $endpoint.EndpointStatus = "Disabled" - $endpoint = Set-AzureRMTrafficManagerEndpoint -TrafficManagerEndpoint $endpoint + $endpoint = Set-AzureRmTrafficManagerEndpoint -TrafficManagerEndpoint $endpoint - $endpoint = Get-AzureRMTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" + $endpoint = Get-AzureRmTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" Assert-NotNull $endpoint Assert-AreEqual $endpointName $endpoint.Name @@ -97,11 +97,11 @@ function Test-EndpointCrud Assert-AreEqual "Disabled" $endpoint.EndpointStatus <# Assert-AreEqual "North Europe" $endpoint.EndpointLocation #> - $removed = Remove-AzureRMTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" -Force + $removed = Remove-AzureRmTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" -Force Assert-True { $removed } - Assert-Throws { Get-AzureRMTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" } + Assert-Throws { Get-AzureRmTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" } } <# @@ -116,7 +116,7 @@ function Test-EndpointCrudPiping $profile = TestSetup-CreateProfile $profileName $resourceGroup.ResourceGroupName - $endpoint = New-AzureRMTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" -Target "www.contoso.com" -EndpointStatus "Enabled" -EndpointLocation "North Europe" + $endpoint = New-AzureRmTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" -Target "www.contoso.com" -EndpointStatus "Enabled" -EndpointLocation "North Europe" Assert-NotNull $endpoint Assert-AreEqual $endpointName $endpoint.Name @@ -127,11 +127,11 @@ function Test-EndpointCrudPiping Assert-AreEqual "Enabled" $endpoint.EndpointStatus <# Assert-AreEqual "North Europe" $endpoint.EndpointLocation #> - $removed = Get-AzureRMTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" | Set-AzureRMTrafficManagerEndpoint | Remove-AzureRMTrafficManagerEndpoint -Force + $removed = Get-AzureRmTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" | Set-AzureRmTrafficManagerEndpoint | Remove-AzureRmTrafficManagerEndpoint -Force Assert-True { $removed } - Assert-Throws { Get-AzureRMTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" } + Assert-Throws { Get-AzureRmTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" } } <# @@ -146,9 +146,9 @@ function Test-CreateExistingEndpoint $profile = TestSetup-CreateProfile $profileName $resourceGroup.ResourceGroupName - $endpoint = New-AzureRMTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" -Target "www.contoso.com" -EndpointStatus "Enabled" -EndpointLocation "North Europe" + $endpoint = New-AzureRmTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" -Target "www.contoso.com" -EndpointStatus "Enabled" -EndpointLocation "North Europe" - Assert-Throws { New-AzureRMTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" -Target "www.contoso.com" -EndpointStatus "Enabled" -EndpointLocation "North Europe" } + Assert-Throws { New-AzureRmTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" -Target "www.contoso.com" -EndpointStatus "Enabled" -EndpointLocation "North Europe" } } <# @@ -161,7 +161,7 @@ function Test-CreateExistingEndpointFromNonExistingProfile $profileName = getAssetname $resourceGroup = TestSetup-CreateResourceGroup - Assert-Throws { New-AzureRMTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" -Target "www.contoso.com" -EndpointStatus "Enabled" -EndpointLocation "North Europe" } + Assert-Throws { New-AzureRmTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" -Target "www.contoso.com" -EndpointStatus "Enabled" -EndpointLocation "North Europe" } } <# @@ -174,7 +174,7 @@ function Test-RemoveExistingEndpointFromNonExistingProfile $profileName = getAssetname $resourceGroup = TestSetup-CreateResourceGroup - Assert-Throws { Remove-AzureRMTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" } + Assert-Throws { Remove-AzureRmTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" } } <# @@ -187,7 +187,7 @@ function Test-GetExistingEndpointFromNonExistingProfile $profileName = getAssetname $resourceGroup = TestSetup-CreateResourceGroup - Assert-Throws { Get-AzureRMTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" } + Assert-Throws { Get-AzureRmTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" } } <# @@ -202,7 +202,7 @@ function Test-RemoveNonExistingEndpointFromProfile $profile = TestSetup-CreateProfile $profileName $resourceGroup.ResourceGroupName - Assert-Throws { Remove-AzureRMTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" } + Assert-Throws { Remove-AzureRmTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" } } <# @@ -217,15 +217,15 @@ function Test-EnableEndpoint $profile = TestSetup-CreateProfile $profileName $resourceGroup.ResourceGroupName - $endpoint = New-AzureRMTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" -Target "www.contoso.com" -EndpointStatus "Disabled" -EndpointLocation "North Europe" + $endpoint = New-AzureRmTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" -Target "www.contoso.com" -EndpointStatus "Disabled" -EndpointLocation "North Europe" Assert-AreEqual "Disabled" $endpoint.EndpointStatus - $endpoint = Get-AzureRMTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" + $endpoint = Get-AzureRmTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" - Assert-True { Enable-AzureRMTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" } + Assert-True { Enable-AzureRmTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" } - $endpoint = Get-AzureRMTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" + $endpoint = Get-AzureRmTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" Assert-AreEqual "Enabled" $endpoint.EndpointStatus } @@ -242,15 +242,15 @@ function Test-DisableEndpoint $profile = TestSetup-CreateProfile $profileName $resourceGroup.ResourceGroupName - $endpoint = New-AzureRMTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" -Target "www.contoso.com" -EndpointStatus "Enabled" -EndpointLocation "North Europe" + $endpoint = New-AzureRmTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" -Target "www.contoso.com" -EndpointStatus "Enabled" -EndpointLocation "North Europe" Assert-AreEqual "Enabled" $endpoint.EndpointStatus - $endpoint = Get-AzureRMTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" + $endpoint = Get-AzureRmTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" - Assert-True { Disable-AzureRMTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" -Force } + Assert-True { Disable-AzureRmTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" -Force } - $endpoint = Get-AzureRMTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" + $endpoint = Get-AzureRmTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" Assert-NotNull $endpoint Assert-AreEqual "Disabled" $endpoint.EndpointStatus @@ -268,15 +268,15 @@ function Test-EnableEndpointUsingPiping $profile = TestSetup-CreateProfile $profileName $resourceGroup.ResourceGroupName - $endpoint = New-AzureRMTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" -Target "www.contoso.com" -EndpointStatus "Disabled" -EndpointLocation "North Europe" + $endpoint = New-AzureRmTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" -Target "www.contoso.com" -EndpointStatus "Disabled" -EndpointLocation "North Europe" Assert-AreEqual "Disabled" $endpoint.EndpointStatus - $endpoint = Get-AzureRMTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" + $endpoint = Get-AzureRmTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" - Assert-True { Enable-AzureRMTrafficManagerEndpoint -TrafficManagerEndpoint $endpoint } + Assert-True { Enable-AzureRmTrafficManagerEndpoint -TrafficManagerEndpoint $endpoint } - $endpoint = Get-AzureRMTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" + $endpoint = Get-AzureRmTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" Assert-AreEqual "Enabled" $endpoint.EndpointStatus } @@ -293,15 +293,15 @@ function Test-DisableEndpoint $profile = TestSetup-CreateProfile $profileName $resourceGroup.ResourceGroupName - $endpoint = New-AzureRMTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" -Target "www.contoso.com" -EndpointStatus "Enabled" -EndpointLocation "North Europe" + $endpoint = New-AzureRmTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" -Target "www.contoso.com" -EndpointStatus "Enabled" -EndpointLocation "North Europe" Assert-AreEqual "Enabled" $endpoint.EndpointStatus - $endpoint = Get-AzureRMTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" + $endpoint = Get-AzureRmTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" - Assert-True { Disable-AzureRMTrafficManagerEndpoint -TrafficManagerEndpoint $endpoint -Force } + Assert-True { Disable-AzureRmTrafficManagerEndpoint -TrafficManagerEndpoint $endpoint -Force } - $endpoint = Get-AzureRMTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" + $endpoint = Get-AzureRmTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" Assert-NotNull $endpoint Assert-AreEqual "Disabled" $endpoint.EndpointStatus @@ -319,7 +319,7 @@ function Test-EnableNonExistingEndpoint $profile = TestSetup-CreateProfile $profileName $resourceGroup.ResourceGroupName - Assert-Throws { Enable-AzureRMTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" } + Assert-Throws { Enable-AzureRmTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" } } <# @@ -334,5 +334,5 @@ function Test-DisableNonExistingEndpoint $profile = TestSetup-CreateProfile $profileName $resourceGroup.ResourceGroupName - Assert-Throws { Disable-AzureRMTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" } + Assert-Throws { Disable-AzureRmTrafficManagerEndpoint -Name $endpointName -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Type "ExternalEndpoints" } } \ No newline at end of file diff --git a/src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/ScenarioTests/ProfileTests.ps1 b/src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/ScenarioTests/ProfileTests.ps1 index ea439ebf35b0..58c933794eb8 100644 --- a/src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/ScenarioTests/ProfileTests.ps1 +++ b/src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/ScenarioTests/ProfileTests.ps1 @@ -21,14 +21,14 @@ function Test-ProfileCrud $profileName = getAssetName $resourceGroup = TestSetup-CreateResourceGroup $relativeName = getAssetName - $createdProfile = New-AzureRMTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -RelativeDnsName $relativeName -Ttl 50 -TrafficRoutingMethod "Performance" -MonitorProtocol "HTTP" -MonitorPort 80 -MonitorPath "/testpath.asp" + $createdProfile = New-AzureRmTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -RelativeDnsName $relativeName -Ttl 50 -TrafficRoutingMethod "Performance" -MonitorProtocol "HTTP" -MonitorPort 80 -MonitorPath "/testpath.asp" Assert-NotNull $createdProfile Assert-AreEqual $profileName $createdProfile.Name Assert-AreEqual $resourceGroup.ResourceGroupName $createdProfile.ResourceGroupName Assert-AreEqual "Performance" $createdProfile.TrafficRoutingMethod - $retrievedProfile = Get-AzureRMTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName + $retrievedProfile = Get-AzureRmTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName Assert-NotNull $retrievedProfile Assert-AreEqual $profileName $retrievedProfile.Name @@ -36,18 +36,18 @@ function Test-ProfileCrud $createdProfile.TrafficRoutingMethod = "Priority" - $updatedProfile = Set-AzureRMTrafficManagerProfile -TrafficManagerProfile $createdProfile + $updatedProfile = Set-AzureRmTrafficManagerProfile -TrafficManagerProfile $createdProfile Assert-NotNull $updatedProfile Assert-AreEqual $profileName $updatedProfile.Name Assert-AreEqual $resourceGroup.ResourceGroupName $updatedProfile.ResourceGroupName Assert-AreEqual "Priority" $updatedProfile.TrafficRoutingMethod - $removed = Remove-AzureRMTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Force + $removed = Remove-AzureRmTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Force Assert-True { $removed } - Assert-Throws { Get-AzureRMTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName } + Assert-Throws { Get-AzureRmTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName } } <# @@ -59,15 +59,15 @@ function Test-ProfileCrudWithPiping $profileName = getAssetName $resourceGroup = TestSetup-CreateResourceGroup $relativeName = getAssetName - $createdProfile = New-AzureRMTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -RelativeDnsName $relativeName -Ttl 50 -TrafficRoutingMethod "Performance" -MonitorProtocol "HTTP" -MonitorPort 80 -MonitorPath "/testpath.asp" + $createdProfile = New-AzureRmTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -RelativeDnsName $relativeName -Ttl 50 -TrafficRoutingMethod "Performance" -MonitorProtocol "HTTP" -MonitorPort 80 -MonitorPath "/testpath.asp" $createdProfile.TrafficRoutingMethod = "Priority" - $removed = Get-AzureRMTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName | Set-AzureRMTrafficManagerProfile | Remove-AzureRMTrafficManagerProfile -Force + $removed = Get-AzureRmTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName | Set-AzureRmTrafficManagerProfile | Remove-AzureRmTrafficManagerProfile -Force Assert-True { $removed } - Assert-Throws { Get-AzureRMTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName } + Assert-Throws { Get-AzureRmTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName } } <# @@ -79,16 +79,16 @@ function Test-CreateDeleteUsingProfile $profileName = getAssetName $resourceGroup = TestSetup-CreateResourceGroup $relativeName = getAssetName - $createdProfile = New-AzureRMTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -RelativeDnsName $relativeName -Ttl 50 -TrafficRoutingMethod "Performance" -MonitorProtocol "HTTP" -MonitorPort 80 -MonitorPath "/testpath.asp" + $createdProfile = New-AzureRmTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -RelativeDnsName $relativeName -Ttl 50 -TrafficRoutingMethod "Performance" -MonitorProtocol "HTTP" -MonitorPort 80 -MonitorPath "/testpath.asp" Assert-NotNull $createdProfile Assert-AreEqual $profileName $createdProfile.Name Assert-AreEqual $resourceGroup.ResourceGroupName $createdProfile.ResourceGroupName Assert-AreEqual "Performance" $createdProfile.TrafficRoutingMethod - Remove-AzureRMTrafficManagerProfile -TrafficManagerProfile $createdProfile -Force + Remove-AzureRmTrafficManagerProfile -TrafficManagerProfile $createdProfile -Force - Assert-Throws { Get-AzureRMTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName } + Assert-Throws { Get-AzureRmTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName } } <# @@ -100,11 +100,11 @@ function Test-CrudWithEndpoint $profileName = getAssetName $resourceGroup = TestSetup-CreateResourceGroup $relativeName = getAssetName - $createdProfile = New-AzureRMTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -RelativeDnsName $relativeName -Ttl 50 -TrafficRoutingMethod "Performance" -MonitorProtocol "HTTP" -MonitorPort 80 -MonitorPath "/testpath.asp" + $createdProfile = New-AzureRmTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -RelativeDnsName $relativeName -Ttl 50 -TrafficRoutingMethod "Performance" -MonitorProtocol "HTTP" -MonitorPort 80 -MonitorPath "/testpath.asp" - $profileWithEndpoint = Add-AzureRMTrafficManagerEndpointConfig -EndpointName "MyExternalEndpoint" -TrafficManagerProfile $createdProfile -Type "ExternalEndpoints" -Target "www.contoso.com" -EndpointStatus "Enabled" -EndpointLocation "North Europe" + $profileWithEndpoint = Add-AzureRmTrafficManagerEndpointConfig -EndpointName "MyExternalEndpoint" -TrafficManagerProfile $createdProfile -Type "ExternalEndpoints" -Target "www.contoso.com" -EndpointStatus "Enabled" -EndpointLocation "North Europe" - $updatedProfile = Set-AzureRMTrafficManagerProfile -TrafficManagerProfile $profileWithEndpoint + $updatedProfile = Set-AzureRmTrafficManagerProfile -TrafficManagerProfile $profileWithEndpoint Assert-AreEqual 1 $updatedProfile.Endpoints.Count } @@ -118,9 +118,9 @@ function Test-ListProfilesInResourceGroup $profileName = getAssetName $resourceGroup = TestSetup-CreateResourceGroup $relativeName = getAssetName - $createdProfile = New-AzureRMTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -RelativeDnsName $relativeName -Ttl 50 -TrafficRoutingMethod "Performance" -MonitorProtocol "HTTP" -MonitorPort 80 -MonitorPath "/testpath.asp" + $createdProfile = New-AzureRmTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -RelativeDnsName $relativeName -Ttl 50 -TrafficRoutingMethod "Performance" -MonitorProtocol "HTTP" -MonitorPort 80 -MonitorPath "/testpath.asp" - $profiles = Get-AzureRMTrafficManagerProfile -ResourceGroupName $resourceGroup.ResourceGroupName + $profiles = Get-AzureRmTrafficManagerProfile -ResourceGroupName $resourceGroup.ResourceGroupName Assert-AreEqual 1 $profiles.Count } @@ -134,9 +134,9 @@ function Test-ListProfilesInSubscription $profileName = getAssetName $resourceGroup = TestSetup-CreateResourceGroup $relativeName = getAssetName - $createdProfile = New-AzureRMTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -RelativeDnsName $relativeName -Ttl 50 -TrafficRoutingMethod "Performance" -MonitorProtocol "HTTP" -MonitorPort 80 -MonitorPath "/testpath.asp" + $createdProfile = New-AzureRmTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -RelativeDnsName $relativeName -Ttl 50 -TrafficRoutingMethod "Performance" -MonitorProtocol "HTTP" -MonitorPort 80 -MonitorPath "/testpath.asp" - $profiles = Get-AzureRMTrafficManagerProfile + $profiles = Get-AzureRmTrafficManagerProfile Assert-NotNull $profiles } @@ -157,7 +157,7 @@ function Test-ProfileNewAlreadyExists Assert-Throws { TestSetup-CreateProfile $profileName $resourceGroup.ResourceGroupName } - $createdProfile | Remove-AzureRMTrafficManagerProfile -Force + $createdProfile | Remove-AzureRmTrafficManagerProfile -Force } <# @@ -169,7 +169,7 @@ function Test-ProfileRemoveNonExisting $profileName = getAssetName $resourceGroup = TestSetup-CreateResourceGroup - $removed = Remove-AzureRMTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Force + $removed = Remove-AzureRmTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Force Assert-False { $removed } } @@ -183,12 +183,12 @@ function Test-ProfileEnable $relativeName = getAssetName $resourceGroup = TestSetup-CreateResourceGroup - $disabledProfile = New-AzureRMTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -ProfileStatus "Disabled" -RelativeDnsName $relativeName -Ttl 50 -TrafficRoutingMethod "Performance" -MonitorProtocol "HTTP" -MonitorPort 80 -MonitorPath "/testpath.asp" + $disabledProfile = New-AzureRmTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -ProfileStatus "Disabled" -RelativeDnsName $relativeName -Ttl 50 -TrafficRoutingMethod "Performance" -MonitorProtocol "HTTP" -MonitorPort 80 -MonitorPath "/testpath.asp" Assert-AreEqual "Disabled" $disabledProfile.ProfileStatus - Assert-True { Enable-AzureRMTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName } + Assert-True { Enable-AzureRmTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName } - $updatedProfile = Get-AzureRMTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName + $updatedProfile = Get-AzureRmTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName Assert-AreEqual "Enabled" $updatedProfile.ProfileStatus } @@ -203,12 +203,12 @@ function Test-ProfileEnablePipeline $relativeName = getAssetName $resourceGroup = TestSetup-CreateResourceGroup - $disabledProfile = New-AzureRMTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -ProfileStatus "Disabled" -RelativeDnsName $relativeName -Ttl 50 -TrafficRoutingMethod "Performance" -MonitorProtocol "HTTP" -MonitorPort 80 -MonitorPath "/testpath.asp" + $disabledProfile = New-AzureRmTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -ProfileStatus "Disabled" -RelativeDnsName $relativeName -Ttl 50 -TrafficRoutingMethod "Performance" -MonitorProtocol "HTTP" -MonitorPort 80 -MonitorPath "/testpath.asp" Assert-AreEqual "Disabled" $disabledProfile.ProfileStatus - Assert-True { Enable-AzureRMTrafficManagerProfile -TrafficManagerProfile $disabledProfile } + Assert-True { Enable-AzureRmTrafficManagerProfile -TrafficManagerProfile $disabledProfile } - $updatedProfile = Get-AzureRMTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName + $updatedProfile = Get-AzureRmTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName Assert-AreEqual "Enabled" $updatedProfile.ProfileStatus } @@ -222,7 +222,7 @@ function Test-ProfileEnableNonExisting $profileName = getAssetName $resourceGroup = TestSetup-CreateResourceGroup - Assert-Throws { Enable-AzureRMTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName } + Assert-Throws { Enable-AzureRmTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName } } <# @@ -235,13 +235,13 @@ function Test-ProfileDisable $relativeName = getAssetName $resourceGroup = TestSetup-CreateResourceGroup - $enabledProfile = New-AzureRMTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -ProfileStatus "Enabled" -RelativeDnsName $relativeName -Ttl 50 -TrafficRoutingMethod "Performance" -MonitorProtocol "HTTP" -MonitorPort 80 -MonitorPath "/testpath.asp" + $enabledProfile = New-AzureRmTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -ProfileStatus "Enabled" -RelativeDnsName $relativeName -Ttl 50 -TrafficRoutingMethod "Performance" -MonitorProtocol "HTTP" -MonitorPort 80 -MonitorPath "/testpath.asp" Assert-AreEqual "Enabled" $enabledProfile.ProfileStatus - Assert-True { Disable-AzureRMTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Force } + Assert-True { Disable-AzureRmTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Force } - $updatedProfile = Get-AzureRMTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName + $updatedProfile = Get-AzureRmTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName Assert-AreEqual "Disabled" $updatedProfile.ProfileStatus } @@ -256,12 +256,12 @@ function Test-ProfileDisablePipeline $relativeName = getAssetName $resourceGroup = TestSetup-CreateResourceGroup - $enabledProfile = New-AzureRMTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -ProfileStatus "Enabled" -RelativeDnsName $relativeName -Ttl 50 -TrafficRoutingMethod "Performance" -MonitorProtocol "HTTP" -MonitorPort 80 -MonitorPath "/testpath.asp" + $enabledProfile = New-AzureRmTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -ProfileStatus "Enabled" -RelativeDnsName $relativeName -Ttl 50 -TrafficRoutingMethod "Performance" -MonitorProtocol "HTTP" -MonitorPort 80 -MonitorPath "/testpath.asp" Assert-AreEqual "Enabled" $enabledProfile.ProfileStatus - Assert-True { Disable-AzureRMTrafficManagerProfile -TrafficManagerProfile $enabledProfile -Force } + Assert-True { Disable-AzureRmTrafficManagerProfile -TrafficManagerProfile $enabledProfile -Force } - $updatedProfile = Get-AzureRMTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName + $updatedProfile = Get-AzureRmTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName Assert-AreEqual "Disabled" $updatedProfile.ProfileStatus } @@ -275,5 +275,5 @@ function Test-ProfileDisableNonExisting $profileName = getAssetName $resourceGroup = TestSetup-CreateResourceGroup - Assert-Throws { Disable-AzureRMTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Force } + Assert-Throws { Disable-AzureRmTrafficManagerProfile -Name $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Force } } \ No newline at end of file diff --git a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/AddAzureTrafficManagerEndpointConfig.cs b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/AddAzureTrafficManagerEndpointConfig.cs index 6603e6a3f54f..37658e0dd604 100644 --- a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/AddAzureTrafficManagerEndpointConfig.cs +++ b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/AddAzureTrafficManagerEndpointConfig.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.TrafficManager using System.Collections.Generic; using System.Linq; - [Cmdlet(VerbsCommon.Add, "AzureRMTrafficManagerEndpointConfig"), OutputType(typeof(TrafficManagerProfile))] + [Cmdlet(VerbsCommon.Add, "AzureRmTrafficManagerEndpointConfig"), OutputType(typeof(TrafficManagerProfile))] public class AddAzureTrafficManagerEndpointConfig : TrafficManagerBaseCmdlet { [Parameter(Mandatory = true, HelpMessage = "The name of the endpoint.")] diff --git a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/DisableAzureTrafficManagerEndpoint.cs b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/DisableAzureTrafficManagerEndpoint.cs index 8f3b17a75d46..2ff7b02a37a7 100644 --- a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/DisableAzureTrafficManagerEndpoint.cs +++ b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/DisableAzureTrafficManagerEndpoint.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.TrafficManager { - [Cmdlet(VerbsLifecycle.Disable, "AzureRMTrafficManagerEndpoint"), OutputType(typeof(bool))] + [Cmdlet(VerbsLifecycle.Disable, "AzureRmTrafficManagerEndpoint"), OutputType(typeof(bool))] public class DisableAzureTrafficManagerEndpoint : TrafficManagerBaseCmdlet { [Parameter(Mandatory = true, HelpMessage = "The name of the endpoint.", ParameterSetName = "Fields")] diff --git a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/EnableAzureTrafficManagerEndpoint.cs b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/EnableAzureTrafficManagerEndpoint.cs index e0f5c4eacf15..9f1f1ad71b10 100644 --- a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/EnableAzureTrafficManagerEndpoint.cs +++ b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/EnableAzureTrafficManagerEndpoint.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.TrafficManager { - [Cmdlet(VerbsLifecycle.Enable, "AzureRMTrafficManagerEndpoint"), OutputType(typeof(bool))] + [Cmdlet(VerbsLifecycle.Enable, "AzureRmTrafficManagerEndpoint"), OutputType(typeof(bool))] public class EnableAzureTrafficManagerEndpoint : TrafficManagerBaseCmdlet { [Parameter(Mandatory = true, HelpMessage = "The name of the endpoint.", ParameterSetName = "Fields")] diff --git a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/GetAzureTrafficManagerEndpoint.cs b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/GetAzureTrafficManagerEndpoint.cs index 4ddfc66045a0..ae67c9fcd852 100644 --- a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/GetAzureTrafficManagerEndpoint.cs +++ b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/GetAzureTrafficManagerEndpoint.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.TrafficManager { - [Cmdlet(VerbsCommon.Get, "AzureRMTrafficManagerEndpoint"), OutputType(typeof(TrafficManagerEndpoint))] + [Cmdlet(VerbsCommon.Get, "AzureRmTrafficManagerEndpoint"), OutputType(typeof(TrafficManagerEndpoint))] public class GetAzureTrafficManagerEndpoint : TrafficManagerBaseCmdlet { [Parameter(Mandatory = true, HelpMessage = "The name of the endpoint.", ParameterSetName = "Fields")] diff --git a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/NewAzureTrafficManagerEndpoint.cs b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/NewAzureTrafficManagerEndpoint.cs index 6abae4ecc512..045530630287 100644 --- a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/NewAzureTrafficManagerEndpoint.cs +++ b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/NewAzureTrafficManagerEndpoint.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.TrafficManager using System.Net; using Hyak.Common; - [Cmdlet(VerbsCommon.New, "AzureRMTrafficManagerEndpoint"), OutputType(typeof(TrafficManagerEndpoint))] + [Cmdlet(VerbsCommon.New, "AzureRmTrafficManagerEndpoint"), OutputType(typeof(TrafficManagerEndpoint))] public class NewAzureTrafficManagerEndpoint : TrafficManagerBaseCmdlet { [Parameter(Mandatory = true, HelpMessage = "The name of the endpoint.")] diff --git a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/RemoveAzureTrafficManagerEndpoint.cs b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/RemoveAzureTrafficManagerEndpoint.cs index 6a04fc2dd9a9..4f17e6ea444d 100644 --- a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/RemoveAzureTrafficManagerEndpoint.cs +++ b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/RemoveAzureTrafficManagerEndpoint.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.TrafficManager { - [Cmdlet(VerbsCommon.Remove, "AzureRMTrafficManagerEndpoint"), OutputType(typeof(bool))] + [Cmdlet(VerbsCommon.Remove, "AzureRmTrafficManagerEndpoint"), OutputType(typeof(bool))] public class RemoveAzureTrafficManagerEndpoint : TrafficManagerBaseCmdlet { [Parameter(Mandatory = true, HelpMessage = "The name of the endpoint.", ParameterSetName = "Fields")] diff --git a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/RemoveAzureTrafficManagerEndpointConfig.cs b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/RemoveAzureTrafficManagerEndpointConfig.cs index 175ddc822e03..e7e6cdd06fd3 100644 --- a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/RemoveAzureTrafficManagerEndpointConfig.cs +++ b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/RemoveAzureTrafficManagerEndpointConfig.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.TrafficManager { - [Cmdlet(VerbsCommon.Remove, "AzureRMTrafficManagerEndpointConfig"), OutputType(typeof(TrafficManagerProfile))] + [Cmdlet(VerbsCommon.Remove, "AzureRmTrafficManagerEndpointConfig"), OutputType(typeof(TrafficManagerProfile))] public class RemoveAzureTrafficManagerEndpointConfig : TrafficManagerBaseCmdlet { [Parameter(Mandatory = true, HelpMessage = "The name of the endpoint.")] diff --git a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/SetAzureTrafficManagerEndpoint.cs b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/SetAzureTrafficManagerEndpoint.cs index 18722627635f..6dc89283dd78 100644 --- a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/SetAzureTrafficManagerEndpoint.cs +++ b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Endpoint/SetAzureTrafficManagerEndpoint.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.TrafficManager { - [Cmdlet(VerbsCommon.Set, "AzureRMTrafficManagerEndpoint"), OutputType(typeof(TrafficManagerEndpoint))] + [Cmdlet(VerbsCommon.Set, "AzureRmTrafficManagerEndpoint"), OutputType(typeof(TrafficManagerEndpoint))] public class SetAzureTrafficManagerEndpoint : TrafficManagerBaseCmdlet { [Parameter(Mandatory = true, ValueFromPipeline = true, HelpMessage = "The endpoint.")] diff --git a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Microsoft.Azure.Commands.TrafficManager.dll-help.xml b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Microsoft.Azure.Commands.TrafficManager.dll-help.xml index db97e9b2e7b8..efd033f5ae5a 100644 --- a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Microsoft.Azure.Commands.TrafficManager.dll-help.xml +++ b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Microsoft.Azure.Commands.TrafficManager.dll-help.xml @@ -3,7 +3,7 @@ <!-- Updatable Help Version 1.0.0.0 --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Add-AzureRMTrafficManagerEndpointConfig</command:name> + <command:name>Add-AzureRmTrafficManagerEndpointConfig</command:name> <maml:description> <maml:para>Adds an endpoint to an Azure Traffic Manager profile. </maml:para> </maml:description> @@ -15,12 +15,12 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Add-AzureRMTrafficManagerEndpointConfig cmdlet adds an endpoint to a local Azure Traffic Manager profile object. You can get a profile by using the New-AzureRMTrafficManagerProfile or Get-AzureRMTrafficManagerProfile cmdlets. </maml:para> - <maml:para>This cmdlet operates on the local profile object. Commit your changes to the profile for Traffic Manager by using the Set-AzureRMTrafficManagerProfile cmdlet.</maml:para> + <maml:para>The Add-AzureRmTrafficManagerEndpointConfig cmdlet adds an endpoint to a local Azure Traffic Manager profile object. You can get a profile by using the New-AzureRmTrafficManagerProfile or Get-AzureRmTrafficManagerProfile cmdlets. </maml:para> + <maml:para>This cmdlet operates on the local profile object. Commit your changes to the profile for Traffic Manager by using the Set-AzureRmTrafficManagerProfile cmdlet.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Add-AzureRMTrafficManagerEndpointConfig</maml:name> + <maml:name>Add-AzureRmTrafficManagerEndpointConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>EndpointLocation</maml:name> <maml:description> @@ -264,12 +264,12 @@ <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$TrafficManagerProfile = Get-AzureRMTrafficManagerProfile -Name "ContosoProfile" -ResourceGroupName "ResourceGroup11" -PS C:\&gt; Add-AzureRMTrafficManagerEndpointConfig -EndpointName "contoso" -EndpointStatus Enabled -Target "www.contoso.com" -TrafficManagerProfile $TrafficManagerProfile -Type ExternalEndpoints -EndpointLocation "North Europe" -Priority 1 -Weight 10 -PS C:\&gt; Set-AzureRMTrafficManagerProfile -TrafficManagerProfile $TrafficManagerProfile + <dev:code>PS C:\&gt;$TrafficManagerProfile = Get-AzureRmTrafficManagerProfile -Name "ContosoProfile" -ResourceGroupName "ResourceGroup11" +PS C:\&gt; Add-AzureRmTrafficManagerEndpointConfig -EndpointName "contoso" -EndpointStatus Enabled -Target "www.contoso.com" -TrafficManagerProfile $TrafficManagerProfile -Type ExternalEndpoints -EndpointLocation "North Europe" -Priority 1 -Weight 10 +PS C:\&gt; Set-AzureRmTrafficManagerProfile -TrafficManagerProfile $TrafficManagerProfile </dev:code> <dev:remarks> - <maml:para>The first command gets an Azure Traffic Manager profile by using the Get-AzureRMTrafficManagerProfile cmdlet. The command stores the local profile in the $TrafficManagerProfile variable. </maml:para> + <maml:para>The first command gets an Azure Traffic Manager profile by using the Get-AzureRmTrafficManagerProfile cmdlet. The command stores the local profile in the $TrafficManagerProfile variable. </maml:para> <maml:para>The second command adds an endpoint named contoso to the profile stored in $TrafficManagerProfile. The command includes configuration data for the endpoint. This command changes only the local object.</maml:para> <maml:para>The final command updates the Traffic Manager profile named ContosoProfile to match the local value in $TrafficManagerProfile.</maml:para> <maml:para /> @@ -284,22 +284,22 @@ PS C:\&gt; Set-AzureRMTrafficManagerProfile -TrafficManagerProfile $TrafficManag </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Remove-AzureRMTrafficManagerEndpointConfig</maml:linkText> + <maml:linkText>Remove-AzureRmTrafficManagerEndpointConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMTrafficManagerProfile</maml:linkText> + <maml:linkText>Get-AzureRmTrafficManagerProfile</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMTrafficManagerProfile</maml:linkText> + <maml:linkText>Set-AzureRmTrafficManagerProfile</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Get-AzureRMTrafficManagerProfile</command:name> + <command:name>Get-AzureRmTrafficManagerProfile</command:name> <maml:description> <maml:para>Gets an Azure Traffic Manager profile.</maml:para> </maml:description> @@ -311,11 +311,11 @@ PS C:\&gt; Set-AzureRMTrafficManagerProfile -TrafficManagerProfile $TrafficManag <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMTrafficManagerProfile cmdlet gets a Traffic Manager profile from Azure Traffic Manager, and returns an object that represents that profile. You can modify the local object, and then apply changes to the profile by using the Set-AzureRMTrafficManagerProfile cmdlet.</maml:para> + <maml:para>The Get-AzureRmTrafficManagerProfile cmdlet gets a Traffic Manager profile from Azure Traffic Manager, and returns an object that represents that profile. You can modify the local object, and then apply changes to the profile by using the Set-AzureRmTrafficManagerProfile cmdlet.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMTrafficManagerProfile</maml:name> + <maml:name>Get-AzureRmTrafficManagerProfile</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -405,7 +405,7 @@ PS C:\&gt; Set-AzureRMTrafficManagerProfile -TrafficManagerProfile $TrafficManag </maml:description> </dev:type> <maml:description> - <maml:para>This cmdlet returns a TrafficManagerProfile object. You can modify this object, and then apply changes to Traffic Manager by using Set-AzureRMTrafficManagerProfile. </maml:para> + <maml:para>This cmdlet returns a TrafficManagerProfile object. You can modify this object, and then apply changes to Traffic Manager by using Set-AzureRmTrafficManagerProfile. </maml:para> </maml:description> </command:returnValue> </command:returnValues> @@ -418,7 +418,7 @@ PS C:\&gt; Set-AzureRMTrafficManagerProfile -TrafficManagerProfile $TrafficManag <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMTrafficManagerProfile -Name "ContosoProfile" -ResourceGroupName "ResourceGroup11" + <dev:code>PS C:\&gt;Get-AzureRmTrafficManagerProfile -Name "ContosoProfile" -ResourceGroupName "ResourceGroup11" </dev:code> <dev:remarks> <maml:para>This command gets the profile named ContosoProfile in ResourceGroup11. </maml:para> @@ -434,22 +434,22 @@ PS C:\&gt; Set-AzureRMTrafficManagerProfile -TrafficManagerProfile $TrafficManag </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>New-AzureRMTrafficManagerProfile</maml:linkText> + <maml:linkText>New-AzureRmTrafficManagerProfile</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMTrafficManagerProfile</maml:linkText> + <maml:linkText>Remove-AzureRmTrafficManagerProfile</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMTrafficManagerProfile</maml:linkText> + <maml:linkText>Set-AzureRmTrafficManagerProfile</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>New-AzureRMTrafficManagerProfile</command:name> + <command:name>New-AzureRmTrafficManagerProfile</command:name> <maml:description> <maml:para>Creates an Azure Traffic Manager profile.</maml:para> </maml:description> @@ -461,12 +461,12 @@ PS C:\&gt; Set-AzureRMTrafficManagerProfile -TrafficManagerProfile $TrafficManag <dev:version /> </command:details> <maml:description> - <maml:para>The New-AzureRMTrafficManagerProfile cmdlet creates an Azure Traffic Manager profile. Specify a name and required settings. This cmdlet returns a local object that represents the new profile.</maml:para> - <maml:para>This cmdlet does not configure Traffic Manager endpoints. Update the local profile object by using the Add-AzureRMTrafficManagerEndpointConfig cmdlet. Then upload changes to Traffic Manager by using the Set-AzureRMTrafficManagerProfile cmdlet. </maml:para> + <maml:para>The New-AzureRmTrafficManagerProfile cmdlet creates an Azure Traffic Manager profile. Specify a name and required settings. This cmdlet returns a local object that represents the new profile.</maml:para> + <maml:para>This cmdlet does not configure Traffic Manager endpoints. Update the local profile object by using the Add-AzureRmTrafficManagerEndpointConfig cmdlet. Then upload changes to Traffic Manager by using the Set-AzureRmTrafficManagerProfile cmdlet. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMTrafficManagerProfile</maml:name> + <maml:name>New-AzureRmTrafficManagerProfile</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -704,7 +704,7 @@ PS C:\&gt; Set-AzureRMTrafficManagerProfile -TrafficManagerProfile $TrafficManag <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;New-AzureRMTrafficManagerProfile -Name "ContosoProfile" -ResourceGroupName "ResourceGroup11" -ProfileStatus Enabled -TrafficRoutingMethod Performance -RelativeDnsName "contosoapp" -TTL 30 -MonitorProtocol HTTP -MonitorPort 80 -MonitorPath "/default.aspx" + <dev:code>PS C:\&gt;New-AzureRmTrafficManagerProfile -Name "ContosoProfile" -ResourceGroupName "ResourceGroup11" -ProfileStatus Enabled -TrafficRoutingMethod Performance -RelativeDnsName "contosoapp" -TTL 30 -MonitorProtocol HTTP -MonitorPort 80 -MonitorPath "/default.aspx" </dev:code> <dev:remarks> <maml:para>This command creates an Azure Traffic Manager profile named ContosoProfile in resource group ResourceGroup11. The DNS FQDN is contosoapp.trafficmanager.net.</maml:para> @@ -720,26 +720,26 @@ PS C:\&gt; Set-AzureRMTrafficManagerProfile -TrafficManagerProfile $TrafficManag </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMTrafficManagerProfile</maml:linkText> + <maml:linkText>Get-AzureRmTrafficManagerProfile</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMTrafficManagerProfile</maml:linkText> + <maml:linkText>Remove-AzureRmTrafficManagerProfile</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMTrafficManagerProfile</maml:linkText> + <maml:linkText>Set-AzureRmTrafficManagerProfile</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Add-AzureRMTrafficManagerEndpointConfig</maml:linkText> + <maml:linkText>Add-AzureRmTrafficManagerEndpointConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMTrafficManagerEndpointConfig</command:name> + <command:name>Remove-AzureRmTrafficManagerEndpointConfig</command:name> <maml:description> <maml:para>Removes an endpoint from an Azure Traffic Manager profile. </maml:para> </maml:description> @@ -751,12 +751,12 @@ PS C:\&gt; Set-AzureRMTrafficManagerProfile -TrafficManagerProfile $TrafficManag <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMTrafficManagerEndpointConfig cmdlet removes an endpoint from a local Azure Traffic Manager profile object. You can get a profile by using the New-AzureRMTrafficManagerProfile or Get-AzureRMTrafficManagerProfile cmdlets. </maml:para> - <maml:para>This cmdlet operates on the local profile object. Commit your changes to the profile for Traffic Manager by using the Set-AzureRMTrafficManagerProfile cmdlet.</maml:para> + <maml:para>The Remove-AzureRmTrafficManagerEndpointConfig cmdlet removes an endpoint from a local Azure Traffic Manager profile object. You can get a profile by using the New-AzureRmTrafficManagerProfile or Get-AzureRmTrafficManagerProfile cmdlets. </maml:para> + <maml:para>This cmdlet operates on the local profile object. Commit your changes to the profile for Traffic Manager by using the Set-AzureRmTrafficManagerProfile cmdlet.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMTrafficManagerEndpointConfig</maml:name> + <maml:name>Remove-AzureRmTrafficManagerEndpointConfig</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -857,12 +857,12 @@ PS C:\&gt; Set-AzureRMTrafficManagerProfile -TrafficManagerProfile $TrafficManag <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$TrafficManagerProfile = Get-AzureRMTrafficManagerProfile -Name "ContosoProfile" -ResourceGroupName "ResourceGroup11" -PS C:\&gt; Remove-AzureRMTrafficManagerEndpointConfig -EndpointName "contoso" -TrafficManagerProfile $TrafficManagerProfile -PS C:\&gt; Set-AzureRMTrafficManagerProfile -TrafficManagerProfile $TrafficManagerProfile + <dev:code>PS C:\&gt;$TrafficManagerProfile = Get-AzureRmTrafficManagerProfile -Name "ContosoProfile" -ResourceGroupName "ResourceGroup11" +PS C:\&gt; Remove-AzureRmTrafficManagerEndpointConfig -EndpointName "contoso" -TrafficManagerProfile $TrafficManagerProfile +PS C:\&gt; Set-AzureRmTrafficManagerProfile -TrafficManagerProfile $TrafficManagerProfile </dev:code> <dev:remarks> - <maml:para>The first command gets an Azure Traffic Manager profile by using the Get-AzureRMTrafficManagerProfile cmdlet. The command stores the local profile in the $TrafficManagerProfile variable. </maml:para> + <maml:para>The first command gets an Azure Traffic Manager profile by using the Get-AzureRmTrafficManagerProfile cmdlet. The command stores the local profile in the $TrafficManagerProfile variable. </maml:para> <maml:para>The second command removes an endpoint named contoso from the profile stored in $TrafficManagerProfile. This command changes only the local object.</maml:para> <maml:para>The final command updates the Traffic Manager profile named ContosoProfile to match the local value in $TrafficManagerProfile.</maml:para> <maml:para /> @@ -880,10 +880,10 @@ PS C:\&gt; Set-AzureRMTrafficManagerProfile -TrafficManagerProfile $TrafficManag <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMTrafficManagerProfile -Name "ContosoProfile" -ResourceGroupName "ResourceGroup11" | Remove-AzureRMTrafficManagerEndpointConfig -EndpointName "contoso" | Set-AzureRMTrafficManagerProfile + <dev:code>PS C:\&gt;Get-AzureRmTrafficManagerProfile -Name "ContosoProfile" -ResourceGroupName "ResourceGroup11" | Remove-AzureRmTrafficManagerEndpointConfig -EndpointName "contoso" | Set-AzureRmTrafficManagerProfile </dev:code> <dev:remarks> - <maml:para>This command gets a profile, and then passes the local profile to Remove-AzureRMTrafficManagerEndpointConfig by using the pipeline operator. That cmdlet removes an endpoint named contoso from that profile, and then passes the result to Set-AzureRMTrafficManagerProfile. The final cmdlet updates the Traffic Manager profile to match the local value.</maml:para> + <maml:para>This command gets a profile, and then passes the local profile to Remove-AzureRmTrafficManagerEndpointConfig by using the pipeline operator. That cmdlet removes an endpoint named contoso from that profile, and then passes the result to Set-AzureRmTrafficManagerProfile. The final cmdlet updates the Traffic Manager profile to match the local value.</maml:para> <maml:para /> <maml:para /> </dev:remarks> @@ -896,22 +896,22 @@ PS C:\&gt; Set-AzureRMTrafficManagerProfile -TrafficManagerProfile $TrafficManag </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Add-AzureRMTrafficManagerEndpointConfig</maml:linkText> + <maml:linkText>Add-AzureRmTrafficManagerEndpointConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Get-AzureRMTrafficManagerProfile</maml:linkText> + <maml:linkText>Get-AzureRmTrafficManagerProfile</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMTrafficManagerProfile</maml:linkText> + <maml:linkText>Set-AzureRmTrafficManagerProfile</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Remove-AzureRMTrafficManagerProfile</command:name> + <command:name>Remove-AzureRmTrafficManagerProfile</command:name> <maml:description> <maml:para>Deletes an Azure Traffic Manager profile.</maml:para> </maml:description> @@ -923,11 +923,11 @@ PS C:\&gt; Set-AzureRMTrafficManagerProfile -TrafficManagerProfile $TrafficManag <dev:version /> </command:details> <maml:description> - <maml:para>The Remove-AzureRMTrafficManagerProfile cmdlet deletes an Azure Traffic Manager profile. You can specify a profile to delete by name, or you can specify a profile object. You can delete a profile object from Traffic Manager by using the pipeline or as a parameter value.</maml:para> + <maml:para>The Remove-AzureRmTrafficManagerProfile cmdlet deletes an Azure Traffic Manager profile. You can specify a profile to delete by name, or you can specify a profile object. You can delete a profile object from Traffic Manager by using the pipeline or as a parameter value.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMTrafficManagerProfile</maml:name> + <maml:name>Remove-AzureRmTrafficManagerProfile</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Force</maml:name> <maml:description> @@ -957,7 +957,7 @@ PS C:\&gt; Set-AzureRMTrafficManagerProfile -TrafficManagerProfile $TrafficManag </command:parameter> </command:syntaxItem> <command:syntaxItem> - <maml:name>Remove-AzureRMTrafficManagerProfile</maml:name> + <maml:name>Remove-AzureRmTrafficManagerProfile</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Force</maml:name> <maml:description> @@ -1081,7 +1081,7 @@ PS C:\&gt; Set-AzureRMTrafficManagerProfile -TrafficManagerProfile $TrafficManag <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Remove-AzureRMTrafficManagerProfile -Name "ContosoProfile" -ResourceGroupName "ResourceGroup11" + <dev:code>PS C:\&gt;Remove-AzureRmTrafficManagerProfile -Name "ContosoProfile" -ResourceGroupName "ResourceGroup11" </dev:code> <dev:remarks> <maml:para>This command deletes the profile named ContosoProfile in ResourceGroup11. </maml:para> @@ -1100,7 +1100,7 @@ PS C:\&gt; Set-AzureRMTrafficManagerProfile -TrafficManagerProfile $TrafficManag <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;Get-AzureRMTrafficManagerProfile -Name "ContosoProfile" -ResourceGroupName "ResourceGroup11" | Remove-AzureRMTrafficManagerProfile + <dev:code>PS C:\&gt;Get-AzureRmTrafficManagerProfile -Name "ContosoProfile" -ResourceGroupName "ResourceGroup11" | Remove-AzureRmTrafficManagerProfile </dev:code> <dev:remarks> <maml:para>This command gets the profile named ContosoProfile in ResourceGroup11, and then passes that profile to the current cmdlet by using the pipeline operator. The current command deletes that profile. </maml:para> @@ -1116,22 +1116,22 @@ PS C:\&gt; Set-AzureRMTrafficManagerProfile -TrafficManagerProfile $TrafficManag </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMTrafficManagerProfile</maml:linkText> + <maml:linkText>Get-AzureRmTrafficManagerProfile</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMTrafficManagerProfile</maml:linkText> + <maml:linkText>New-AzureRmTrafficManagerProfile</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Set-AzureRMTrafficManagerProfile</maml:linkText> + <maml:linkText>Set-AzureRmTrafficManagerProfile</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> - <command:name>Set-AzureRMTrafficManagerProfile</command:name> + <command:name>Set-AzureRmTrafficManagerProfile</command:name> <maml:description> <maml:para>Updates an Azure Traffic Manager profile. </maml:para> </maml:description> @@ -1143,11 +1143,11 @@ PS C:\&gt; Set-AzureRMTrafficManagerProfile -TrafficManagerProfile $TrafficManag <dev:version /> </command:details> <maml:description> - <maml:para>The Set-AzureRMTrafficManagerProfile cmdlet updates an Azure Traffic Manager profile. This cmdlet updates the settings of the profile from a local profile object. You can pass a profile object to Traffic Manager by using the pipeline or as a parameter value.</maml:para> + <maml:para>The Set-AzureRmTrafficManagerProfile cmdlet updates an Azure Traffic Manager profile. This cmdlet updates the settings of the profile from a local profile object. You can pass a profile object to Traffic Manager by using the pipeline or as a parameter value.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMTrafficManagerProfile</maml:name> + <maml:name>Set-AzureRmTrafficManagerProfile</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> @@ -1229,11 +1229,11 @@ PS C:\&gt; Set-AzureRMTrafficManagerProfile -TrafficManagerProfile $TrafficManag <maml:para> </maml:para> </maml:introduction> - <dev:code>PS C:\&gt;$TrafficManagerProfile = Get-AzureRMTrafficManagerProfile -Name "ContosoProfile" -ResourceGroupName "ResourceGroup11" -PS C:\&gt; Set-AzureRMTrafficManagerProfile -TrafficManagerProfile $TrafficManagerProfile + <dev:code>PS C:\&gt;$TrafficManagerProfile = Get-AzureRmTrafficManagerProfile -Name "ContosoProfile" -ResourceGroupName "ResourceGroup11" +PS C:\&gt; Set-AzureRmTrafficManagerProfile -TrafficManagerProfile $TrafficManagerProfile </dev:code> <dev:remarks> - <maml:para>The first command gets an Azure Traffic Manager profile by using the Get-AzureRMTrafficManagerProfile cmdlet. The command stores the profile locally in the $TrafficManagerProfile variable. After you get that profile, you can change it locally.</maml:para> + <maml:para>The first command gets an Azure Traffic Manager profile by using the Get-AzureRmTrafficManagerProfile cmdlet. The command stores the profile locally in the $TrafficManagerProfile variable. After you get that profile, you can change it locally.</maml:para> <maml:para>The second command updates the Traffic Manager profile named ContosoProfile to match the local value in $TrafficManagerProfile.</maml:para> <maml:para /> <maml:para /> @@ -1247,15 +1247,15 @@ PS C:\&gt; Set-AzureRMTrafficManagerProfile -TrafficManagerProfile $TrafficManag </command:examples> <maml:relatedLinks> <maml:navigationLink> - <maml:linkText>Get-AzureRMTrafficManagerProfile</maml:linkText> + <maml:linkText>Get-AzureRmTrafficManagerProfile</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>New-AzureRMTrafficManagerProfile</maml:linkText> + <maml:linkText>New-AzureRmTrafficManagerProfile</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> - <maml:linkText>Remove-AzureRMTrafficManagerProfile</maml:linkText> + <maml:linkText>Remove-AzureRmTrafficManagerProfile</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> diff --git a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Profile/DisableAzureTrafficManagerProfile.cs b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Profile/DisableAzureTrafficManagerProfile.cs index 9affaccbf45a..70d211e426f7 100644 --- a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Profile/DisableAzureTrafficManagerProfile.cs +++ b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Profile/DisableAzureTrafficManagerProfile.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.TrafficManager { - [Cmdlet(VerbsLifecycle.Disable, "AzureRMTrafficManagerProfile"), OutputType(typeof(bool))] + [Cmdlet(VerbsLifecycle.Disable, "AzureRmTrafficManagerProfile"), OutputType(typeof(bool))] public class DisableAzureTrafficManagerProfile : TrafficManagerBaseCmdlet { [Parameter(Mandatory = true, HelpMessage = "The name of the profile.", ParameterSetName = "Fields")] diff --git a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Profile/EnableAzureTrafficManagerProfile.cs b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Profile/EnableAzureTrafficManagerProfile.cs index 1d718c2a4532..40851e1b2e75 100644 --- a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Profile/EnableAzureTrafficManagerProfile.cs +++ b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Profile/EnableAzureTrafficManagerProfile.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.TrafficManager { - [Cmdlet(VerbsLifecycle.Enable, "AzureRMTrafficManagerProfile"), OutputType(typeof(bool))] + [Cmdlet(VerbsLifecycle.Enable, "AzureRmTrafficManagerProfile"), OutputType(typeof(bool))] public class EnableAzureTrafficManagerProfile : TrafficManagerBaseCmdlet { [Parameter(Mandatory = true, HelpMessage = "The name of the profile.", ParameterSetName = "Fields")] diff --git a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Profile/GetAzureTrafficManagerProfile.cs b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Profile/GetAzureTrafficManagerProfile.cs index 85bb2120d922..1f71d3dc117a 100644 --- a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Profile/GetAzureTrafficManagerProfile.cs +++ b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Profile/GetAzureTrafficManagerProfile.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.TrafficManager { - [Cmdlet(VerbsCommon.Get, "AzureRMTrafficManagerProfile"), OutputType(typeof(TrafficManagerProfile))] + [Cmdlet(VerbsCommon.Get, "AzureRmTrafficManagerProfile"), OutputType(typeof(TrafficManagerProfile))] public class GetAzureTrafficManagerProfile : TrafficManagerBaseCmdlet { [Parameter(Mandatory = false, HelpMessage = "The name of the profile.")] diff --git a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Profile/NewAzureTrafficManagerProfile.cs b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Profile/NewAzureTrafficManagerProfile.cs index e3d665a529e6..6d86ac32edd5 100644 --- a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Profile/NewAzureTrafficManagerProfile.cs +++ b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Profile/NewAzureTrafficManagerProfile.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.TrafficManager using System.Net; using Hyak.Common; - [Cmdlet(VerbsCommon.New, "AzureRMTrafficManagerProfile"), OutputType(typeof(TrafficManagerProfile))] + [Cmdlet(VerbsCommon.New, "AzureRmTrafficManagerProfile"), OutputType(typeof(TrafficManagerProfile))] public class NewAzureTrafficManagerProfile : TrafficManagerBaseCmdlet { [Parameter(Mandatory = true, HelpMessage = "The name of the profile.")] diff --git a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Profile/RemoveAzureTrafficManagerProfile.cs b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Profile/RemoveAzureTrafficManagerProfile.cs index 8faab3274813..01d9166aec86 100644 --- a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Profile/RemoveAzureTrafficManagerProfile.cs +++ b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Profile/RemoveAzureTrafficManagerProfile.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.TrafficManager { - [Cmdlet(VerbsCommon.Remove, "AzureRMTrafficManagerProfile"), OutputType(typeof(bool))] + [Cmdlet(VerbsCommon.Remove, "AzureRmTrafficManagerProfile"), OutputType(typeof(bool))] public class RemoveAzureTrafficManagerProfile : TrafficManagerBaseCmdlet { [Parameter(Mandatory = true, HelpMessage = "The name of the profile.", ParameterSetName = "Fields")] diff --git a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Profile/SetAzureTrafficManagerProfile.cs b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Profile/SetAzureTrafficManagerProfile.cs index 2f7d02d04f33..da1d5d947278 100644 --- a/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Profile/SetAzureTrafficManagerProfile.cs +++ b/src/ResourceManager/TrafficManager/Commands.TrafficManager2/Profile/SetAzureTrafficManagerProfile.cs @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.TrafficManager { - [Cmdlet(VerbsCommon.Set, "AzureRMTrafficManagerProfile"), OutputType(typeof(TrafficManagerProfile))] + [Cmdlet(VerbsCommon.Set, "AzureRmTrafficManagerProfile"), OutputType(typeof(TrafficManagerProfile))] public class SetAzureTrafficManagerProfile : TrafficManagerBaseCmdlet { [Parameter(Mandatory = true, ValueFromPipeline = true, HelpMessage = "The profile.")] diff --git a/src/ResourceManager/UsageAggregates/Commands.UsageAggregates/TestTheCmdLet.ps1 b/src/ResourceManager/UsageAggregates/Commands.UsageAggregates/TestTheCmdLet.ps1 index 5f9c95451fa9..81ecf0bd32bd 100644 --- a/src/ResourceManager/UsageAggregates/Commands.UsageAggregates/TestTheCmdLet.ps1 +++ b/src/ResourceManager/UsageAggregates/Commands.UsageAggregates/TestTheCmdLet.ps1 @@ -3,9 +3,9 @@ $subscription = "<Add subscription ID>" Import-Module "<path to>"Microsoft.Azure.Commands.UsageAggregates.dll -Add-AzureRMAccount +Add-AzureRmAccount -Set-AzureRMSubscription -SubscriptionId $subscription +Set-AzureRmSubscription -SubscriptionId $subscription $agggregate = get-UsageAggregates -ReportedStartTime "5/2/2015" -ReportedEndTime "5/5/2015" diff --git a/src/ResourceManager/Websites/Commands.Websites.Test/ScenarioTests/Common.ps1 b/src/ResourceManager/Websites/Commands.Websites.Test/ScenarioTests/Common.ps1 index 6ea814ccb26e..a780a794c5c0 100644 --- a/src/ResourceManager/Websites/Commands.Websites.Test/ScenarioTests/Common.ps1 +++ b/src/ResourceManager/Websites/Commands.Websites.Test/ScenarioTests/Common.ps1 @@ -45,7 +45,7 @@ Gets the location for the Website. Default to West US if none found. #> function Get-Location { - $location = Get-AzureRMLocation | where {$_.Name -eq "Microsoft.Web/sites"} + $location = Get-AzureRmLocation | where {$_.Name -eq "Microsoft.Web/sites"} if ($location -eq $null) { return "West US" @@ -64,6 +64,6 @@ function Clean-Website($resourceGroup, $websiteName) { if ([Microsoft.Azure.Test.HttpRecorder.HttpMockServer]::Mode -ne [Microsoft.Azure.Test.HttpRecorder.HttpRecorderMode]::Playback) { - $result = Remove-AzureRMWebsite -ResourceGroupName $resourceGroup.ToString() -WebsiteName $websiteName.ToString() -Force + $result = Remove-AzureRmWebsite -ResourceGroupName $resourceGroup.ToString() -WebsiteName $websiteName.ToString() -Force } } diff --git a/src/ResourceManager/Websites/Commands.Websites.Test/ScenarioTests/WebAppTests.ps1 b/src/ResourceManager/Websites/Commands.Websites.Test/ScenarioTests/WebAppTests.ps1 index 4f0dca241c6b..159a89c04b27 100644 --- a/src/ResourceManager/Websites/Commands.Websites.Test/ScenarioTests/WebAppTests.ps1 +++ b/src/ResourceManager/Websites/Commands.Websites.Test/ScenarioTests/WebAppTests.ps1 @@ -29,13 +29,13 @@ function Test-CreatesNewSimpleWebApp try { #Setup - New-AzureRMResourceGroup -Name $rgname -Location $location - New-AzureRMAppServicePlan -ResourceGroupName $rgname -Name $whpName -Location $location + New-AzureRmResourceGroup -Name $rgname -Location $location + New-AzureRmAppServicePlan -ResourceGroupName $rgname -Name $whpName -Location $location # Test - $actual = New-AzureRMWebApp -ResourceGroupName $rgname -Name $wname -Location $location -AppServicePlan $whpName - $result = Get-AzureRMWebApp -ResourceGroupName $rgname -Name $wname - $slotCreate = New-AzureRMWebApp -ResourceGroupName $rgname -Name $wname -Location $location -AppServicePlan $whpName -SlotName Dev + $actual = New-AzureRmWebApp -ResourceGroupName $rgname -Name $wname -Location $location -AppServicePlan $whpName + $result = Get-AzureRmWebApp -ResourceGroupName $rgname -Name $wname + $slotCreate = New-AzureRmWebApp -ResourceGroupName $rgname -Name $wname -Location $location -AppServicePlan $whpName -SlotName Dev # Assert @@ -46,9 +46,9 @@ function Test-CreatesNewSimpleWebApp finally { # Cleanup - Remove-AzureRMWebApp -ResourceGroupName $rgname -Name $wname -Force - Remove-AzureRMAppServicePlan -ResourceGroupName $rgname -Name $whpName -Force - Remove-AzureRMResourceGroup -Name $rgname -Force + Remove-AzureRmWebApp -ResourceGroupName $rgname -Name $wname -Force + Remove-AzureRmAppServicePlan -ResourceGroupName $rgname -Name $whpName -Force + Remove-AzureRmResourceGroup -Name $rgname -Force } } @@ -66,10 +66,10 @@ function Test-CreatesNewAppServicePlan try { #Setup - New-AzureRMResourceGroup -Name $rgname -Location $location + New-AzureRmResourceGroup -Name $rgname -Location $location # Test - $actual = New-AzureRMAppServicePlan -ResourceGroupName $rgname -Name $whpName -Location $location - $result = Get-AzureRMAppServicePlan -ResourceGroupName $rgname -Name $whpName + $actual = New-AzureRmAppServicePlan -ResourceGroupName $rgname -Name $whpName -Location $location + $result = Get-AzureRmAppServicePlan -ResourceGroupName $rgname -Name $whpName # Assert Assert-AreEqual $whpName $result.WebHostingPlan.Name Assert-AreEqual 1 $result.WebHostingPlan.Properties.NumberOfWorkers @@ -79,8 +79,8 @@ function Test-CreatesNewAppServicePlan finally { # Cleanup - Remove-AzureRMAppServicePlan -ResourceGroupName $rgname -Name $whpName -Force - Remove-AzureRMResourceGroup -Name $rgname -Force + Remove-AzureRmAppServicePlan -ResourceGroupName $rgname -Name $whpName -Force + Remove-AzureRmResourceGroup -Name $rgname -Force } } @@ -98,10 +98,10 @@ function Test-SetNewAppServicePlan try { #Setup - New-AzureRMResourceGroup -Name $rgname -Location $location + New-AzureRmResourceGroup -Name $rgname -Location $location # Test - $actual = New-AzureRMAppServicePlan -ResourceGroupName $rgname -Name $whpName -Location $location - $result = Get-AzureRMAppServicePlan -ResourceGroupName $rgname -Name $whpName + $actual = New-AzureRmAppServicePlan -ResourceGroupName $rgname -Name $whpName -Location $location + $result = Get-AzureRmAppServicePlan -ResourceGroupName $rgname -Name $whpName # Assert Assert-AreEqual $whpName $result.WebHostingPlan.Name Assert-AreEqual 1 $result.WebHostingPlan.Properties.NumberOfWorkers @@ -109,9 +109,9 @@ function Test-SetNewAppServicePlan Assert-AreEqual "Small" $result.WebHostingPlan.Properties.WorkerSize # Test setting the created service plan - $newresult = Set-AzureRMAppServicePlan -ResourceGroupName $rgname -Name $whpName -Location $location -Sku Premium -NumberofWorkers 12 -WorkerSize Medium + $newresult = Set-AzureRmAppServicePlan -ResourceGroupName $rgname -Name $whpName -Location $location -Sku Premium -NumberofWorkers 12 -WorkerSize Medium # due to a bug Set and New are not returning the appropriate object so need to get. - $newresult = Get-AzureRMAppServicePlan -ResourceGroupName $rgname -Name $whpName + $newresult = Get-AzureRmAppServicePlan -ResourceGroupName $rgname -Name $whpName # Assert Assert-AreEqual $whpName $result.WebHostingPlan.Name @@ -122,7 +122,7 @@ function Test-SetNewAppServicePlan finally { # Cleanup - Remove-AzureRMAppServicePlan -ResourceGroupName $rgname -Name $whpName -Force - Remove-AzureRMResourceGroup -Name $rgname -Force + Remove-AzureRmAppServicePlan -ResourceGroupName $rgname -Name $whpName -Force + Remove-AzureRmResourceGroup -Name $rgname -Force } } \ No newline at end of file diff --git a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlan/GetAzureAppServicePlan.cs b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlan/GetAzureAppServicePlan.cs index 7dfea2054485..458bbfcb98bb 100644 --- a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlan/GetAzureAppServicePlan.cs +++ b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlan/GetAzureAppServicePlan.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.WebApp.Cmdlets.AppServicePlan /// <summary> /// this commandlet will let you Get an Azure App Service Plan using ARM APIs /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMAppServicePlan"), OutputType(typeof(WebHostingPlanGetResponse), typeof(WebHostingPlanListResponse))] + [Cmdlet(VerbsCommon.Get, "AzureRmAppServicePlan"), OutputType(typeof(WebHostingPlanGetResponse), typeof(WebHostingPlanListResponse))] public class GetAppServicePlanCmdlet : WebHostingPlanBaseNotMandatoryCmdlet { protected override void ProcessRecord() diff --git a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlan/NewAzureAppServicePlan.cs b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlan/NewAzureAppServicePlan.cs index 80366b33585b..2e7eaca58552 100644 --- a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlan/NewAzureAppServicePlan.cs +++ b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlan/NewAzureAppServicePlan.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.WebApp.Cmdlets.AppServicePlan /// <summary> /// this commandlet will let you create a new Azure App service Plan using ARM APIs /// </summary> - [Cmdlet(VerbsCommon.New, "AzureRMAppServicePlan"), OutputType(typeof(WebHostingPlanCreateOrUpdateResponse))] + [Cmdlet(VerbsCommon.New, "AzureRmAppServicePlan"), OutputType(typeof(WebHostingPlanCreateOrUpdateResponse))] public class NewAzureAppServicePlanCmdlet : AppServicePlanBaseCmdlet { diff --git a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlan/RemoveAppServicePlan.cs b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlan/RemoveAppServicePlan.cs index 9f8abb92ed60..2df241203be4 100644 --- a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlan/RemoveAppServicePlan.cs +++ b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlan/RemoveAppServicePlan.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.WebApp.Cmdlets.AppServicePlan /// <summary> /// this commandlet will let you delete an Azure App Service Plan using ARM APIs /// </summary> - [Cmdlet(VerbsCommon.Remove, "AzureRMAppServicePlan"), OutputType(typeof(AzureOperationResponse))] + [Cmdlet(VerbsCommon.Remove, "AzureRmAppServicePlan"), OutputType(typeof(AzureOperationResponse))] public class RemoveAppServicePlanCmdlet : AppServicePlanBaseCmdlet { [Parameter(Mandatory = false, HelpMessage = "Do not ask for confirmation.")] diff --git a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlan/SetAzureAppServicePlan.cs b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlan/SetAzureAppServicePlan.cs index dbbed987eddd..df838dcb9b29 100644 --- a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlan/SetAzureAppServicePlan.cs +++ b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlan/SetAzureAppServicePlan.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.WebApp.Cmdlets.AppServicePlan /// <summary> /// this commandlet will let you set Azure App Service Plan using ARM APIs /// </summary> - [Cmdlet(VerbsCommon.Set, "AzureRMAppServicePlan"), OutputType(typeof(WebHostingPlanCreateOrUpdateResponse))] + [Cmdlet(VerbsCommon.Set, "AzureRmAppServicePlan"), OutputType(typeof(WebHostingPlanCreateOrUpdateResponse))] public class SetAzureAppServicePlanCmdlet : AppServicePlanBaseCmdlet { diff --git a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/GetAzureWebApp.cs b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/GetAzureWebApp.cs index 404371466120..8fcd0a2256fc 100644 --- a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/GetAzureWebApp.cs +++ b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/GetAzureWebApp.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.WebApp.Cmdlets /// <summary> /// this commandlet will let you get a new Azure Websites using ARM APIs /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMWebApp")] + [Cmdlet(VerbsCommon.Get, "AzureRmWebApp")] public class GetAzureWebAppCmdlet : WebAppBaseSlotCmdlet { protected override void ProcessRecord() diff --git a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/GetAzureWebAppPublishingProfile.cs b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/GetAzureWebAppPublishingProfile.cs index e47d6f6eadb0..9028511401f1 100644 --- a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/GetAzureWebAppPublishingProfile.cs +++ b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/GetAzureWebAppPublishingProfile.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.WebApp.Cmdlets /// <summary> /// this commandlet will get the publishing creds of the given Azure Web app using ARM APIs /// </summary> - [Cmdlet(VerbsCommon.Get, "AzureRMWebAppPublishingProfile")] + [Cmdlet(VerbsCommon.Get, "AzureRmWebAppPublishingProfile")] public class GetAzureWebAppPublishingProfileCmdlet : WebAppBaseSlotCmdlet { protected override void ProcessRecord() diff --git a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/NewAzureWebApp.cs b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/NewAzureWebApp.cs index 5191a344352d..52d67ddc18c0 100644 --- a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/NewAzureWebApp.cs +++ b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/NewAzureWebApp.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.WebApp.Cmdlets /// <summary> /// this commandlet will let you create a new Azure Web app using ARM APIs /// </summary> - [Cmdlet(VerbsCommon.New, "AzureRMWebApp")] + [Cmdlet(VerbsCommon.New, "AzureRmWebApp")] public class NewAzureWebAppCmdlet : WebAppBaseCmdlet { diff --git a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/RemoveAzureWebApp.cs b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/RemoveAzureWebApp.cs index fb664a9829c9..cfe5ada6d8c4 100644 --- a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/RemoveAzureWebApp.cs +++ b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/RemoveAzureWebApp.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.WebApp.Cmdlets /// <summary> /// this commandlet will let you delete an Azure web app /// </summary> - [Cmdlet(VerbsCommon.Remove, "AzureRMWebApp")] + [Cmdlet(VerbsCommon.Remove, "AzureRmWebApp")] public class RemoveAzureWebAppCmdlet : WebAppBaseNotMandatoryCmdlet { diff --git a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/RestartAzureWebApp.cs b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/RestartAzureWebApp.cs index 3f2e96889807..690c502b4034 100644 --- a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/RestartAzureWebApp.cs +++ b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/RestartAzureWebApp.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.WebApp.Cmdlets /// <summary> /// this commandlet will let you restart an Azure Web app /// </summary> - [Cmdlet(VerbsLifecycle.Restart, "AzureRMWebApp")] + [Cmdlet(VerbsLifecycle.Restart, "AzureRmWebApp")] public class RestartAzureWebAppCmdlet : WebAppBaseCmdlet { diff --git a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/StartAzureWebApp.cs b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/StartAzureWebApp.cs index 9d3fd4bdb14a..5f9175a7385a 100644 --- a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/StartAzureWebApp.cs +++ b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/StartAzureWebApp.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.WebApp.Cmdlets /// <summary> /// this commandlet will let you Start an Azure Web app /// </summary> - [Cmdlet(VerbsLifecycle.Start, "AzureRMWebApp")] + [Cmdlet(VerbsLifecycle.Start, "AzureRmWebApp")] public class StartAzureWebAppCmdlet : WebAppBaseCmdlet { diff --git a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/StopAzureWebApp.cs b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/StopAzureWebApp.cs index 15e95ba77bc9..8db272c86f01 100644 --- a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/StopAzureWebApp.cs +++ b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/StopAzureWebApp.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.WebApp.Cmdlets /// <summary> /// this commandlet will let you stop an Azure Web app /// </summary> - [Cmdlet(VerbsLifecycle.Stop, "AzureRMWebApp")] + [Cmdlet(VerbsLifecycle.Stop, "AzureRmWebApp")] public class StopAzureWebAppCmdlet : WebAppBaseCmdlet { diff --git a/src/ResourceManager/Websites/Commands.Websites/Microsoft.Azure.Commands.Websites.dll-Help.xml b/src/ResourceManager/Websites/Commands.Websites/Microsoft.Azure.Commands.Websites.dll-Help.xml index 393d83f9f068..9714cce11245 100644 --- a/src/ResourceManager/Websites/Commands.Websites/Microsoft.Azure.Commands.Websites.dll-Help.xml +++ b/src/ResourceManager/Websites/Commands.Websites/Microsoft.Azure.Commands.Websites.dll-Help.xml @@ -2,7 +2,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMAppServicePlan</command:name> + <command:name>Get-AzureRmAppServicePlan</command:name> <maml:description> <maml:para>Gets Azure app service plan in the given resource group.</maml:para> </maml:description> @@ -18,7 +18,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMAppServicePlan</maml:name> + <maml:name>Get-AzureRmAppServicePlan</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> @@ -120,7 +120,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>Get-AzureRMAppServicePlan -ResourceGroupName &quot;Default-Web-WestUS&quot; -Name myWHP</dev:code> + <dev:code>Get-AzureRmAppServicePlan -ResourceGroupName &quot;Default-Web-WestUS&quot; -Name myWHP</dev:code> <dev:remarks> <maml:para>Gets the app service plan myWHP in resource group &quot;Default-Web-WestUS&quot;.</maml:para> <maml:para /> @@ -142,7 +142,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMAppServicePlanMetrics</command:name> + <command:name>Get-AzureRmAppServicePlanMetrics</command:name> <maml:description> <maml:para /> </maml:description> @@ -158,7 +158,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMAppServicePlanMetrics</maml:name> + <maml:name>Get-AzureRmAppServicePlanMetrics</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> <maml:name>Metrics</maml:name> <maml:description> @@ -376,7 +376,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMWebApp</command:name> + <command:name>Get-AzureRmWebApp</command:name> <maml:description> <maml:para>Gets Azure web apps in the specified resource group</maml:para> </maml:description> @@ -388,11 +388,11 @@ <dev:version /> </command:details> <maml:description> - <maml:para>The Get-AzureRMWebApp cmdlet gets information about Azure web apps in the specified resource group.</maml:para> + <maml:para>The Get-AzureRmWebApp cmdlet gets information about Azure web apps in the specified resource group.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMWebApp</maml:name> + <maml:name>Get-AzureRmWebApp</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2"> <maml:name>SlotName</maml:name> <maml:description> @@ -513,7 +513,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>Get-AzureRMWebApp -ResourceGroupName Default-Web-WestUS -Name ngolistandard -SlotName dev</dev:code> + <dev:code>Get-AzureRmWebApp -ResourceGroupName Default-Web-WestUS -Name ngolistandard -SlotName dev</dev:code> <dev:remarks> <maml:para>Gets the slot dev for ngolistandard web app from resource group Default-Web-WestUS</maml:para> <maml:para /> @@ -535,7 +535,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMWebAppMetrics</command:name> + <command:name>Get-AzureRmWebAppMetrics</command:name> <maml:description> <maml:para /> </maml:description> @@ -551,7 +551,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMWebAppMetrics</maml:name> + <maml:name>Get-AzureRmWebAppMetrics</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="2"> <maml:name>Metrics</maml:name> <maml:description> @@ -786,7 +786,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Get-AzureRMWebAppPublishingProfile</command:name> + <command:name>Get-AzureRmWebAppPublishingProfile</command:name> <maml:description> <maml:para>Get the web app publishing profile.</maml:para> </maml:description> @@ -802,7 +802,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Get-AzureRMWebAppPublishingProfile</maml:name> + <maml:name>Get-AzureRmWebAppPublishingProfile</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2"> <maml:name>SlotName</maml:name> <maml:description> @@ -925,7 +925,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>New-AzureRMAppServicePlan</command:name> + <command:name>New-AzureRmAppServicePlan</command:name> <maml:description> <maml:para>Creates a new app service plan in a given Geo location.</maml:para> </maml:description> @@ -941,7 +941,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMAppServicePlan</maml:name> + <maml:name>New-AzureRmAppServicePlan</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Location</maml:name> <maml:description> @@ -1119,7 +1119,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>New-AzureRMAppServicePlan -ResourceGroupName &quot;Default-Web-WestUS&quot; -AppServicePlanName &quot;NgoliWHP&quot; -location &quot;West US&quot; -Debug -Sku Basic -NumberofWorkers 2 -WorkerSize Small</dev:code> + <dev:code>New-AzureRmAppServicePlan -ResourceGroupName &quot;Default-Web-WestUS&quot; -AppServicePlanName &quot;NgoliWHP&quot; -location &quot;West US&quot; -Debug -Sku Basic -NumberofWorkers 2 -WorkerSize Small</dev:code> <dev:remarks> <maml:para>Creates a new app service plan in resource group &quot;Default-Web-WestUS&quot; -with app service plan name &quot;NgoliWHP&quot; in geo location &quot;West US&quot; using Basic sku and allocates total 2 workers worker size is Small</maml:para> <maml:para /> @@ -1141,7 +1141,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>New-AzureRMWebApp</command:name> + <command:name>New-AzureRmWebApp</command:name> <maml:description> <maml:para>Create an Azure Web app</maml:para> </maml:description> @@ -1157,7 +1157,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>New-AzureRMWebApp</maml:name> + <maml:name>New-AzureRmWebApp</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2"> <maml:name>SlotName</maml:name> <maml:description> @@ -1316,7 +1316,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>New-AzureRMWebApp -ResourceGroupName Default-Web-WestUS -Name MyFirstSite -Location &quot;West US&quot; -AppServicePlan MyAppServicePlan</dev:code> + <dev:code>New-AzureRmWebApp -ResourceGroupName Default-Web-WestUS -Name MyFirstSite -Location &quot;West US&quot; -AppServicePlan MyAppServicePlan</dev:code> <dev:remarks> <maml:para>Creates a new Azure web app named MyFirstSite in the existing resourcegroup named Default-Web-WestUS in data center &quot;West US&quot; using existing app service plan MyAppServicePlan</maml:para> <maml:para /> @@ -1338,7 +1338,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Remove-AzureRMAppServicePlan</command:name> + <command:name>Remove-AzureRmAppServicePlan</command:name> <maml:description> <maml:para>Remove an Azure app service plan</maml:para> </maml:description> @@ -1354,7 +1354,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMAppServicePlan</maml:name> + <maml:name>Remove-AzureRmAppServicePlan</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> @@ -1475,7 +1475,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>Remove-AzureRMAppServicePlan -ResourceGroupName &quot;Default-Web-WestUS&quot; -AppServicePlanName &quot;NGoliStandard&quot;</dev:code> + <dev:code>Remove-AzureRmAppServicePlan -ResourceGroupName &quot;Default-Web-WestUS&quot; -AppServicePlanName &quot;NGoliStandard&quot;</dev:code> <dev:remarks> <maml:para>Deletes azure app service plan in resource group &quot;Default-Web-WestUS&quot; with app service plan name &quot;NGoliStandard&quot;</maml:para> <maml:para /> @@ -1497,7 +1497,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Remove-AzureRMWebApp</command:name> + <command:name>Remove-AzureRmWebApp</command:name> <maml:description> <maml:para>Remove an Azure web app</maml:para> </maml:description> @@ -1513,7 +1513,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Remove-AzureRMWebApp</maml:name> + <maml:name>Remove-AzureRmWebApp</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> @@ -1634,7 +1634,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>Remove-AzureRMWebApp -ResourceGroupName Default-Web-WestUS -Name MyFirstSite</dev:code> + <dev:code>Remove-AzureRmWebApp -ResourceGroupName Default-Web-WestUS -Name MyFirstSite</dev:code> <dev:remarks> <maml:para>Deletes the Azure Web app named MyFirstSite in the resource group named Default-Web-WestUS</maml:para> <maml:para /> @@ -1656,7 +1656,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Restart-AzureRMWebApp</command:name> + <command:name>Restart-AzureRmWebApp</command:name> <maml:description> <maml:para>Stop and start an Azure web app.</maml:para> </maml:description> @@ -1668,11 +1668,11 @@ <dev:version /> </command:details> <maml:description> - <maml:para>Stops and then starts an Azure web app. If web app is already in stopped state use Start-AzureRMWebApp command</maml:para> + <maml:para>Stops and then starts an Azure web app. If web app is already in stopped state use Start-AzureRmWebApp command</maml:para> </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Restart-AzureRMWebApp</maml:name> + <maml:name>Restart-AzureRmWebApp</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2"> <maml:name>SlotName</maml:name> <maml:description> @@ -1793,7 +1793,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>Restart-AzureRMWebApp -ResourceGroupName Default-Web-WestUS -Name MyFirstSite</dev:code> + <dev:code>Restart-AzureRmWebApp -ResourceGroupName Default-Web-WestUS -Name MyFirstSite</dev:code> <dev:remarks> <maml:para>Stops the site MyFirstSite and then starts it.</maml:para> <maml:para /> @@ -1815,7 +1815,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Set-AzureRMAppServicePlan</command:name> + <command:name>Set-AzureRmAppServicePlan</command:name> <maml:description> <maml:para>Sets the app service plan</maml:para> </maml:description> @@ -1831,7 +1831,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Set-AzureRMAppServicePlan</maml:name> + <maml:name>Set-AzureRmAppServicePlan</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Location</maml:name> <maml:description> @@ -2031,7 +2031,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Start-AzureRMWebApp</command:name> + <command:name>Start-AzureRmWebApp</command:name> <maml:description> <maml:para>Start an Azure web app</maml:para> </maml:description> @@ -2047,7 +2047,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Start-AzureRMWebApp</maml:name> + <maml:name>Start-AzureRmWebApp</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2"> <maml:name>SlotName</maml:name> <maml:description> @@ -2168,7 +2168,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>Start-AzureRMWebApp -ResourceGroupName Default-Web-WestUS -Name MyWebApp</dev:code> + <dev:code>Start-AzureRmWebApp -ResourceGroupName Default-Web-WestUS -Name MyWebApp</dev:code> <dev:remarks> <maml:para>Starts the web app named MyWebApp in resource group Default-Web-WestUS</maml:para> <maml:para /> @@ -2190,7 +2190,7 @@ <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> - <command:name>Stop-AzureRMWebApp</command:name> + <command:name>Stop-AzureRmWebApp</command:name> <maml:description> <maml:para>Stop the web app.</maml:para> </maml:description> @@ -2206,7 +2206,7 @@ </maml:description> <command:syntax> <command:syntaxItem> - <maml:name>Stop-AzureRMWebApp</maml:name> + <maml:name>Stop-AzureRmWebApp</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2"> <maml:name>SlotName</maml:name> <maml:description> @@ -2327,7 +2327,7 @@ <maml:introduction> <maml:paragraph>PS C:\&gt;</maml:paragraph> </maml:introduction> - <dev:code>Stop-AzureRMWebApp -ResourceGroupName Default-Web-WestUS -Name ngolistandard</dev:code> + <dev:code>Stop-AzureRmWebApp -ResourceGroupName Default-Web-WestUS -Name ngolistandard</dev:code> <dev:remarks> <maml:para>Stops the web app named MyWebApp in resource group Default-Web-WestUS</maml:para> <maml:para />