cisco / cisco.dnac / 2.0.7 / module / pnp_settings Manage PnpSettings objects of DeviceOnboardingPnp | "added in version" 1.0.0 of cisco.dnac" Authors: Rafael Campos (@racampos) This plugin has a corresponding action plugin.cisco.dnac.pnp_settings (2.0.7) — module
Install with ansible-galaxy collection install cisco.dnac:==2.0.7
collections: - name: cisco.dnac version: 2.0.7
Returns global PnP settings of the user.
Updates the user's list of global PnP settings.
- name: get_pnp_global_settings cisco.dnac.pnp_settings: state: query # required register: nm_get_pnp_global_settings
- name: update_pnp_global_settings cisco.dnac.pnp_settings: state: update # required _id: SomeValue # string aaaCredentials: password: SomeValue # string username: SomeValue # string acceptEula: True # boolean defaultProfile: cert: SomeValue # string fqdnAddresses: - SomeValue # string ipAddresses: - SomeValue # string port: 1 # integer proxy: True # boolean savaMappingList: - 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: 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 taskTimeOuts: configTimeOut: 1 # integer generalTimeOut: 1 # integer imageDownloadTimeOut: 1 # integer tenantId: SomeValue # string version: 1 # integer
_id: description: - Settings's _id. type: str version: description: - Settings's version. type: int tenantId: description: - Settings's tenantId. type: str acceptEula: description: - Settings's acceptEula. type: bool taskTimeOuts: description: - Settings's taskTimeOuts. suboptions: configTimeOut: description: - It is the pnp settings's configTimeOut. type: int generalTimeOut: description: - It is the pnp settings's generalTimeOut. type: int imageDownloadTimeOut: description: - It is the pnp settings's imageDownloadTimeOut. type: int type: dict aaaCredentials: description: - Settings's aaaCredentials. suboptions: password: description: - It is the pnp settings's password. type: str username: description: - It is the pnp settings's username. type: str type: dict defaultProfile: description: - Settings's defaultProfile. suboptions: cert: description: - It is the pnp settings's cert. type: str fqdnAddresses: description: - It is the pnp settings's fqdnAddresses. type: list ipAddresses: description: - It is the pnp settings's ipAddresses. type: list port: description: - It is the pnp settings's port. type: int proxy: description: - It is the pnp settings's proxy. type: bool type: dict savaMappingList: description: - Settings's savaMappingList (list of objects). elements: dict suboptions: autoSyncPeriod: description: - It is the pnp settings's autoSyncPeriod. type: int ccoUser: description: - It is the pnp settings's ccoUser. type: str expiry: description: - It is the pnp settings's expiry. type: int lastSync: description: - It is the pnp settings's lastSync. type: int profile: description: - It is the pnp settings's profile. required: true suboptions: addressFqdn: description: - It is the pnp settings's addressFqdn. type: str addressIpV4: description: - It is the pnp settings's addressIpV4. type: str cert: description: - It is the pnp settings's cert. type: str makeDefault: description: - It is the pnp settings's makeDefault. type: bool name: description: - It is the pnp settings's name. type: str port: description: - It is the pnp settings's port. type: int profileId: description: - It is the pnp settings's profileId. type: str proxy: description: - It is the pnp settings's proxy. type: bool type: dict smartAccountId: description: - It is the pnp settings's smartAccountId. required: true type: str syncResult: description: - It is the pnp settings's syncResult. suboptions: syncList: description: - It is the pnp settings's syncList. elements: dict suboptions: deviceSnList: description: - It is the pnp settings's deviceSnList. type: list syncType: description: - It is the pnp settings's syncType. type: str type: list syncMsg: description: - It is the pnp settings's syncMsg. type: str type: dict syncResultStr: description: - It is the pnp settings's syncResultStr. type: str syncStartTime: description: - It is the pnp settings's syncStartTime. type: int syncStatus: description: - It is the pnp settings's syncStatus. required: true type: str tenantId: description: - It is the pnp settings's tenantId. type: str token: description: - It is the pnp settings's token. type: str virtualAccountId: description: - It is the pnp settings's virtualAccountId. required: true type: str type: list
dnac_response: description: A dictionary with the response returned by the DNA Center Python SDK returned: always sample: response: 29 version: '1.0' type: dict missing_params: description: Provided arguments do not comply with the schema of the DNA Center Python SDK function returned: when the function request schema is not satisfied sample: null type: list sdk_function: description: The DNA Center SDK function used to execute the task returned: always sample: device_onboarding_pnp.get_pnp_global_settings type: str