
com.pulumi.azurenative.securityinsights.kotlin.outputs.GetActionResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.securityinsights.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* Action for alert rule.
* @property etag Etag of the action.
* @property id Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
* @property logicAppResourceId Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}.
* @property name The name of the resource
* @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 workflowId The name of the logic app's workflow.
*/
public data class GetActionResult(
public val etag: String? = null,
public val id: String,
public val logicAppResourceId: String,
public val name: String,
public val systemData: SystemDataResponse,
public val type: String,
public val workflowId: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.securityinsights.outputs.GetActionResult): GetActionResult = GetActionResult(
etag = javaType.etag().map({ args0 -> args0 }).orElse(null),
id = javaType.id(),
logicAppResourceId = javaType.logicAppResourceId(),
name = javaType.name(),
systemData = javaType.systemData().let({ args0 ->
com.pulumi.azurenative.securityinsights.kotlin.outputs.SystemDataResponse.Companion.toKotlin(args0)
}),
type = javaType.type(),
workflowId = javaType.workflowId().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy