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

com.pulumi.awsnative.datasync.kotlin.outputs.GetStorageSystemResult.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.datasync.kotlin.outputs

import com.pulumi.awsnative.datasync.kotlin.enums.StorageSystemConnectivityStatus
import com.pulumi.awsnative.datasync.kotlin.enums.StorageSystemSystemType
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property agentArns The ARN of the DataSync agent that connects to and reads from the on-premises storage system's management interface.
 * @property cloudWatchLogGroupArn The ARN of the Amazon CloudWatch log group used to monitor and log discovery job events.
 * @property connectivityStatus Indicates whether the DataSync agent can access the on-premises storage system.
 * @property name A familiar name for the on-premises storage system.
 * @property secretsManagerArn The ARN of a secret stored by AWS Secrets Manager.
 * @property serverConfiguration Specifies the server name and network port required to connect with the management interface of your on-premises storage system.
 * @property storageSystemArn The ARN of the on-premises storage system added to DataSync Discovery.
 * @property systemType The type of on-premises storage system that DataSync Discovery will analyze.
 * @property tags An array of key-value pairs to apply to this resource.
 */
public data class GetStorageSystemResult(
    public val agentArns: List? = null,
    public val cloudWatchLogGroupArn: String? = null,
    public val connectivityStatus: StorageSystemConnectivityStatus? = null,
    public val name: String? = null,
    public val secretsManagerArn: String? = null,
    public val serverConfiguration: StorageSystemServerConfiguration? = null,
    public val storageSystemArn: String? = null,
    public val systemType: StorageSystemSystemType? = null,
    public val tags: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.datasync.outputs.GetStorageSystemResult): GetStorageSystemResult = GetStorageSystemResult(
            agentArns = javaType.agentArns().map({ args0 -> args0 }),
            cloudWatchLogGroupArn = javaType.cloudWatchLogGroupArn().map({ args0 -> args0 }).orElse(null),
            connectivityStatus = javaType.connectivityStatus().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.datasync.kotlin.enums.StorageSystemConnectivityStatus.Companion.toKotlin(args0)
                })
            }).orElse(null),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            secretsManagerArn = javaType.secretsManagerArn().map({ args0 -> args0 }).orElse(null),
            serverConfiguration = javaType.serverConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.datasync.kotlin.outputs.StorageSystemServerConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            storageSystemArn = javaType.storageSystemArn().map({ args0 -> args0 }).orElse(null),
            systemType = javaType.systemType().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.datasync.kotlin.enums.StorageSystemSystemType.Companion.toKotlin(args0)
                })
            }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy