cisco.dnac.virtual_account_sync – Manage VirtualAccountSync objects of DeviceOnboardingPnp¶
Note
This plugin is part of the cisco.dnac collection (version 2.0.7).
To install it use: ansible-galaxy collection install cisco.dnac
.
To use it in a playbook, specify: cisco.dnac.virtual_account_sync
.
New in version 1.0.0: of cisco.dnac
Synopsis¶
Synchronizes the device info from the given smart account & virtual account with the PnP database. The response payload returns a list of synced devices.
Returns the summary of devices synced from the given smart account & virtual account with PnP.
Note
This module has a corresponding action plugin.
Parameters¶
See Also¶
See also
- cisco.dnac.plugins.module_utils.definitions.virtual_account_sync
The official documentation on the cisco.dnac.plugins.module_utils.definitions.virtual_account_sync module.
- VirtualAccountSync reference
Complete reference of the VirtualAccountSync object model.
- VirtualAccountSync reference
SDK reference.
Examples¶
- name: sync_virtual_account_devices
cisco.dnac.virtual_account_sync:
state: create # required
profile: # required
addressFqdn: SomeValue # string
addressIpV4: SomeValue # string
cert: SomeValue # string
makeDefault: True # boolean
name: SomeValue # string
port: 1 # integer
profileId: SomeValue # string
proxy: True # boolean
smartAccountId: SomeValue # string, required
syncStatus: # valid values are 'NOT_SYNCED',
# 'SYNCING',
# 'SUCCESS',
# 'FAILURE'.
SomeValue # string, required
virtualAccountId: SomeValue # string, required
autoSyncPeriod: 1 # integer
ccoUser: SomeValue # string
expiry: 1 # integer
lastSync: 1 # integer
syncResult:
syncList:
- deviceSnList:
- SomeValue # string
syncType: SomeValue # string
syncMsg: SomeValue # string
syncResultStr: SomeValue # string
syncStartTime: 1 # integer
tenantId: SomeValue # string
token: SomeValue # string
- name: get_sync_result_for_virtual_account
cisco.dnac.virtual_account_sync:
state: query # required
domain: SomeValue # string, required
name: SomeValue # string, required
register: nm_get_sync_result_for_virtual_account
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Rafael Campos (@racampos)