Skip to content

Commit

Permalink
Minor root readme and mgmt quickstart update for Track 2 mgmt sdk (#1…
Browse files Browse the repository at this point in the history
…2112)

* Update mgmt quickstart
  • Loading branch information
nickzhums authored Jun 18, 2020
1 parent d662b54 commit ba70f50
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Last stable versions of packages that have been provided for usage with Azure an

### Management: New Releases
A new set of management libraries that follow the [Azure SDK Design Guidelines for Python](https://azure.github.io/azure-sdk/python/guidelines/) are now in Public Preview. These new libraries provide a number of core capabilities that are shared amongst all Azure SDKs, including the intuitive Azure Identity library, an HTTP Pipeline with custom policies, error-handling, distributed tracing, and much more.
You can find the list of new packages [on this page](https://azure.github.io/azure-sdk/releases/latest/python.html). Documentation and code samples for these new libraries can be found [here](https://azure.github.io/azure-sdk-for-python)
You can find the list of new packages [on this page](https://azure.github.io/azure-sdk/releases/latest/python.html). Documentation and for these new libraries can be found [here](https://azure.github.io/azure-sdk-for-python). Code samples can also be viewed [here](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing)

> NOTE: If you need to ensure your code is ready for production use one of the stable, non-preview libraries.
Expand Down
10 changes: 8 additions & 2 deletions doc/sphinx/mgmt_preview_quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,9 @@ Async and sync operations
-------------------------
In python>=3.5, Azure Python SDK provides the choice for user to use the asynchronous client for asynchronous programming.

**Create Management Client in async**
Note that asyncio in Windows is underpowered and please take caution when using async operations on Windows systems

**Create Async Management Client**
::

from azure.identity.aio import DefaultAzureCredential
Expand All @@ -222,7 +224,7 @@ In python>=3.5, Azure Python SDK provides the choice for user to use the asynchr
subscription_id=SUBSCRIPTION_ID
)

**Create a Network Public IP Address**
**Create a Network Public IP Address Async**
::

GROUP_NAME = "testgroup"
Expand All @@ -244,6 +246,10 @@ In python>=3.5, Azure Python SDK provides the choice for user to use the asynchr
)
public_ip_address = await async_poller.result()
print("Create Public IP Address:\n{}".format(public_ip_address))
Code Samples
-------------------------
For more code samples, please see `here <https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing>`__

Need help?
----------
Expand Down

0 comments on commit ba70f50

Please sign in to comment.