EN
Ta zawartość nie jest dostępna w wymaganym języku. Wersja w języku angielskim znajduje się tutaj.

Get Virtual Network Gateway Operation Status

 

Updated: July 10, 2015

The Get Virtual Network Gateway Operation Status operation returns the current status of the specified gateway operation.

The Get Virtual Network Gateway Operation Status request may be specified as follows. Replace <subscription-id> with the subscription ID and <operation-id> with the ID of the operation for which you want to retrieve the status.

Method

Request URI

GET

https://management.core.windows.net/<subscription-id>/services/networking/operation/<operation-id>

The following table describes the request headers.

Request Header

Description

x-ms-version

Required. Specifies the version of the operation to use for this request. The value for this header should be set to 2012-03-01 or higher.

The response includes an HTTP status code, a response body, and a set of response headers.

A successful operation returns status code 200 (OK).

The response for this operation includes the following headers. The response may also include additional standard HTTP headers.

Response Header

Description

x-ms-request-id

A value that uniquely identifies a request made against the management service.

The format of the response body is as follows:


<?xml version="1.0" encoding="utf-8"?>
<GatewayOperation xmlns="http://schemas.microsoft.com/windowsazure">
  <ID>operation-id</ID>
  <Status>status</Status>
  <HttpStatusCode>async-http-status-code</HttpStatusCode>
  <Data>async-result-data</Data>
  <Error>
    <Code>error-code</Code>
    <Message>error-message</Message>
  </Error>
</GatewayOperation>

The following table describes the elements in the response body.

Response Element

Description

ID

Uniquely identifies the operation.

Status

Specifies the status of the asynchronous request.

Possible values are:

  • InProgress

  • Successful

  • Failed

HttpStatusCode

Specifies the HTTP status code for the asynchronous request.

Data

Specifies the response data that may accompany a successful asynchronous request. This value may vary based on the operation.

Error

Specifies error information related to the operation.

Specifies error information related to the operation.

Response Element

Description

Code

Specifies the gateway service error code returned if the asynchronous request failed.

Message

Specifies the gateway service error message returned if the asynchronous request failed.

Pokaż: