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

Cumulative changes to DeviceUpdate #13457

Merged
merged 4 commits into from
Mar 19, 2021
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 @@ -56,7 +56,7 @@
"default": {
"description": "Error response describing the reason for operation failure.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
"$ref": "#/definitions/ErrorDefinition"
}
}
},
Expand All @@ -71,45 +71,6 @@
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.DeviceUpdate/accounts/{accountName}/instances": {
"get": {
"description": "Returns instances for the given account name.",
"operationId": "Instances_ListBySubscription",
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/AccountNameParameter"
}
],
"responses": {
"200": {
"description": "List of Instances.",
"schema": {
"$ref": "#/definitions/InstanceList"
}
},
"default": {
"description": "Error response describing the reason for operation failure.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
"x-ms-examples": {
"Get list of Instances by Account": {
"$ref": "./examples/Instances/Instances_ListByAccount.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceUpdate/accounts": {
"get": {
"description": "Returns list of Accounts.",
Expand All @@ -135,7 +96,7 @@
"default": {
"description": "Error response describing the reason for operation failure.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
"$ref": "#/definitions/ErrorDefinition"
}
}
},
Expand Down Expand Up @@ -178,7 +139,7 @@
"default": {
"description": "Error response describing the reason for operation failure.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
"$ref": "#/definitions/ErrorDefinition"
}
}
},
Expand Down Expand Up @@ -228,7 +189,7 @@
"default": {
"description": "Error response describing the reason for operation failure.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
"$ref": "#/definitions/ErrorDefinition"
}
}
},
Expand Down Expand Up @@ -272,7 +233,7 @@
"default": {
"description": "Error response describing the reason for operation failure.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
"$ref": "#/definitions/ErrorDefinition"
}
}
},
Expand Down Expand Up @@ -318,7 +279,7 @@
"default": {
"description": "Error response describing the reason for operation failure.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
"$ref": "#/definitions/ErrorDefinition"
}
}
},
Expand Down Expand Up @@ -361,7 +322,7 @@
"default": {
"description": "Error response describing the reason for operation failure.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
"$ref": "#/definitions/ErrorDefinition"
}
}
},
Expand Down Expand Up @@ -406,7 +367,7 @@
"default": {
"description": "Error response describing the reason for operation failure.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
"$ref": "#/definitions/ErrorDefinition"
}
}
},
Expand Down Expand Up @@ -459,7 +420,7 @@
"default": {
"description": "Error response describing the reason for operation failure.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
"$ref": "#/definitions/ErrorDefinition"
}
}
},
Expand Down Expand Up @@ -506,7 +467,7 @@
"default": {
"description": "Error response describing the reason for operation failure.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
"$ref": "#/definitions/ErrorDefinition"
}
}
},
Expand Down Expand Up @@ -555,7 +516,7 @@
"default": {
"description": "Error response describing the reason for operation failure.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
"$ref": "#/definitions/ErrorDefinition"
}
}
},
Expand Down Expand Up @@ -585,7 +546,7 @@
"default": {
"description": "Error response describing the reason for operation failure.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
"$ref": "#/definitions/ErrorDefinition"
}
}
},
Expand Down Expand Up @@ -746,43 +707,16 @@
"resourceId"
]
},
"ErrorResponse": {
"ErrorDefinition": {
"description": "Error response indicates that the service is not able to process the incoming request.",
"properties": {
"code": {
"description": "Error status code.",
"type": "string",
"readOnly": true
},
"error": {
"$ref": "#/definitions/ErrorDefinition",
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse",
"description": "Error details.",
"readOnly": true
}
}
},
"ErrorDefinition": {
"description": "Error definition.",
"properties": {
"code": {
"description": "Error status code.",
"type": "string",
"readOnly": true
},
"message": {
"description": "Error message.",
"type": "string",
"readOnly": true
},
"details": {
"description": "Error details.",
"type": "array",
"items": {
"$ref": "#/definitions/ErrorDefinition"
}
}
}
},
"AccountUpdate": {
"description": "Request payload used to update and existing Accounts.",
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion specification/deviceupdate/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ These settings apply only when `--go` is specified on the command line.

```yaml $(go)
go:
license-header: MICROSOFT_MIT_NO_VERSION
license-header: MICROSOFT_APACHE_NO_VERSION
abatishchev marked this conversation as resolved.
Show resolved Hide resolved
clear-output-folder: true
```

Expand Down