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

[New Data Source]: protocols/cifs/local-groups/{svm.uuid}/{local_cifs_group.sid}/members #122

Closed
chuyich opened this issue Jan 25, 2024 · 0 comments · Fixed by #129
Closed
Assignees
Labels
New Data Source New Request for an ONTAP Data source
Milestone

Comments

@chuyich
Copy link
Contributor

chuyich commented Jan 25, 2024

Description

https://docs.netapp.com/us-en/ontap-restapi-9131/ontap/protocols_cifs_local-groups_svm.uuid_local_cifs_group.sid_members_endpoint_overview.html

Required properties
svm.uuid or svm.name - Existing SVM
group_name or group_id - Existing local group

The call:

curl -X GET "https:///api/protocols/cifs/local-groups/2ebec9c7-28be-11eb-95f4-0050568ed0a2/S-1-5-21-256008430-3394229847-3930036330-1257/members" -H "accept: application/json"

The response:

{
"records": [
  {
    "name": "CIFS_SERVER1\\user1"
  },
  {
    "name": "CIFS_SERVER1\\user2"
  }
],
"num_records": 2
}

Requested Resource(s) and/or Data Source(s)

protocols_cifs_local_group_member

Potential Terraform Configuration

No response

References

https://docs.netapp.com/us-en/ontap-restapi-9131/ontap/protocols_cifs_local-groups_svm.uuid_local_cifs_group.sid_members_endpoint_overview.html#overview

vserver cifs users-and-groups local-group show-members

Would you like to implement a fix?

None

@chuyich chuyich self-assigned this Jan 25, 2024
@chuyich chuyich added the New Data Source New Request for an ONTAP Data source label Jan 25, 2024
@chuyich chuyich added this to the 1.1.0 milestone Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment