|
| 1 | +# hyperstack.AliveApi |
| 2 | + |
| 3 | +All URIs are relative to *https://infrahub-api.nexgencloud.com/v1* |
| 4 | + |
| 5 | +Method | HTTP request | Description |
| 6 | +------------- | ------------- | ------------- |
| 7 | +[**get_alive**](AliveApi.md#get_alive) | **GET** /billing/alive | GET: Alive |
| 8 | + |
| 9 | + |
| 10 | +# **get_alive** |
| 11 | +> get_alive() |
| 12 | +
|
| 13 | +GET: Alive |
| 14 | + |
| 15 | +### Example |
| 16 | + |
| 17 | + |
| 18 | +```python |
| 19 | +import hyperstack |
| 20 | +from hyperstack.rest import ApiException |
| 21 | +from pprint import pprint |
| 22 | + |
| 23 | +# Defining the host is optional and defaults to https://infrahub-api.nexgencloud.com/v1 |
| 24 | +# See configuration.py for a list of all supported configuration parameters. |
| 25 | +configuration = hyperstack.Configuration( |
| 26 | + host = "https://infrahub-api.nexgencloud.com/v1" |
| 27 | +) |
| 28 | + |
| 29 | + |
| 30 | +# Enter a context with an instance of the API client |
| 31 | +with hyperstack.ApiClient(configuration) as api_client: |
| 32 | + # Create an instance of the API class |
| 33 | + api_instance = hyperstack.AliveApi(api_client) |
| 34 | + |
| 35 | + try: |
| 36 | + # GET: Alive |
| 37 | + api_instance.get_alive() |
| 38 | + except Exception as e: |
| 39 | + print("Exception when calling AliveApi->get_alive: %s\n" % e) |
| 40 | +``` |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | +### Parameters |
| 45 | + |
| 46 | +This endpoint does not need any parameter. |
| 47 | + |
| 48 | +### Return type |
| 49 | + |
| 50 | +void (empty response body) |
| 51 | + |
| 52 | +### Authorization |
| 53 | + |
| 54 | +No authorization required |
| 55 | + |
| 56 | +### HTTP request headers |
| 57 | + |
| 58 | + - **Content-Type**: Not defined |
| 59 | + - **Accept**: Not defined |
| 60 | + |
| 61 | +### HTTP response details |
| 62 | + |
| 63 | +| Status code | Description | Response headers | |
| 64 | +|-------------|-------------|------------------| |
| 65 | +**200** | Success | - | |
| 66 | + |
| 67 | +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) |
| 68 | + |
0 commit comments