-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: abarreiro <abarreiro@vmware.com>
- Loading branch information
1 parent
e42b373
commit ff1a8c7
Showing
3 changed files
with
82 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
layout: "vcd" | ||
page_title: "VMware Cloud Foundation Tenant Manager: vcd_tm_content_library" | ||
sidebar_current: "docs-vcd-data-source-tm-content-library" | ||
description: |- | ||
Provides a VMware Cloud Foundation Tenant Manager Content Library data source. This can be used to read Content Libraries. | ||
--- | ||
|
||
# vcd\_independent\_disk | ||
|
||
Provides a VMware Cloud Foundation Tenant Manager Content Library data source. This can be used to read Content Libraries. | ||
|
||
This data source is exclusive to **VMware Cloud Foundation Tenant Manager**. Supported in provider *v4.0+* | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
data "vcd_tm_content_library" "cl" { | ||
name = "My Library" | ||
} | ||
output "is_shared" { | ||
value = data.vcd_tm_content_library.cl.is_shared | ||
} | ||
output "owner_org" { | ||
value = data.vcd_tm_content_library.cl.owner_org_id | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
The following arguments are supported: | ||
|
||
* `name` - (Required) The name of the Content Library to read | ||
|
||
## Attribute reference | ||
|
||
All arguments and attributes defined in [the resource](/providers/vmware/vcd/latest/docs/resources/tm_content_library) are supported | ||
as read-only (Computed) values. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
layout: "vcd" | ||
page_title: "VMware Cloud Foundation Tenant Manager: vcd_tm_region_storage_policy" | ||
sidebar_current: "docs-vcd-data-source-tm-region-storage-policy" | ||
description: |- | ||
Provides a VMware Cloud Foundation Tenant Manager Region Storage Policy data source. This can be used to read Content Libraries. | ||
--- | ||
|
||
# vcd\_independent\_disk | ||
|
||
Provides a VMware Cloud Foundation Tenant Manager Region Storage Policy data source. This can be used to read Region Storage Policies. | ||
|
||
This data source is exclusive to **VMware Cloud Foundation Tenant Manager**. Supported in provider *v4.0+* | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
data "vcd_tm_region_storage_policy" "sp" { | ||
name = "vSAN Default Storage Policy" | ||
} | ||
resource "vcd_tm_content_library" "cl" { | ||
name = "My Library" | ||
description = "A simple library" | ||
storage_policy_ids = [ | ||
data.vcd_tm_region_storage_policy.sp.id | ||
] | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
The following arguments are supported: | ||
|
||
* `name` - (Required) The name of the Region Storage Policy to read | ||
|
||
## Attribute reference | ||
|
||
// TODO: TM (Resource is not implemented yet) | ||
|
||
All arguments and attributes defined in [the resource](/providers/vmware/vcd/latest/docs/resources/tm_region_storage_policy) are supported | ||
as read-only (Computed) values. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters