Skip to main content

openapiazureipranges

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

This Python package is automatically generated by the OpenAPI Generator project:

Requirements.

Python 3.10+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/oapicf/openapi-azureipranges.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/oapicf/openapi-azureipranges.git)

Then import the package:

import openapiazureipranges

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import openapiazureipranges

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import openapiazureipranges
from openapiazureipranges.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://download.microsoft.com/download/7/1/d/71d86715-5596-4529-9b13-da13a5de5b63
# See configuration.py for a list of all supported configuration parameters.
configuration = openapiazureipranges.Configuration(
    host = "https://download.microsoft.com/download/7/1/d/71d86715-5596-4529-9b13-da13a5de5b63"
)



# Enter a context with an instance of the API client
with openapiazureipranges.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = openapiazureipranges.DefaultApi(api_client)
    version = 'version_example' # str | The version of the JSON file to be retrieved in the format YYYYMMDD, e.g. 20240506

    try:
        # Get Azure IP Ranges and Service Tags - Public Cloud
        api_response = api_instance.get_azure_ip_ranges_service_tags_public_cloud(version)
        print("The response of DefaultApi->get_azure_ip_ranges_service_tags_public_cloud:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DefaultApi->get_azure_ip_ranges_service_tags_public_cloud: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://download.microsoft.com/download/7/1/d/71d86715-5596-4529-9b13-da13a5de5b63

Class Method HTTP request Description
DefaultApi get_azure_ip_ranges_service_tags_public_cloud GET /ServiceTags_Public_{version}.json Get Azure IP Ranges and Service Tags - Public Cloud

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

blah+oapicf@cliffano.com

Download files

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

Source Distribution

openapiazureipranges-1.1.0.tar.gz (24.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openapiazureipranges-1.1.0-py3-none-any.whl (28.5 kB view details)

Uploaded Python 3

File details

Details for the file openapiazureipranges-1.1.0.tar.gz.

File metadata

  • Download URL: openapiazureipranges-1.1.0.tar.gz
  • Upload date:
  • Size: 24.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.14.4

File hashes

Hashes for openapiazureipranges-1.1.0.tar.gz
Algorithm Hash digest
SHA256 c413f6725c85495e6c205c5b4bbfa5dd2ab46920b98b979e5e0c0e77ea7fdb68
MD5 aab20041355863731be52b7246962ddb
BLAKE2b-256 4c4cc7bfab8fe9d89c1beaebd63f9efd2779fa0f62ebaa0eb6af9332546b0f6c

See more details on using hashes here.

File details

Details for the file openapiazureipranges-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for openapiazureipranges-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0b5a91db8945b1a4e2359d1eb2c5506adfd4abb7c0836e932b9cc811be33384a
MD5 a273e96585a2a1227f604e9ced4ac61e
BLAKE2b-256 5b2f92656cf357dc798091051e8d9d44e93e6913ad3a2a3fcf5b6964465ea9d3

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 files

1.0.0

2 files

0.10.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page