-
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
13 changed files
with
869 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,44 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "netapp-ontap_svm_data_source Data Source - terraform-provider-netapp-ontap" | ||
subcategory: "svm" | ||
description: |- | ||
Retrieves the configuration of SVM. | ||
--- | ||
|
||
# Data Source svm | ||
|
||
Retrieves the configuration of SVM. | ||
|
||
## Example Usage | ||
```terraform | ||
data "netapp-ontap_svm_data_source" "svm" { | ||
# required to know which system to interface with | ||
cx_profile_name = "cluster4" | ||
name = "ansibleSVM" | ||
} | ||
``` | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `cx_profile_name` (String) Connection profile name | ||
- `name` (String) Svm name | ||
|
||
### Read-Only | ||
|
||
- `aggregates` (List of String) Aggregates to be assigned use for vserver | ||
- `comment` (String) Comment for vserver to be created | ||
- `id` (String) The ID of this resource. | ||
- `ipspace` (String) The name of the ipspace to manage | ||
- `language` (String) Language to use for vserver | ||
- `max_volumes` (String) Maximum number of volumes that can be created on the vserver. Expects an integer or unlimited | ||
- `snapshot_policy` (String) The name of the snapshot policy to manage | ||
- `subtype` (String) The subtype for vserver to be created | ||
- `uuid` (String) Vserver identifier | ||
|
||
|
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_svms_data_source Data Source - terraform-provider-netapp-ontap" | ||
subcategory: "svms" | ||
description: |- | ||
Retrieves the configuration of SVMs. | ||
--- | ||
|
||
# Data Source svms | ||
|
||
Retrieves the configuration of SVMs. | ||
|
||
## Example Usage | ||
```terraform | ||
data "netapp-ontap_svms_data_source" "svms" { | ||
# required to know which system to interface with | ||
cx_profile_name = "cluster4" | ||
filter = { | ||
name = "ansibleSVM" | ||
} | ||
} | ||
``` | ||
|
||
|
||
|
||
<!-- 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 | ||
|
||
- `svms` (Attributes List) (see [below for nested schema](#nestedatt--svms)) | ||
|
||
<a id="nestedatt--filter"></a> | ||
### Nested Schema for `filter` | ||
|
||
Optional: | ||
|
||
- `name` (String) Svm name | ||
|
||
|
||
<a id="nestedatt--svms"></a> | ||
### Nested Schema for `svms` | ||
|
||
Required: | ||
|
||
- `cx_profile_name` (String) Connection profile name | ||
- `name` (String) Svm name | ||
|
||
Read-Only: | ||
|
||
- `aggregates` (List of String) Aggregates to be assigned use for vserver | ||
- `comment` (String) Comment for vserver to be created | ||
- `id` (String) | ||
- `ipspace` (String) The name of the ipspace to manage | ||
- `language` (String) Language to use for vserver | ||
- `max_volumes` (String) Maximum number of volumes that can be created on the vserver. Expects an integer or unlimited | ||
- `snapshot_policy` (String) The name of the snapshot policy to manage | ||
- `subtype` (String) The subtype for vserver to be created | ||
- `uuid` (String) Vserver identifier | ||
|
||
|
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_svm_data_source" "svm" { | ||
# required to know which system to interface with | ||
cx_profile_name = "cluster4" | ||
name = "ansibleSVM" | ||
} |
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,44 @@ | ||
terraform { | ||
required_providers { | ||
netapp-ontap = { | ||
source = "NetApp/netapp-ontap" | ||
version = "0.0.1" | ||
} | ||
} | ||
} | ||
|
||
|
||
provider "netapp-ontap" { | ||
# A connection profile defines how to interface with an ONTAP cluster or vserver. | ||
# At least one is required. | ||
connection_profiles = [ | ||
{ | ||
name = "cluster1" | ||
hostname = "********219" | ||
username = var.username | ||
password = var.password | ||
validate_certs = var.validate_certs | ||
}, | ||
{ | ||
name = "cluster2" | ||
hostname = "********222" | ||
username = var.username | ||
password = var.password | ||
validate_certs = var.validate_certs | ||
}, | ||
{ | ||
name = "cluster3" | ||
hostname = "10.193.176.159" | ||
username = var.username | ||
password = var.password | ||
validate_certs = var.validate_certs | ||
}, | ||
{ | ||
name = "cluster4" | ||
hostname = "10.193.180.108" | ||
username = var.username | ||
password = var.password | ||
validate_certs = var.validate_certs | ||
} | ||
] | ||
} |
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,11 @@ | ||
# Terraform will prompt for values, unless a tfvars file is present. | ||
variable "username" { | ||
type = string | ||
} | ||
variable "password" { | ||
type = string | ||
sensitive = true | ||
} | ||
variable "validate_certs" { | ||
type = bool | ||
} |
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_svms_data_source" "svms" { | ||
# required to know which system to interface with | ||
cx_profile_name = "cluster4" | ||
filter = { | ||
name = "ansibleSVM" | ||
} | ||
} |
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,44 @@ | ||
terraform { | ||
required_providers { | ||
netapp-ontap = { | ||
source = "NetApp/netapp-ontap" | ||
version = "0.0.1" | ||
} | ||
} | ||
} | ||
|
||
|
||
provider "netapp-ontap" { | ||
# A connection profile defines how to interface with an ONTAP cluster or vserver. | ||
# At least one is required. | ||
connection_profiles = [ | ||
{ | ||
name = "cluster1" | ||
hostname = "********219" | ||
username = var.username | ||
password = var.password | ||
validate_certs = var.validate_certs | ||
}, | ||
{ | ||
name = "cluster2" | ||
hostname = "********222" | ||
username = var.username | ||
password = var.password | ||
validate_certs = var.validate_certs | ||
}, | ||
{ | ||
name = "cluster3" | ||
hostname = "10.193.176.159" | ||
username = var.username | ||
password = var.password | ||
validate_certs = var.validate_certs | ||
}, | ||
{ | ||
name = "cluster4" | ||
hostname = "10.193.180.108" | ||
username = var.username | ||
password = var.password | ||
validate_certs = var.validate_certs | ||
} | ||
] | ||
} |
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,11 @@ | ||
# Terraform will prompt for values, unless a tfvars file is present. | ||
variable "username" { | ||
type = string | ||
} | ||
variable "password" { | ||
type = string | ||
sensitive = true | ||
} | ||
variable "validate_certs" { | ||
type = bool | ||
} |
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.