
com.pulumi.azurenative.containerservice.kotlin.outputs.GetTrustedAccessRoleBindingResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.containerservice.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* Defines binding between a resource and role
* @property id Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
* @property name The name of the resource
* @property provisioningState The current provisioning state of trusted access role binding.
* @property roles A list of roles to bind, each item is a resource type qualified role name. For example: 'Microsoft.MachineLearningServices/workspaces/reader'.
* @property sourceResourceId The ARM resource ID of source resource that trusted access is configured for.
* @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"
*/
public data class GetTrustedAccessRoleBindingResult(
public val id: String,
public val name: String,
public val provisioningState: String,
public val roles: List,
public val sourceResourceId: String,
public val systemData: SystemDataResponse,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.containerservice.outputs.GetTrustedAccessRoleBindingResult): GetTrustedAccessRoleBindingResult = GetTrustedAccessRoleBindingResult(
id = javaType.id(),
name = javaType.name(),
provisioningState = javaType.provisioningState(),
roles = javaType.roles().map({ args0 -> args0 }),
sourceResourceId = javaType.sourceResourceId(),
systemData = javaType.systemData().let({ args0 ->
com.pulumi.azurenative.containerservice.kotlin.outputs.SystemDataResponse.Companion.toKotlin(args0)
}),
type = javaType.type(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy