Udostępnij za pośrednictwem


List all connections

 

The List all connections operation gets all the connections that belong to an automation account.

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. Include required URI parameters.

Method

Request URI

GET

https://management.core.windows.net/<subscriptionId>/cloudServices/<cloud-service-name>/resources/automation/~/automationAccounts/<automation-account-name>/connections?api-version={api-version}

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

The following response body shows the connections as values in an array.

{
   "value":[
      {
         "name":"Twilio",
         "properties":{
            "creationTime":"2015-05-19T17:57:44.443+00:00",
            "lastModifiedTime":"2015-05-19T17:57:44.443+00:00",
            "description":null,
            "fieldDefinitionValues":null,
            "connectionType":{
               "name":"LitwareTwilio"
            }
         }
      },
      {
         "name":"Twitter",
         "properties":{
            "creationTime":"2015-05-19T17:27:07.93+00:00",
            "lastModifiedTime":"2015-05-19T17:27:07.93+00:00",
            "description":null,
            "fieldDefinitionValues":null,
            "connectionType":{
               "name":"LitwareTwitter"
            }
         }
      }
   ]
}

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.

description

This value is null for collection returns.

fieldDefinitionValues

This value is null for collection returns.

connectionType/Name

The name of this connection's connection type.

nextLink

Returned only when the number of records exceeds the page size (100 records). This link, and any subsequent links, returns the next page of records.

See Also

Automation Connections
Operations on Automation