Share via


DevTestLabServiceRunnerCollection Class

Definition

A class representing a collection of DevTestLabServiceRunnerResource and their operations. Each DevTestLabServiceRunnerResource in the collection will belong to the same instance of DevTestLabResource. To get a DevTestLabServiceRunnerCollection instance call the GetDevTestLabServiceRunners method from an instance of DevTestLabResource.

public class DevTestLabServiceRunnerCollection : Azure.ResourceManager.ArmCollection
type DevTestLabServiceRunnerCollection = class
    inherit ArmCollection
Public Class DevTestLabServiceRunnerCollection
Inherits ArmCollection
Inheritance
DevTestLabServiceRunnerCollection

Constructors

DevTestLabServiceRunnerCollection()

Initializes a new instance of the DevTestLabServiceRunnerCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, DevTestLabServiceRunnerData, CancellationToken)

Create or replace an existing service runner.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners/{name}
  • Operation Id: ServiceRunners_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, DevTestLabServiceRunnerData, CancellationToken)

Create or replace an existing service runner.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners/{name}
  • Operation Id: ServiceRunners_CreateOrUpdate
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners/{name}
  • Operation Id: ServiceRunners_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners/{name}
  • Operation Id: ServiceRunners_Get
Get(String, CancellationToken)

Get service runner.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners/{name}
  • Operation Id: ServiceRunners_Get
GetAsync(String, CancellationToken)

Get service runner.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners/{name}
  • Operation Id: ServiceRunners_Get
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners/{name}
  • Operation Id: ServiceRunners_Get
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners/{name}
  • Operation Id: ServiceRunners_Get
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Applies to