Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing issues found after reviewing published documentation #4

Merged
merged 1 commit into from
Nov 13, 2017
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 @@ -41,27 +41,6 @@

"paths": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurations/{softwareUpdateConfigurationName}": {
"parameters": [
{
"$ref": "./definitions.json#/parameters/subscriptionId"
},
{
"$ref": "./definitions.json#/parameters/resourceGroupName"
},
{
"$ref": "./definitions.json#/parameters/automationAccountName"
},
{
"$ref": "./definitions.json#/parameters/softwareUpdateConfigurationName"
},
{
"$ref": "./definitions.json#/parameters/apiVersion"
},
{
"$ref": "./definitions.json#/parameters/clientRequestId"
}
],

"put": {
"tags": [ "Software Update Configuration" ],
"description": "Create a new software update configuration with the name given in the URI.",
Expand All @@ -73,6 +52,24 @@
},
"operationId": "softwareUpdateConfigurations_Create",
"parameters": [
{
"$ref": "./definitions.json#/parameters/subscriptionId"
},
{
"$ref": "./definitions.json#/parameters/resourceGroupName"
},
{
"$ref": "./definitions.json#/parameters/automationAccountName"
},
{
"$ref": "./definitions.json#/parameters/softwareUpdateConfigurationName"
},
{
"$ref": "./definitions.json#/parameters/apiVersion"
},
{
"$ref": "./definitions.json#/parameters/clientRequestId"
},
{
"name": "parameters",
"description": "Request body.",
Expand Down Expand Up @@ -119,6 +116,26 @@
"Get software update configuration by name": { "$ref": "./examples/softwareUpdateConfiguration/getSoftwareUpdateConfigurationByName.json" }
},
"operationId": "softwareUpdateConfigurations_GetByName",
"parameters": [
{
"$ref": "./definitions.json#/parameters/subscriptionId"
},
{
"$ref": "./definitions.json#/parameters/resourceGroupName"
},
{
"$ref": "./definitions.json#/parameters/automationAccountName"
},
{
"$ref": "./definitions.json#/parameters/softwareUpdateConfigurationName"
},
{
"$ref": "./definitions.json#/parameters/apiVersion"
},
{
"$ref": "./definitions.json#/parameters/clientRequestId"
}
],
"responses": {
"200": {
"description": "A single software update configuration.",
Expand All @@ -142,6 +159,26 @@
"Delete software update configuration": { "$ref": "./examples/softwareUpdateConfiguration/deleteSoftwareUpdateConfiguration.json" }
},
"operationId": "softwareUpdateConfigurations_Delete",
"parameters": [
{
"$ref": "./definitions.json#/parameters/subscriptionId"
},
{
"$ref": "./definitions.json#/parameters/resourceGroupName"
},
{
"$ref": "./definitions.json#/parameters/automationAccountName"
},
{
"$ref": "./definitions.json#/parameters/softwareUpdateConfigurationName"
},
{
"$ref": "./definitions.json#/parameters/apiVersion"
},
{
"$ref": "./definitions.json#/parameters/clientRequestId"
}
],
"responses": {
"200": {
"description": "The software update configuration has been deleted."
Expand All @@ -157,25 +194,6 @@
},

"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurations": {
"parameters": [
{
"$ref": "./definitions.json#/parameters/subscriptionId"
},
{
"$ref": "./definitions.json#/parameters/resourceGroupName"
},
{
"$ref": "./definitions.json#/parameters/automationAccountName"
},
{
"$ref": "./definitions.json#/parameters/apiVersion"
},
{
"$ref": "./definitions.json#/parameters/clientRequestId"
}
],


"get": {
"tags": [ "Software Update Configuration" ],
"description": "Get all software update configurations for the account.",
Expand All @@ -188,6 +206,21 @@
},
"operationId": "softwareUpdateConfigurations_List",
"parameters": [
{
"$ref": "./definitions.json#/parameters/subscriptionId"
},
{
"$ref": "./definitions.json#/parameters/resourceGroupName"
},
{
"$ref": "./definitions.json#/parameters/automationAccountName"
},
{
"$ref": "./definitions.json#/parameters/apiVersion"
},
{
"$ref": "./definitions.json#/parameters/clientRequestId"
},
{
"name": "$filter",
"in": "query",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,28 +40,7 @@
},

"paths": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurationsRuns/{softwareUpdateConfigurationMachineRunId}": {
"parameters": [
{
"$ref": "./definitions.json#/parameters/subscriptionId"
},
{
"$ref": "./definitions.json#/parameters/resourceGroupName"
},
{
"$ref": "./definitions.json#/parameters/automationAccountName"
},
{
"$ref": "./definitions.json#/parameters/softwareUpdateConfigurationMachineRunId"
},
{
"$ref": "./definitions.json#/parameters/apiVersion"
},
{
"$ref": "./definitions.json#/parameters/clientRequestId"
}
],

"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurationMachineRuns/{softwareUpdateConfigurationMachineRunId}": {
"get": {
"tags": [ "Software Update Configuration Machine Run" ],
"description": "Get a single software update configuration machine run by Id.",
Expand All @@ -72,6 +51,26 @@
"Get software update configuration machine run": { "$ref": "./examples/softwareUpdateConfigurationMachineRun/getSoftwareUpdateConfigurationMachineRunById.json" }
},
"operationId": "softwareUpdateConfigurationMachineRuns_GetById",
"parameters": [
{
"$ref": "./definitions.json#/parameters/subscriptionId"
},
{
"$ref": "./definitions.json#/parameters/resourceGroupName"
},
{
"$ref": "./definitions.json#/parameters/automationAccountName"
},
{
"$ref": "./definitions.json#/parameters/softwareUpdateConfigurationMachineRunId"
},
{
"$ref": "./definitions.json#/parameters/apiVersion"
},
{
"$ref": "./definitions.json#/parameters/clientRequestId"
}
],
"responses": {
"200": {
"description": "A single software update configuration machine run.",
Expand All @@ -88,24 +87,6 @@


"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurationMachineRuns": {
"parameters": [
{
"$ref": "./definitions.json#/parameters/subscriptionId"
},
{
"$ref": "./definitions.json#/parameters/resourceGroupName"
},
{
"$ref": "./definitions.json#/parameters/automationAccountName"
},
{
"$ref": "./definitions.json#/parameters/apiVersion"
},
{
"$ref": "./definitions.json#/parameters/clientRequestId"
}
],

"get": {
"tags": [ "Software Update Configuration Machine Run" ],
"description": "Return list of software update configuration machine runs",
Expand All @@ -116,7 +97,23 @@
"List software update configuration machine runs": { "$ref": "./examples/softwareUpdateConfigurationMachineRun/listSoftwareUpdateConfigurationMachineRuns.json" },
"List software update configuration machine runs for a specific software update configuration run": { "$ref": "./examples/softwareUpdateConfigurationMachineRun/listSoftwareUpdateConfigurationMachineRunsByRun.json" }
},
"operationId": "softwareUpdateConfigurationMachineRuns_List",
"parameters": [
{
"$ref": "./definitions.json#/parameters/subscriptionId"
},
{
"$ref": "./definitions.json#/parameters/resourceGroupName"
},
{
"$ref": "./definitions.json#/parameters/automationAccountName"
},
{
"$ref": "./definitions.json#/parameters/apiVersion"
},
{
"$ref": "./definitions.json#/parameters/clientRequestId"
},
{
"name": "$skip",
"in": "query",
Expand All @@ -139,7 +136,6 @@
"description": "The filter to apply on the operation. You can use the following filters: 'properties/osType', 'properties/status', 'properties/startTime', and 'properties/softwareUpdateConfiguration/name'"
}
],
"operationId": "softwareUpdateConfigurationMachineRuns_List",
"responses": {
"200": {
"description": "Return list of software update configuration machine runs.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,28 +40,7 @@
},

"paths": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurationsRuns/{softwareUpdateConfigurationRunId}": {
"parameters": [
{
"$ref": "./definitions.json#/parameters/subscriptionId"
},
{
"$ref": "./definitions.json#/parameters/resourceGroupName"
},
{
"$ref": "./definitions.json#/parameters/automationAccountName"
},
{
"$ref": "./definitions.json#/parameters/softwareUpdateConfigurationRunId"
},
{
"$ref": "./definitions.json#/parameters/apiVersion"
},
{
"$ref": "./definitions.json#/parameters/clientRequestId"
}
],

"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurationRuns/{softwareUpdateConfigurationRunId}": {
"get": {
"tags": [ "Software Update Configuration Run" ],
"description": "Get a single software update configuration Run by Id.",
Expand All @@ -72,6 +51,26 @@
"Get software update configuration runs by Id": { "$ref": "./examples/softwareUpdateConfigurationRun/getSoftwareUpdateConfigurationRunById.json" }
},
"operationId": "softwareUpdateConfigurationRuns_GetById",
"parameters": [
{
"$ref": "./definitions.json#/parameters/subscriptionId"
},
{
"$ref": "./definitions.json#/parameters/resourceGroupName"
},
{
"$ref": "./definitions.json#/parameters/automationAccountName"
},
{
"$ref": "./definitions.json#/parameters/softwareUpdateConfigurationRunId"
},
{
"$ref": "./definitions.json#/parameters/apiVersion"
},
{
"$ref": "./definitions.json#/parameters/clientRequestId"
}
],
"responses": {
"200": {
"description": "A single software update configuration Run.",
Expand All @@ -87,25 +86,7 @@
},


"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurationsRuns": {
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/resourceGroupName"
},
{
"$ref": "#/parameters/automationAccountName"
},
{
"$ref": "#/parameters/apiVersion"
},
{
"$ref": "#/parameters/clientRequestId"
}
],

"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurationRuns": {
"get": {
"tags": [ "Software Update Configuration Run" ],
"description": "Return list of software update configuration runs",
Expand All @@ -116,7 +97,23 @@
"List software update configuration machine runs": { "$ref": "./examples/softwareUpdateConfigurationRun/listSoftwareUpdateConfigurationRuns.json" },
"List software update configuration machine run with status equal to 'Failed'": { "$ref": "./examples/softwareUpdateConfigurationRun/listFailedSoftwareUpdateConfigurationRuns.json" }
},
"operationId": "softwareUpdateConfigurationRuns_List",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/resourceGroupName"
},
{
"$ref": "#/parameters/automationAccountName"
},
{
"$ref": "#/parameters/apiVersion"
},
{
"$ref": "#/parameters/clientRequestId"
},
{
"name": "$skip",
"in": "query",
Expand All @@ -139,7 +136,6 @@
"description": "The filter to apply on the operation. You can use the following filters: 'properties/osType', 'properties/status', 'properties/startTime', and 'properties/softwareUpdateConfiguration/name'"
}
],
"operationId": "softwareUpdateConfigurationRuns_List",
"responses": {
"200": {
"description": "Return list of software update configurations runs.",
Expand Down