docs and timeouts for pfw
This commit is contained in:
@@ -188,7 +188,13 @@ func resourcePfw() *schema.Resource {
|
|||||||
State: schema.ImportStatePassthrough,
|
State: schema.ImportStatePassthrough,
|
||||||
},
|
},
|
||||||
|
|
||||||
//TODO timeouts
|
Timeouts: &schema.ResourceTimeout{
|
||||||
|
Create: &Timeout60s,
|
||||||
|
Read: &Timeout30s,
|
||||||
|
Update: &Timeout60s,
|
||||||
|
Delete: &Timeout60s,
|
||||||
|
Default: &Timeout60s,
|
||||||
|
},
|
||||||
|
|
||||||
Schema: resourcePfwSchemaMake(),
|
Schema: resourcePfwSchemaMake(),
|
||||||
}
|
}
|
||||||
|
|||||||
34
docs/resources/pfw.md
Normal file
34
docs/resources/pfw.md
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
---
|
||||||
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||||
|
page_title: "decort_pfw Resource - terraform-provider-decort"
|
||||||
|
subcategory: ""
|
||||||
|
description: |-
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# decort_pfw (Resource)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- schema generated by tfplugindocs -->
|
||||||
|
## Schema
|
||||||
|
|
||||||
|
### Required
|
||||||
|
|
||||||
|
- **compute_id** (Number) ID of compute instance.
|
||||||
|
- **local_base_port** (Number) Internal base port number.
|
||||||
|
- **proto** (String) Network protocol, either 'tcp' or 'udp'.
|
||||||
|
- **public_port_start** (Number) External start port number for the rule.
|
||||||
|
|
||||||
|
### Optional
|
||||||
|
|
||||||
|
- **id** (String) The ID of this resource.
|
||||||
|
- **public_port_end** (Number) End port number (inclusive) for the ranged rule.
|
||||||
|
|
||||||
|
### Read-Only
|
||||||
|
|
||||||
|
- **local_ip** (String) IP address of compute instance.
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user