Skip to content

Warn users for upcoming changes to test cmdlets #801

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 26, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ protected override void OnProcessRecord()
/// </summary>
private void RunCmdlet()
{
this.WriteWarning("The Test-AzureResource cmdlet is being deprecated and will be removed in a future release.");
this.WriteObject(this.TestResource());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ protected override void OnProcessRecord()
/// </summary>
private void RunCmdlet()
{
this.WriteWarning("The Test-AzureResourceGroup cmdlet is being deprecated and will be removed in a future release.");
this.WriteObject(this.TestResourceGroup());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public TestAzureResourceGroupTemplateCommand()

public override void ExecuteCmdlet()
{
this.WriteWarning("The Test-AzureResourceGroupTemplate cmdlet is being renamed to Test-AzureResourceGroupDeployment in a future release.");
ValidatePSResourceGroupDeploymentParameters parameters = new ValidatePSResourceGroupDeploymentParameters()
{
ResourceGroupName = ResourceGroupName,
Expand Down