Get information about a DSC configuration

 

Updated: May 26, 2016

The Get information about a DSC configuration task gets information about a DSC configuration.

The related Windows PowerShell cmdlet for this task is Get-AzureRmAutomationDscConfiguration.

To specify the request, replace {subscription-id} with your subscription ID, {resource-group-name} with the name of your resource group, {automation-account-name} with the name of the automation account, and {dsc-configuration-name} with the name of the DSC configuration.

Method

Request URI

GET

https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.Automation/automationAccounts/{automation-account-name}/configurations/{dsc-configuration-name}?api-version=2015-10-31

URI parameter

Description

api-version

Required. Valid values include 2015-10-31

The following code shows an example of the response body.

{
   "id":/subscriptions/db0a5f01-71dd-41f0-8ac1-90b20f8d1702/resourceGroups/LitwareResources/providers/Microsoft.Automation/automationAccounts/LitwareAutoAcct-A/configurations/LitwareSQLConfig",
   "name":"LitwareSQLConfig",
   "type":"Microsoft.Automation/AutomationAccounts/Configurations",
   "location":"EastUS2",
   "tags":{
      "author":"ericak@litware.com",
      "date":"1/31/2016 12:00:00 AM"
   },
   "etag":"\"635899036977370000\"",
   "properties":{
      "provisioningState":null,
      "jobCount":0,
      "parameters":{

      },
      "description":"DSC for Litware-SQL VM",
      "source":null,
      "state":"Published",
      "creationTime":"2016-02-01T06:08:17.733+00:00",
      "lastModifiedTime":"2016-02-01T06:08:17.737+00:00",
      "logVerbose":false
   }
}

200

For information about common error codes, see Service Management Status and Error Codes

Show: