Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The List all connection types operation gets all the connection types 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>/connectionTypes?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 connection types as values in an array.
{
"value":[
{
"name":"Azure",
"properties":{
"isGlobal":true,
"fieldDefinitions":{
"AutomationCertificateName":{
"isEncrypted":false,
"isOptional":false,
"type":"System.String"
},
"SubscriptionID":{
"isEncrypted":false,
"isOptional":false,
"type":"System.String"
}
},
"creationTime":"2014-03-15T08:05:12.243+00:00",
"lastModifiedTime":"2014-03-15T08:05:12.39+00:00"
}
},
{
"name":"GitHub",
"properties":{
"isGlobal":false,
"fieldDefinitions":{
"AccessToken":{
"isEncrypted":true,
"isOptional":false,
"type":"System.String"
}
},
"creationTime":"2015-04-21T03:10:28.43+00:00",
"lastModifiedTime":"2015-04-21T03:10:28.587+00:00"
}
},
{
"name":"LitwareTwilio",
"properties":{
"isGlobal":false,
"fieldDefinitions":{
"AccountSid":{
"isEncrypted":false,
"isOptional":false,
"type":"System.String"
}
},
"creationTime":"2015-05-19T17:11:59.34+00:00",
"lastModifiedTime":"2015-05-19T17:11:59.353+00:00"
}
},
{
"name":"LitwareTwitter",
"properties":{
"isGlobal":false,
"fieldDefinitions":{
"Owner":{
"isEncrypted":false,
"isOptional":false,
"type":"System.String"
},
"ConsumerAPIKey":{
"isEncrypted":true,
"isOptional":false,
"type":"System.String"
},
"ConsumerAPISecret":{
"isEncrypted":true,
"isOptional":false,
"type":"System.String"
},
"AccessToken":{
"isEncrypted":true,
"isOptional":false,
"type":"System.String"
},
"AccessTokenSecret":{
"isEncrypted":true,
"isOptional":false,
"type":"System.String"
}
},
"creationTime":"2015-05-19T17:07:13.417+00:00",
"lastModifiedTime":"2015-05-19T17:07:13.54+00:00"
}
}
]
}
Element |
Description |
|---|---|
name |
Name of the connection type. |
isEncrypted |
Indicates whether the value is stored in an encrypted form. The default is "false". |
type |
The field's data type. |
creationTime |
Date and time the connection type was created. |
lastmodifiedTime |
Date and time the connection type was last modified. |
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. |