Certificate - List By Automation Account

Retrieve a list of certificates.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/certificates?api-version=2015-10-31

URI Parameters

Name In Required Type Description
subscriptionId
path True
  • string

Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

resourceGroupName
path True
  • string

Name of an Azure Resource group.

Regex pattern: ^[-\w\._]+$

automationAccountName
path True
  • string

The name of the automation account.

api-version
query True
  • string

Client Api Version.

Responses

Name Type Description
200 OK

OK

Other Status Codes

Automation error response describing why the operation failed.

Examples

List certificates

Sample Request

GET https://management.azure.com/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/certificates?api-version=2015-10-31

Sample Response

{
  "value": [
    {
      "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/certificates/testCert",
      "name": "testCert",
      "properties": {
        "description": "Sample Cert",
        "isExportable": false,
        "thumbprint": "thumbprint of cert",
        "expiryTime": "2018-03-29T17:25:45+00:00",
        "creationTime": "2017-03-29T17:26:43.337+00:00",
        "lastModifiedTime": "2017-03-29T17:28:55.01+00:00"
      }
    }
  ]
}

Definitions

Certificate

Definition of the certificate.

CertificateListResult

The response model for the list certificate operation.

ErrorResponse

Error response of an operation failure

Certificate

Definition of the certificate.

Name Type Description
id
  • string

Fully qualified resource Id for the resource

name
  • string

The name of the resource

properties.creationTime
  • string

Gets the creation time.

properties.description
  • string

Gets or sets the description.

properties.expiryTime
  • string

Gets the expiry time of the certificate.

properties.isExportable
  • boolean

Gets the is exportable flag of the certificate.

properties.lastModifiedTime
  • string

Gets the last modified time.

properties.thumbprint
  • string

Gets the thumbprint of the certificate.

type
  • string

The type of the resource.

CertificateListResult

The response model for the list certificate operation.

Name Type Description
nextLink
  • string

Gets or sets the next link.

value

Gets or sets a list of certificates.

ErrorResponse

Error response of an operation failure

Name Type Description
code
  • string

Error code

message
  • string

Error message indicating why the operation failed.