Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access control policies #175

Merged
merged 46 commits into from
Dec 3, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
46642af
feat: added functions for access control policies in client
Oct 28, 2020
28b52b7
feat: added resource and datasource(s) for access control policies
Oct 28, 2020
da7d8fc
fix: fixes linter make test
Oct 28, 2020
7aa598e
fix: fixes and refactorized to make it work it the testacc
Oct 30, 2020
95a88e6
added validatefunc for some parameters
Oct 30, 2020
437dac5
docs: added docs for access control policies
Oct 30, 2020
63769d9
refactor: refactorized and fixes linters
Nov 1, 2020
2a6a8e2
updated docs
Nov 1, 2020
5935cfe
changed filter_context_list to context_filter_list
Nov 3, 2020
4783c44
feat: renabled the projects resources and datasource(s)
Nov 3, 2020
25d1eb0
renamed files and hardcoded kind for project_reference
Nov 4, 2020
331a899
added return nil in read function
yannickstruyf3 Nov 5, 2020
eda63df
modified code to support project and ACP use case. Also make sure tha…
yannickstruyf3 Nov 5, 2020
341af13
removed api_version hardcoded
yannickstruyf3 Nov 5, 2020
a06c474
chore: updated vendor
Nov 6, 2020
5dc46c0
updated imports
Nov 6, 2020
904ad6c
refactorized some mistakes
Nov 10, 2020
acbb25b
made resource_domain optional -> quotas are also optional in projects
yannickstruyf3 Nov 17, 2020
2f3ea52
added max items to resource_domain
yannickstruyf3 Nov 17, 2020
a93c052
Merge pull request #183 from yannickstruyf3/bugfix/projects-optional-…
marinsalinas Nov 17, 2020
aa1806e
feat: added functions for access control policies in client
Oct 28, 2020
1b1c4ce
feat: added resource and datasource(s) for access control policies
Oct 28, 2020
859a027
fix: fixes linter make test
Oct 28, 2020
5dc4da4
fix: fixes and refactorized to make it work it the testacc
Oct 30, 2020
fc857ef
added validatefunc for some parameters
Oct 30, 2020
aeafde3
docs: added docs for access control policies
Oct 30, 2020
e1de2e9
refactor: refactorized and fixes linters
Nov 1, 2020
b3488fa
updated docs
Nov 1, 2020
5ead910
changed filter_context_list to context_filter_list
Nov 3, 2020
e0226b2
feat: renabled the projects resources and datasource(s)
Nov 3, 2020
0a14a51
renamed files and hardcoded kind for project_reference
Nov 4, 2020
0570d0d
added return nil in read function
yannickstruyf3 Nov 5, 2020
fae5cf3
modified code to support project and ACP use case. Also make sure tha…
yannickstruyf3 Nov 5, 2020
5db9c7d
removed api_version hardcoded
yannickstruyf3 Nov 5, 2020
eaed354
chore: updated vendor
Nov 6, 2020
961a3cf
updated imports
Nov 6, 2020
7982f48
refactorized some mistakes
Nov 10, 2020
392a410
made resource_domain optional -> quotas are also optional in projects
yannickstruyf3 Nov 17, 2020
5ddab05
added max items to resource_domain
yannickstruyf3 Nov 17, 2020
ee6ca52
Merge pull request #185 from nutanix/acp-update
marinsalinas Nov 17, 2020
c80218f
modified typeset casting for user_reference_list and user_group_refer…
yannickstruyf3 Nov 18, 2020
f86555c
Merge pull request #187 from yannickstruyf3/acp_update_typeset
marinsalinas Nov 18, 2020
370943b
fix wwrong assignment of userreferencelist
yannickstruyf3 Nov 19, 2020
19ba3e3
Merge pull request #189 from yannickstruyf3/bugfix/acp-update-user-re…
marinsalinas Nov 19, 2020
2b38de0
git merge
Dec 3, 2020
be80ab2
chore: remove vendor dependencies
marinsalinas Dec 3, 2020
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
Prev Previous commit
Next Next commit
refactorized some mistakes
  • Loading branch information
Edgar Lopez authored and marinsalinas committed Nov 17, 2020
commit 7982f48548cc67f7123790a7f44a886c558cf182
2 changes: 1 addition & 1 deletion nutanix/resource_nutanix_access_control_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ func resourceNutanixAccessControlPolicyRead(d *schema.ResourceData, meta interfa
d.SetId("")
return nil
}
errDel := resourceNutanixSubnetDelete(d, meta)
errDel := resourceNutanixAccessControlPolicyDelete(d, meta)
if errDel != nil {
return fmt.Errorf("error deleting access control policy (%s) after read error: %+v", id, errDel)
}
Expand Down
4 changes: 0 additions & 4 deletions website/docs/d/access_control_policies.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,6 @@ The following attributes are exported:
* `metadata`: - The vm kind metadata.
* `api_version` - The version of the API.
* `state`: - The state of the vm.
* `cluster_name`: - The name of the cluster.
* `host_reference`: - Reference to a host.
* `hypervisor_type`: - The hypervisor type for the hypervisor the VM is hosted on.
* `nic_list_status`: - Status NICs attached to the VM.

### Metadata

Expand Down
4 changes: 0 additions & 4 deletions website/docs/d/access_control_policy.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,6 @@ The following attributes are exported:
* `metadata`: - The vm kind metadata.
* `api_version` - The version of the API.
* `state`: - The state of the vm.
* `cluster_name`: - The name of the cluster.
* `host_reference`: - Reference to a host.
* `hypervisor_type`: - The hypervisor type for the hypervisor the VM is hosted on.
* `nic_list_status`: - Status NICs attached to the VM.

### Metadata

Expand Down
4 changes: 0 additions & 4 deletions website/docs/r/access_control_policy.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,6 @@ The following attributes are exported:
* `metadata`: - The vm kind metadata.
* `api_version` - The version of the API.
* `state`: - The state of the vm.
* `cluster_name`: - The name of the cluster.
* `host_reference`: - Reference to a host.
* `hypervisor_type`: - The hypervisor type for the hypervisor the VM is hosted on.
* `nic_list_status`: - Status NICs attached to the VM.

### Metadata

Expand Down