List DSC node configurations

 

Updated: May 26, 2016

The List DSC node configurations task lists the DSC node configurations in an automation account.

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

To specify the request, replace {subscription-id} with your subscription ID, {resource-group-name} with the name of your resource group, and {automation-account-name} with the name of the automation account to use for this task.

Method

Request URI

GET

https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.Automation/automationAccounts/{automation-account-name}/nodeConfigurations?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.

{
   "value":[
  	{
     	"id":/subscriptions/2020c241-7268-4a75-826f-255b28c66041/resourceGroups/LitwareResources/providers/Microsoft.Automation/automationAccounts/LitwareAutoAcct-A/configurations/LitwareLabConfig",
     	"location":"EastUS2",
     	"name":"LitwareLabConfig",
     	"type":"Microsoft.Automation/AutomationAccounts/Configurations",
     	"properties":{
        	"state":"Published",
        	"creationTime":"2016-01-24T21:39:48.253+00:00",
        	"lastModifiedTime":"2016-01-24T21:39:48.257+00:00"
     	}
  	},
  	{
     	"id":"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/LitwareResources/providers/Microsoft.Automation/automationAccounts/LitwareAutoAcct-A/configurations/LitwareLabConfigBak",
     	"location":"EastUS2",
     	"name":"LitwareLabConfigBak",
     	"type":"Microsoft.Automation/AutomationAccounts/Configurations",
     	"properties":{
        	"state":"Published",
        	"creationTime":"2016-01-24T21:55:55.223+00:00",
        	"lastModifiedTime":"2016-01-24T21:55:55.223+00:00"
     	}
  	},
  	{
     	"id":"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/LitwareResources/providers/Microsoft.Automation/automationAccounts/LitwareAutoAcct-A/configurations/LitwareSQLConfig",
     	"location":"EastUS2",
     	"name":"LitwareSQLConfig",
     	"type":"Microsoft.Automation/AutomationAccounts/Configurations",
     	"properties":{
        	"state":"Published",
        	"creationTime":"2016-02-01T06:08:17.733+00:00",
        	"lastModifiedTime":"2016-02-01T06:08:17.737+00:00"
     	}
  	},
  	{
     	"id":"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/LitwareResources/providers/Microsoft.Automation/automationAccounts/LitwareAutoAcct-A/configurations/NodeConfig",
     	"location":"EastUS2",
     	"name":"NodeConfig",
     	"type":"Microsoft.Automation/AutomationAccounts/Configurations",
     	"properties":{
        	"state":"Published",
        	"creationTime":"2016-02-17T06:22:25.84+00:00",
        	"lastModifiedTime":"2016-02-17T06:22:25.843+00:00"
     	}
  	}
   ]
}

If the number of records exceeds the page size (100 records), a 'nextLink' element is provided to link to subsequent pages as needed.

200

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

Show: