Azure / Azure/azure-cli

Support parameter of subscription in resource preparer

Open
#13,110 1 comment 0 reactions 1 assignee Claimed by @qwordy View on GitHub
feature-request Test Framework
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Is your feature request related to a problem? Please describe.**

The tests for a full scenario in datashare need to use at least 2 subscriptions, one for the datashare provider and one for the datashare consumer. Currently all resource preparers can only use the default subscription, so I can only use resource preparers for provider and need to create resources like resource group and storage account manually for consumer.

**Describe the solution you'd like**

Support configuration of the subscription with a parameter in resource preparer for tests, at least in ResourceGroupPreparer and StorageAccountPreparer.

**Describe alternatives you've considered**

**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.