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

com.pulumi.azure.management.kotlin.outputs.GetGroupResult.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: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.management.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * A collection of values returned by getGroup.
 * @property allManagementGroupIds A list of Management Group IDs which directly or indirectly belong to this Management Group.
 * @property allSubscriptionIds A list of Subscription IDs which are assigned to this Management Group or its children Management Groups.
 * @property displayName
 * @property id The provider-assigned unique ID for this managed resource.
 * @property managementGroupIds A list of Management Group IDs which directly belong to this Management Group.
 * @property name
 * @property parentManagementGroupId The ID of any Parent Management Group.
 * @property subscriptionIds A list of Subscription IDs which are directly assigned to this Management Group.
 * @property tenantScopedId The Management Group ID with the Tenant ID prefix.
 */
public data class GetGroupResult(
    public val allManagementGroupIds: List,
    public val allSubscriptionIds: List,
    public val displayName: String,
    public val id: String,
    public val managementGroupIds: List,
    public val name: String,
    public val parentManagementGroupId: String,
    public val subscriptionIds: List,
    public val tenantScopedId: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.management.outputs.GetGroupResult):
            GetGroupResult = GetGroupResult(
            allManagementGroupIds = javaType.allManagementGroupIds().map({ args0 -> args0 }),
            allSubscriptionIds = javaType.allSubscriptionIds().map({ args0 -> args0 }),
            displayName = javaType.displayName(),
            id = javaType.id(),
            managementGroupIds = javaType.managementGroupIds().map({ args0 -> args0 }),
            name = javaType.name(),
            parentManagementGroupId = javaType.parentManagementGroupId(),
            subscriptionIds = javaType.subscriptionIds().map({ args0 -> args0 }),
            tenantScopedId = javaType.tenantScopedId(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy