Skip to content

Commit 9d800f5

Browse files
author
Maddie Clayton
authored
Merge pull request Azure#7076 from deathly809/Subscriptions1.5.0
[Azure Stack][Admin] Subscriptions for Azure Stack 1.5.0
2 parents 2ab9561 + 5a93f4f commit 9d800f5

File tree

84 files changed

+1679
-1829
lines changed

Some content is hidden

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

84 files changed

+1679
-1829
lines changed
Lines changed: 43 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
external help file: Azs.Subscriptions.Admin-help.xml
33
Module Name: Azs.Subscriptions.Admin
4-
online version:
4+
online version:
55
schema: 2.0.0
66
---
77

@@ -22,53 +22,53 @@ Links a plan to an offer.
2222

2323
## EXAMPLES
2424

25-
### EXAMPLE 1
25+
### -------------------------- EXAMPLE 1 --------------------------
2626
```
2727
Add-AzsPlanToOffer -PlanLinkType Addon -Offer offer1 -PlanName plan1 -ResourceGroupName rg1 -MaxAcquisitionCount 2
2828
```
2929

3030
## PARAMETERS
3131

32-
### -PlanName
33-
Name of the plan.
32+
### -Force
33+
Flag to remove the item without confirmation.
3434

3535
```yaml
36-
Type: String
36+
Type: SwitchParameter
3737
Parameter Sets: (All)
38-
Aliases:
38+
Aliases:
3939

40-
Required: True
41-
Position: 1
42-
Default value: None
40+
Required: False
41+
Position: Named
42+
Default value: False
4343
Accept pipeline input: False
4444
Accept wildcard characters: False
4545
```
4646
47-
### -OfferName
48-
Name of an offer.
47+
### -MaxAcquisitionCount
48+
The maximum acquisition count by subscribers
4949
5050
```yaml
51-
Type: String
51+
Type: Int64
5252
Parameter Sets: (All)
53-
Aliases:
53+
Aliases:
5454

55-
Required: True
56-
Position: 2
57-
Default value: None
55+
Required: False
56+
Position: 5
57+
Default value: 0
5858
Accept pipeline input: False
5959
Accept wildcard characters: False
6060
```
6161
62-
### -ResourceGroupName
63-
The resource group the resource is located under.
62+
### -OfferName
63+
Name of an offer.
6464
6565
```yaml
6666
Type: String
6767
Parameter Sets: (All)
68-
Aliases:
68+
Aliases:
6969

7070
Required: True
71-
Position: 3
71+
Position: 2
7272
Default value: None
7373
Accept pipeline input: False
7474
Accept wildcard characters: False
@@ -80,7 +80,7 @@ Type of the plan link.
8080
```yaml
8181
Type: String
8282
Parameter Sets: (All)
83-
Aliases:
83+
Aliases:
8484

8585
Required: False
8686
Position: 4
@@ -89,44 +89,43 @@ Accept pipeline input: False
8989
Accept wildcard characters: False
9090
```
9191
92-
### -MaxAcquisitionCount
93-
The maximum acquisition count by subscribers
92+
### -PlanName
93+
Name of the plan.
9494
9595
```yaml
96-
Type: Int64
96+
Type: String
9797
Parameter Sets: (All)
98-
Aliases:
98+
Aliases:
9999

100-
Required: False
101-
Position: 5
102-
Default value: 0
100+
Required: True
101+
Position: 1
102+
Default value: None
103103
Accept pipeline input: False
104104
Accept wildcard characters: False
105105
```
106106
107-
### -Force
108-
Flag to remove the item without confirmation.
107+
### -ResourceGroupName
108+
The resource group the resource is located under.
109109
110110
```yaml
111-
Type: SwitchParameter
111+
Type: String
112112
Parameter Sets: (All)
113-
Aliases:
113+
Aliases:
114114

115-
Required: False
116-
Position: Named
117-
Default value: False
115+
Required: True
116+
Position: 3
117+
Default value: None
118118
Accept pipeline input: False
119119
Accept wildcard characters: False
120120
```
121121
122-
### -WhatIf
123-
Shows what would happen if the cmdlet runs.
124-
The cmdlet is not run.
122+
### -Confirm
123+
Prompts you for confirmation before running the cmdlet.
125124
126125
```yaml
127126
Type: SwitchParameter
128127
Parameter Sets: (All)
129-
Aliases: wi
128+
Aliases: cf
130129

131130
Required: False
132131
Position: Named
@@ -135,13 +134,14 @@ Accept pipeline input: False
135134
Accept wildcard characters: False
136135
```
137136
138-
### -Confirm
139-
Prompts you for confirmation before running the cmdlet.
137+
### -WhatIf
138+
Shows what would happen if the cmdlet runs.
139+
The cmdlet is not run.
140140
141141
```yaml
142142
Type: SwitchParameter
143143
Parameter Sets: (All)
144-
Aliases: cf
144+
Aliases: wi
145145

146146
Required: False
147147
Position: Named
@@ -160,3 +160,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
160160
## NOTES
161161
162162
## RELATED LINKS
163+

src/StackAdmin/Azs.Subscriptions.Admin/Help/Azs.Subscriptions.Admin.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Get a list of all AzureStack location.
3030
Get the list of offers as the administrator.
3131

3232
### [Get-AzsOfferDelegation](Get-AzsOfferDelegation.md)
33-
33+
Get the list of delegated offers.
3434

3535
### [Get-AzsOfferMetric](Get-AzsOfferMetric.md)
3636
Get the offer metrics.
@@ -51,7 +51,7 @@ Get the list of subscription resource provider quotas at a location.
5151
Get the list of user subscriptions as administrator.
5252

5353
### [Move-AzsSubscription](Move-AzsSubscription.md)
54-
Moves tenant subscriptions between delegated provider offers.
54+
Move subscriptions between delegated provider offers.
5555

5656
### [New-AddonPlanDefinitionObject](New-AddonPlanDefinitionObject.md)
5757
Contains the name of the desired plan to be linked or unlinked from an offer.
@@ -124,7 +124,7 @@ Updates the specified plan
124124
Updates the specified user subscription
125125

126126
### [Test-AzsMoveSubscription](Test-AzsMoveSubscription.md)
127-
Tests that tenant subscriptions can be moved between delegated provider offers.
127+
Validate that user subscriptions can be moved between delegated provider offers.
128128

129129
### [Test-AzsNameAvailability](Test-AzsNameAvailability.md)
130130
Returns the avaialbility of the specified subscriptions resource type and name

src/StackAdmin/Azs.Subscriptions.Admin/Help/Get-AzsDelegatedProvider.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
external help file: Azs.Subscriptions.Admin-help.xml
33
Module Name: Azs.Subscriptions.Admin
4-
online version:
4+
online version:
55
schema: 2.0.0
66
---
77

@@ -19,22 +19,22 @@ Get-AzsDelegatedProvider [<CommonParameters>]
1919

2020
### Get
2121
```
22-
Get-AzsDelegatedProvider [-DelegatedProviderId] <String> [<CommonParameters>]
22+
Get-AzsDelegatedProvider [-DelegatedProviderId] <Guid> [<CommonParameters>]
2323
```
2424

2525
## DESCRIPTION
2626
Get the list of delegatedProviders.
2727

2828
## EXAMPLES
2929

30-
### EXAMPLE 1
30+
### -------------------------- EXAMPLE 1 --------------------------
3131
```
3232
Get-AzsDelegatedProvider
3333
```
3434

3535
Get a list of delegated providers.
3636

37-
### EXAMPLE 2
37+
### -------------------------- EXAMPLE 2 --------------------------
3838
```
3939
Get-AzsDelegatedProvider -DelegatedProviderId "c90173b1-de7a-4b1d-8600-b832b0e65946"
4040
```
@@ -44,12 +44,12 @@ Get the a specific delegated provider.
4444
## PARAMETERS
4545

4646
### -DelegatedProviderId
47-
Subscription ID of the delegated provider
47+
{{Fill DelegatedProviderId Description}}
4848

4949
```yaml
50-
Type: String
50+
Type: Guid
5151
Parameter Sets: Get
52-
Aliases:
52+
Aliases:
5353

5454
Required: True
5555
Position: 1
@@ -70,3 +70,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
7070
## NOTES
7171
7272
## RELATED LINKS
73+

src/StackAdmin/Azs.Subscriptions.Admin/Help/Get-AzsDelegatedProviderManagedOffer.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
external help file: Azs.Subscriptions.Admin-help.xml
33
Module Name: Azs.Subscriptions.Admin
4-
online version:
4+
online version:
55
schema: 2.0.0
66
---
77

@@ -14,13 +14,13 @@ Get the list of delegated provider offers.
1414

1515
### List (Default)
1616
```
17-
Get-AzsDelegatedProviderManagedOffer -DelegatedProvider <String> [-Skip <Int32>] [-Top <Int32>]
17+
Get-AzsDelegatedProviderManagedOffer -DelegatedProviderId <String> [-Skip <Int32>] [-Top <Int32>]
1818
[<CommonParameters>]
1919
```
2020

2121
### Get
2222
```
23-
Get-AzsDelegatedProviderManagedOffer -DelegatedProvider <String> -Name <String> [<CommonParameters>]
23+
Get-AzsDelegatedProviderManagedOffer -DelegatedProviderId <String> -Name <String> [<CommonParameters>]
2424
```
2525

2626
### ResourceId
@@ -33,7 +33,7 @@ Get the list of delegated provider offers.
3333

3434
## EXAMPLES
3535

36-
### EXAMPLE 1
36+
### -------------------------- EXAMPLE 1 --------------------------
3737
```
3838
Get-AzsDelegatedProviderManagedOffer -DelegatedProvider "c90173b1-de7a-4b1d-8600-b832b0e65946"
3939
```
@@ -42,13 +42,13 @@ Get the list of delegated provider offers.
4242

4343
## PARAMETERS
4444

45-
### -DelegatedProvider
45+
### -DelegatedProviderId
4646
DelegatedProvider identifier.
4747

4848
```yaml
4949
Type: String
5050
Parameter Sets: List, Get
51-
Aliases:
51+
Aliases: DelegatedProvider
5252

5353
Required: True
5454
Position: Named
@@ -63,7 +63,7 @@ Name of an offer.
6363
```yaml
6464
Type: String
6565
Parameter Sets: Get
66-
Aliases:
66+
Aliases:
6767

6868
Required: True
6969
Position: Named
@@ -93,7 +93,7 @@ Skip the first N items as specified by the parameter value.
9393
```yaml
9494
Type: Int32
9595
Parameter Sets: List
96-
Aliases:
96+
Aliases:
9797

9898
Required: False
9999
Position: Named
@@ -109,7 +109,7 @@ Applies after the -Skip parameter.
109109
```yaml
110110
Type: Int32
111111
Parameter Sets: List
112-
Aliases:
112+
Aliases:
113113

114114
Required: False
115115
Position: Named
@@ -130,3 +130,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
130130
## NOTES
131131
132132
## RELATED LINKS
133+

0 commit comments

Comments
 (0)