1. Packages
  2. Azure Native v2
  3. API Docs
  4. devtestlab
  5. getServiceRunner
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.devtestlab.getServiceRunner

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Get service runner. Azure REST API version: 2018-09-15.

Using getServiceRunner

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getServiceRunner(args: GetServiceRunnerArgs, opts?: InvokeOptions): Promise<GetServiceRunnerResult>
function getServiceRunnerOutput(args: GetServiceRunnerOutputArgs, opts?: InvokeOptions): Output<GetServiceRunnerResult>
Copy
def get_service_runner(lab_name: Optional[str] = None,
                       name: Optional[str] = None,
                       resource_group_name: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetServiceRunnerResult
def get_service_runner_output(lab_name: Optional[pulumi.Input[str]] = None,
                       name: Optional[pulumi.Input[str]] = None,
                       resource_group_name: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetServiceRunnerResult]
Copy
func LookupServiceRunner(ctx *Context, args *LookupServiceRunnerArgs, opts ...InvokeOption) (*LookupServiceRunnerResult, error)
func LookupServiceRunnerOutput(ctx *Context, args *LookupServiceRunnerOutputArgs, opts ...InvokeOption) LookupServiceRunnerResultOutput
Copy

> Note: This function is named LookupServiceRunner in the Go SDK.

public static class GetServiceRunner 
{
    public static Task<GetServiceRunnerResult> InvokeAsync(GetServiceRunnerArgs args, InvokeOptions? opts = null)
    public static Output<GetServiceRunnerResult> Invoke(GetServiceRunnerInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetServiceRunnerResult> getServiceRunner(GetServiceRunnerArgs args, InvokeOptions options)
public static Output<GetServiceRunnerResult> getServiceRunner(GetServiceRunnerArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:devtestlab:getServiceRunner
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

LabName
This property is required.
Changes to this property will trigger replacement.
string
The name of the lab.
Name
This property is required.
Changes to this property will trigger replacement.
string
The name of the service runner.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
LabName
This property is required.
Changes to this property will trigger replacement.
string
The name of the lab.
Name
This property is required.
Changes to this property will trigger replacement.
string
The name of the service runner.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
labName
This property is required.
Changes to this property will trigger replacement.
String
The name of the lab.
name
This property is required.
Changes to this property will trigger replacement.
String
The name of the service runner.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
labName
This property is required.
Changes to this property will trigger replacement.
string
The name of the lab.
name
This property is required.
Changes to this property will trigger replacement.
string
The name of the service runner.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
lab_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the lab.
name
This property is required.
Changes to this property will trigger replacement.
str
The name of the service runner.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group.
labName
This property is required.
Changes to this property will trigger replacement.
String
The name of the lab.
name
This property is required.
Changes to this property will trigger replacement.
String
The name of the service runner.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.

getServiceRunner Result

The following output properties are available:

Id string
The identifier of the resource.
Name string
The name of the resource.
Type string
The type of the resource.
Identity Pulumi.AzureNative.DevTestLab.Outputs.IdentityPropertiesResponse
The identity of the resource.
Location string
The location of the resource.
Tags Dictionary<string, string>
The tags of the resource.
Id string
The identifier of the resource.
Name string
The name of the resource.
Type string
The type of the resource.
Identity IdentityPropertiesResponse
The identity of the resource.
Location string
The location of the resource.
Tags map[string]string
The tags of the resource.
id String
The identifier of the resource.
name String
The name of the resource.
type String
The type of the resource.
identity IdentityPropertiesResponse
The identity of the resource.
location String
The location of the resource.
tags Map<String,String>
The tags of the resource.
id string
The identifier of the resource.
name string
The name of the resource.
type string
The type of the resource.
identity IdentityPropertiesResponse
The identity of the resource.
location string
The location of the resource.
tags {[key: string]: string}
The tags of the resource.
id str
The identifier of the resource.
name str
The name of the resource.
type str
The type of the resource.
identity IdentityPropertiesResponse
The identity of the resource.
location str
The location of the resource.
tags Mapping[str, str]
The tags of the resource.
id String
The identifier of the resource.
name String
The name of the resource.
type String
The type of the resource.
identity Property Map
The identity of the resource.
location String
The location of the resource.
tags Map<String>
The tags of the resource.

Supporting Types

IdentityPropertiesResponse

ClientSecretUrl string
The client secret URL of the identity.
PrincipalId string
The principal id of resource identity.
TenantId string
The tenant identifier of resource.
Type string
Managed identity.
ClientSecretUrl string
The client secret URL of the identity.
PrincipalId string
The principal id of resource identity.
TenantId string
The tenant identifier of resource.
Type string
Managed identity.
clientSecretUrl String
The client secret URL of the identity.
principalId String
The principal id of resource identity.
tenantId String
The tenant identifier of resource.
type String
Managed identity.
clientSecretUrl string
The client secret URL of the identity.
principalId string
The principal id of resource identity.
tenantId string
The tenant identifier of resource.
type string
Managed identity.
client_secret_url str
The client secret URL of the identity.
principal_id str
The principal id of resource identity.
tenant_id str
The tenant identifier of resource.
type str
Managed identity.
clientSecretUrl String
The client secret URL of the identity.
principalId String
The principal id of resource identity.
tenantId String
The tenant identifier of resource.
type String
Managed identity.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi