Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API-Update: Enhance documentation #96

Merged
merged 1 commit into from
Aug 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,15 @@ Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*CustomerApi* | [**retrieve_customer**](docs/CustomerApi.md#retrieve_customer) | **GET** /v1/customer | Get customer info
*CustomerApi* | [**retrieve_payment_method**](docs/CustomerApi.md#retrieve_payment_method) | **GET** /v1/customer/payment-method | List current payment method
*FirewallsApi* | [**assign_instance_firewall**](docs/FirewallsApi.md#assign_instance_firewall) | **POST** /v1/firewalls/{firewallId}/instances/{instanceId} | Add instance to a Firewall
*FirewallsApi* | [**create_firewall**](docs/FirewallsApi.md#create_firewall) | **POST** /v1/firewalls | Create a new firewall
*FirewallsApi* | [**delete_firewall**](docs/FirewallsApi.md#delete_firewall) | **DELETE** /v1/firewalls/{firewallId} | Delete existing Firewall by id
*FirewallsApi* | [**patch_firewall**](docs/FirewallsApi.md#patch_firewall) | **PATCH** /v1/firewalls/{firewallId} | Update a Firewall by id
*FirewallsApi* | [**assign_instance_firewall**](docs/FirewallsApi.md#assign_instance_firewall) | **POST** /v1/firewalls/{firewallId}/instances/{instanceId} | Add instance to a firewall
*FirewallsApi* | [**create_firewall**](docs/FirewallsApi.md#create_firewall) | **POST** /v1/firewalls | Create a new firewall definition
*FirewallsApi* | [**delete_firewall**](docs/FirewallsApi.md#delete_firewall) | **DELETE** /v1/firewalls/{firewallId} | Delete existing firewall by id
*FirewallsApi* | [**patch_firewall**](docs/FirewallsApi.md#patch_firewall) | **PATCH** /v1/firewalls/{firewallId} | Update a firewall by id
*FirewallsApi* | [**put_firewall**](docs/FirewallsApi.md#put_firewall) | **PUT** /v1/firewalls/{firewallId} | Update specific firewall rules
*FirewallsApi* | [**retrieve_firewall**](docs/FirewallsApi.md#retrieve_firewall) | **GET** /v1/firewalls/{firewallId} | Get specific firewall by its id
*FirewallsApi* | [**retrieve_firewall_list**](docs/FirewallsApi.md#retrieve_firewall_list) | **GET** /v1/firewalls | List firewalls
*FirewallsApi* | [**retrieve_firewall_list**](docs/FirewallsApi.md#retrieve_firewall_list) | **GET** /v1/firewalls | List all firewalls
*FirewallsApi* | [**set_default_firewall**](docs/FirewallsApi.md#set_default_firewall) | **PUT** /v1/firewalls/{firewallId}/default | Set specific firewall to be default
*FirewallsApi* | [**unassign_instance_firewall**](docs/FirewallsApi.md#unassign_instance_firewall) | **DELETE** /v1/firewalls/{firewallId}/instances/{instanceId} | Remove instance from a Firewall
*FirewallsApi* | [**unassign_instance_firewall**](docs/FirewallsApi.md#unassign_instance_firewall) | **DELETE** /v1/firewalls/{firewallId}/instances/{instanceId} | Remove instance from a firewall
*FirewallsAuditsApi* | [**retrieve_firewall_audits_list**](docs/FirewallsAuditsApi.md#retrieve_firewall_audits_list) | **GET** /v1/firewalls/audits | List history about your Firewalls (audit)
*ImagesApi* | [**create_custom_image**](docs/ImagesApi.md#create_custom_image) | **POST** /v1/compute/images | Provide a custom image
*ImagesApi* | [**delete_image**](docs/ImagesApi.md#delete_image) | **DELETE** /v1/compute/images/{imageId} | Delete an uploaded custom image by its id
Expand Down
2 changes: 1 addition & 1 deletion docs/AssignInstanceFirewallResponseLinks.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Links for easy navigation.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**_self** | **str** | Link to current resource. |
**firewall** | **str** | Link to related Firewall. |
**firewall** | **str** | Link to related firewall. |
**instance** | **str** | Link to assigned instance. |
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

Expand Down
2 changes: 1 addition & 1 deletion docs/CreateFirewallRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | The name of the firewall. |
**status** | **str** | Status of the firewall. |
**status** | **str** | The status of the firewall determines whether the rules are active or not. |
**description** | **str** | The description of the firewall. | [optional]
**rules** | [**RulesRequest**](RulesRequest.md) | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
Expand Down
4 changes: 2 additions & 2 deletions docs/FirewallResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ Name | Type | Description | Notes
**firewall_id** | **str** | Your firewall id. |
**name** | **str** | The name of the firewall. |
**description** | **str** | The description of the firewall. |
**status** | **str** | Status of the firewall. |
**status** | **str** | Inactive status means no rules of this firewall are set for all assigned instances. |
**instance_status** | [**[InstanceStatusRepresentation]**](InstanceStatusRepresentation.md) | |
**instances** | [**[InstanceDetails]**](InstanceDetails.md) | |
**rules** | [**Rules**](Rules.md) | |
**is_default** | **bool** | Specifies whether a firewall is default or not. |
**is_default** | **bool** | The default firewall rules are assigned by default to newly created instances with Firewall Add-On if not specified otherwise. Exactly one firewall can be set as default. |
**created_date** | **datetime** | The creation date time for the firewall |
**updated_date** | **datetime** | The update date time for the firewall |
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
Expand Down
8 changes: 4 additions & 4 deletions docs/FirewallRuleRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**protocol** | **str** | Protocol for defining the connection type. |
**dest_ports** | **[str]** | Ports for which the rules will be applied |
**protocol** | **str** | Protocol for incoming traffic to be allowed. ‘tcp‘, ´udp´, ´icmp´ or ´´ empty value are allowed. Empty means any traffic. |
**dest_ports** | **[str]** | Ports to specify allowed traffic. Not available for protocol `ICMP`. Port ranges can specified like in example. |
**src_cidr** | [**SrcCidr**](SrcCidr.md) | |
**action** | **str** | Actions to be applied to the incoming connections. |
**status** | **str** | Status of the inbound rule. |
**action** | **str** | Currently only `accept` is supported. |
**status** | **str** | Status of the inbound rule. An inactive rule is removed from all assigned instances. |
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
8 changes: 4 additions & 4 deletions docs/FirewallRuleResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**protocol** | **str** | Protocol for defining the connection type. |
**dest_ports** | **[str]** | Ports for which the rules will be applied |
**protocol** | **str** | Protocol for incoming traffic to be allowed. ‘tcp‘, ´udp´, ´icmp´ or ´´ empty value are allowed. Empty means any traffic. |
**dest_ports** | **[str]** | Ports to specify allowed traffic. Not available for protocol `ICMP`. Port ranges can specified like in example. |
**src_cidr** | [**SrcCidr**](SrcCidr.md) | |
**action** | **str** | Actions to be applied to the incoming connections. |
**status** | **str** | Status of the inbound rule. |
**action** | **str** | Currently only `accept` is supported. |
**status** | **str** | Status of the inbound rule. An inactive rule is removed from all assigned instances. |
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
Loading