Skip to content

Commit be0e33c

Browse files
authored
Resolved problems with urls in help files (#13161)
Co-authored-by: Mike F. Robbins <[email protected]>
1 parent 89ed201 commit be0e33c

File tree

8 files changed

+18
-28
lines changed

8 files changed

+18
-28
lines changed

src/Accounts/Accounts/help/Add-AzEnvironment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ Name Resource Manager Url ActiveDirectory Authority
155155
TestEnvironment TestRMEndpoint TestADEndpoint/
156156
```
157157

158-
In this example, we are discovering a new Azure environment from the https://configuredmetadata.net Uri.
158+
In this example, we are discovering a new Azure environment from the `https://configuredmetadata.net` Uri.
159159

160160
## PARAMETERS
161161

src/KeyVault/KeyVault/help/Remove-AzKeyVaultAccessPolicy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ PS C:\> Remove-AzKeyVaultAccessPolicy -VaultName 'Contoso03Vault' -ServicePrinci
159159
```
160160

161161
This command removes all the permissions that an application has on the key vault named Contoso03Vault.
162-
This example identifies the application by using the service principal name registered in Azure Active Directory, http://payroll.contoso.com.
162+
This example identifies the application by using the service principal name registered in Azure Active Directory, `http://payroll.contoso.com`.
163163

164164
### Example 3: Remove permissions for an application by using its object ID
165165
```powershell

src/KeyVault/KeyVault/help/Set-AzKeyVaultAccessPolicy.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,12 @@ Set-AzKeyVaultAccessPolicy [-ResourceId] <String> [-EnabledForDeployment] [-Enab
131131
## DESCRIPTION
132132
The **Set-AzKeyVaultAccessPolicy** cmdlet grants or modifies existing permissions for a user, application, or security group to perform the specified operations with a key vault. It does not modify the permissions that other users, applications, or security groups have on the key vault.
133133
If you are setting permissions for a security group, this operation affects only users in that security group.
134-
The following directories must all be the same Azure directory:
134+
The following directories must all be the same Azure directory:
135135
- The default directory of the Azure subscription in which the key vault resides.
136136
- The Azure directory that contains the user or application group that you are granting permissions to.
137-
Examples of scenarios when these conditions are not met and this cmdlet will not work are:
137+
Examples of scenarios when these conditions are not met and this cmdlet will not work are:
138138
- Authorizing a user from a different organization to manage your key vault.
139-
Each organization has its own directory.
139+
Each organization has its own directory.
140140
- Your Azure account has multiple directories.
141141
If you register an application in a directory other than the default directory, you cannot authorize that application to use your key vault.
142142
The application must be in the default directory.
@@ -230,16 +230,16 @@ Tags :
230230

231231
The first command grants permissions for a user in your Azure Active Directory, [email protected], to perform operations on keys and secrets with a key vault named Contoso03Vault. The *PassThru* parameter results in the updated object being returned by the cmdlet.
232232
The second command modifies the permissions that were granted to [email protected] in the first command, to now allow getting secrets in addition to setting and deleting them. The permissions to key operations remain unchanged after this command.
233-
The final command further modifies the existing permissions for [email protected] to remove all permissions to key operations. The permissions to secret operations remain unchanged after this command.
233+
The final command further modifies the existing permissions for [email protected] to remove all permissions to key operations. The permissions to secret operations remain unchanged after this command.
234234

235235
### Example 2: Grant permissions for an application service principal to read and write secrets
236236
```powershell
237237
PS C:\> Set-AzKeyVaultAccessPolicy -VaultName 'Contoso03Vault' -ServicePrincipalName 'http://payroll.contoso.com' -PermissionsToSecrets Get,Set
238238
```
239239

240-
This command grants permissions for an application for a key vault named Contoso03Vault.
240+
This command grants permissions for an application for a key vault named Contoso03Vault.
241241
The *ServicePrincipalName* parameter specifies the application. The application must be registered in your Azure Active Directory. The value of the *ServicePrincipalName* parameter must be either the service principal name of the application or the application ID GUID.
242-
This example specifies the service principal name http://payroll.contoso.com, and the command grants the application permissions to read and write secrets.
242+
This example specifies the service principal name `http://payroll.contoso.com`, and the command grants the application permissions to read and write secrets.
243243

244244
### Example 3: Grant permissions for an application using its object ID
245245
```powershell

src/Resources/Resources/help/Get-AzResource.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
354354

355355
## RELATED LINKS
356356

357-
[Find-AzResource](./Find-AzResource.md)
358-
359357
[Move-AzResource](./Move-AzResource.md)
360358

361359
[New-AzResource](./New-AzResource.md)

src/Resources/Resources/help/Move-AzResource.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
191191

192192
## RELATED LINKS
193193

194-
[Find-AzResource](./Find-AzResource.md)
195-
196194
[Get-AzResource](./Get-AzResource.md)
197195

198196
[New-AzResource](./New-AzResource.md)

src/Resources/Resources/help/New-AzResource.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ This command creates a resource that is a website in ResourceGroup11.
5454
### Example 2: Create a resource using splatting
5555
```
5656
PS> $prop = @{
57-
Location = "West US"
58-
Properties = @{test = "test"}
59-
ResourceName = "TestSite06"
60-
ResourceType = "microsoft.web/sites"
61-
ResourceGroupName = "ResourceGroup11"
57+
Location = "West US"
58+
Properties = @{test = "test"}
59+
ResourceName = "TestSite06"
60+
ResourceType = "microsoft.web/sites"
61+
ResourceGroupName = "ResourceGroup11"
6262
Force = $true
6363
}
6464
@@ -431,8 +431,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
431431

432432
## RELATED LINKS
433433

434-
[Find-AzResource](./Find-AzResource.md)
435-
436434
[Get-AzResource](./Get-AzResource.md)
437435

438436
[Move-AzResource](./Move-AzResource.md)

src/Resources/Resources/help/Remove-AzResource.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Accept wildcard characters: False
9999
100100
### -ExtensionResourceName
101101
Specifies the name of an extension resource of the resource that this cmdlet removes.
102-
For instance, to specify a database, use the following format:
102+
For instance, to specify a database, use the following format:
103103
server name`/`database name
104104

105105
```yaml
@@ -117,7 +117,7 @@ Accept wildcard characters: False
117117
### -ExtensionResourceType
118118
Specifies the resource type for an extension resource.
119119
Specifies the extension resource type for the resource.
120-
For instance:
120+
For instance:
121121
`Microsoft.Sql/Servers/Databases`
122122

123123
```yaml
@@ -195,7 +195,7 @@ Accept wildcard characters: False
195195

196196
### -ResourceId
197197
Specifies the fully qualified resource ID of the resource that this cmdlet removes.
198-
The ID includes the subscription, as in the following example:
198+
The ID includes the subscription, as in the following example:
199199
`/subscriptions/`subscription ID`/providers/Microsoft.Sql/servers/ContosoServer/databases/ContosoDatabase`
200200

201201
```yaml
@@ -212,7 +212,7 @@ Accept wildcard characters: False
212212

213213
### -ResourceName
214214
Specifies the name of the resource that this cmdlet removes.
215-
For instance, to specify a database, use the following format:
215+
For instance, to specify a database, use the following format:
216216
`ContosoServer/ContosoDatabase`
217217

218218
```yaml
@@ -229,7 +229,7 @@ Accept wildcard characters: False
229229

230230
### -ResourceType
231231
Specifies the type of the resource that this cmdlet removes.
232-
For instance, for a database, the resource type is as follows:
232+
For instance, for a database, the resource type is as follows:
233233
`Microsoft.Sql/Servers/Databases`
234234

235235
```yaml
@@ -305,8 +305,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
305305

306306
## RELATED LINKS
307307

308-
[Find-AzResource](./Find-AzResource.md)
309-
310308
[Get-AzResource](./Get-AzResource.md)
311309

312310
[Move-AzResource](./Move-AzResource.md)

src/Resources/Resources/help/Set-AzResource.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -464,8 +464,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
464464

465465
## RELATED LINKS
466466

467-
[Find-AzResource](./Find-AzResource.md)
468-
469467
[Get-AzResource](./Get-AzResource.md)
470468

471469
[Move-AzResource](./Move-AzResource.md)

0 commit comments

Comments
 (0)