Skip to content

Commit

Permalink
vmware_object_role_permission and info - Add StoragePod to the List o…
Browse files Browse the repository at this point in the history
…f object types (#1338)

vmware_object_role_permission and info - Add StoragePod to the List of object types

SUMMARY
Add StoragePod to the List of object types
ISSUE TYPE

Feature Pull Request

COMPONENT NAME

vmware_object_role_permission.py
vmware_object_role_permission_info.py

ADDITIONAL INFORMATION

Reviewed-by: Mario Lenz <[email protected]>
  • Loading branch information
Nina2244 authored Jun 9, 2022
1 parent d8ce8d3 commit 5326613
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
minor_changes:
- vmware_object_role_permission.py - Add StoragePod to the list of object_types.
(https://github.com/ansible-collections/community.vmware/pull/1338)
- vmware_object_role_permission_info.py - Add StoragePod and DistributedVirtalPortgroup to the list of object_types.
(https://github.com/ansible-collections/community.vmware/pull/1338)
3 changes: 2 additions & 1 deletion plugins/modules/vmware_object_role_permission.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
choices: ['Folder', 'VirtualMachine', 'Datacenter', 'ResourcePool',
'Datastore', 'Network', 'HostSystem', 'ComputeResource',
'ClusterComputeResource', 'DistributedVirtualSwitch',
'DistributedVirtualPortgroup']
'DistributedVirtualPortgroup', 'StoragePod']
type: str
recursive:
description:
Expand Down Expand Up @@ -324,6 +324,7 @@ def main():
'ClusterComputeResource',
'DistributedVirtualSwitch',
'DistributedVirtualPortgroup',
'StoragePod',
],
),
principal=dict(type='str'),
Expand Down
5 changes: 4 additions & 1 deletion plugins/modules/vmware_object_role_permission_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
default: 'Folder'
choices: ['Folder', 'VirtualMachine', 'Datacenter', 'ResourcePool',
'Datastore', 'Network', 'HostSystem', 'ComputeResource',
'ClusterComputeResource', 'DistributedVirtualSwitch']
'ClusterComputeResource', 'DistributedVirtualSwitch',
'DistributedVirtualPortgroup', 'StoragePod']
type: str
moid:
description:
Expand Down Expand Up @@ -252,6 +253,8 @@ def main():
"ComputeResource",
"ClusterComputeResource",
"DistributedVirtualSwitch",
"DistributedVirtualPortgroup",
"StoragePod",
],
),
moid=dict(
Expand Down

0 comments on commit 5326613

Please sign in to comment.