Skip to content

Commit

Permalink
Release Documentation 0.9.1
Browse files Browse the repository at this point in the history
Signed-off-by: Outscale Bot <[email protected]>
  • Loading branch information
Open-Source-Bot authored and outscale-toa committed Apr 27, 2023
1 parent 72b52a9 commit 32a82cc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/data-sources/load_balancer.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ For more information on this resource actions, see the [API documentation](https
data "outscale_load_balancer" "load_balancer01" {
filter {
name = "load_balancer_names"
values = "load_balancer01"
values = ["load_balancer01"]
}
}
```
Expand Down
5 changes: 4 additions & 1 deletion docs/data-sources/vm_state.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ For more information on this resource actions, see the [API documentation](https

```hcl
data "outscale_vm_state" "vm_state01" {
all_vms = true
filter {
name = "vm_ids"
values = ["i-12345678"]
Expand All @@ -28,13 +29,15 @@ data "outscale_vm_state" "vm_state01" {

The following arguments are supported:

* `all_vms` - (Optional) If true, includes the status of all VMs. By default or if set to false, only includes the status of running VMs.
* `filter` - (Optional) A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
* `maintenance_event_codes` - (Optional) The code for the scheduled event (`system-reboot` \| `system-maintenance`).
* `maintenance_event_descriptions` - (Optional) The description of the scheduled event.
* `maintenance_events_not_after` - (Optional) The latest time the event can end.
* `maintenance_events_not_before` - (Optional) The earliest time the event can start.
* `subregion_names` - (Optional) The names of the Subregions of the VMs.
* `vm_ids` - (Optional) One or more IDs of VMs.
* `vm_states` - (Optional) The states of the VMs (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`).

## Attribute Reference

Expand All @@ -47,4 +50,4 @@ The following attributes are exported:
* `not_before` - The earliest scheduled start time for the event.
* `subregion_name` - The name of the Subregion of the VM.
* `vm_id` - The ID of the VM.
* `vm_state` - The state of the VM. Currently, only `running` VMs are returned.
* `vm_state` - The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`).
4 changes: 3 additions & 1 deletion docs/data-sources/vm_states.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,15 @@ data "outscale_vm_states" "vm_states01" {

The following arguments are supported:

* `all_vms` - (Optional) If true, includes the status of all VMs. By default or if set to false, only includes the status of running VMs.
* `filter` - (Optional) A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
* `maintenance_event_codes` - (Optional) The code for the scheduled event (`system-reboot` \| `system-maintenance`).
* `maintenance_event_descriptions` - (Optional) The description of the scheduled event.
* `maintenance_events_not_after` - (Optional) The latest time the event can end.
* `maintenance_events_not_before` - (Optional) The earliest time the event can start.
* `subregion_names` - (Optional) The names of the Subregions of the VMs.
* `vm_ids` - (Optional) One or more IDs of VMs.
* `vm_states` - (Optional) The states of the VMs (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`).

## Attribute Reference

Expand All @@ -53,4 +55,4 @@ The following attributes are exported:
* `not_before` - The earliest scheduled start time for the event.
* `subregion_name` - The name of the Subregion of the VM.
* `vm_id` - The ID of the VM.
* `vm_state` - The state of the VM. Currently, only `running` VMs are returned.
* `vm_state` - The state of the VM (`pending` \| `running` \| `stopping` \| `stopped` \| `shutting-down` \| `terminated` \| `quarantine`).
2 changes: 1 addition & 1 deletion scripts/docs/doc-terraform-template

0 comments on commit 32a82cc

Please sign in to comment.