-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9433169
commit 8507a2a
Showing
4 changed files
with
86 additions
and
3 deletions.
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
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,67 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "zosmf_dataset Resource - zosmf" | ||
subcategory: "" | ||
description: |- | ||
Dataset resource | ||
--- | ||
|
||
# zosmf_dataset (Resource) | ||
|
||
Dataset resource | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "zosmf_dataset" "example" { | ||
name = "IBMUSER.TATI.TERROF" | ||
volser = "zmf046" | ||
unit = "3390" | ||
dsorg = "PS" | ||
alcunit = "TRK" | ||
primary = 1 | ||
secondary = 100 | ||
avgblk = 500 | ||
recfm = "VB" | ||
blksize = 27966 | ||
lrecl = 800 | ||
content = <<EOT | ||
test | ||
EOT | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `content` (String) Content | ||
- `name` (String) Dataset name | ||
|
||
### Optional | ||
|
||
- `alcunit` (String) Unit of space allocation | ||
- `avgblk` (Number) Average block | ||
- `blksize` (Number) Block size | ||
- `dataclass` (String) Data class | ||
- `dirblk` (Number) Number of directory blocks | ||
- `dsntype` (String) Dataset type | ||
- `dsorg` (String) Data set organization | ||
- `lrecl` (Number) Record length | ||
- `mgntclass` (String) Management class | ||
- `primary` (Number) Primary space allocation | ||
- `recfm` (String) Record format | ||
- `secondary` (Number) Secondary space allocation | ||
- `storclass` (String) Storage class | ||
- `unit` (String) Device type | ||
- `volser` (String) Volume | ||
|
||
## Import | ||
|
||
Import is supported using the following syntax: | ||
|
||
```shell | ||
# Dataset can be imported by specifying the dataset name. | ||
terraform import zosmf_dataset.example "IBMUSER.TEST" | ||
``` |
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
provider "zosmf" { | ||
host = "https://192.168.1.32:10443" | ||
username = "ibmuser" | ||
insecure = false | ||
} |
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 |
---|---|---|
@@ -1,3 +1,16 @@ | ||
resource "zosmf_dataset" "example" { | ||
name = "IBMUSER.IBMUSER.TEST" | ||
} | ||
name = "IBMUSER.TATI.TERROF" | ||
volser = "zmf046" | ||
unit = "3390" | ||
dsorg = "PS" | ||
alcunit = "TRK" | ||
primary = 1 | ||
secondary = 100 | ||
avgblk = 500 | ||
recfm = "VB" | ||
blksize = 27966 | ||
lrecl = 800 | ||
content = <<EOT | ||
test | ||
EOT | ||
} |