Skip to content

Commit 1be2ebe

Browse files
author
Graham Priestley
authored
Merge pull request MicrosoftDocs#252 from Azure/Graham71046
Bug 71046 - ver 3.7
2 parents 35d7d2e + 88d8b93 commit 1be2ebe

File tree

7 files changed

+94
-120
lines changed

7 files changed

+94
-120
lines changed

azureps-cmdlets-docs/ResourceManager/AzureRM.Resources/v3.7.0/Get-AzureRmRoleDefinition.md

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -31,35 +31,34 @@ Get-AzureRmRoleDefinition [-Scope <String>] [-Custom] [-AtScopeAndBelow]
3131
```
3232

3333
## DESCRIPTION
34-
Use the Get-AzureRmRoleDefinition command with a particular role name to view its details.
34+
The **Get-AzureRmRoleDefinition** cmdlet gets all Azure role-based access control (RBAC) roles that are available for assignment.
3535
To inspect individual operations that a role grants access to, review the Actions and NotActions properties of the role.
3636

3737
## EXAMPLES
3838

39-
### Example 1:
39+
### Example 1: Get a reader role definition
4040

4141

4242
```
43-
PS C:\> Get-AzureRmRoleDefinition -Name Reader
43+
PS C:\> Get-AzureRmRoleDefinition -Name "Reader01"
4444
```
4545

46-
Get the Reader role definition
46+
This command gets the reader role definition from the reader named Reader01.
4747

48-
### Example 2:
48+
### Example 2: Get all RBAC role definitions
4949

5050

5151
```
5252
PS C:\> Get-AzureRmRoleDefinition
5353
```
5454

55-
Lists all RBAC role definitions
55+
This command lists all RBAC role definitions.
5656

5757
## PARAMETERS
5858

5959
### -Name
60-
Role definition name.
61-
For e.g.
62-
Reader, Contributor, Virtual Machine Contributor.
60+
Specifies the name of the role definition.
61+
For instance, Reader, Contributor, Virtual Machine Contributor.
6362

6463
```yaml
6564
Type: String
@@ -74,7 +73,7 @@ Accept wildcard characters: False
7473
```
7574
7675
### -Scope
77-
Role definition scope.
76+
Specifies the scope of the role definition.
7877
7978
```yaml
8079
Type: String
@@ -89,7 +88,7 @@ Accept wildcard characters: False
8988
```
9089
9190
### -AtScopeAndBelow
92-
If specified, displays all role definitions.
91+
Indicates that the cmdlet displays all role definitions.
9392
9493
```yaml
9594
Type: SwitchParameter
@@ -143,7 +142,7 @@ Accept wildcard characters: False
143142
```
144143
145144
### -Id
146-
Role definition Id.
145+
Specifies the ID of the role definition.
147146
148147
```yaml
149148
Type: Guid
@@ -158,7 +157,7 @@ Accept wildcard characters: False
158157
```
159158
160159
### -Custom
161-
If specified, only displays the custom created roles in the directory.
160+
Indicates that the cmdlet displays only the custom created roles in the directory.
162161
163162
```yaml
164163
Type: SwitchParameter
@@ -181,11 +180,10 @@ Keywords: azure, azurerm, arm, resource, management, manager, resource, group, t
181180
182181
## RELATED LINKS
183182
184-
[New-AzureRmRoleAssignment]()
183+
[Get-AzureRmRoleAssignment](./Get-AzureRmRoleAssignment.md)
185184
186-
[Get-AzureRmRoleAssignment]()
185+
[New-AzureRmRoleAssignment](./New-AzureRmRoleAssignment.md)
187186
188-
[New-AzureRmRoleDefinition]()
189-
190-
[Remove-AzureRmRoleDefinition]()
187+
[New-AzureRmRoleDefinition](./New-AzureRmRoleDefinition.md)
191188
189+
[Remove-AzureRmRoleDefinition](./Remove-AzureRmRoleDefinition.md)

azureps-cmdlets-docs/ResourceManager/AzureRM.Resources/v3.7.0/Invoke-AzureRmResourceAction.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,6 @@ To get a list of supported actions, use the Azure Resource Explorer tool.
4444

4545
## EXAMPLES
4646

47-
### 1:
48-
```
49-
50-
```
51-
5247
## PARAMETERS
5348

5449
### -Parameters
@@ -343,4 +338,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
343338
## NOTES
344339

345340
## RELATED LINKS
346-

azureps-cmdlets-docs/ResourceManager/AzureRM.Resources/v3.7.0/Move-AzureRmResource.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ PS C:\> $Resource = Get-AzureRmResource -ResourceType "Microsoft.ClassicCompute/
3030
PS C:\> Move-AzureRmResource -ResourceId $Resource.ResourceId -DestinationResourceGroupName "ResourceGroup14"
3131
```
3232

33-
The first command gets a resource named ContosoStorageAccount by using the Get-AzureRmResource cmdlet, and then stores that resource in the $Resource variable.
33+
The first command gets a resource named ContosoStorageAccount by using the [Get-AzureRmResource](./Get-AzureRmResource.md) cmdlet, and then stores that resource in the $Resource variable.
3434

3535
The second command moves that resource into the resource group named ResourceGroup14.
3636
The command identifies the resource to move by using the **ResourceId** property of $Resource.
@@ -53,7 +53,7 @@ Accept wildcard characters: False
5353
```
5454
5555
### -DestinationSubscriptionId
56-
Specifies the ID of the subscription into which this cmdlet moves resources .
56+
Specifies the ID of the subscription into which this cmdlet moves resources.
5757
5858
```yaml
5959
Type: Guid
@@ -218,5 +218,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
218218
[Remove-AzureRmResource](./Remove-AzureRmResource.md)
219219
220220
[Set-AzureRmResource](./Set-AzureRmResource.md)
221-
222-

azureps-cmdlets-docs/ResourceManager/AzureRM.Resources/v3.7.0/New-AzureRmADAppCredential.md

Lines changed: 19 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -39,22 +39,22 @@ New-AzureRmADAppCredential -ApplicationId <String> -Password <String> [-StartDat
3939
```
4040

4141
## DESCRIPTION
42-
The New-AzureRmADAppCredential cmdlet can be used to add a new credential or to roll credentials for an application.
43-
The application is identified by supplying either the application object id or application Id.
42+
The **New-AzureRmADAppCredential** cmdlet can be used to add a new credential or to roll credentials for an application.
43+
The application is identified by supplying either the application object ID or application ID.
4444

4545
## EXAMPLES
4646

47-
### Example 1:
47+
### Example 1: Add a new password credential to an existing application
4848

4949

5050
```
5151
PS C:\> New-AzureRmADAppCredential -ObjectId 1f89cf81-0146-4f4e-beae-2007d0668416 -Password P@ssw0rd!
5252
```
5353

54-
A new password credential is added to an existing application.
55-
In this example, the supplied password value is added to the application using the application object id.
54+
This command adds a new password credential to an existing application.
55+
In this example, the supplied password value is added to the application using the application object ID.
5656

57-
### Example 2:
57+
### Example 2: Add a new key credential to an existing application
5858

5959

6060
```
@@ -69,20 +69,13 @@ $credValue = [System.Convert]::ToBase64String($binCert)
6969
PS C:\> New-AzureRmADAppCredential -ApplicationId 4589cd6b-3d79-4bb4-93b8-a0b99f3bfc58 -CertValue $credValue -StartDate $cer.GetEffectiveDateString() -EndDate $cer.GetExpirationDateString()
7070
```
7171

72-
A new key credential is added to an existing application.
73-
In this example, the supplied base64 encoded public X509 certificate ("myapp.cer") is added to the application using the applicationId.
74-
75-
### -------------------------- Example 3 --------------------------
76-
77-
78-
```
79-
PS C:\> New-AzureRmADAppCredential -ApplicationId 4589cd6b-3d79-4bb4-93b8-a0b99f3bfc58 -CertValue $credValue
80-
```
72+
This example adds a new key credential to an existing application.
73+
In this example, the supplied base64 encoded public X509 certificate ("myapp.cer") is added to the application using the application ID.
8174

8275
## PARAMETERS
8376

8477
### -ObjectId
85-
The object id of the application to add the credentials to.
78+
Specifies the object ID of the application that this cmdlet adds the credentials to.
8679

8780
```yaml
8881
Type: String
@@ -97,7 +90,7 @@ Accept wildcard characters: False
9790
```
9891
9992
### -Password
100-
The password to be associated with the application.
93+
Specifies the password to be associated with the application.
10194
10295
```yaml
10396
Type: String
@@ -112,7 +105,7 @@ Accept wildcard characters: False
112105
```
113106
114107
### -StartDate
115-
The effective start date of the credential usage.
108+
Specifies the effective start date of the credential usage.
116109
The default start date value is today.
117110
For an "asymmetric" type credential, this must be set to on or after the date that the X509 certificate is valid from.
118111
@@ -129,7 +122,7 @@ Accept wildcard characters: False
129122
```
130123
131124
### -EndDate
132-
The effective end date of the credential usage.
125+
Specifies the effective end date of the credential usage.
133126
The default end date value is one year from today.
134127
For an "asymmetric" type credential, this must be set to on or before the date that the X509 certificate is valid.
135128
@@ -185,7 +178,8 @@ Accept wildcard characters: False
185178
```
186179
187180
### -WhatIf
188-
181+
Shows what would happen if the cmdlet runs.
182+
The cmdlet is not run.
189183
190184
```yaml
191185
Type: SwitchParameter
@@ -215,7 +209,7 @@ Accept wildcard characters: False
215209
```
216210
217211
### -CertValue
218-
The value of the "asymmetric" credential type.
212+
Specifies the value of the "asymmetric" credential type.
219213
It represents the base 64 encoded certificate.
220214
221215
```yaml
@@ -231,7 +225,7 @@ Accept wildcard characters: False
231225
```
232226
233227
### -ApplicationId
234-
The id of the application to add the credentials to.
228+
Specifies the ID of the application that this cmdlet adds the credentials to.
235229
236230
```yaml
237231
Type: String
@@ -253,9 +247,8 @@ Accept wildcard characters: False
253247
254248
## RELATED LINKS
255249
256-
[Get-AzureRmADAppCredential]()
257-
258-
[Remove-AzureRmADAppCredential]()
250+
[Get-AzureRmADAppCredential](./Get-AzureRmADAppCredential.md)
259251
260-
[Get-AzureRmADApplication]()
252+
[Remove-AzureRmADAppCredential](./Remove-AzureRmADAppCredential.md)
261253
254+
[Get-AzureRmADApplication](./Get-AzureRmADApplication.md)

0 commit comments

Comments
 (0)