Metadata-Version: 2.1
Name: llamazure.tools
Version: 0.2.1
Summary: A bundle of helpful tools for dealing with Azure
Author: Daniel Goldman
License: Round Robin 2.0.0
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Utilities
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: azure-identity<2.0.0,>=1.4.0
Requires-Dist: click~=8.0
Requires-Dist: llamazure.azrest~=0.4.0
Requires-Dist: llamazure.rid~=0.1.0

# llamazure.tools

A bundle of helpful tools for dealing with Azure

## llamazure.tools.migrate

Migrate some azure objects

### Usage

#### Migrate the Workspace of a Dashboard

```bash
pants run llamazure/tools/migrate/__main__.py -- dashboard --resource-id '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-dashboards/providers/Microsoft.Portal/dashboards/00000000-0000-0000-0000-000000000001' --replacements '{"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-dashboards/providers/Microsoft.OperationalInsights/workspaces/test-0":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-dashboards/providers/Microsoft.OperationalInsights/workspaces/test-1"}' --backup-directory '/tmp/o'
```

#### Migrate the Workspace of a Workbook

```bash
pants run llamazure/tools/migrate/__main__.py -- workbook --resource-id '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-dashboards/providers/microsoft.insights/workbooks/00000000-0000-0000-0000-000000000001' --replacements '{"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-dashboards/providers/Microsoft.OperationalInsights/workspaces/test-0":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-dashboards/providers/Microsoft.OperationalInsights/workspaces/test-1"}' --backup-directory '/tmp/o'
```
