github.com/spinnaker/spin@v1.30.0/gateapi/docs/SubnetControllerApi.md (about) 1 # \SubnetControllerApi 2 3 All URIs are relative to *https://localhost* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**AllByCloudProviderUsingGET1**](SubnetControllerApi.md#AllByCloudProviderUsingGET1) | **Get** /subnets/{cloudProvider} | Retrieve a list of subnets for a given cloud provider 8 9 10 # **AllByCloudProviderUsingGET1** 11 > []interface{} AllByCloudProviderUsingGET1(ctx, cloudProvider) 12 Retrieve a list of subnets for a given cloud provider 13 14 ### Required Parameters 15 16 Name | Type | Description | Notes 17 ------------- | ------------- | ------------- | ------------- 18 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 19 **cloudProvider** | **string**| cloudProvider | 20 21 ### Return type 22 23 [**[]interface{}**](interface{}.md) 24 25 ### Authorization 26 27 No authorization required 28 29 ### HTTP request headers 30 31 - **Content-Type**: Not defined 32 - **Accept**: */* 33 34 [[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) 35