Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1315,6 +1315,11 @@
"description": "Gets or sets the last modified time.",
"x-nullable": false
},
"nodeConfigurationCount": {
"type": "integer",
"description": "Gets the number of compiled node configurations.",
"x-nullable": false
},
"description": {
"type": "string",
"description": "Gets or sets the description."
Expand Down Expand Up @@ -1354,6 +1359,10 @@
"nextLink": {
"type": "string",
"description": "Gets or sets the next link."
},
"totalCount": {
"type": "integer",
"description": "Gets the total number of configurations matching filter criteria."
}
},
"description": "The response model for the list configuration operation."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "AutomationManagement",
"version": "2015-10-31",
"x-ms-code-generation-settings": {
"x-ms-code-generation-settings": {
"useDateTimeOffset": true
}
},
Expand Down Expand Up @@ -348,6 +348,12 @@
"x-ms-examples": {
"Get DSC Configuration": {
"$ref": "./examples/getAllDscConfigurations.json"
},
"List Paged DSC Configurations with no filter": {
"$ref": "./examples/getPagedDscConfigurationsWithNoFilter.json"
},
"List Paged DSC Configurations with name filter": {
"$ref": "./examples/getPagedlDscConfigurationsWithNameFilter.json"
}
},
"parameters": [
Expand All @@ -366,6 +372,34 @@
},
{
"$ref": "./definitions.json#/parameters/ApiVersionParameter"
},
{
"name": "$filter",
Copy link
Copy Markdown
Contributor

@mcardosos mcardosos Apr 24, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$filter [](start = 21, length = 7)

What about adding the x-ms-odata extension? #Resolved

Copy link
Copy Markdown
Member

@vrdmr vrdmr Apr 25, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"in": "query",
"required": false,
"type": "string",
"description": "The filter to apply on the operation."
},
{
"name": "$skip",
"in": "query",
"required": false,
"type": "integer",
"description": "The number of rows to skip."
},
{
"name": "$top",
"in": "query",
"required": false,
"type": "integer",
"description": "The the number of rows to take."
},
{
"name": "$inlinecount",
"in": "query",
"required": false,
"type": "string",
"description": "Return total rows."
}
],
"responses": {
Expand All @@ -384,7 +418,8 @@
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
},
"x-ms-odata": "./definitions.json#/definitions/DscConfiguration"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "rg",
"automationAccountName": "myAutomationAccount33",
"api-version": "2015-10-31",
"$skip": 0,
"$top": 3,
"$inlinecount": "allpages"
},
"responses": {
"200": {
"headers": {},
"body": {
"value": [
{
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/configurations/SqlServerBig",
"location": "East US 2",
"name": "SqlServerBig",
"type": "Microsoft.Automation/AutomationAccounts/Configurations",
"properties": {
"state": "Published",
"creationTime": "2017-03-28T18:53:24.997+00:00",
"lastModifiedTime": "2017-03-28T18:53:24.997+00:00",
"nodeConfigurationCount": 1
}
},
{
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/configurations/SqlServerLittle",
"location": "East US 2",
"name": "SqlServerLittle",
"type": "Microsoft.Automation/AutomationAccounts/Configurations",
"properties": {
"state": "Published",
"creationTime": "2017-03-28T18:53:24.997+00:00",
"lastModifiedTime": "2017-03-28T18:53:24.997+00:00",
"nodeConfigurationCount": 1
}
},
{
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/configurations/SetupServer",
"location": "East US 2",
"name": "SetupServer",
"type": "Microsoft.Automation/AutomationAccounts/Configurations",
"properties": {
"state": "Published",
"creationTime": "2017-03-28T18:53:24.997+00:00",
"lastModifiedTime": "2017-03-28T18:53:24.997+00:00",
"nodeConfigurationCount": 1
}
}
],
"totalCount": 12
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "rg",
"automationAccountName": "myAutomationAccount33",
"api-version": "2015-10-31",
"$skip": 0,
"$top": 2,
"$inlinecount": "allpages",
"$filter": "contains(name,'server')"
},
"responses": {
"200": {
"headers": {},
"body": {
"value": [
{
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/configurations/SqlServerBig",
"location": "East US 2",
"name": "SqlServerBig",
"type": "Microsoft.Automation/AutomationAccounts/Configurations",
"properties": {
"state": "Published",
"creationTime": "2017-03-28T18:53:24.997+00:00",
"lastModifiedTime": "2017-03-28T18:53:24.997+00:00",
"nodeConfigurationCount": 1
}
},
{
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/configurations/SqlServerLittle",
"location": "East US 2",
"name": "SqlServerLittle",
"type": "Microsoft.Automation/AutomationAccounts/Configurations",
"properties": {
"state": "Published",
"creationTime": "2017-03-28T18:53:24.997+00:00",
"lastModifiedTime": "2017-03-28T18:53:24.997+00:00",
"nodeConfigurationCount": 1
}
}
],
"totalCount": 4
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,27 @@
"x-ms-examples": {
"List DSC nodes by Automation Account": {
"$ref": "./examples/listAllDscNodesByAutomationAccount.json"
},
"List Paged DSC nodes by Automation Account with no filters": {
"$ref": "./examples/listPagedDscNodesByAutomationAccountWithNoFilter.json"
},
"List Paged DSC nodes by Automation Account with name filter": {
"$ref": "./examples/listPagedDscNodesByAutomationAccountWithNameFilter.json"
},
"List Paged DSC nodes by Automation Account with node status filter": {
"$ref": "./examples/listPagedDscNodesByAutomationAccountWithStatusFilter.json"
},
"List Paged DSC nodes by Automation Account with Node Configuration Custom filter": {
"$ref": "./examples/listPagedDscNodesByAutomationAccountWithNodeConfigurationCustomFilter.json"
},
"List Paged DSC nodes by Automation Account where Node Configurations are not assigned filter": {
"$ref": "./examples/listPagedDscNodesByAutomationAccountWithNodeConfigurationNotAssignedFilter.json"
},
"List Paged DSC nodes by Automation Account with version filter": {
"$ref": "./examples/listPagedDscNodesByAutomationAccountWithVersionFilter.json"
},
"List Paged DSC nodes with filters separated by 'and'": {
"$ref": "./examples/listPagedDscNodesByAutomationAccountWithCompositeFilter.json"
}
},
"parameters": [
Expand All @@ -326,6 +347,27 @@
"type": "string",
"description": "The filter to apply on the operation."
},
{
"name": "$skip",
"in": "query",
"required": false,
"type": "integer",
"description": "The number of rows to skip."
},
{
"name": "$top",
"in": "query",
"required": false,
"type": "integer",
"description": "The the number of rows to take."
},
{
"name": "$inlinecount",
"in": "query",
"required": false,
"type": "string",
"description": "Return total rows."
},
{
"$ref": "./definitions.json#/parameters/SubscriptionIdParameter"
},
Expand Down Expand Up @@ -849,6 +891,7 @@
"description": "Gets or sets the account id of the node."
},
"nodeConfiguration": {
"x-nullable": true,
"x-ms-client-flatten": true,
"$ref": "#/definitions/DscNodeConfigurationAssociationProperty",
"description": "Gets or sets the configuration of the node."
Expand All @@ -865,6 +908,10 @@
"type": "string",
"description": "Gets or sets the etag of the resource."
},
"totalCount": {
"type": "integer",
"description": "Gets the total number of records matching filter criteria."
},
"extensionHandler": {
"type": "array",
"description": "Gets or sets the list of extensionHandler properties for a Node.",
Expand Down Expand Up @@ -945,6 +992,10 @@
"nextLink": {
"type": "string",
"description": "Gets or sets the next link."
},
"totalCount": {
"type": "integer",
"description": "Gets the total number of nodes matching filter criteria."
}
},
"description": "The response model for the list dsc nodes operation."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,12 @@
"x-ms-examples": {
"List DSC node configurations by Automation Account": {
"$ref": "./examples/listDscNodeConfigurations.json"
},
"List Paged DSC node configurations by Automation Account with no filter": {
"$ref": "./examples/listPagedDscNodeConfigurationsWithNoFilter.json"
},
"List Paged DSC node configurations by Automation Account with name filter": {
"$ref": "./examples/listPagedDscNodeConfigurationsWithNameFilter.json"
}
},
"parameters": [
Expand All @@ -232,6 +238,27 @@
"required": false,
"type": "string",
"description": "The filter to apply on the operation."
},
{
"name": "$skip",
"in": "query",
"required": false,
"type": "integer",
"description": "The number of rows to skip."
},
{
"name": "$top",
"in": "query",
"required": false,
"type": "integer",
"description": "The the number of rows to take."
},
{
"name": "$inlinecount",
"in": "query",
"required": false,
"type": "string",
"description": "Return total rows."
}
],
"responses": {
Expand Down Expand Up @@ -364,6 +391,10 @@
"nextLink": {
"type": "string",
"description": "Gets or sets the next link."
},
"totalCount": {
"type": "integer",
"description": "Gets or sets the total rows in query."
}
},
"description": "The response model for the list job operation."
Expand Down
Loading