你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Update Locations - Get
Get an update location based on name.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Update.Admin/updateLocations/{updateLocation}?api-version=2016-05-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
resource
|
path | True |
string |
Resource group name. |
subscription
|
path | True |
string |
Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
update
|
path | True |
string |
The name of the update location. |
api-version
|
query | True |
string |
Client API Version. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
Get an update location based on name.
Sample Request
GET https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.Redmond/providers/Microsoft.Update.Admin/updateLocations/redmond?api-version=2016-05-01
Sample Response
{
"id": "/subscriptions/23d66fd1-4743-42ff-b391-e29dc51d799e/resourcegroups/System.Redmond/providers/Microsoft.Update.Admin/updateLocations/redmond",
"name": "redmond",
"type": "Microsoft.Update.Admin/updateLocations",
"location": "redmond",
"tags": {},
"properties": {
"currentVersion": "1.0.180302.1",
"currentOemVersion": "1.0.1709.3",
"lastUpdated": "2018-03-03T08:09:12.8824552Z",
"state": "AppliedSuccessfully"
}
}
Definitions
Name | Description |
---|---|
Region |
State of the region in regard to update. |
Update |
Information related to a location's update status. |
RegionUpdateState
State of the region in regard to update.
Name | Type | Description |
---|---|---|
AppliedSuccessfully |
string |
|
AppliedUpdateAvailableSuccessfully |
string |
|
Unknown |
string |
|
UpdateFailed |
string |
|
UpdateInProgress |
string |
UpdateLocation
Information related to a location's update status.
Name | Type | Description |
---|---|---|
id |
string |
URI of the resource. |
location |
string |
Region location of resource. |
name |
string |
Name of the resource. |
properties.currentOemVersion |
string |
Current OEM version of your AzureStack deployment. |
properties.currentVersion |
string |
Current version of your AzureStack deployment. |
properties.lastUpdated |
string |
Date of last update. |
properties.state |
State with respect to the update. |
|
tags |
object |
List of key-value pairs. |
type |
string |
Type of resource. |