| http \
GET \
https://api.example.com/api/azure-resource-groups/ \
Authorization:"Token YOUR_API_TOKEN"
|
| from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.api.azure_resource_groups import azure_resource_groups_list # (1)
client = AuthenticatedClient(
base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
response = azure_resource_groups_list.sync(client=client)
for item in response:
print(item)
|
- API Source:
azure_resource_groups_list
| import { azureResourceGroupsList } from 'waldur-js-client';
try {
const response = await azureResourceGroupsList({
auth: "Token YOUR_API_TOKEN"
});
console.log('Success:', response);
} catch (error) {
console.error('Error:', error);
}
|
| Name |
Type |
Description |
field |
array |
|
page |
integer |
A page number within the paginated result set. |
page_size |
integer |
Number of results to return per page. |
200 -
The response body is an array of objects, where each object has the following structure:
| Field |
Type |
url |
string (uri) |
uuid |
string (uuid) |
name |
string |
description |
string |
service_name |
string |
service_settings |
string (uri) |
service_settings_uuid |
string (uuid) |
service_settings_state |
string |
service_settings_error_message |
string |
project |
string (uri) |
project_name |
string |
project_uuid |
string (uuid) |
customer |
string (uri) |
customer_uuid |
string (uuid) |
customer_name |
string |
customer_native_name |
string |
customer_abbreviation |
string |
error_message |
string |
error_traceback |
string |
resource_type |
string |
state |
any |
created |
string (date-time) |
modified |
string (date-time) |
backend_id |
string |
access_url |
string |
location |
string (uri) |
marketplace_offering_uuid |
string |
marketplace_offering_name |
string |
marketplace_offering_plugin_options |
object (free-form) |
marketplace_category_uuid |
string |
marketplace_category_name |
string |
marketplace_resource_uuid |
string |
marketplace_plan_uuid |
string |
marketplace_resource_state |
string |
is_usage_based |
boolean |
is_limit_based |
boolean |