Skip to main content

Microsoft Azure Graphservices Management Client Library for Python

Project description

Microsoft Azure SDK for Python

This is the Microsoft Azure Graphservices Management Client Library. This package has been tested with Python 3.7+. For a more complete view of Azure libraries, see the azure sdk python release.

Disclaimer

Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691

Getting started

Prerequisites

Install the package

pip install azure-mgmt-graphservices
pip install azure-identity

Authentication

By default, Azure Active Directory token authentication depends on correct configure of following environment variables.

  • AZURE_CLIENT_ID for Azure client ID.
  • AZURE_TENANT_ID for Azure tenant ID.
  • AZURE_CLIENT_SECRET for Azure client secret.

In addition, Azure subscription ID can be configured via environment variable AZURE_SUBSCRIPTION_ID.

With above configuration, client can be authenticated by following code:

from azure.identity import DefaultAzureCredential
from azure.mgmt.graphservices import GraphServicesMgmtClient
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = GraphServicesMgmtClient(credential=DefaultAzureCredential(), subscription_id=sub_id)

Examples

Code samples for this package can be found at:

Troubleshooting

Next steps

Provide Feedback

If you encounter any bugs or have suggestions, please file an issue in the Issues section of the project.

Impressions

Release History

1.0.0b1 (2023-03-22)

  • Initial Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

azure-mgmt-graphservices-1.0.0b1.zip (64.9 kB view details)

Uploaded Source

Built Distribution

azure_mgmt_graphservices-1.0.0b1-py3-none-any.whl (56.2 kB view details)

Uploaded Python 3

File details

Details for the file azure-mgmt-graphservices-1.0.0b1.zip.

File metadata

  • Download URL: azure-mgmt-graphservices-1.0.0b1.zip
  • Upload date:
  • Size: 64.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.28.2 setuptools/58.1.0 requests-toolbelt/0.10.1 tqdm/4.65.0 CPython/3.9.16

File hashes

Hashes for azure-mgmt-graphservices-1.0.0b1.zip
Algorithm Hash digest
SHA256 99afa20b8d8ce0576c30b8da6d7e0bac9c4acb2f5951c79a4075c4f262d11033
MD5 51c18c1694a03b0c5fb73f636de98990
BLAKE2b-256 baa7cdfc0b98634d7bf58889ca89ef071bcd31f2ddf9d50e41d317edf6fe1f7c

See more details on using hashes here.

File details

Details for the file azure_mgmt_graphservices-1.0.0b1-py3-none-any.whl.

File metadata

  • Download URL: azure_mgmt_graphservices-1.0.0b1-py3-none-any.whl
  • Upload date:
  • Size: 56.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.28.2 setuptools/58.1.0 requests-toolbelt/0.10.1 tqdm/4.65.0 CPython/3.9.16

File hashes

Hashes for azure_mgmt_graphservices-1.0.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 ab7ed362c498c282ec960c3a01608577f304d59e38515067ff246e9653ac9913
MD5 3376ddffd80a1093dbbbf8d20e23b9da
BLAKE2b-256 26a074e5e45efbe9d68296191f82f66eb3fd5dfdca77d102c27303dd00f2541a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page