FlowLogsApi
Method
HTTP request
Description
datacenters_servers_nics_flowlogs_delete
Examples
require 'time'
require 'ionoscloud'
# setup authorization
Ionoscloud.configure do |config|
# Configure HTTP basic authorization: Basic Authentication
config.username = 'YOUR USERNAME'
config.password = 'YOUR PASSWORD'
# Configure API key authorization: Token Authentication
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = Ionoscloud::FlowLogsApi.new
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
server_id = 'server_id_example' # String | The unique ID of the server.
nic_id = 'nic_id_example' # String | The unique ID of the NIC.
flowlog_id = 'flowlog_id_example' # String | The unique ID of the Flow Log.
opts = {
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
depth: 56 # Integer | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
}
begin
# Delete Flow Logs
api_instance.datacenters_servers_nics_flowlogs_delete(datacenter_id, server_id, nic_id, flowlog_id, opts)
rescue Ionoscloud::ApiError => e
puts "Error when calling FlowLogsApi->datacenters_servers_nics_flowlogs_delete: #{e}"
endUsing the datacenters_servers_nics_flowlogs_delete_with_http_info variant
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
datacenters_servers_nics_flowlogs_find_by_id
Examples
Using the datacenters_servers_nics_flowlogs_find_by_id_with_http_info variant
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
datacenters_servers_nics_flowlogs_get
Examples
Using the datacenters_servers_nics_flowlogs_get_with_http_info variant
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
datacenters_servers_nics_flowlogs_patch
Examples
Using the datacenters_servers_nics_flowlogs_patch_with_http_info variant
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
datacenters_servers_nics_flowlogs_post
Examples
Using the datacenters_servers_nics_flowlogs_post_with_http_info variant
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
datacenters_servers_nics_flowlogs_put
Examples
Using the datacenters_servers_nics_flowlogs_put_with_http_info variant
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
Last updated
