Skip to content
Open
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/chassis/chassis_profile.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
resource "intersight_chassis_profile" "chassis_profile1" {
name = "chassis_profile1"
description = "chassis profile"
type = "instance"
nr_type = "instance"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this change required?

target_platform = "FIAttached"
action = "Validate"
config_context {
Expand All @@ -17,4 +17,4 @@ resource "intersight_chassis_profile" "chassis_profile1" {
moid = var.organization
}
}
```
```
4 changes: 2 additions & 2 deletions examples/fabric/fabric_switch_cluster_profile.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
resource "intersight_fabric_switch_cluster_profile" "fabric_switch_cluster_profile1" {
name = "fabric_switch_cluster_profile"
description = "demo fabric switch cluster profile"
type = "instance"
nr_type = "instance"
organization {
object_type = "organization.Organization"
moid = var.organization
}
}
```
```
4 changes: 2 additions & 2 deletions examples/fabric/fabric_switch_profile.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
resource "intersight_fabric_switch_profile" "fabric_switch_profile1" {
name = "fabric_switch_profile1"
description = "demo fabric switch profile"
type = "instance"
nr_type = "instance"
action = "No-op"
switch_cluster_profile {
moid = intersight_fabric_switch_cluster_profile.fabric_switch_cluster_profile1.moid
object_type = "fabric.SwitchClusterProfile"
}
}
```
```
4 changes: 2 additions & 2 deletions examples/iam/iam_idp.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ resource "intersight_iam_idp" "idp1" {
moid = var.iam_system
object_type = "iam.System"
}
type = "saml"
nr_type = "saml"
}


Expand All @@ -30,4 +30,4 @@ resource "intersight_iam_idp" "idp1" {
type = string
description = "value for iam account"
}
```
```
4 changes: 2 additions & 2 deletions examples/iam/iam_qualifier.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ resource "intersight_iam_qualifier" "iam_qualifier1" {
object_type = "iam.Account"
moid = var.iam_account
}
type = "saml"
nr_type = "saml"
}
permissions = [
{
Expand All @@ -33,4 +33,4 @@ variable "iam_account" {
type = string
description = "value for iam_account"
}
```
```
4 changes: 2 additions & 2 deletions examples/kubernetes/kubernetes_aci_cni_profile.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
resource "intersight_kubernetes_aci_cni_profile" "kubernetes_aci_cni_profile1" {
description = "kubernetes aci cni profile"
name = "kubernetes_aci_cni_profile1"
type = "instance"
nr_type = "instance"
node_svc_subnet_start = "10.0.0.0/8"
pod_subnet_start = "10.0.0.0/8"
organization {
Expand All @@ -21,4 +21,4 @@ variable "asset_device_registration_acni_cni" {
type = string
description = "Moid of asset.DeviceRegistrations Mo"
}
```
```
4 changes: 2 additions & 2 deletions examples/kubernetes/kubernetes_cluster_profile.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
resource "intersight_kubernetes_cluster_profile" "kubernetes_cluster_profile1" {
description = "kubernetes cluster profile"
name = "kubernetes_cluster_profile1"
type = "instance"
nr_type = "instance"
action = "Deploy"
config_context {
control_action = "Deploy"
Expand All @@ -27,4 +27,4 @@ variable "workflow_workflow_info" {
type = string
description = "Moid of the workflow.WorkflowInfo "
}
```
```
4 changes: 2 additions & 2 deletions examples/kubernetes/kubernetes_node_group_profile.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
resource "intersight_kubernetes_node_group_profile" "kubernetes_node_group_profile1" {
description = "kubernetes node group profile"
name = "kubernetes_node_group_profile1"
type = "instance"
nr_type = "instance"
action = "Deploy"
config_context {
control_action = "Deploy"
Expand All @@ -22,4 +22,4 @@ variable "kubernetes_cluster_profile" {
type = string
description = "Moid of kubernetes.ClusterProfile"
}
```
```
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
resource "intersight_kubernetes_virtual_machine_node_profile" "kubernetes_virtual_machine_node_profile1" {
description = "kubernetes virtual machine node profile"
name = "kubernetes_virtual_machine_node_profile1"
type = "instance"
nr_type = "instance"
action = "Deploy"
config_context {
control_action = "Deploy"
Expand All @@ -13,4 +13,4 @@ resource "intersight_kubernetes_virtual_machine_node_profile" "kubernetes_virtua
}
cloud_provider = "noProvider"
}
```
```
4 changes: 2 additions & 2 deletions examples/recovery/recovery_backup_profile.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
resource "intersight_recovery_backup_profile" "recovery_backup_profile1" {
name = "recovery_backup_profile1"
description = "recovery_backup_profile"
type = "instance"
nr_type = "instance"
config_context {
object_type = "policy.ConfigContext"
control_action = "deploy"
Expand Down Expand Up @@ -38,4 +38,4 @@ resource "intersight_recovery_backup_profile" "recovery_backup_profile1" {
type = string
description = "value for recovery schedule config policy"
}
```
```
4 changes: 2 additions & 2 deletions examples/sample_modules/server_configurations/sdcard.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ resource "intersight_sdcard_policy" "tf_sdcard" {
object_type = "organization.Organization"
}
partitions {
type = "OS"
nr_type = "OS"
object_type = "sdcard.Partition"

virtual_drives {
Expand All @@ -17,4 +17,4 @@ resource "intersight_sdcard_policy" "tf_sdcard" {
})
}
}
}
}
4 changes: 2 additions & 2 deletions examples/sample_modules/server_configurations/snmp.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ resource "intersight_snmp_policy" "tf_snmp" {
destination = "10.10.10.1"
enabled = false
port = 660
type = "Trap"
nr_type = "Trap"
user = "demouser"
nr_version = "V3"
object_type = "snmp.Trap"
Expand All @@ -31,4 +31,4 @@ resource "intersight_snmp_policy" "tf_snmp" {
moid = data.intersight_organization_organization.default.results.0.moid
object_type = "organization.Organization"
}
}
}
4 changes: 2 additions & 2 deletions examples/sdcard/sdcard_policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resource "intersight_sdcard_policy" "sdcard1" {
moid = var.organization
}
partitions {
type = "OS"
nr_type = "OS"
object_type = "sdcard.Partition"

virtual_drives {
Expand All @@ -26,4 +26,4 @@ resource "intersight_sdcard_policy" "sdcard1" {
type = string
description = "value for organization"
}
```
```
4 changes: 2 additions & 2 deletions examples/snmp/snmp_policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ resource "intersight_snmp_policy" "snmp1" {
destination = "10.10.10.1"
enabled = false
port = 660
type = "Trap"
nr_type = "Trap"
user = "demouser"
nr_version = "V3"
object_type = "snmp.Trap"
Expand Down Expand Up @@ -59,4 +59,4 @@ variable "profile" {
type = string
description = "Moid of server.Profile"
}
```
```
4 changes: 2 additions & 2 deletions examples/softwarerepository/softwarerepository_release.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

```hcl
resource "intersight_softwarerepository_release" "softwarerepository_release1" {
type = "FabricSwitch"
nr_type = "FabricSwitch"
catalog {
object_type = "softwarerepository.Catalog"
moid = var.softwarerepository_catalog
Expand All @@ -13,4 +13,4 @@ resource "intersight_softwarerepository_release" "softwarerepository_release1" {
type = string
description = "value for moid"
}
```
```
8 changes: 4 additions & 4 deletions examples/tam/tam_advisory_definition.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ resource "intersight_tam_advisory_definition" "tam_advisory_definition" {
actions {
operation_type = "create"
name = "tam_security_advisories1"
type = "restApi"
nr_type = "restApi"
object_type = "tam.SecurityAdvisoryDetails"
alert_type = "psirt"
}
type = "securityAdvisory"
nr_type = "securityAdvisory"
api_data_sources {
object_type = "tam.ApiDataSource"
name = "api_data_source_1"
type = "intersightApi"
nr_type = "intersightApi"

}
advisory_details {
Expand All @@ -37,4 +37,4 @@ variable "organization" {
type = string
description = "<value for organization>"
}
```
```
4 changes: 2 additions & 2 deletions examples/tam/tam_security_advisory.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ resource "intersight_tam_security_advisory" "tam_security_advisory1" {
name = "tam_security_advisories1"
object_type = "tam.SecurityAdvisoryDetails"
alert_type = "psirt"
type = "restApi"
nr_type = "restApi"
}

status = "final"
Expand All @@ -30,4 +30,4 @@ variable "organization" {
type = string
description = "value for moid"
}
```
```
6 changes: 3 additions & 3 deletions examples/workflow/workflow_error_response_handler.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ resource "intersight_workflow_error_response_handler" "workflow_error_response_h
object_type = "content.TextParameter"
name = "show-pure"
item_type = "string"
type = "string"
nr_type = "string"
}
types {
object_type = "content.ComplexType"
Expand All @@ -22,7 +22,7 @@ resource "intersight_workflow_error_response_handler" "workflow_error_response_h
object_type = "content.TextParameter"
name = "show-hitachi"
item_type = "string"
type = "string"
nr_type = "string"
}
}
catalog {
Expand All @@ -36,4 +36,4 @@ variable "workflow_catalog" {
type = string
description = "moid for workflow catalog"
}
```
```
2 changes: 1 addition & 1 deletion tests/common/chassis_profile.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
resource "intersight_chassis_profile" "chassis_profile1" {
name = "chassis_profile1"
description = "chassis profile"
type = "instance"
nr_type = "instance"
target_platform = "FIAttached"
action = "Validate"
config_context {
Expand Down
2 changes: 1 addition & 1 deletion tests/common/fabric_switch_cluster_profile.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
resource "intersight_fabric_switch_cluster_profile" "fabric_switch_cluster_profile1" {
name = "fabric_switch_cluster_profile"
description = "demo fabric switch cluster profile"
type = "instance"
nr_type = "instance"
organization {
object_type = "organization.Organization"
moid = data.intersight_organization_organization.default.results.0.moid
Expand Down
2 changes: 1 addition & 1 deletion tests/common/fabric_switch_profile.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
resource "intersight_fabric_switch_profile" "fabric_switch_profile1" {
name = "fabric_switch_profile1"
description = "demo fabric switch profile"
type = "instance"
nr_type = "instance"
action = "No-op"
switch_cluster_profile {
moid = intersight_fabric_switch_cluster_profile.fabric_switch_cluster_profile1.moid
Expand Down
2 changes: 1 addition & 1 deletion tests/common/kubernetes_aci_cni_profile.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
resource "intersight_kubernetes_aci_cni_profile" "kubernetes_aci_cni_profile1" {
description = "kubernetes aci cni profile"
name = "kubernetes_aci_cni_profile1"
type = "instance"
nr_type = "instance"
node_svc_subnet_start = "10.0.0.0/8"
pod_subnet_start = "10.0.0.0/8"
organization {
Expand Down
Loading