-
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.
- Loading branch information
Showing
29 changed files
with
1,316 additions
and
14 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,40 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "netapp-ontap_security_login_message Data Source - terraform-provider-netapp-ontap" | ||
subcategory: "Security" | ||
description: |- | ||
Retrieve Security Login Message data source | ||
--- | ||
|
||
# netapp-ontap_security_login_message (Data Source) | ||
|
||
Retrieve Security Login Message data source | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "netapp-ontap_security_login_message" "security_login_message" { | ||
# required to know which system to interface with | ||
cx_profile_name = "cluster4" | ||
svm_name = "ansibleSVM" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `cx_profile_name` (String) Connection profile name | ||
|
||
### Optional | ||
|
||
- `banner` (String) SecurityLoginMessage banner | ||
- `message` (String) SecurityLoginMessage name | ||
- `scope` (String) SecurityLoginMessage scope | ||
- `show_cluster_message` (Boolean) Show cluster message | ||
- `svm_name` (String) SecurityLoginMessage svm name | ||
|
||
### Read-Only | ||
|
||
- `id` (String) SecurityAccount id |
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,68 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "netapp-ontap_security_login_messages Data Source - terraform-provider-netapp-ontap" | ||
subcategory: "Security" | ||
description: |- | ||
Retrieve Security Login Messages data source | ||
--- | ||
|
||
# netapp-ontap_security_login_messages (Data Source) | ||
|
||
Retrieve Security Login Messages data source | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "netapp-ontap_security_login_messages" "security_login_messages" { | ||
# required to know which system to interface with | ||
cx_profile_name = "cluster4" | ||
filter = { | ||
scope = "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 | ||
|
||
- `security_login_messages` (Attributes List) (see [below for nested schema](#nestedatt--security_login_messages)) | ||
|
||
<a id="nestedatt--filter"></a> | ||
### Nested Schema for `filter` | ||
|
||
Optional: | ||
|
||
- `banner` (String) SecurityLoginMessage banner | ||
- `message` (String) SecurityLoginMessage message | ||
- `scope` (String) SecurityLoginMessage scope | ||
- `svm_name` (String) SecurityLoginMessage svm name | ||
|
||
|
||
<a id="nestedatt--security_login_messages"></a> | ||
### Nested Schema for `security_login_messages` | ||
|
||
Required: | ||
|
||
- `cx_profile_name` (String) Connection profile name | ||
|
||
Optional: | ||
|
||
- `svm_name` (String) SecurityLoginMessage svm name | ||
|
||
Read-Only: | ||
|
||
- `banner` (String) SecurityLoginMessage banner | ||
- `id` (String) SecurityLoginMessage id | ||
- `message` (String) SecurityLoginMessage message | ||
- `scope` (String) SecurityLoginMessage scope | ||
- `show_cluster_message` (Boolean) Show cluster message |
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,97 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "netapp-ontap_volumes_files Resource - terraform-provider-netapp-ontap" | ||
subcategory: "Storage" | ||
description: |- | ||
VolumesFiles resource | ||
--- | ||
|
||
# netapp-ontap_volumes_files (Resource) | ||
|
||
Create/Modify/Delete a VolumesFiles resource | ||
|
||
## Supported Platforms | ||
* On-perm ONTAP system 9.6 or higher | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "netapp-ontap_volumes_files" "volumes_files" { | ||
# required to know which system to interface with | ||
cx_profile_name = "cluster1" | ||
path = "vol4" | ||
volume_name = "terraform" | ||
svm_name = "terraform" | ||
type = "directory" | ||
unix_permissions = "755" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `cx_profile_name` (String) Connection profile name | ||
- `path` (String) Relative path of a file or directory in the volume | ||
- `svm_name` (String) Name of the svm to use | ||
- `volume_name` (String) Volume name | ||
|
||
### Optional | ||
|
||
- `byte_offset` (Number) The number of bytes used | ||
- `name` (String) The name of the file or directory | ||
- `overwrite` (Boolean) Whether the file can be overwritten | ||
- `type` (String) The type of the file or directory | ||
- `unix_permissions` (Number) UNIX permissions to be viewed as an octal number | ||
|
||
### Read-Only | ||
|
||
- `id` (String) VolumesFiles path is used as ID here | ||
- `size` (Number) The size of the file or directory | ||
|
||
## Import | ||
This Resource supports import, which allows you to import existing volume files into the state of this resoruce. | ||
Import require a unique ID composed of the volume_name, svm_name, path and cx_profile_name, separated by a comma. | ||
|
||
id = `volume_name`,`svm_name`, `path`, `cx_profile_name` | ||
|
||
### Terraform Import | ||
|
||
For example | ||
```shell | ||
terraform import netapp-ontap_volumes_files.example vol2,svm1,path,cluster4 | ||
``` | ||
|
||
!> The terraform import CLI command can only import resources into the state. Importing via the CLI does not generate configuration. If you want to generate the accompanying configuration for imported resources, use the import block instead. | ||
|
||
### Terraform Import Block | ||
This requires Terraform 1.5 or higher, and will auto create the configuration for you | ||
|
||
First create the block | ||
```terraform | ||
import { | ||
to = netapp-ontap_volumes_files.files_import | ||
id = "vol1,svm1,path,cluster4" | ||
} | ||
``` | ||
Next run, this will auto create the configuration for you | ||
```shell | ||
terraform plan -generate-config-out=generated.tf | ||
``` | ||
This will generate a file called generated.tf, which will contain the configuration for the imported resource | ||
```terraform | ||
# __generated__ by Terraform | ||
# Please review these resources and move them into your main configuration files. | ||
# __generated__ by Terraform from "vol1,svm1,vol3,cluster4" | ||
resource "netapp-ontap_volumes_files" "files_import" { | ||
cx_profile_name = "cluster4" | ||
volume_name = "vol1" | ||
svm_name = "svm1" | ||
id = "vol3" | ||
path = "vol3" | ||
size = 4096 | ||
type = "directory" | ||
unix_permissions = 755 | ||
} | ||
``` |
5 changes: 5 additions & 0 deletions
5
examples/data-sources/netapp-ontap_security_login_message/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_security_login_message" "security_login_message" { | ||
# required to know which system to interface with | ||
cx_profile_name = "cluster4" | ||
svm_name = "ansibleSVM" | ||
} |
1 change: 1 addition & 0 deletions
1
examples/data-sources/netapp-ontap_security_login_message/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_security_login_message/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_security_login_message/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 |
7 changes: 7 additions & 0 deletions
7
examples/data-sources/netapp-ontap_security_login_messages/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,7 @@ | ||
data "netapp-ontap_security_login_messages" "security_login_messages" { | ||
# required to know which system to interface with | ||
cx_profile_name = "cluster4" | ||
filter = { | ||
scope = "svm" | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
examples/data-sources/netapp-ontap_security_login_messages/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_security_login_messages/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_security_login_messages/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../provider/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,9 @@ | ||
resource "netapp-ontap_volumes_files" "volumes_files" { | ||
# required to know which system to interface with | ||
cx_profile_name = "cluster1" | ||
path = "vol3" | ||
volume_name = "terraform" | ||
svm_name = "terraform" | ||
type = "directory" | ||
unix_permissions = "755" | ||
} |
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 |
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.