List and filter on Child Account.
NOTE: Parent/Child related features may not be generally available.
Field | Type | Required | Description |
---|---|---|---|
api_token |
str |
Required | The Linode account personal access token. It is necessary to run the module. It can be exposed by the environment variable LINODE_API_TOKEN instead. See details in Usage. |
- name: List all of the Child Accounts under the current Account
linode.cloud.child_account_list: {}
Field | Type | Required | Description |
---|---|---|---|
order |
str |
Optional | The order to list Child Account in. (Choices: desc , asc ; Default: asc ) |
order_by |
str |
Optional | The attribute to order Child Account by. |
filters (sub-options) |
list |
Optional | A list of filters to apply to the resulting Child Account. |
count |
int |
Optional | The number of Child Account to return. If undefined, all results will be returned. |
Field | Type | Required | Description |
---|---|---|---|
name |
str |
Required | The name of the field to filter on. Valid filterable fields can be found here. |
values |
list |
Required | A list of values to allow for this field. Fields will pass this filter if at least one of these values matches. |
-
child_accounts
- The returned Child Account.- Sample Response:
{ "active_since": "2018-01-01T00:01:01", "address_1": "123 Main Street", "address_2": "Suite A", "balance": 200, "balance_uninvoiced": 145, "billing_source": "external", "capabilities": [ "Linodes", "NodeBalancers", "Block Storage", "Object Storage" ], "city": "Philadelphia", "company": "Linode LLC", "country": "US", "credit_card": { "expiry": "11/2022", "last_four": 1111 }, "email": "john.smith@linode.com", "euuid": "E1AF5EEC-526F-487D-B317EBEB34C87D71", "first_name": "John", "last_name": "Smith", "phone": "215-555-1212", "state": "PA", "tax_id": "ATU99999999", "zip": "19102-1234" }
- See the Linode API response documentation for a list of returned fields
- Sample Response: