Get information about a connection
The Get information about a connection operation gets the definition of a connection.
Request
To specify the request, replace <subscription-id> with your subscription ID, <cloud-service-name> with the name of the cloud service to use for making the request, <automation-account-name> with the name of the automation account to use for making the request, and <connection-name> with the name of the connection to get information about. Include required URI parameters.
Method |
Request URI |
---|---|
GET |
https://management.core.windows.net/<subscription-id>/cloudServices/<cloud-service-name>/resources/automation/~/automationAccounts/<automation-account-name>/connections/<connection-name>?api-version=2014-12-08 |
URI Parameters
Parameter |
Description |
---|---|
api-version |
Required. Must be set to 2014-12-08. |
Request Headers
The request header in the following table is required.
Request Header |
Description |
---|---|
x-ms-version |
Specifies the version of the operation. Set to 2013-06-01 or a later version. |
Request Body
None
Response
Status Code
A successful operation returns 200 (OK). For information about common error codes, see HTTP/1.1 Status Code Definitions.
Response Headers
Request Header |
Description |
---|---|
x-ms-request-id |
A unique identifier for the current operation. |
Response Body
{
"name":"Twilio",
"properties":{
"creationTime":"2015-05-19T17:57:44.443+00:00",
"lastModifiedTime":"2015-05-19T17:57:44.443+00:00",
"description":"Twilio connection",
"fieldDefinitionValues":{
"AccountSid":"a75b45g37979542c0bc3ca7dd03b6d072",
"AuthToken":"dk49dkdcb3948abd"
},
"connectionType":{
"name":"LitwareTwilio"
}
}
}
Element |
Description |
---|---|
name |
Name of the connection. |
creationTime |
The date and time the connection was created. |
lastModifiedTime |
The date and time the connection was last modified. |
fieldDefinitionValues |
This connection's fields and current values. Encrypted values are returned as null. |
connectionType/Name |
The name of this connection's connection type. |