
com.pulumi.azurenative.apimanagement.kotlin.outputs.GetAuthorizationAccessPolicyResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.apimanagement.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* Authorization access policy contract.
* @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 objectId The Object Id
* @property tenantId The Tenant Id
* @property type The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
public data class GetAuthorizationAccessPolicyResult(
public val id: String,
public val name: String,
public val objectId: String? = null,
public val tenantId: String? = null,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.apimanagement.outputs.GetAuthorizationAccessPolicyResult): GetAuthorizationAccessPolicyResult = GetAuthorizationAccessPolicyResult(
id = javaType.id(),
name = javaType.name(),
objectId = javaType.objectId().map({ args0 -> args0 }).orElse(null),
tenantId = javaType.tenantId().map({ args0 -> args0 }).orElse(null),
type = javaType.type(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy