![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.azureplaywrightservice.kotlin.outputs.GetAccountResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.azureplaywrightservice.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
* An account resource
* @property dashboardUri The Playwright testing dashboard URI for the account resource.
* @property id Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
* @property location The geo-location where the resource lives
* @property name The name of the resource
* @property provisioningState The status of the last operation.
* @property regionalAffinity This property sets the connection region for Playwright client workers to cloud-hosted browsers. If enabled, workers connect to browsers in the closest Azure region, ensuring lower latency. If disabled, workers connect to browsers in the Azure region in which the workspace was initially created.
* @property reporting When enabled, this feature allows the workspace to upload and display test results, including artifacts like traces and screenshots, in the Playwright portal. This enables faster and more efficient troubleshooting.
* @property scalableExecution When enabled, Playwright client workers can connect to cloud-hosted browsers. This can increase the number of parallel workers for a test run, significantly minimizing test completion durations.
* @property systemData Azure Resource Manager metadata containing createdBy and modifiedBy information.
* @property tags Resource tags.
* @property type The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
public data class GetAccountResult(
public val dashboardUri: String,
public val id: String,
public val location: String,
public val name: String,
public val provisioningState: String,
public val regionalAffinity: String? = null,
public val reporting: String? = null,
public val scalableExecution: String? = null,
public val systemData: SystemDataResponse,
public val tags: Map? = null,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.azureplaywrightservice.outputs.GetAccountResult): GetAccountResult = GetAccountResult(
dashboardUri = javaType.dashboardUri(),
id = javaType.id(),
location = javaType.location(),
name = javaType.name(),
provisioningState = javaType.provisioningState(),
regionalAffinity = javaType.regionalAffinity().map({ args0 -> args0 }).orElse(null),
reporting = javaType.reporting().map({ args0 -> args0 }).orElse(null),
scalableExecution = javaType.scalableExecution().map({ args0 -> args0 }).orElse(null),
systemData = javaType.systemData().let({ args0 ->
com.pulumi.azurenative.azureplaywrightservice.kotlin.outputs.SystemDataResponse.Companion.toKotlin(args0)
}),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
type = javaType.type(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy