共用方式為


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>