-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding in some functionality to use different clouds #28528
Conversation
Thank you for your contribution brownma-ms! We will review the pull request and get back to you soon. |
Typo in item 1--SKD not SDK |
This support is needed for the air gapped environments. There are three ways to add a new cloud environment. These were all taken from examples in the v1 sdk. 1) The SDK will look for a default configuration file and try to find cloud environments in there. 2) If you set an environment variable called ARM_METADATA_URL, it will look there for cloud configurations. If you do not set this, it will use a default URL in the _azure_environments.py file to find them. 3) The SDK exposes two new functions, add_cloud which will add the new configuration to the configuration file mentioned in Azure#1, and update_cloud which will update the added configuration.
bea8b06
to
f5657de
Compare
334a0f1
to
c1ccf82
Compare
dc2e596
to
4360dd6
Compare
…sure all endpointurls are registered
…t region but region can be updated with environment variable
@microsoft-github-policy-service agree company="Microsoft" |
a308722
to
fdc9a96
Compare
fdc9a96
to
f94358e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add a sample for using this feature of loading new cloud if possible. It can be part of the following PR.
This support is needed for the air gapped environments. There are three ways to add a new cloud environment. These were all taken from examples in the v1 sdk.
cloud environments in there.
look there for cloud configurations. If you do not set this, it will
use a default URL in the _azure_environments.py file to find them.
configuration to the configuration file mentioned in number 1, and
update_cloud which will update the added configuration.
Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines