Skip to content

Commit 1bca405

Browse files
committed
Update for automated user synchronization operations
Signed-off-by: Webster Mudge <wmudge@cloudera.com>
1 parent 353805a commit 1bca405

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

plugins/modules/env_user_sync_info.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@
3737
options:
3838
name:
3939
description:
40-
- The C(operations id) for a User and Group sync event.
40+
- The C(operations id) for a User and Group sync event or the C(operations CRN) for the event if the C(WORKLOAD_IAM_SYNC) entitlement is enabled
4141
aliases:
4242
- operations_id
43+
- operations_crn
4344
required: True
4445
type: str
4546
extends_documentation_fragment:
@@ -50,7 +51,7 @@
5051
EXAMPLES = r'''
5152
# Note: These examples do not set authentication details.
5253
53-
# Get the status of a sync event
54+
# Get the status of a sync event (non-WORKLOAD_IAM_SYNC)
5455
- cloudera.cloud.env_user_sync_info:
5556
name: 0e9bc67a-b308-4275-935c-b8c764dc13be
5657
'''
@@ -85,7 +86,7 @@
8586
returned: when supported
8687
type: str
8788
operationId:
88-
description: UUID of the request for this operation.
89+
description: UUID (or CRN, if running with the C(WORKLOAD_IAM_SYNC) entitlement) of the request for this operation.
8990
returned: always
9091
type: str
9192
sample: 0e9bc67a-b308-4275-935c-b8c764dc13be
@@ -159,7 +160,7 @@ def process(self):
159160
def main():
160161
module = AnsibleModule(
161162
argument_spec=CdpModule.argument_spec(
162-
name=dict(required=True, type='str', aliases=['operation_id'])
163+
name=dict(required=True, type='str', aliases=['operation_id', 'operation_crn'])
163164
),
164165
supports_check_mode=True
165166
)

0 commit comments

Comments
 (0)