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

ServiceRunners interface

Interface representing a ServiceRunners.

Methods

createOrUpdate(string, string, string, ServiceRunner, ServiceRunnersCreateOrUpdateOptionalParams)

Create or replace an existing service runner.

delete(string, string, string, ServiceRunnersDeleteOptionalParams)

Delete service runner.

get(string, string, string, ServiceRunnersGetOptionalParams)

Get service runner.

Method Details

createOrUpdate(string, string, string, ServiceRunner, ServiceRunnersCreateOrUpdateOptionalParams)

Create or replace an existing service runner.

function createOrUpdate(resourceGroupName: string, labName: string, name: string, serviceRunner: ServiceRunner, options?: ServiceRunnersCreateOrUpdateOptionalParams): Promise<ServiceRunner>

Parameters

resourceGroupName

string

The name of the resource group.

labName

string

The name of the lab.

name

string

The name of the service runner.

serviceRunner
ServiceRunner

A container for a managed identity to execute DevTest lab services.

options
ServiceRunnersCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<ServiceRunner>

delete(string, string, string, ServiceRunnersDeleteOptionalParams)

Delete service runner.

function delete(resourceGroupName: string, labName: string, name: string, options?: ServiceRunnersDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

labName

string

The name of the lab.

name

string

The name of the service runner.

options
ServiceRunnersDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, ServiceRunnersGetOptionalParams)

Get service runner.

function get(resourceGroupName: string, labName: string, name: string, options?: ServiceRunnersGetOptionalParams): Promise<ServiceRunner>

Parameters

resourceGroupName

string

The name of the resource group.

labName

string

The name of the lab.

name

string

The name of the service runner.

options
ServiceRunnersGetOptionalParams

The options parameters.

Returns

Promise<ServiceRunner>