racampos / racampos.dnac / 0.0.1 / module / global_credential_http_write Manage GlobalCredentialHttpWrite objects of Discovery | "added in version" 1.0 of racampos.dnac" Authors: first last (@GitHubID) preview | supported by community This plugin has a corresponding action plugin.racampos.dnac.global_credential_http_write (0.0.1) — module
Install with ansible-galaxy collection install racampos.dnac:==0.0.1
collections: - name: racampos.dnac version: 0.0.1
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: SomeValue # string, valid values: 'GLOBAL', 'APP'. 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
create_http_write_credentials: contains: null description: Adds global HTTP write credentials. response: contains: taskId: description: It is the global credential http write's taskId. returned: success type: dict url: description: It is the global credential http write's url. returned: success sample: <url> type: str description: HTTPWriteCredentialDTO's response. returned: success type: dict returned: success type: dict version: description: HTTPWriteCredentialDTO's version. returned: success sample: '1.0' type: str update_http_write_credentials: contains: null description: Updates global HTTP write credentials. response: contains: taskId: description: It is the global credential http write's taskId. returned: changed type: dict url: description: It is the global credential http write's url. returned: changed sample: <url> type: str description: HTTPWriteCredentialDTO's response. returned: changed type: dict returned: changed type: dict version: description: HTTPWriteCredentialDTO's version. returned: changed sample: '1.0' type: str