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

com.pulumi.azure.siterecovery.kotlin.outputs.ProtectionContainerMappingAutomaticUpdate.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.siterecovery.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property authenticationType The authentication type used for automation account. Possible values are `RunAsAccount` and `SystemAssignedIdentity`.
 * > **Note:** `RunAsAccount` of `authentication_type` is deprecated and will retire on September 30, 2023. Details could be found [here](https://learn.microsoft.com/en-us/azure/automation/whats-new#support-for-run-as-accounts).
 * > **Note:**: `authentication_type` will default to `SystemAssignedIdentity` in version 4.0.
 * @property automationAccountId The automation account ID which holds the automatic update runbook and authenticates to Azure resources.
 * > **Note:** `automation_account_id` is required when `enabled` is specified.
 * @property enabled Should the Mobility service installed on Azure virtual machines be automatically updated. Defaults to `false`.
 * > **Note:** The setting applies to all Azure VMs protected in the same container. For more details see [this document](https://learn.microsoft.com/en-us/azure/site-recovery/azure-to-azure-autoupdate#enable-automatic-updates)
 */
public data class ProtectionContainerMappingAutomaticUpdate(
    public val authenticationType: String? = null,
    public val automationAccountId: String? = null,
    public val enabled: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.siterecovery.outputs.ProtectionContainerMappingAutomaticUpdate): ProtectionContainerMappingAutomaticUpdate = ProtectionContainerMappingAutomaticUpdate(
            authenticationType = javaType.authenticationType().map({ args0 -> args0 }).orElse(null),
            automationAccountId = javaType.automationAccountId().map({ args0 -> args0 }).orElse(null),
            enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy