Skip to content

Commit fbdfd7e

Browse files
committed
change "id" parameter to be mandatory.
1 parent 87da776 commit fbdfd7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Resources/ResourceManager/Implementation/Deployments/GetAzureSubscriptionDeploymentCmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public class GetAzureSubscriptionDeploymentCmdlet : ResourceManagerCmdletBase
4444
public string Name { get; set; }
4545

4646
[Alias("DeploymentId", "ResourceId")]
47-
[Parameter(ParameterSetName = GetAzureSubscriptionDeploymentCmdlet.DeploymentIdParameterSet, Mandatory = true,
47+
[Parameter(ParameterSetName = GetAzureSubscriptionDeploymentCmdlet.DeploymentIdParameterSet, Mandatory = false,
4848
HelpMessage = "The fully qualified resource Id of the deployment. example: /subscriptions/{subId}/providers/Microsoft.Resources/deployments/{deploymentName}")]
4949
[ValidateNotNullOrEmpty]
5050
public string Id { get; set; }

0 commit comments

Comments
 (0)