Skip to main content

Azure IP Ranges and Service Tags - Public Cloud

Project description

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.9+

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

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

openapiazureipranges-1.0.0.tar.gz (23.4 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.0.0-py3-none-any.whl (27.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: openapiazureipranges-1.0.0.tar.gz
  • Upload date:
  • Size: 23.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for openapiazureipranges-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3c24cfa9fb23784b3e70c3fa3e2bb966c78164e58aaddfee56e0eb776bd82194
MD5 e0aebe048ddf5c6c810d4fa6483a2b72
BLAKE2b-256 17875edeafcb2f3ab0f54cf0695f21fde5456dd8ee88a2e09f2d5d50c15289dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for openapiazureipranges-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 77f3e2c91096a2cbb53f460c345ab5ff3aa6d16768754120d4feca7ef938bfe6
MD5 1aacb10cac2c28ef0f1534d5e80cfb27
BLAKE2b-256 de0cc21d6af559ea782508d17cc3d964324bcfdc5ca20ea395d8ca3dbb48d446

See more details on using hashes here.

Supported by

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