Skip to content

Commit

Permalink
schema lint
Browse files Browse the repository at this point in the history
Signed-off-by: ziyeqf <51212351+ziyeqf@users.noreply.github.com>
  • Loading branch information
ziyeqf committed Jul 18, 2023
1 parent 50d0d37 commit 66daad3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,11 +216,8 @@ func (s VMWareReplicatedVmResource) Arguments() map[string]*pluginsdk.Schema {

"target_network_id": {
Type: pluginsdk.TypeString,
Optional: true,
Required: true,
ValidateFunc: commonids.ValidateVirtualNetworkID,
RequiredWith: []string{
"network_interface",
},
},

"test_network_id": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ The following arguments are supported:

* `target_vm_name` - (Required) Name of the VM that should be created when a failover is done. Changing this forces a new resource to be created.

* `target_network_id` - (Required) The ID of network to use when a failover is done.

* `default_log_storage_account_id` - (Optional) The ID of the stroage account that should be used for logging during replication.

**Note:** Only standard types of storage accounts are allowed.
Expand Down Expand Up @@ -150,8 +152,6 @@ The following arguments are supported:

* `target_boot_diagnostics_storage_account_id` - (Optional) The ID of the storage account that should be used for boot diagnostics when a failover is done.

* `target_network_id` - (Optional) The ID of network to use when a failover is done.

* `test_network_id` - (Optional) The ID of network to use when a test failover is done.

* `target_proximity_placement_group_id` - (Optional) The ID of Proximity Placement Group the new VM should belong to when a failover is done.
Expand Down

0 comments on commit 66daad3

Please sign in to comment.