From 910a2b7b270321551e8cd6270deac6eee1827cad Mon Sep 17 00:00:00 2001 From: piyushawasthi Date: Fri, 28 Apr 2017 12:30:58 +0530 Subject: [PATCH] Added Alias for ChefDaemonInterval Signed-off-by: piyushawasthi --- .../Extension/Chef/SetAzureVMChefExtension.cs | 1 + .../IaaS/Extensions/Chef/SetAzureVMChefExtension.cs | 1 + .../Microsoft.Azure.Commands.Compute.dll.json | 8 ++++---- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/ResourceManager/Compute/Commands.Compute/Extension/Chef/SetAzureVMChefExtension.cs b/src/ResourceManager/Compute/Commands.Compute/Extension/Chef/SetAzureVMChefExtension.cs index 50cefd426779..2f6dc5a0a6ff 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Extension/Chef/SetAzureVMChefExtension.cs +++ b/src/ResourceManager/Compute/Commands.Compute/Extension/Chef/SetAzureVMChefExtension.cs @@ -110,6 +110,7 @@ public string TypeHandlerVersion [ValidateNotNullOrEmpty] public string JsonAttribute { get; set; } + [Alias("ChefServiceInterval")] [Parameter( ValueFromPipelineByPropertyName = true, HelpMessage = "Specifies the frequency (in minutes) at which the chef-service runs. If in case you don't want the chef-service to be installed on the Azure VM then set value as 0 in this field.")] diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Chef/SetAzureVMChefExtension.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Chef/SetAzureVMChefExtension.cs index e4f7f1923d14..ce3ee598b7b0 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Chef/SetAzureVMChefExtension.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Chef/SetAzureVMChefExtension.cs @@ -74,6 +74,7 @@ public class SetAzureVMChefExtensionCommand : VirtualMachineChefExtensionCmdletB [ValidateNotNullOrEmpty] public string JsonAttribute { get; set; } + [Alias("ChefServiceInterval")] [Parameter( ValueFromPipelineByPropertyName = true, HelpMessage = "Specifies the frequency (in minutes) at which the chef-service runs. If in case you don't want the chef-service to be installed on the Azure VM then set value as 0 in this field.")] diff --git a/tools/StaticAnalysis/SerializedCmdlets/Microsoft.Azure.Commands.Compute.dll.json b/tools/StaticAnalysis/SerializedCmdlets/Microsoft.Azure.Commands.Compute.dll.json index 2d0e27fdcd62..3220f763de72 100644 --- a/tools/StaticAnalysis/SerializedCmdlets/Microsoft.Azure.Commands.Compute.dll.json +++ b/tools/StaticAnalysis/SerializedCmdlets/Microsoft.Azure.Commands.Compute.dll.json @@ -30873,7 +30873,7 @@ "ValidateNotNullOrEmpty": true }, { - "Name": "ChefDaemonInterval", + "Name": "ChefServiceInterval", "AliasList": [], "Type": { "Namespace": "System", @@ -31264,7 +31264,7 @@ }, { "ParameterMetadata": { - "Name": "ChefDaemonInterval", + "Name": "ChefServiceInterval", "AliasList": [], "Type": { "Namespace": "System", @@ -31716,7 +31716,7 @@ }, { "ParameterMetadata": { - "Name": "ChefDaemonInterval", + "Name": "ChefServiceInterval", "AliasList": [], "Type": { "Namespace": "System", @@ -32168,7 +32168,7 @@ }, { "ParameterMetadata": { - "Name": "ChefDaemonInterval", + "Name": "ChefServiceInterval", "AliasList": [], "Type": { "Namespace": "System",