All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.iotoperations.kotlin.outputs.StateStoreResourceRuleResponse.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.iotoperations.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * State Store Resource Rule properties.
 * @property keyType Allowed keyTypes pattern, string, binary. The key type used for matching, for example pattern tries to match the key to a glob-style pattern and string checks key is equal to value provided in keys.
 * @property keys Give access to state store keys for the corresponding principals defined. When key type is pattern set glob-style pattern (e.g., '*', 'clients/*').
 * @property method Give access for `Read`, `Write` and `ReadWrite` access level.
 * */
 */
public data class StateStoreResourceRuleResponse(
    public val keyType: String,
    public val keys: List,
    public val method: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.iotoperations.outputs.StateStoreResourceRuleResponse): StateStoreResourceRuleResponse = StateStoreResourceRuleResponse(
            keyType = javaType.keyType(),
            keys = javaType.keys().map({ args0 -> args0 }),
            method = javaType.method(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy