-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #162 from NetApp/14-new-data-source-protocols_san_…
…lun-maps new data sources protocols_san_lun-map_data_source
- Loading branch information
Showing
19 changed files
with
632 additions
and
15 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
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,69 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "netapp-ontap_protocols_san_lun-map_data_source Data Source - terraform-provider-netapp-ontap" | ||
subcategory: "san" | ||
description: |- | ||
ProtocolsSanLunMap data source | ||
--- | ||
|
||
# netapp-ontap_protocols_san_lun-map_data_source (Data Source) | ||
|
||
ProtocolsSanLunMap data source | ||
|
||
## Example Usage | ||
```terraform | ||
data "netapp-ontap_protocols_san_lun-map_data_source" "example" { | ||
cx_profile_name = "example_profile" | ||
igroup { | ||
name = "example_igroup" | ||
} | ||
lun { | ||
name = "example_lun" | ||
} | ||
svm { | ||
name = "example_svm" | ||
} | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `cx_profile_name` (String) Connection profile name | ||
- `igroup` (Attributes) SVM details for ProtocolsSanLunMaps (see [below for nested schema](#nestedatt--igroup)) | ||
- `lun` (Attributes) SVM details for ProtocolsSanLunMaps (see [below for nested schema](#nestedatt--lun)) | ||
- `svm` (Attributes) SVM details for ProtocolsSanLunMaps (see [below for nested schema](#nestedatt--svm)) | ||
|
||
### Read-Only | ||
|
||
- `logical_unit_number` (Number) If no value is provided, ONTAP assigns the lowest available value | ||
|
||
<a id="nestedatt--igroup"></a> | ||
### Nested Schema for `igroup` | ||
|
||
Required: | ||
|
||
- `name` (String) name of the igroup | ||
|
||
|
||
<a id="nestedatt--lun"></a> | ||
### Nested Schema for `lun` | ||
|
||
Required: | ||
|
||
- `name` (String) name of the lun | ||
|
||
|
||
<a id="nestedatt--svm"></a> | ||
### Nested Schema for `svm` | ||
|
||
Required: | ||
|
||
- `name` (String) name of the SVM | ||
|
||
|
118 changes: 118 additions & 0 deletions
118
docs/data-sources/protocols_san_lun-maps_data_source.md
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,118 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "netapp-ontap_protocols_san_lun-maps_data_source Data Source - terraform-provider-netapp-ontap" | ||
subcategory: "san" | ||
description: |- | ||
ProtocolsSanLunMaps data source | ||
--- | ||
|
||
# netapp-ontap_protocols_san_lun-maps_data_source (Data Source) | ||
|
||
ProtocolsSanLunMaps data source | ||
|
||
## Example Usage | ||
```terraform | ||
data "netapp-ontap_protocols_san_lun-maps_data_source" "example" { | ||
cx_profile_name = "example_profile" | ||
filter { | ||
igroup { | ||
name = "example_igroup" | ||
} | ||
lun { | ||
name = "example_lun" | ||
} | ||
svm { | ||
name = "example_svm" | ||
} | ||
} | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `cx_profile_name` (String) Connection profile name | ||
|
||
### Optional | ||
|
||
- `filter` (Attributes) (see [below for nested schema](#nestedatt--filter)) | ||
|
||
### Read-Only | ||
|
||
- `protocols_san_lun_maps` (Attributes List) (see [below for nested schema](#nestedatt--protocols_san_lun_maps)) | ||
|
||
<a id="nestedatt--filter"></a> | ||
### Nested Schema for `filter` | ||
|
||
Optional: | ||
|
||
- `igroup` (Attributes) SVM details for ProtocolsSanLunMaps (see [below for nested schema](#nestedatt--filter--igroup)) | ||
- `lun` (Attributes) SVM details for ProtocolsSanLunMaps (see [below for nested schema](#nestedatt--filter--lun)) | ||
- `svm` (Attributes) SVM details for ProtocolsSanLunMaps (see [below for nested schema](#nestedatt--filter--svm)) | ||
|
||
<a id="nestedatt--filter--igroup"></a> | ||
### Nested Schema for `filter.igroup` | ||
|
||
Optional: | ||
|
||
- `name` (String) name of the igroup | ||
|
||
|
||
<a id="nestedatt--filter--lun"></a> | ||
### Nested Schema for `filter.lun` | ||
|
||
Optional: | ||
|
||
- `name` (String) name of the lun | ||
|
||
|
||
<a id="nestedatt--filter--svm"></a> | ||
### Nested Schema for `filter.svm` | ||
|
||
Optional: | ||
|
||
- `name` (String) name of the SVM | ||
|
||
|
||
|
||
<a id="nestedatt--protocols_san_lun_maps"></a> | ||
### Nested Schema for `protocols_san_lun_maps` | ||
|
||
Required: | ||
|
||
- `cx_profile_name` (String) Connection profile name | ||
- `igroup` (Attributes) SVM details for ProtocolsSanLunMaps (see [below for nested schema](#nestedatt--protocols_san_lun_maps--igroup)) | ||
- `lun` (Attributes) SVM details for ProtocolsSanLunMaps (see [below for nested schema](#nestedatt--protocols_san_lun_maps--lun)) | ||
- `svm` (Attributes) SVM details for ProtocolsSanLunMaps (see [below for nested schema](#nestedatt--protocols_san_lun_maps--svm)) | ||
|
||
Read-Only: | ||
|
||
- `logical_unit_number` (Number) If no value is provided, ONTAP assigns the lowest available value | ||
|
||
<a id="nestedatt--protocols_san_lun_maps--igroup"></a> | ||
### Nested Schema for `protocols_san_lun_maps.igroup` | ||
|
||
Required: | ||
|
||
- `name` (String) name of the igroup | ||
|
||
|
||
<a id="nestedatt--protocols_san_lun_maps--lun"></a> | ||
### Nested Schema for `protocols_san_lun_maps.lun` | ||
|
||
Required: | ||
|
||
- `name` (String) name of the lun | ||
|
||
|
||
<a id="nestedatt--protocols_san_lun_maps--svm"></a> | ||
### Nested Schema for `protocols_san_lun_maps.svm` | ||
|
||
Required: | ||
|
||
- `name` (String) name of the SVM | ||
|
||
|
14 changes: 14 additions & 0 deletions
14
examples/data-sources/netapp-ontap_protocols_san_lun-map/data-source.tf
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,14 @@ | ||
data "netapp-ontap_protocols_san_lun-map_data_source" "protocols_san_lun-maps" { | ||
# required to know which system to interface with | ||
cx_profile_name = "cluster2" | ||
svm = { | ||
name = "carchi-test" | ||
} | ||
lun = { | ||
name = "/vol/lunTest/ACC-import-lun" | ||
} | ||
igroup = { | ||
name = "acc_test" | ||
} | ||
# logical_unit_number = 1 | ||
} |
1 change: 1 addition & 0 deletions
1
examples/data-sources/netapp-ontap_protocols_san_lun-map/provider.tf
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 @@ | ||
../../provider/provider.tf |
1 change: 1 addition & 0 deletions
1
examples/data-sources/netapp-ontap_protocols_san_lun-map/terraform.tfvars
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 @@ | ||
../../provider/terraform.tfvars |
1 change: 1 addition & 0 deletions
1
examples/data-sources/netapp-ontap_protocols_san_lun-map/variables.tf
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 @@ | ||
../../provider/variables.tf |
5 changes: 5 additions & 0 deletions
5
examples/data-sources/netapp-ontap_protocols_san_lun-maps/data-source.tf
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,5 @@ | ||
data "netapp-ontap_protocols_san_lun-maps_data_source" "protocols_san_lun-mapss" { | ||
# required to know which system to interface with | ||
cx_profile_name = "cluster2" | ||
# filter = {} | ||
} |
1 change: 1 addition & 0 deletions
1
examples/data-sources/netapp-ontap_protocols_san_lun-maps/provider.tf
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 @@ | ||
../../provider/provider.tf |
1 change: 1 addition & 0 deletions
1
examples/data-sources/netapp-ontap_protocols_san_lun-maps/terraform.tfvars
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 @@ | ||
../../provider/terraform.tfvars |
1 change: 1 addition & 0 deletions
1
examples/data-sources/netapp-ontap_protocols_san_lun-maps/variables.tf
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 @@ | ||
../../provider/variables.tf |
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
Oops, something went wrong.