@@ -7,22 +7,26 @@ description: |-
77---
88
99# ibm_pi_workspaces
10+
1011Retrieve information about Power Systems workspaces.
1112
1213## Example usage
14+
1315``` terraform
1416data "ibm_pi_workspaces" "workspaces" {
1517 pi_cloud_instance_id = "99fba9c9-66f9-99bc-9999-aca999ee9d9b"
1618}
1719```
1820
19- ** Notes**
21+ ### Notes
22+
2023- Please find [ supported Regions] ( https://cloud.ibm.com/apidocs/power-cloud#endpoint ) for endpoints.
2124- If a Power cloud instance is provisioned at ` lon04 ` , The provider level attributes should be as follows:
2225 - ` region ` - ` lon `
2326 - ` zone ` - ` lon04 `
2427
2528Example usage:
29+
2630 ``` terraform
2731 provider "ibm" {
2832 region = "lon"
@@ -31,38 +35,43 @@ Example usage:
3135 ```
3236
3337## Argument reference
38+
3439Review the argument references that you can specify for your data source.
3540
3641- ` pi_cloud_instance_id ` - (Required, String) The GUID of the service instance associated with an account.
3742
3843## Attribute reference
44+
3945In addition to all argument reference listed, you can access the following attribute references after your data source is created.
4046
4147- ` workspaces ` - (List) List of all Workspaces.
4248 Nested schema for ` workspaces `
4349 - ` pi_workspace_capabilities ` - (Map) Workspace Capabilities. Capabilities are ` true ` or ` false ` .
4450
4551 Some of ` pi_workspace_capabilities ` are:
46- - ` cloud-connections ` , ` power-edge-router ` , ` power-vpn-connections ` , ` transit-gateway-connection `
52+ - ` cloud-connections ` , ` power-edge-router ` , ` power-vpn-connections ` , ` transit-gateway-connection `
4753
4854 - ` pi_workspace_details ` - (List) Workspace information.
4955
5056 Nested schema for ` pi_workspace_details ` :
51- - ` creation_date ` - (String) Date of workspace creation.
52- - ` crn ` - (String) Workspace crn.
53- - ` power_edge_router ` - (List) Power Edge Router information.
54-
55- Nested schema for ` power_edge_router ` :
56- - ` migration_status ` - (String) The migration status of a Power Edge Router.
57- - ` status ` - (String) The state of a Power Edge Router.
58- - ` type ` - (String) The Power Edge Router type.
57+ - ` creation_date ` - (String) Date of workspace creation.
58+ - ` crn ` - (String) Workspace crn.
59+ - ` network_security_groups ` - (List) Network security groups configuration.
60+ Nested schema for ` network_security_groups ` :
61+ - ` state ` - (String) The state of a network security groups configuration.
62+ - ` power_edge_router ` - (List) Power Edge Router information.
63+
64+ Nested schema for ` power_edge_router ` :
65+ - ` migration_status ` - (String) The migration status of a Power Edge Router.
66+ - ` status ` - (String) The state of a Power Edge Router.
67+ - ` type ` - (String) The Power Edge Router type.
5968 - ` pi_workspace_id ` - (String) Workspace ID.
6069 - ` pi_workspace_location ` - (Map) Workspace location.
6170
6271 Nested schema for ` Workspace location ` :
63- - ` region ` - (String) Workspace location region zone.
64- - ` type ` - (String) Workspace location region type.
65- - ` url ` - (String) Workspace location region url.
72+ - ` region ` - (String) Workspace location region zone.
73+ - ` type ` - (String) Workspace location region type.
74+ - ` url ` - (String) Workspace location region url.
6675 - ` pi_workspace_name ` - (String) Workspace name.
6776 - ` pi_workspace_status ` - (String) Workspace status, ` active ` , ` critical ` , ` failed ` , ` provisioning ` .
6877 - ` pi_workspace_type ` - (String) Workspace type, ` off-premises ` or ` on-premises ` .
0 commit comments