Skip to content

Commit 9543fac

Browse files
committed
fix links
1 parent 45412ff commit 9543fac

13 files changed

Lines changed: 31 additions & 31 deletions

articles/automation/automation-hrw-run-runbooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ There are two ways to use the Managed Identities in Hybrid Runbook Worker script
224224
# [VM's user-assigned managed identity](#tab/ua-mi)
225225
226226
1. [Configure](../active-directory/managed-identities-azure-resources/qs-configure-portal-windows-vmss.md#user-assigned-managed-identity) a User Managed Identity for the VM.
227-
1. Grant this identity the [required permissions](../active-directory/managed-identities-azure-resources/howto-assign-access-portal.md) within the Subscription to perform its tasks.
227+
1. Grant this identity the [required permissions](/entra/identity/managed-identities-azure-resources/manage-user-assigned-managed-identities-azure-portal) within the Subscription to perform its tasks.
228228
1. Update the runbook to use the [Connect-AzAccount](/powershell/module/az.accounts/connect-azaccount) cmdlet with the `Identity ` and `AccountID` parameters to authenticate to Azure resources. This configuration reduces the need to use a Run As account and perform the associated account management.
229229
230230
```powershell

articles/azure-resource-manager/management/lock-resources.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ az lock delete --ids $lockid
478478

479479
### Python
480480

481-
To lock deployed resources with Python, use the [`ManagementLockClient.management_locks.create_or_update_at_resource_group_level`](/python/api/azure-mgmt-resource/azure.mgmt.resource.locks.v2016_09_01.operations.managementlocksoperations#azure-mgmt-resource-locks-v2016-09-01-operations-managementlocksoperations-create-or-update-at-resource-group-level) command.
481+
To lock deployed resources with Python, use the [`ManagementLockClient.management_locks.create_or_update_at_resource_group_level`](/python/api/azure-mgmt-resource-locks/azure.mgmt.resource.locks.operations.managementlocksoperations#azure-mgmt-resource-locks-operations-managementlocksoperations-create-or-update-at-resource-group-level) command.
482482

483483
To lock a resource, provide the resource name, resource type, and resource group name.
484484

@@ -526,7 +526,7 @@ lock_result = lock_client.management_locks.create_or_update_at_resource_group_le
526526
)
527527
```
528528

529-
To get information about all locks in your subscription, use [ManagementLockClient.management_locks.get](/python/api/azure-mgmt-resource/azure.mgmt.resource.locks.v2016_09_01.operations.managementlocksoperations#azure-mgmt-resource-locks-v2016-09-01-operations-managementlocksoperations-list-at-subscription-level).
529+
To get information about all locks in your subscription, use [ManagementLockClient.management_locks.list_at_subscription_level](/python/api/azure-mgmt-resource-locks/azure.mgmt.resource.locks.operations.managementlocksoperations#azure-mgmt-resource-locks-operations-managementlocksoperations-list-at-subscription-level).
530530

531531
To get all the locks in your subscription, use:
532532

articles/azure-resource-manager/management/manage-resource-groups-python.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ The resource group stores metadata about the resources. When you specify a locat
7373

7474
## Create resource groups
7575

76-
To create a resource group, use [ResourceManagementClient.resource_groups.create_or_update](/python/api/azure-mgmt-resource/azure.mgmt.resource.resources.v2022_09_01.operations.resourcegroupsoperations#azure-mgmt-resource-resources-v2022-09-01-operations-resourcegroupsoperations-create-or-update).
76+
To create a resource group, use [ResourceManagementClient.resource_groups.create_or_update](/python/api/azure-mgmt-resource/azure.mgmt.resource.resources.operations.resourcegroupsoperations#azure-mgmt-resource-resources-operations-resourcegroupsoperations-create-or-update).
7777

7878
```python
7979
import os
@@ -97,7 +97,7 @@ print(f"Provisioned resource group with ID: {rg_result.id}")
9797

9898
## List resource groups
9999

100-
To list the resource groups in your subscription, use [ResourceManagementClient.resource_groups.list](/python/api/azure-mgmt-resource/azure.mgmt.resource.resources.v2022_09_01.operations.resourcegroupsoperations#azure-mgmt-resource-resources-v2022-09-01-operations-resourcegroupsoperations-list).
100+
To list the resource groups in your subscription, use [ResourceManagementClient.resource_groups.list](/python/api/azure-mgmt-resource/azure.mgmt.resource.resources.operations.resourcegroupsoperations#azure-mgmt-resource-resources-operations-resourcegroupsoperations-list).
101101

102102
```python
103103
import os
@@ -115,7 +115,7 @@ for rg in rg_list:
115115
print(rg.name)
116116
```
117117

118-
To get one resource group, use [ResourceManagementClient.resource_groups.get](/python/api/azure-mgmt-resource/azure.mgmt.resource.resources.v2022_09_01.operations.resourcegroupsoperations#azure-mgmt-resource-resources-v2022-09-01-operations-resourcegroupsoperations-get) and provide the name of the resource group.
118+
To get one resource group, use [ResourceManagementClient.resource_groups.get](/python/api/azure-mgmt-resource/azure.mgmt.resource.resources.operations.resourcegroupsoperations#azure-mgmt-resource-resources-operations-resourcegroupsoperations-get) and provide the name of the resource group.
119119

120120
```python
121121
import os
@@ -134,7 +134,7 @@ print(f"Retrieved resource group {rg_result.name} in the {rg_result.location} re
134134

135135
## Delete resource groups
136136

137-
To delete a resource group, use [ResourceManagementClient.resource_groups.begin_delete](/python/api/azure-mgmt-resource/azure.mgmt.resource.resources.v2022_09_01.operations.resourcegroupsoperations#azure-mgmt-resource-resources-v2022-09-01-operations-resourcegroupsoperations-begin-delete).
137+
To delete a resource group, use [ResourceManagementClient.resource_groups.begin_delete](/python/api/azure-mgmt-resource/azure.mgmt.resource.resources.operations.resourcegroupsoperations#azure-mgmt-resource-resources-operations-resourcegroupsoperations-begin-delete).
138138

139139
```python
140140
import os
@@ -187,7 +187,7 @@ storage_account_result = storage_client.storage_accounts.begin_create(
187187

188188
### Deploy resources by using an ARM template
189189

190-
To deploy an ARM template, use [ResourceManagementClient.deployments.begin_create_or_update](/python/api/azure-mgmt-resource/azure.mgmt.resource.resources.v2022_09_01.operations.deploymentsoperations#azure-mgmt-resource-resources-v2022-09-01-operations-deploymentsoperations-begin-create-or-update). The following example requires a local template named `storage.json`.
190+
To deploy an ARM template, use [ResourceManagementClient.deployments.begin_create_or_update](/python/api/azure-mgmt-resource-deployments/azure.mgmt.resource.deployments.operations.deploymentsoperations#azure-mgmt-resource-deployments-operations-deploymentsoperations-begin-create-or-update). The following example requires a local template named `storage.json`.
191191

192192
```python
193193
import os
@@ -261,7 +261,7 @@ For more information about deploying an ARM template, see [Deploy resources with
261261

262262
Locking prevents other users in your organization from accidentally deleting or modifying critical resources.
263263

264-
To prevent a resource group and its resources from being deleted, use [ManagementLockClient.management_locks.create_or_update_at_resource_group_level](/python/api/azure-mgmt-resource/azure.mgmt.resource.locks.v2016_09_01.operations.managementlocksoperations#azure-mgmt-resource-locks-v2016-09-01-operations-managementlocksoperations-create-or-update-at-resource-group-level).
264+
To prevent a resource group and its resources from being deleted, use [ManagementLockClient.management_locks.create_or_update_at_resource_group_level](/python/api/azure-mgmt-resource-locks/azure.mgmt.resource.locks.operations.managementlocksoperations#azure-mgmt-resource-locks-operations-managementlocksoperations-create-or-update-at-resource-group-level).
265265

266266
```python
267267
import os
@@ -282,7 +282,7 @@ lock_result = lock_client.management_locks.create_or_update_at_resource_group_le
282282
)
283283
```
284284

285-
To get the locks for a resource group, use [ManagementLockClient.management_locks.list_at_resource_group_level](/python/api/azure-mgmt-resource/azure.mgmt.resource.locks.v2016_09_01.operations.managementlocksoperations#azure-mgmt-resource-locks-v2016-09-01-operations-managementlocksoperations-list-at-resource-group-level).
285+
To get the locks for a resource group, use [ManagementLockClient.management_locks.list_at_resource_group_level](/python/api/azure-mgmt-resource-locks/azure.mgmt.resource.locks.operations.managementlocksoperations#azure-mgmt-resource-locks-operations-managementlocksoperations-list-at-resource-group-level).
286286

287287
```python
288288
import os
@@ -299,7 +299,7 @@ lock_result = lock_client.management_locks.get_at_resource_group_level("exampleG
299299
print(f"Lock {lock_result.name} applies {lock_result.level} lock")
300300
```
301301

302-
To delete a lock on a resource group, use [ManagementLockClient.management_locks.delete_at_resource_group_level](/python/api/azure-mgmt-resource/azure.mgmt.resource.locks.v2016_09_01.operations.managementlocksoperations#azure-mgmt-resource-locks-v2016-09-01-operations-managementlocksoperations-delete-at-resource-group-level).
302+
To delete a lock on a resource group, use [ManagementLockClient.management_locks.delete_at_resource_group_level](/python/api/azure-mgmt-resource-locks/azure.mgmt.resource.locks.operations.managementlocksoperations#azure-mgmt-resource-locks-operations-managementlocksoperations-delete-at-resource-group-level).
303303

304304
```python
305305
import os

articles/azure-resource-manager/management/manage-resources-python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ storage_account_result = storage_client.storage_accounts.begin_create(
4949

5050
### Deploy a template
5151

52-
To deploy an ARM template, use [ResourceManagementClient.deployments.begin_create_or_update](/python/api/azure-mgmt-resource/azure.mgmt.resource.resources.v2022_09_01.operations.deploymentsoperations#azure-mgmt-resource-resources-v2022-09-01-operations-deploymentsoperations-begin-create-or-update). The following example deploys a [remote template](https://github.com/Azure/azure-quickstart-templates/tree/master/quickstarts/microsoft.storage/storage-account-create). That template creates a storage account.
52+
To deploy an ARM template, use [ResourceManagementClient.deployments.begin_create_or_update](/python/api/azure-mgmt-resource-deployments/azure.mgmt.resource.deployments.operations.deploymentsoperations#azure-mgmt-resource-deployments-operations-deploymentsoperations-begin-create-or-update). The following example deploys a [remote template](https://github.com/Azure/azure-quickstart-templates/tree/master/quickstarts/microsoft.storage/storage-account-create). That template creates a storage account.
5353

5454
```python
5555
import os

articles/azure-resource-manager/management/move-resource-group-and-subscription.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ To move to a new subscription, include a value for the `DestinationSubscriptionI
267267

268268
#### Validate
269269

270-
To test your move scenario without actually moving resources in real time, use the [`ResourceManagementClient.resources.begin_validate_move_resources`](/python/api/azure-mgmt-resource/azure.mgmt.resource.resources.v2022_09_01.operations.resourcesoperations#azure-mgmt-resource-resources-v2022-09-01-operations-resourcesoperations-begin-validate-move-resources) method. Use this method only when you need to model the results without following through.
270+
To test your move scenario without actually moving resources in real time, use the [`ResourceManagementClient.resources.begin_validate_move_resources`](/python/api/azure-mgmt-resource/azure.mgmt.resource.resources.operations.resourcesoperations#azure-mgmt-resource-resources-operations-resourcesoperations-begin-validate-move-resources) method. Use this method only when you need to model the results without following through.
271271

272272
```python
273273
import os
@@ -307,7 +307,7 @@ An output doesn't display if the validation succeeds. However, if the validation
307307

308308
#### Move
309309

310-
To move existing resources to another resource group or subscription, use the [`ResourceManagementClient.resources.begin_move_resources`](/python/api/azure-mgmt-resource/azure.mgmt.resource.resources.v2022_09_01.operations.resourcesoperations#azure-mgmt-resource-resources-v2022-09-01-operations-resourcesoperations-begin-move-resources) method in Python. The following example shows how to move several resources to a new resource group.
310+
To move existing resources to another resource group or subscription, use the [`ResourceManagementClient.resources.begin_move_resources`](/python/api/azure-mgmt-resource/azure.mgmt.resource.resources.operations.resourcesoperations#azure-mgmt-resource-resources-operations-resourcesoperations-begin-move-resources) method in Python. The following example shows how to move several resources to a new resource group.
311311

312312
```python
313313
import os

articles/azure-resource-manager/management/tag-resources-python.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ This article describes how to use Python to tag resources, resource groups, and
6666

6767
## Apply tags
6868

69-
Azure Python offers the [ResourceManagementClient.tags.begin_create_or_update_at_scope](/python/api/azure-mgmt-resource/azure.mgmt.resource.resources.v2022_09_01.operations.tagsoperations#azure-mgmt-resource-resources-v2022-09-01-operations-tagsoperations-begin-create-or-update-at-scope) method to apply tags. It replaces all tags on the resource, resource group, or subscription. When you call the command, pass the resource ID of the entity you want to tag.
69+
Azure Python offers the [ResourceManagementClient.tags.begin_create_or_update_at_scope](/python/api/azure-mgmt-resource/azure.mgmt.resource.resources.operations.tagsoperations#azure-mgmt-resource-resources-operations-tagsoperations-begin-create-or-update-at-scope) method to apply tags. It replaces all tags on the resource, resource group, or subscription. When you call the command, pass the resource ID of the entity you want to tag.
7070

7171
The following example applies a set of tags to a storage account:
7272

@@ -112,7 +112,7 @@ tags = {
112112
}
113113
```
114114

115-
To add tags to a resource that already has tags, use [ResourceManagementClient.tags.begin_update_at_scope](/python/api/azure-mgmt-resource/azure.mgmt.resource.resources.v2022_09_01.operations.tagsoperations#azure-mgmt-resource-resources-v2022-09-01-operations-tagsoperations-begin-update-at-scope). On the [TagsPatchResource](/python/api/azure-mgmt-resource/azure.mgmt.resource.resources.v2022_09_01.models.tagspatchresource) object, set the `operation` parameter to `Merge`.
115+
To add tags to a resource that already has tags, use [ResourceManagementClient.tags.begin_update_at_scope](/python/api/azure-mgmt-resource/azure.mgmt.resource.resources.operations.tagsoperations#azure-mgmt-resource-resources-operations-tagsoperations-begin-update-at-scope). On the [TagsPatchResource](/python/api/azure-mgmt-resource/azure.mgmt.resource.resources.models.tagspatchresource) object, set the `operation` parameter to `Merge`.
116116

117117
```python
118118
import os
@@ -349,7 +349,7 @@ for resource in resources:
349349

350350
## List tags
351351

352-
To get the tags for a resource, resource group, or subscription, use the [ResourceManagementClient.tags.get_at_scope](/python/api/azure-mgmt-resource/azure.mgmt.resource.resources.v2022_09_01.operations.tagsoperations#azure-mgmt-resource-resources-v2022-09-01-operations-tagsoperations-get-at-scope) method and pass the resource ID of the entity.
352+
To get the tags for a resource, resource group, or subscription, use the [ResourceManagementClient.tags.get_at_scope](/python/api/azure-mgmt-resource/azure.mgmt.resource.resources.operations.tagsoperations#azure-mgmt-resource-resources-operations-tagsoperations-get-at-scope) method and pass the resource ID of the entity.
353353

354354
To see the tags for a resource, use:
355355

@@ -505,7 +505,7 @@ print(f"Tags {tag_patch_resource.properties.tags} were removed from resource: {r
505505

506506
The specified tags are removed.
507507

508-
To remove all tags, use the [ResourceManagementClient.tags.begin_delete_at_scope](/python/api/azure-mgmt-resource/azure.mgmt.resource.resources.v2022_09_01.operations.tagsoperations#azure-mgmt-resource-resources-v2022-09-01-operations-tagsoperations-begin-delete-at-scope) method.
508+
To remove all tags, use the [ResourceManagementClient.tags.begin_delete_at_scope](/python/api/azure-mgmt-resource/azure.mgmt.resource.resources.operations.tagsoperations#azure-mgmt-resource-resources-operations-tagsoperations-begin-delete-at-scope) method.
509509

510510
```python
511511
import os

0 commit comments

Comments
 (0)