@@ -14,15 +14,15 @@ Creates or updates a registration definition.
14
14
15
15
### Default (Default)
16
16
```
17
- New-AzManagedServicesDefinition -Name <String> -ManagedByTenantId <String>
18
- -PrincipalId <String> -RoleDefinitionId <String> [-Description <String>] [-AsJob]
17
+ New-AzManagedServicesDefinition -DisplayName <String> -ManagedByTenantId <String>
18
+ -PrincipalId <String> -RoleDefinitionId <String> [-Name <String>] [- Description <String>] [-AsJob]
19
19
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
20
20
```
21
21
22
22
### ByPlan
23
23
```
24
- New-AzManagedServicesDefinition -Name <String> -ManagedByTenantId <String>
25
- -PrincipalId <String> -RoleDefinitionId <String> [-Description <String>] -PlanName <String>
24
+ New-AzManagedServicesDefinition -DisplayName <String> -ManagedByTenantId <String>
25
+ -PrincipalId <String> -RoleDefinitionId <String> [-Name <String>] [- Description <String>] -PlanName <String>
26
26
-PlanPublisher <String> -PlanProduct <String> -PlanVersion <String> [-AsJob]
27
27
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
28
28
```
@@ -34,7 +34,7 @@ Creates or updates a registration definition.
34
34
35
35
### Example 1
36
36
``` powershell
37
- PS C:\> PS C:\> New-AzManagedServicesDefinition -Name name -ManagedByTenantId bab3375b-6197-4a15-a44b-16c41faa91d7 -PrincipalId d6f6c88a-5b7a-455e-ba40-ce146d4d3671 -RoleDefinitionId acdd72a7-3385-48ef-bd42-f606fba81ae7 -Description mydef
37
+ PS C:\> PS C:\> New-AzManagedServicesDefinition -DisplayName MyRegistrationDefinition -ManagedByTenantId bab3375b-6197-4a15-a44b-16c41faa91d7 -PrincipalId d6f6c88a-5b7a-455e-ba40-ce146d4d3671 -RoleDefinitionId acdd72a7-3385-48ef-bd42-f606fba81ae7 -Description mydef
38
38
39
39
Name ManagedByTenantId PrincipalId RoleDefinitionId
40
40
---- ----------------- ----------- ----------------
@@ -45,7 +45,7 @@ Creates or updates a registration definition given the required parameters.
45
45
46
46
### Example 2
47
47
``` powershell
48
- PS C> New-AzManagedServicesDefinition -Name asd -ManagedByTenantId "bab3375b-6197-4a15-a44b-16c41faa91d7" -PrincipalId "d6f6c88a-5b7a-455e-ba40-ce146d4d3671" -RoleDefinitionId "acdd72a7-3385-48ef-bd42-f606fba81ae7" -PlanName plan -PlanPublisher publisher -PlanProduct product -PlanVersion 0.1
48
+ PS C> New-AzManagedServicesDefinition -DisplayName asd -ManagedByTenantId "bab3375b-6197-4a15-a44b-16c41faa91d7" -PrincipalId "d6f6c88a-5b7a-455e-ba40-ce146d4d3671" -RoleDefinitionId "acdd72a7-3385-48ef-bd42-f606fba81ae7" -PlanName plan -PlanPublisher publisher -PlanProduct product -PlanVersion 0.1
49
49
50
50
Name ManagedByTenantId PrincipalId RoleDefinitionId
51
51
---- ----------------- ----------- ----------------
@@ -101,6 +101,21 @@ Accept pipeline input: False
101
101
Accept wildcard characters : False
102
102
` ` `
103
103
104
+ ### -DisplayName
105
+ The display name of the Registration Definition.
106
+
107
+ ` ` ` yaml
108
+ Type : System.String
109
+ Parameter Sets : (All)
110
+ Aliases :
111
+
112
+ Required : True
113
+ Position : Named
114
+ Default value : None
115
+ Accept pipeline input : False
116
+ Accept wildcard characters : False
117
+ ` ` `
118
+
104
119
### -ManagedByTenantId
105
120
The ManagedBy Tenant Identifier.
106
121
@@ -116,23 +131,23 @@ Accept pipeline input: False
116
131
Accept wildcard characters : False
117
132
` ` `
118
133
119
- ### -PlanName
120
- The name of the plan .
134
+ ### -Name
135
+ The unique name of the Registration Definition (for example b0c052e5-c437-4771-a476-8b1201158a57) .
121
136
122
137
` ` ` yaml
123
138
Type : System.String
124
- Parameter Sets : ByPlan
139
+ Parameter Sets : (All)
125
140
Aliases :
126
141
127
- Required : True
142
+ Required : False
128
143
Position : Named
129
144
Default value : None
130
145
Accept pipeline input : False
131
146
Accept wildcard characters : False
132
147
` ` `
133
148
134
- ### -PlanProduct
135
- The name of the Product .
149
+ ### -PlanName
150
+ The name of the plan .
136
151
137
152
` ` ` yaml
138
153
Type : System.String
@@ -146,8 +161,8 @@ Accept pipeline input: False
146
161
Accept wildcard characters : False
147
162
` ` `
148
163
149
- ### -PlanPublisher
150
- The name of the Publisher .
164
+ ### -PlanProduct
165
+ The name of the Product .
151
166
152
167
` ` ` yaml
153
168
Type : System.String
@@ -161,8 +176,8 @@ Accept pipeline input: False
161
176
Accept wildcard characters : False
162
177
` ` `
163
178
164
- ### -PlanVersion
165
- The version number of the plan .
179
+ ### -PlanPublisher
180
+ The name of the Publisher .
166
181
167
182
` ` ` yaml
168
183
Type : System.String
@@ -176,12 +191,12 @@ Accept pipeline input: False
176
191
Accept wildcard characters : False
177
192
` ` `
178
193
179
- ### -PrincipalId
180
- The ManagedBy Principal Identifier .
194
+ ### -PlanVersion
195
+ The version number of the plan .
181
196
182
197
` ` ` yaml
183
198
Type : System.String
184
- Parameter Sets : (All)
199
+ Parameter Sets : ByPlan
185
200
Aliases :
186
201
187
202
Required : True
@@ -191,8 +206,8 @@ Accept pipeline input: False
191
206
Accept wildcard characters : False
192
207
` ` `
193
208
194
- ### -RegistrationDefinitionName
195
- The name of the Registration Definition .
209
+ ### -PrincipalId
210
+ The ManagedBy Principal Identifier .
196
211
197
212
` ` ` yaml
198
213
Type : System.String
0 commit comments