Azure / Azure/azure-cli

az dataprotection backup-instance create

Open
#18,476 3 comments 0 reactions 1 assignee Claimed by @sambitratha View on GitHub
Data Protection Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### **This is autogenerated. Please review and update as needed.**

## Describe the bug

**Command Name**
`az dataprotection backup-instance create`

**Errors:**
```
No module named 'azure.mgmt.resourcegraph'
Traceback (most recent call last):
python3.8/site-packages/knack/cli.py, ln 231, in invoke
cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 556, in execute
self.commands_loader.load_arguments(command)
azure/cli/core/__init__.py, ln 501, in load_arguments
...
, ln 219, in _call_with_frames_removed
cliextensions/dataprotection/azext_dataprotection/custom.py, ln 20, in
raise e
cliextensions/dataprotection/azext_dataprotection/custom.py, ln 15, in
from .manual.custom import * # noqa: F403
dataprotection/azext_dataprotection/manual/custom.py, ln 17, in
from azure.mgmt.resourcegraph.models import \
ModuleNotFoundError: No module named 'azure.mgmt.resourcegraph'
```

## To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

- _Put any pre-requisite steps here..._
- `az dataprotection backup-instance create -g {} --vault-name {} --backup-instance {}`

## Expected Behavior

## Environment Summary
```
macOS-11.4-x86_64-i386-64bit
Python 3.8.9
Installer: HOMEBREW

azure-cli 2.22.0 *

Extensions:
dataprotection 0.1.0
account 0.2.1

```
## Additional Context

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.