![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.community.kotlin.CommunityTrainingArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.community.kotlin
import com.pulumi.azurenative.community.CommunityTrainingArgs.builder
import com.pulumi.azurenative.community.kotlin.inputs.IdentityConfigurationPropertiesArgs
import com.pulumi.azurenative.community.kotlin.inputs.IdentityConfigurationPropertiesArgsBuilder
import com.pulumi.azurenative.community.kotlin.inputs.SkuArgs
import com.pulumi.azurenative.community.kotlin.inputs.SkuArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* A CommunityProviderHub resource
* Azure REST API version: 2023-11-01.
* ## Example Usage
* ### CreateCommunityTrainings
* ```csharp
* using System.Collections.Generic;
* using System.Linq;
* using Pulumi;
* using AzureNative = Pulumi.AzureNative;
* return await Deployment.RunAsync(() =>
* {
* var communityTraining = new AzureNative.Community.CommunityTraining("communityTraining", new()
* {
* CommunityTrainingName = "ctApplication",
* DisasterRecoveryEnabled = true,
* IdentityConfiguration = new AzureNative.Community.Inputs.IdentityConfigurationPropertiesArgs
* {
* B2cAuthenticationPolicy = "B2C_1_signup_signin",
* B2cPasswordResetPolicy = "B2C_1_pwd_reset",
* ClientId = "8c92390f-2f30-493d-bd13-d3c3eba3709d",
* ClientSecret = "idenityConfigurationClientSecret",
* CustomLoginParameters = "custom_hint",
* DomainName = "cttenant",
* IdentityType = "ADB2C",
* TeamsEnabled = false,
* TenantId = "c1ffbb60-88cf-4b83-b54f-c47ae6220c19",
* },
* Location = "southeastasia",
* PortalAdminEmailAddress = "[email protected]",
* PortalName = "ctwebsite",
* PortalOwnerEmailAddress = "[email protected]",
* PortalOwnerOrganizationName = "CT Portal Owner Organization",
* ResourceGroupName = "rgCommunityTaining",
* Sku = new AzureNative.Community.Inputs.SkuArgs
* {
* Name = "Commercial",
* Tier = AzureNative.Community.SkuTier.Standard,
* },
* ZoneRedundancyEnabled = true,
* });
* });
* ```
* ```go
* package main
* import (
* community "github.com/pulumi/pulumi-azure-native-sdk/community/v2"
* "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
* )
* func main() {
* pulumi.Run(func(ctx *pulumi.Context) error {
* _, err := community.NewCommunityTraining(ctx, "communityTraining", &community.CommunityTrainingArgs{
* CommunityTrainingName: pulumi.String("ctApplication"),
* DisasterRecoveryEnabled: pulumi.Bool(true),
* IdentityConfiguration: &community.IdentityConfigurationPropertiesArgs{
* B2cAuthenticationPolicy: pulumi.String("B2C_1_signup_signin"),
* B2cPasswordResetPolicy: pulumi.String("B2C_1_pwd_reset"),
* ClientId: pulumi.String("8c92390f-2f30-493d-bd13-d3c3eba3709d"),
* ClientSecret: pulumi.String("idenityConfigurationClientSecret"),
* CustomLoginParameters: pulumi.String("custom_hint"),
* DomainName: pulumi.String("cttenant"),
* IdentityType: pulumi.String("ADB2C"),
* TeamsEnabled: pulumi.Bool(false),
* TenantId: pulumi.String("c1ffbb60-88cf-4b83-b54f-c47ae6220c19"),
* },
* Location: pulumi.String("southeastasia"),
* PortalAdminEmailAddress: pulumi.String("[email protected]"),
* PortalName: pulumi.String("ctwebsite"),
* PortalOwnerEmailAddress: pulumi.String("[email protected]"),
* PortalOwnerOrganizationName: pulumi.String("CT Portal Owner Organization"),
* ResourceGroupName: pulumi.String("rgCommunityTaining"),
* Sku: &community.SkuArgs{
* Name: pulumi.String("Commercial"),
* Tier: community.SkuTierStandard,
* },
* ZoneRedundancyEnabled: pulumi.Bool(true),
* })
* if err != nil {
* return err
* }
* return nil
* })
* }
* ```
* ```java
* package generated_program;
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azurenative.community.CommunityTraining;
* import com.pulumi.azurenative.community.CommunityTrainingArgs;
* import com.pulumi.azurenative.community.inputs.IdentityConfigurationPropertiesArgs;
* import com.pulumi.azurenative.community.inputs.SkuArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
* public static void stack(Context ctx) {
* var communityTraining = new CommunityTraining("communityTraining", CommunityTrainingArgs.builder()
* .communityTrainingName("ctApplication")
* .disasterRecoveryEnabled(true)
* .identityConfiguration(IdentityConfigurationPropertiesArgs.builder()
* .b2cAuthenticationPolicy("B2C_1_signup_signin")
* .b2cPasswordResetPolicy("B2C_1_pwd_reset")
* .clientId("8c92390f-2f30-493d-bd13-d3c3eba3709d")
* .clientSecret("idenityConfigurationClientSecret")
* .customLoginParameters("custom_hint")
* .domainName("cttenant")
* .identityType("ADB2C")
* .teamsEnabled(false)
* .tenantId("c1ffbb60-88cf-4b83-b54f-c47ae6220c19")
* .build())
* .location("southeastasia")
* .portalAdminEmailAddress("[email protected]")
* .portalName("ctwebsite")
* .portalOwnerEmailAddress("[email protected]")
* .portalOwnerOrganizationName("CT Portal Owner Organization")
* .resourceGroupName("rgCommunityTaining")
* .sku(SkuArgs.builder()
* .name("Commercial")
* .tier("Standard")
* .build())
* .zoneRedundancyEnabled(true)
* .build());
* }
* }
* ```
* ## Import
* An existing resource can be imported using its type token, name, and identifier, e.g.
* ```sh
* $ pulumi import azure-native:community:CommunityTraining ctApplication /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Community/communityTrainings/{communityTrainingName}
* ```
* @property communityTrainingName The name of the Community Training Resource
* @property disasterRecoveryEnabled To indicate whether the Community Training instance has Disaster Recovery enabled
* @property identityConfiguration The identity configuration of the Community Training resource
* @property location The geo-location where the resource lives
* @property portalAdminEmailAddress The email address of the portal admin
* @property portalName The portal name (website name) of the Community Training instance
* @property portalOwnerEmailAddress The email address of the portal owner. Will be used as the primary contact
* @property portalOwnerOrganizationName The organization name of the portal owner
* @property resourceGroupName The name of the resource group. The name is case insensitive.
* @property sku The SKU (Stock Keeping Unit) assigned to this resource.
* @property tags Resource tags.
* @property zoneRedundancyEnabled To indicate whether the Community Training instance has Zone Redundancy enabled
*/
public data class CommunityTrainingArgs(
public val communityTrainingName: Output? = null,
public val disasterRecoveryEnabled: Output? = null,
public val identityConfiguration: Output? = null,
public val location: Output? = null,
public val portalAdminEmailAddress: Output? = null,
public val portalName: Output? = null,
public val portalOwnerEmailAddress: Output? = null,
public val portalOwnerOrganizationName: Output? = null,
public val resourceGroupName: Output? = null,
public val sku: Output? = null,
public val tags: Output
© 2015 - 2025 Weber Informatics LLC | Privacy Policy