cisco / cisco.dnac / 2.0.7 / module / global_credential_http_write Manage GlobalCredentialHttpWrite objects of Discovery | "added in version" 1.0.0 of cisco.dnac" Authors: Rafael Campos (@racampos) This plugin has a corresponding action plugin.cisco.dnac.global_credential_http_write (2.0.7) — module
Install with ansible-galaxy collection install cisco.dnac:==2.0.7
collections: - name: cisco.dnac version: 2.0.7
Adds global HTTP write credentials.
Updates global HTTP write credentials.
- name: create_http_write_credentials cisco.dnac.global_credential_http_write: state: create # required payload: # required - password: SomeValue # string, required port: 1 # integer, required username: SomeValue # string, required comments: SomeValue # string credentialType: SomeValue # string description: SomeValue # string id: SomeValue # string instanceTenantId: SomeValue # string instanceUuid: SomeValue # string secure: True # boolean
- name: update_http_write_credentials cisco.dnac.global_credential_http_write: state: update # required password: SomeValue # string, required port: 1 # integer, required username: SomeValue # string, required comments: SomeValue # string credentialType: # valid values are 'GLOBAL', # 'APP'. SomeValue # string description: SomeValue # string id: SomeValue # string instanceTenantId: SomeValue # string instanceUuid: SomeValue # string secure: True # boolean
id: description: - HTTPWriteCredentialDTO's id. type: str port: description: - HTTPWriteCredentialDTO's port. - Required for state update. type: int secure: description: - HTTPWriteCredentialDTO's secure. type: bool payload: description: - An object to send in the Request body. - Required for state create. elements: dict suboptions: comments: description: - It is the global credential http write's comments. type: str credentialType: description: - It is the global credential http write's credentialType. type: str description: description: - It is the global credential http write's description. type: str id: description: - It is the global credential http write's id. type: str instanceTenantId: description: - It is the global credential http write's instanceTenantId. type: str instanceUuid: description: - It is the global credential http write's instanceUuid. type: str password: description: - It is the global credential http write's password. required: true type: str port: description: - It is the global credential http write's port. required: true type: int secure: description: - It is the global credential http write's secure. type: bool username: description: - It is the global credential http write's username. required: true type: str type: list comments: description: - HTTPWriteCredentialDTO's comments. type: str password: description: - HTTPWriteCredentialDTO's password. - Required for state update. type: str username: description: - HTTPWriteCredentialDTO's username. - Required for state update. type: str description: description: - HTTPWriteCredentialDTO's description. type: str instanceUuid: description: - HTTPWriteCredentialDTO's instanceUuid. type: str credentialType: description: - HTTPWriteCredentialDTO's credentialType. - Available values are 'GLOBAL' and 'APP'. type: str instanceTenantId: description: - HTTPWriteCredentialDTO's instanceTenantId. type: str
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: discovery.create_http_write_credentials type: str