com.pulumi.azure.monitoring.kotlin.outputs.LogzSubAccountUser.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.monitoring.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property email Email of the user used by Logz for contacting them if needed. A valid email address consists of an email prefix and an email domain. The prefix and domain may contain only letters, numbers, underscores, periods and dashes. Changing this forces a new logz Sub Account to be created.
* > **NOTE** If you use the Azure CLI to authenticate to Azure, the Email of your Azure account needs to be granted the admin permission in your Logz.io account. Otherwise, you may not be able to delete this resource. There is no such limitation for the Service Principal authentication.
* @property firstName First Name of the user. Possible values must be between 1 and 50 characters in length. Changing this forces a new logz Sub Account to be created.
* @property lastName Last Name of the user. Possible values must be between 1 and 50 characters in length. Changing this forces a new logz Sub Account to be created.
* @property phoneNumber Phone number of the user used by Logz for contacting them if needed. Possible values must be between 1 and 40 characters in length. Changing this forces a new logz Sub Account to be created.
*/
public data class LogzSubAccountUser(
public val email: String,
public val firstName: String,
public val lastName: String,
public val phoneNumber: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.monitoring.outputs.LogzSubAccountUser): LogzSubAccountUser = LogzSubAccountUser(
email = javaType.email(),
firstName = javaType.firstName(),
lastName = javaType.lastName(),
phoneNumber = javaType.phoneNumber(),
)
}
}