racampos / racampos.dnac / 0.0.1 / module / global_credential_http_read Manage GlobalCredentialHttpRead 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_read (0.0.1) — module
Install with ansible-galaxy collection install racampos.dnac:==0.0.1
collections: - name: racampos.dnac version: 0.0.1
Adds HTTP read credentials.
Updates global HTTP Read credential.
- name: create_http_read_credentials cisco.dnac.global_credential_http_read: 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_read_credential cisco.dnac.global_credential_http_read: 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: - HTTPReadCredentialDTO's id. type: str port: description: - HTTPReadCredentialDTO's port. - Required for state update. type: int secure: description: - HTTPReadCredentialDTO'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 read's comments. type: str credentialType: description: - It is the global credential http read's credentialType. type: str description: description: - It is the global credential http read's description. type: str id: description: - It is the global credential http read's id. type: str instanceTenantId: description: - It is the global credential http read's instanceTenantId. type: str instanceUuid: description: - It is the global credential http read's instanceUuid. type: str password: description: - It is the global credential http read's password. required: true type: str port: description: - It is the global credential http read's port. required: true type: int secure: description: - It is the global credential http read's secure. type: bool username: description: - It is the global credential http read's username. required: true type: str type: list comments: description: - HTTPReadCredentialDTO's comments. type: str password: description: - HTTPReadCredentialDTO's password. - Required for state update. type: str username: description: - HTTPReadCredentialDTO's username. - Required for state update. type: str description: description: - HTTPReadCredentialDTO's description. type: str instanceUuid: description: - HTTPReadCredentialDTO's instanceUuid. type: str credentialType: description: - HTTPReadCredentialDTO's credentialType. - Available values are 'GLOBAL' and 'APP'. type: str instanceTenantId: description: - HTTPReadCredentialDTO's instanceTenantId. type: str
create_http_read_credentials: contains: null description: Adds HTTP read credentials. response: contains: taskId: description: It is the global credential http read's taskId. returned: success type: dict url: description: It is the global credential http read's url. returned: success sample: <url> type: str description: HTTPReadCredentialDTO's response. returned: success type: dict returned: success type: dict version: description: HTTPReadCredentialDTO's version. returned: success sample: '1.0' type: str update_http_read_credential: contains: null description: Updates global HTTP Read credential. response: contains: taskId: description: It is the global credential http read's taskId. returned: changed type: dict url: description: It is the global credential http read's url. returned: changed sample: <url> type: str description: HTTPReadCredentialDTO's response. returned: changed type: dict returned: changed type: dict version: description: HTTPReadCredentialDTO's version. returned: changed sample: '1.0' type: str