Skip to content

Commit

Permalink
change apiId to required parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
solankisamir committed Jul 30, 2019
1 parent 4d2737a commit 16a7e65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public class GetAzureApiManagementProduct : AzureApiManagementCmdletBase
[Parameter(
ParameterSetName = GetByApiId,
ValueFromPipelineByPropertyName = true,
Mandatory = false,
Mandatory = true,
HelpMessage = "ApiId of the Api to find the correlated products. This parameter is optional.")]
public String ApiId { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Get-AzApiManagementProduct -Context <PsApiManagementContext> [-Title <String>]

### GetByApiId
```
Get-AzApiManagementProduct -Context <PsApiManagementContext> [-ApiId <String>]
Get-AzApiManagementProduct -Context <PsApiManagementContext> -ApiId <String>
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
```

Expand Down Expand Up @@ -68,7 +68,7 @@ Type: System.String
Parameter Sets: GetByApiId
Aliases:

Required: False
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Expand Down

0 comments on commit 16a7e65

Please sign in to comment.