Skip to content

Commit

Permalink
report model update5
Browse files Browse the repository at this point in the history
  • Loading branch information
avkaur committed Sep 11, 2015
1 parent 147200b commit d6e3c28
Showing 1 changed file with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,15 @@ public class ImportAzureAutomationDscNodeConfiguration : AzureAutomationBaseCmdl
/// <summary>
/// Gets or sets the source path.
/// </summary>
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Path to the node configuration .mof to import.")]
[Alias("Path")]
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Path to the node configuration .mof to import.")]
[ValidateNotNullOrEmpty]
public string SourcePath { get; set; }
public string Path { get; set; }

/// <summary>
/// Gets or sets the configuration name for the node configuration.
/// </summary>
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the DSC Configuration to import the Node Configuration under. All Node Configurations in Azure Automation must exist under a Configuration. The name of the Configuration will become the namespace of the imported Node Configuration, in the form of 'ConfigurationName.MofFileName'")]
[Alias("ConfigurationName")]
public string ConfigName { get; set; }
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the DSC Configuration to import the Node Configuration under. All Node Configurations in Azure Automation must exist under a Configuration. The name of the Configuration will become the namespace of the imported Node Configuration, in the form of 'ConfigurationName.MofFileName'")]
public string ConfigurationName { get; set; }


/// <summary>
Expand All @@ -70,8 +68,8 @@ public override void ExecuteCmdlet()
var nodeConfiguration = this.AutomationClient.CreateNodeConfiguration(
this.ResourceGroupName,
this.AutomationAccountName,
this.SourcePath,
this.ConfigName,
this.Path,
this.ConfigurationName,
this.Force);

this.WriteObject(nodeConfiguration);
Expand Down

0 comments on commit d6e3c28

Please sign in to comment.