Skip to content

Commit 6e5b974

Browse files
authored
Merge pull request #681 from Azure/dev
huangpf PR: dev <- Azure:dev
2 parents 2185630 + fb3835c commit 6e5b974

File tree

1,394 files changed

+239037
-304
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,394 files changed

+239037
-304
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
---
2+
external help file: Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-Help.xml
3+
online version:
4+
schema: 2.0.0
5+
ms.assetid: 2166E28A-33F6-435D-92AF-C9A7B44297B2
6+
---
7+
8+
# Add-AzureRmApiManagementApiToProduct
9+
10+
## SYNOPSIS
11+
Adds an API to a product.
12+
13+
## SYNTAX
14+
15+
```
16+
Add-AzureRmApiManagementApiToProduct -Context <PsApiManagementContext> -ProductId <String> -ApiId <String>
17+
[-PassThru] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]
18+
```
19+
20+
## DESCRIPTION
21+
The **Add-AzureRmApiManagementApiToProduct** cmdlet adds an Azure API Management API to a product.
22+
23+
## EXAMPLES
24+
25+
### Example 1: Add an API to a product
26+
```
27+
PS C:\>Add-AzureRmApiManagementApiToProduct -Context $ApiMgmtContext -ProductId "0123456789" -ApiId "0001"
28+
```
29+
30+
This command adds the specified API to the specified product.
31+
32+
## PARAMETERS
33+
34+
### -Context
35+
Specifies a **PsApiManagementContext** object.
36+
37+
```yaml
38+
Type: PsApiManagementContext
39+
Parameter Sets: (All)
40+
Aliases:
41+
42+
Required: True
43+
Position: Named
44+
Default value: None
45+
Accept pipeline input: True (ByPropertyName)
46+
Accept wildcard characters: False
47+
```
48+
49+
### -ProductId
50+
Specifies the ID of the product to which to add the API.
51+
52+
```yaml
53+
Type: String
54+
Parameter Sets: (All)
55+
Aliases:
56+
57+
Required: True
58+
Position: Named
59+
Default value: None
60+
Accept pipeline input: True (ByPropertyName)
61+
Accept wildcard characters: False
62+
```
63+
64+
### -ApiId
65+
Specifies the ID of an API to add to a product.
66+
67+
```yaml
68+
Type: String
69+
Parameter Sets: (All)
70+
Aliases:
71+
72+
Required: True
73+
Position: Named
74+
Default value: None
75+
Accept pipeline input: True (ByPropertyName)
76+
Accept wildcard characters: False
77+
```
78+
79+
### -PassThru
80+
passthru
81+
82+
```yaml
83+
Type: SwitchParameter
84+
Parameter Sets: (All)
85+
Aliases:
86+
87+
Required: False
88+
Position: Named
89+
Default value: None
90+
Accept pipeline input: True (ByPropertyName)
91+
Accept wildcard characters: False
92+
```
93+
94+
### -InformationAction
95+
Specifies how this cmdlet responds to an information event.
96+
97+
The acceptable values for this parameter are:
98+
99+
- Continue
100+
- Ignore
101+
- Inquire
102+
- SilentlyContinue
103+
- Stop
104+
- Suspend
105+
106+
```yaml
107+
Type: ActionPreference
108+
Parameter Sets: (All)
109+
Aliases: infa
110+
111+
Required: False
112+
Position: Named
113+
Default value: None
114+
Accept pipeline input: False
115+
Accept wildcard characters: False
116+
```
117+
118+
### -InformationVariable
119+
Specifies an information variable.
120+
121+
```yaml
122+
Type: String
123+
Parameter Sets: (All)
124+
Aliases: iv
125+
126+
Required: False
127+
Position: Named
128+
Default value: None
129+
Accept pipeline input: False
130+
Accept wildcard characters: False
131+
```
132+
133+
### CommonParameters
134+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
135+
136+
## INPUTS
137+
138+
## OUTPUTS
139+
140+
### Boolean
141+
142+
## NOTES
143+
144+
## RELATED LINKS
145+
146+
[Remove-AzureRmApiManagementApiFromProduct](./Remove-AzureRmApiManagementApiFromProduct.md)
147+
148+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
---
2+
external help file: Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-Help.xml
3+
online version:
4+
schema: 2.0.0
5+
ms.assetid: DC299A28-324C-45E5-9466-0DF47F30BBF1
6+
---
7+
8+
# Add-AzureRmApiManagementProductToGroup
9+
10+
## SYNOPSIS
11+
Adds a product to a group.
12+
13+
## SYNTAX
14+
15+
```
16+
Add-AzureRmApiManagementProductToGroup -Context <PsApiManagementContext> -GroupId <String> -ProductId <String>
17+
[-PassThru] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]
18+
```
19+
20+
## DESCRIPTION
21+
The **Add-AzureRmApiManagementProductToGroup** cmdlet adds a product to an existing group.
22+
In other words, this cmdlet assigns a group to a product.
23+
24+
## EXAMPLES
25+
26+
### Example 1: Add a product to a group
27+
```
28+
PS C:\>Add-AzureRmApiManagementProductToGroup -Context $apimContext -GroupId "0001" -ProductId "0123456789"
29+
```
30+
31+
This command adds a product to an existing group.
32+
33+
## PARAMETERS
34+
35+
### -Context
36+
Specifies a **PsApiManagementContext** object.
37+
This parameter is required.
38+
39+
```yaml
40+
Type: PsApiManagementContext
41+
Parameter Sets: (All)
42+
Aliases:
43+
44+
Required: True
45+
Position: Named
46+
Default value: None
47+
Accept pipeline input: True (ByPropertyName)
48+
Accept wildcard characters: False
49+
```
50+
51+
### -GroupId
52+
Specifies the group ID.
53+
This parameter is required.
54+
55+
```yaml
56+
Type: String
57+
Parameter Sets: (All)
58+
Aliases:
59+
60+
Required: True
61+
Position: Named
62+
Default value: None
63+
Accept pipeline input: True (ByPropertyName)
64+
Accept wildcard characters: False
65+
```
66+
67+
### -ProductId
68+
Specifies the product ID.
69+
This parameter is required.
70+
71+
```yaml
72+
Type: String
73+
Parameter Sets: (All)
74+
Aliases:
75+
76+
Required: True
77+
Position: Named
78+
Default value: None
79+
Accept pipeline input: True (ByPropertyName)
80+
Accept wildcard characters: False
81+
```
82+
83+
### -PassThru
84+
passthru
85+
86+
```yaml
87+
Type: SwitchParameter
88+
Parameter Sets: (All)
89+
Aliases:
90+
91+
Required: False
92+
Position: Named
93+
Default value: None
94+
Accept pipeline input: True (ByPropertyName)
95+
Accept wildcard characters: False
96+
```
97+
98+
### -InformationAction
99+
Specifies how this cmdlet responds to an information event.
100+
101+
The acceptable values for this parameter are:
102+
103+
- Continue
104+
- Ignore
105+
- Inquire
106+
- SilentlyContinue
107+
- Stop
108+
- Suspend
109+
110+
```yaml
111+
Type: ActionPreference
112+
Parameter Sets: (All)
113+
Aliases: infa
114+
115+
Required: False
116+
Position: Named
117+
Default value: None
118+
Accept pipeline input: False
119+
Accept wildcard characters: False
120+
```
121+
122+
### -InformationVariable
123+
Specifies an information variable.
124+
125+
```yaml
126+
Type: String
127+
Parameter Sets: (All)
128+
Aliases: iv
129+
130+
Required: False
131+
Position: Named
132+
Default value: None
133+
Accept pipeline input: False
134+
Accept wildcard characters: False
135+
```
136+
137+
### CommonParameters
138+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
139+
140+
## INPUTS
141+
142+
## OUTPUTS
143+
144+
### Boolean
145+
146+
## NOTES
147+
148+
## RELATED LINKS
149+
150+
[Remove-AzureRmApiManagementProductFromGroup](./Remove-AzureRmApiManagementProductFromGroup.md)
151+
152+

0 commit comments

Comments
 (0)