你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Operations class

Class representing a Operations.

Constructors

Operations(IoTSpacesClientContext)

Create a Operations.

Methods

list(RequestOptionsBase)

Lists all of the available IoTSpaces service REST API operations.

list(RequestOptionsBase, ServiceCallback<OperationListResult>)
list(ServiceCallback<OperationListResult>)
listNext(string, RequestOptionsBase)

Lists all of the available IoTSpaces service REST API operations.

listNext(string, RequestOptionsBase, ServiceCallback<OperationListResult>)
listNext(string, ServiceCallback<OperationListResult>)

Constructor Details

Operations(IoTSpacesClientContext)

Create a Operations.

new Operations(client: IoTSpacesClientContext)

Parameters

client
IoTSpacesClientContext

Reference to the service client.

Method Details

list(RequestOptionsBase)

Lists all of the available IoTSpaces service REST API operations.

function list(options?: RequestOptionsBase): Promise<OperationsListResponse>

Parameters

options
@azure/ms-rest-js.RequestOptionsBase

The optional parameters

Returns

Promise<Models.OperationsListResponse>

list(RequestOptionsBase, ServiceCallback<OperationListResult>)

function list(options: RequestOptionsBase, callback: ServiceCallback<OperationListResult>)

Parameters

options
@azure/ms-rest-js.RequestOptionsBase

The optional parameters

callback

@azure/ms-rest-js.ServiceCallback<OperationListResult>

The callback

list(ServiceCallback<OperationListResult>)

function list(callback: ServiceCallback<OperationListResult>)

Parameters

callback

@azure/ms-rest-js.ServiceCallback<OperationListResult>

The callback

listNext(string, RequestOptionsBase)

Lists all of the available IoTSpaces service REST API operations.

function listNext(nextPageLink: string, options?: RequestOptionsBase): Promise<OperationsListNextResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
@azure/ms-rest-js.RequestOptionsBase

The optional parameters

Returns

Promise<Models.OperationsListNextResponse>

listNext(string, RequestOptionsBase, ServiceCallback<OperationListResult>)

function listNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<OperationListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
@azure/ms-rest-js.RequestOptionsBase

The optional parameters

callback

@azure/ms-rest-js.ServiceCallback<OperationListResult>

The callback

listNext(string, ServiceCallback<OperationListResult>)

function listNext(nextPageLink: string, callback: ServiceCallback<OperationListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

callback

@azure/ms-rest-js.ServiceCallback<OperationListResult>

The callback