![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.migrate.kotlin.outputs.GetWebAppCollectorOperationResult.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.migrate.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* The web app collector REST object.
* @property agentProperties Gets or sets the collector agent properties.
* @property createdTimestamp Gets the Timestamp when collector was created.
* @property discoverySiteId Gets the discovery site id.
* @property id Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
* @property name The name of the resource
* @property provisioningState The status of the last operation.
* @property systemData Azure Resource Manager metadata containing createdBy and modifiedBy information.
* @property type The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
* @property updatedTimestamp Timestamp when collector was last updated.
*/
public data class GetWebAppCollectorOperationResult(
public val agentProperties: CollectorAgentPropertiesBaseResponse? = null,
public val createdTimestamp: String,
public val discoverySiteId: String? = null,
public val id: String,
public val name: String,
public val provisioningState: String,
public val systemData: SystemDataResponse,
public val type: String,
public val updatedTimestamp: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.migrate.outputs.GetWebAppCollectorOperationResult): GetWebAppCollectorOperationResult = GetWebAppCollectorOperationResult(
agentProperties = javaType.agentProperties().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.migrate.kotlin.outputs.CollectorAgentPropertiesBaseResponse.Companion.toKotlin(args0)
})
}).orElse(null),
createdTimestamp = javaType.createdTimestamp(),
discoverySiteId = javaType.discoverySiteId().map({ args0 -> args0 }).orElse(null),
id = javaType.id(),
name = javaType.name(),
provisioningState = javaType.provisioningState(),
systemData = javaType.systemData().let({ args0 ->
com.pulumi.azurenative.migrate.kotlin.outputs.SystemDataResponse.Companion.toKotlin(args0)
}),
type = javaType.type(),
updatedTimestamp = javaType.updatedTimestamp(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy