1. Packages
  2. Azure Native v2
  3. API Docs
  4. community
  5. CommunityTraining
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.community.CommunityTraining

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

A CommunityProviderHub resource Azure REST API version: 2023-11-01.

Example Usage

CreateCommunityTrainings

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 = "ctadmin@ct.com",
        PortalName = "ctwebsite",
        PortalOwnerEmailAddress = "ctcontact@ct.com",
        PortalOwnerOrganizationName = "CT Portal Owner Organization",
        ResourceGroupName = "rgCommunityTaining",
        Sku = new AzureNative.Community.Inputs.SkuArgs
        {
            Name = "Commercial",
            Tier = AzureNative.Community.SkuTier.Standard,
        },
        ZoneRedundancyEnabled = true,
    });

});
Copy
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("ctadmin@ct.com"),
			PortalName:                  pulumi.String("ctwebsite"),
			PortalOwnerEmailAddress:     pulumi.String("ctcontact@ct.com"),
			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
	})
}
Copy
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("ctadmin@ct.com")
            .portalName("ctwebsite")
            .portalOwnerEmailAddress("ctcontact@ct.com")
            .portalOwnerOrganizationName("CT Portal Owner Organization")
            .resourceGroupName("rgCommunityTaining")
            .sku(SkuArgs.builder()
                .name("Commercial")
                .tier("Standard")
                .build())
            .zoneRedundancyEnabled(true)
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const communityTraining = new azure_native.community.CommunityTraining("communityTraining", {
    communityTrainingName: "ctApplication",
    disasterRecoveryEnabled: true,
    identityConfiguration: {
        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: "ctadmin@ct.com",
    portalName: "ctwebsite",
    portalOwnerEmailAddress: "ctcontact@ct.com",
    portalOwnerOrganizationName: "CT Portal Owner Organization",
    resourceGroupName: "rgCommunityTaining",
    sku: {
        name: "Commercial",
        tier: azure_native.community.SkuTier.Standard,
    },
    zoneRedundancyEnabled: true,
});
Copy
import pulumi
import pulumi_azure_native as azure_native

community_training = azure_native.community.CommunityTraining("communityTraining",
    community_training_name="ctApplication",
    disaster_recovery_enabled=True,
    identity_configuration={
        "b2c_authentication_policy": "B2C_1_signup_signin",
        "b2c_password_reset_policy": "B2C_1_pwd_reset",
        "client_id": "8c92390f-2f30-493d-bd13-d3c3eba3709d",
        "client_secret": "idenityConfigurationClientSecret",
        "custom_login_parameters": "custom_hint",
        "domain_name": "cttenant",
        "identity_type": "ADB2C",
        "teams_enabled": False,
        "tenant_id": "c1ffbb60-88cf-4b83-b54f-c47ae6220c19",
    },
    location="southeastasia",
    portal_admin_email_address="ctadmin@ct.com",
    portal_name="ctwebsite",
    portal_owner_email_address="ctcontact@ct.com",
    portal_owner_organization_name="CT Portal Owner Organization",
    resource_group_name="rgCommunityTaining",
    sku={
        "name": "Commercial",
        "tier": azure_native.community.SkuTier.STANDARD,
    },
    zone_redundancy_enabled=True)
Copy
resources:
  communityTraining:
    type: azure-native:community:CommunityTraining
    properties:
      communityTrainingName: ctApplication
      disasterRecoveryEnabled: true
      identityConfiguration:
        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: ctadmin@ct.com
      portalName: ctwebsite
      portalOwnerEmailAddress: ctcontact@ct.com
      portalOwnerOrganizationName: CT Portal Owner Organization
      resourceGroupName: rgCommunityTaining
      sku:
        name: Commercial
        tier: Standard
      zoneRedundancyEnabled: true
Copy

Create CommunityTraining Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new CommunityTraining(name: string, args: CommunityTrainingArgs, opts?: CustomResourceOptions);
@overload
def CommunityTraining(resource_name: str,
                      args: CommunityTrainingArgs,
                      opts: Optional[ResourceOptions] = None)

@overload
def CommunityTraining(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      disaster_recovery_enabled: Optional[bool] = None,
                      identity_configuration: Optional[IdentityConfigurationPropertiesArgs] = None,
                      portal_admin_email_address: Optional[str] = None,
                      portal_name: Optional[str] = None,
                      portal_owner_email_address: Optional[str] = None,
                      portal_owner_organization_name: Optional[str] = None,
                      resource_group_name: Optional[str] = None,
                      zone_redundancy_enabled: Optional[bool] = None,
                      community_training_name: Optional[str] = None,
                      location: Optional[str] = None,
                      sku: Optional[SkuArgs] = None,
                      tags: Optional[Mapping[str, str]] = None)
func NewCommunityTraining(ctx *Context, name string, args CommunityTrainingArgs, opts ...ResourceOption) (*CommunityTraining, error)
public CommunityTraining(string name, CommunityTrainingArgs args, CustomResourceOptions? opts = null)
public CommunityTraining(String name, CommunityTrainingArgs args)
public CommunityTraining(String name, CommunityTrainingArgs args, CustomResourceOptions options)
type: azure-native:community:CommunityTraining
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. CommunityTrainingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. CommunityTrainingArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. CommunityTrainingArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. CommunityTrainingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. CommunityTrainingArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var communityTrainingResource = new AzureNative.Community.CommunityTraining("communityTrainingResource", new()
{
    DisasterRecoveryEnabled = false,
    IdentityConfiguration = 
    {
        { "clientId", "string" },
        { "clientSecret", "string" },
        { "domainName", "string" },
        { "identityType", "string" },
        { "tenantId", "string" },
        { "b2cAuthenticationPolicy", "string" },
        { "b2cPasswordResetPolicy", "string" },
        { "customLoginParameters", "string" },
        { "teamsEnabled", false },
    },
    PortalAdminEmailAddress = "string",
    PortalName = "string",
    PortalOwnerEmailAddress = "string",
    PortalOwnerOrganizationName = "string",
    ResourceGroupName = "string",
    ZoneRedundancyEnabled = false,
    CommunityTrainingName = "string",
    Location = "string",
    Sku = 
    {
        { "name", "string" },
        { "capacity", 0 },
        { "family", "string" },
        { "size", "string" },
        { "tier", "Free" },
    },
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := community.NewCommunityTraining(ctx, "communityTrainingResource", &community.CommunityTrainingArgs{
	DisasterRecoveryEnabled: false,
	IdentityConfiguration: map[string]interface{}{
		"clientId":                "string",
		"clientSecret":            "string",
		"domainName":              "string",
		"identityType":            "string",
		"tenantId":                "string",
		"b2cAuthenticationPolicy": "string",
		"b2cPasswordResetPolicy":  "string",
		"customLoginParameters":   "string",
		"teamsEnabled":            false,
	},
	PortalAdminEmailAddress:     "string",
	PortalName:                  "string",
	PortalOwnerEmailAddress:     "string",
	PortalOwnerOrganizationName: "string",
	ResourceGroupName:           "string",
	ZoneRedundancyEnabled:       false,
	CommunityTrainingName:       "string",
	Location:                    "string",
	Sku: map[string]interface{}{
		"name":     "string",
		"capacity": 0,
		"family":   "string",
		"size":     "string",
		"tier":     "Free",
	},
	Tags: map[string]interface{}{
		"string": "string",
	},
})
Copy
var communityTrainingResource = new CommunityTraining("communityTrainingResource", CommunityTrainingArgs.builder()
    .disasterRecoveryEnabled(false)
    .identityConfiguration(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .portalAdminEmailAddress("string")
    .portalName("string")
    .portalOwnerEmailAddress("string")
    .portalOwnerOrganizationName("string")
    .resourceGroupName("string")
    .zoneRedundancyEnabled(false)
    .communityTrainingName("string")
    .location("string")
    .sku(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .build());
Copy
community_training_resource = azure_native.community.CommunityTraining("communityTrainingResource",
    disaster_recovery_enabled=False,
    identity_configuration={
        clientId: string,
        clientSecret: string,
        domainName: string,
        identityType: string,
        tenantId: string,
        b2cAuthenticationPolicy: string,
        b2cPasswordResetPolicy: string,
        customLoginParameters: string,
        teamsEnabled: False,
    },
    portal_admin_email_address=string,
    portal_name=string,
    portal_owner_email_address=string,
    portal_owner_organization_name=string,
    resource_group_name=string,
    zone_redundancy_enabled=False,
    community_training_name=string,
    location=string,
    sku={
        name: string,
        capacity: 0,
        family: string,
        size: string,
        tier: Free,
    },
    tags={
        string: string,
    })
Copy
const communityTrainingResource = new azure_native.community.CommunityTraining("communityTrainingResource", {
    disasterRecoveryEnabled: false,
    identityConfiguration: {
        clientId: "string",
        clientSecret: "string",
        domainName: "string",
        identityType: "string",
        tenantId: "string",
        b2cAuthenticationPolicy: "string",
        b2cPasswordResetPolicy: "string",
        customLoginParameters: "string",
        teamsEnabled: false,
    },
    portalAdminEmailAddress: "string",
    portalName: "string",
    portalOwnerEmailAddress: "string",
    portalOwnerOrganizationName: "string",
    resourceGroupName: "string",
    zoneRedundancyEnabled: false,
    communityTrainingName: "string",
    location: "string",
    sku: {
        name: "string",
        capacity: 0,
        family: "string",
        size: "string",
        tier: "Free",
    },
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:community:CommunityTraining
properties:
    communityTrainingName: string
    disasterRecoveryEnabled: false
    identityConfiguration:
        b2cAuthenticationPolicy: string
        b2cPasswordResetPolicy: string
        clientId: string
        clientSecret: string
        customLoginParameters: string
        domainName: string
        identityType: string
        teamsEnabled: false
        tenantId: string
    location: string
    portalAdminEmailAddress: string
    portalName: string
    portalOwnerEmailAddress: string
    portalOwnerOrganizationName: string
    resourceGroupName: string
    sku:
        capacity: 0
        family: string
        name: string
        size: string
        tier: Free
    tags:
        string: string
    zoneRedundancyEnabled: false
Copy

CommunityTraining Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The CommunityTraining resource accepts the following input properties:

DisasterRecoveryEnabled
This property is required.
Changes to this property will trigger replacement.
bool
To indicate whether the Community Training instance has Disaster Recovery enabled
IdentityConfiguration This property is required. Pulumi.AzureNative.Community.Inputs.IdentityConfigurationProperties
The identity configuration of the Community Training resource
PortalAdminEmailAddress
This property is required.
Changes to this property will trigger replacement.
string
The email address of the portal admin
PortalName
This property is required.
Changes to this property will trigger replacement.
string
The portal name (website name) of the Community Training instance
PortalOwnerEmailAddress
This property is required.
Changes to this property will trigger replacement.
string
The email address of the portal owner. Will be used as the primary contact
PortalOwnerOrganizationName
This property is required.
Changes to this property will trigger replacement.
string
The organization name of the portal owner
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ZoneRedundancyEnabled
This property is required.
Changes to this property will trigger replacement.
bool
To indicate whether the Community Training instance has Zone Redundancy enabled
CommunityTrainingName Changes to this property will trigger replacement. string
The name of the Community Training Resource
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
Sku Pulumi.AzureNative.Community.Inputs.Sku
The SKU (Stock Keeping Unit) assigned to this resource.
Tags Dictionary<string, string>
Resource tags.
DisasterRecoveryEnabled
This property is required.
Changes to this property will trigger replacement.
bool
To indicate whether the Community Training instance has Disaster Recovery enabled
IdentityConfiguration This property is required. IdentityConfigurationPropertiesArgs
The identity configuration of the Community Training resource
PortalAdminEmailAddress
This property is required.
Changes to this property will trigger replacement.
string
The email address of the portal admin
PortalName
This property is required.
Changes to this property will trigger replacement.
string
The portal name (website name) of the Community Training instance
PortalOwnerEmailAddress
This property is required.
Changes to this property will trigger replacement.
string
The email address of the portal owner. Will be used as the primary contact
PortalOwnerOrganizationName
This property is required.
Changes to this property will trigger replacement.
string
The organization name of the portal owner
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ZoneRedundancyEnabled
This property is required.
Changes to this property will trigger replacement.
bool
To indicate whether the Community Training instance has Zone Redundancy enabled
CommunityTrainingName Changes to this property will trigger replacement. string
The name of the Community Training Resource
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
Sku SkuArgs
The SKU (Stock Keeping Unit) assigned to this resource.
Tags map[string]string
Resource tags.
disasterRecoveryEnabled
This property is required.
Changes to this property will trigger replacement.
Boolean
To indicate whether the Community Training instance has Disaster Recovery enabled
identityConfiguration This property is required. IdentityConfigurationProperties
The identity configuration of the Community Training resource
portalAdminEmailAddress
This property is required.
Changes to this property will trigger replacement.
String
The email address of the portal admin
portalName
This property is required.
Changes to this property will trigger replacement.
String
The portal name (website name) of the Community Training instance
portalOwnerEmailAddress
This property is required.
Changes to this property will trigger replacement.
String
The email address of the portal owner. Will be used as the primary contact
portalOwnerOrganizationName
This property is required.
Changes to this property will trigger replacement.
String
The organization name of the portal owner
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
zoneRedundancyEnabled
This property is required.
Changes to this property will trigger replacement.
Boolean
To indicate whether the Community Training instance has Zone Redundancy enabled
communityTrainingName Changes to this property will trigger replacement. String
The name of the Community Training Resource
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
sku Sku
The SKU (Stock Keeping Unit) assigned to this resource.
tags Map<String,String>
Resource tags.
disasterRecoveryEnabled
This property is required.
Changes to this property will trigger replacement.
boolean
To indicate whether the Community Training instance has Disaster Recovery enabled
identityConfiguration This property is required. IdentityConfigurationProperties
The identity configuration of the Community Training resource
portalAdminEmailAddress
This property is required.
Changes to this property will trigger replacement.
string
The email address of the portal admin
portalName
This property is required.
Changes to this property will trigger replacement.
string
The portal name (website name) of the Community Training instance
portalOwnerEmailAddress
This property is required.
Changes to this property will trigger replacement.
string
The email address of the portal owner. Will be used as the primary contact
portalOwnerOrganizationName
This property is required.
Changes to this property will trigger replacement.
string
The organization name of the portal owner
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
zoneRedundancyEnabled
This property is required.
Changes to this property will trigger replacement.
boolean
To indicate whether the Community Training instance has Zone Redundancy enabled
communityTrainingName Changes to this property will trigger replacement. string
The name of the Community Training Resource
location Changes to this property will trigger replacement. string
The geo-location where the resource lives
sku Sku
The SKU (Stock Keeping Unit) assigned to this resource.
tags {[key: string]: string}
Resource tags.
disaster_recovery_enabled
This property is required.
Changes to this property will trigger replacement.
bool
To indicate whether the Community Training instance has Disaster Recovery enabled
identity_configuration This property is required. IdentityConfigurationPropertiesArgs
The identity configuration of the Community Training resource
portal_admin_email_address
This property is required.
Changes to this property will trigger replacement.
str
The email address of the portal admin
portal_name
This property is required.
Changes to this property will trigger replacement.
str
The portal name (website name) of the Community Training instance
portal_owner_email_address
This property is required.
Changes to this property will trigger replacement.
str
The email address of the portal owner. Will be used as the primary contact
portal_owner_organization_name
This property is required.
Changes to this property will trigger replacement.
str
The organization name of the portal owner
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
zone_redundancy_enabled
This property is required.
Changes to this property will trigger replacement.
bool
To indicate whether the Community Training instance has Zone Redundancy enabled
community_training_name Changes to this property will trigger replacement. str
The name of the Community Training Resource
location Changes to this property will trigger replacement. str
The geo-location where the resource lives
sku SkuArgs
The SKU (Stock Keeping Unit) assigned to this resource.
tags Mapping[str, str]
Resource tags.
disasterRecoveryEnabled
This property is required.
Changes to this property will trigger replacement.
Boolean
To indicate whether the Community Training instance has Disaster Recovery enabled
identityConfiguration This property is required. Property Map
The identity configuration of the Community Training resource
portalAdminEmailAddress
This property is required.
Changes to this property will trigger replacement.
String
The email address of the portal admin
portalName
This property is required.
Changes to this property will trigger replacement.
String
The portal name (website name) of the Community Training instance
portalOwnerEmailAddress
This property is required.
Changes to this property will trigger replacement.
String
The email address of the portal owner. Will be used as the primary contact
portalOwnerOrganizationName
This property is required.
Changes to this property will trigger replacement.
String
The organization name of the portal owner
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
zoneRedundancyEnabled
This property is required.
Changes to this property will trigger replacement.
Boolean
To indicate whether the Community Training instance has Zone Redundancy enabled
communityTrainingName Changes to this property will trigger replacement. String
The name of the Community Training Resource
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
sku Property Map
The SKU (Stock Keeping Unit) assigned to this resource.
tags Map<String>
Resource tags.

Outputs

All input properties are implicitly available as output properties. Additionally, the CommunityTraining resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
ProvisioningState string
The status of the last operation.
SystemData Pulumi.AzureNative.Community.Outputs.SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
ProvisioningState string
The status of the last operation.
SystemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
provisioningState String
The status of the last operation.
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the resource
provisioningState string
The status of the last operation.
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the resource
provisioning_state str
The status of the last operation.
system_data SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
provisioningState String
The status of the last operation.
systemData Property Map
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Supporting Types

IdentityConfigurationProperties
, IdentityConfigurationPropertiesArgs

ClientId This property is required. string
The clientId of the application registered in the selected identity provider for the Community Training Resource
ClientSecret This property is required. string
The client secret of the application registered in the selected identity provider for the Community Training Resource
DomainName This property is required. string
The domain name of the selected identity provider for the Community Training Resource
IdentityType This property is required. string
The identity type of the Community Training Resource
TenantId This property is required. string
The tenantId of the selected identity provider for the Community Training Resource
B2cAuthenticationPolicy string
The name of the authentication policy registered in ADB2C for the Community Training Resource
B2cPasswordResetPolicy string
The name of the password reset policy registered in ADB2C for the Community Training Resource
CustomLoginParameters string
The custom login parameters for the Community Training Resource
TeamsEnabled bool
To indicate whether the Community Training Resource has Teams enabled
ClientId This property is required. string
The clientId of the application registered in the selected identity provider for the Community Training Resource
ClientSecret This property is required. string
The client secret of the application registered in the selected identity provider for the Community Training Resource
DomainName This property is required. string
The domain name of the selected identity provider for the Community Training Resource
IdentityType This property is required. string
The identity type of the Community Training Resource
TenantId This property is required. string
The tenantId of the selected identity provider for the Community Training Resource
B2cAuthenticationPolicy string
The name of the authentication policy registered in ADB2C for the Community Training Resource
B2cPasswordResetPolicy string
The name of the password reset policy registered in ADB2C for the Community Training Resource
CustomLoginParameters string
The custom login parameters for the Community Training Resource
TeamsEnabled bool
To indicate whether the Community Training Resource has Teams enabled
clientId This property is required. String
The clientId of the application registered in the selected identity provider for the Community Training Resource
clientSecret This property is required. String
The client secret of the application registered in the selected identity provider for the Community Training Resource
domainName This property is required. String
The domain name of the selected identity provider for the Community Training Resource
identityType This property is required. String
The identity type of the Community Training Resource
tenantId This property is required. String
The tenantId of the selected identity provider for the Community Training Resource
b2cAuthenticationPolicy String
The name of the authentication policy registered in ADB2C for the Community Training Resource
b2cPasswordResetPolicy String
The name of the password reset policy registered in ADB2C for the Community Training Resource
customLoginParameters String
The custom login parameters for the Community Training Resource
teamsEnabled Boolean
To indicate whether the Community Training Resource has Teams enabled
clientId This property is required. string
The clientId of the application registered in the selected identity provider for the Community Training Resource
clientSecret This property is required. string
The client secret of the application registered in the selected identity provider for the Community Training Resource
domainName This property is required. string
The domain name of the selected identity provider for the Community Training Resource
identityType This property is required. string
The identity type of the Community Training Resource
tenantId This property is required. string
The tenantId of the selected identity provider for the Community Training Resource
b2cAuthenticationPolicy string
The name of the authentication policy registered in ADB2C for the Community Training Resource
b2cPasswordResetPolicy string
The name of the password reset policy registered in ADB2C for the Community Training Resource
customLoginParameters string
The custom login parameters for the Community Training Resource
teamsEnabled boolean
To indicate whether the Community Training Resource has Teams enabled
client_id This property is required. str
The clientId of the application registered in the selected identity provider for the Community Training Resource
client_secret This property is required. str
The client secret of the application registered in the selected identity provider for the Community Training Resource
domain_name This property is required. str
The domain name of the selected identity provider for the Community Training Resource
identity_type This property is required. str
The identity type of the Community Training Resource
tenant_id This property is required. str
The tenantId of the selected identity provider for the Community Training Resource
b2c_authentication_policy str
The name of the authentication policy registered in ADB2C for the Community Training Resource
b2c_password_reset_policy str
The name of the password reset policy registered in ADB2C for the Community Training Resource
custom_login_parameters str
The custom login parameters for the Community Training Resource
teams_enabled bool
To indicate whether the Community Training Resource has Teams enabled
clientId This property is required. String
The clientId of the application registered in the selected identity provider for the Community Training Resource
clientSecret This property is required. String
The client secret of the application registered in the selected identity provider for the Community Training Resource
domainName This property is required. String
The domain name of the selected identity provider for the Community Training Resource
identityType This property is required. String
The identity type of the Community Training Resource
tenantId This property is required. String
The tenantId of the selected identity provider for the Community Training Resource
b2cAuthenticationPolicy String
The name of the authentication policy registered in ADB2C for the Community Training Resource
b2cPasswordResetPolicy String
The name of the password reset policy registered in ADB2C for the Community Training Resource
customLoginParameters String
The custom login parameters for the Community Training Resource
teamsEnabled Boolean
To indicate whether the Community Training Resource has Teams enabled

IdentityConfigurationPropertiesResponse
, IdentityConfigurationPropertiesResponseArgs

ClientId This property is required. string
The clientId of the application registered in the selected identity provider for the Community Training Resource
ClientSecret This property is required. string
The client secret of the application registered in the selected identity provider for the Community Training Resource
DomainName This property is required. string
The domain name of the selected identity provider for the Community Training Resource
IdentityType This property is required. string
The identity type of the Community Training Resource
TenantId This property is required. string
The tenantId of the selected identity provider for the Community Training Resource
B2cAuthenticationPolicy string
The name of the authentication policy registered in ADB2C for the Community Training Resource
B2cPasswordResetPolicy string
The name of the password reset policy registered in ADB2C for the Community Training Resource
CustomLoginParameters string
The custom login parameters for the Community Training Resource
TeamsEnabled bool
To indicate whether the Community Training Resource has Teams enabled
ClientId This property is required. string
The clientId of the application registered in the selected identity provider for the Community Training Resource
ClientSecret This property is required. string
The client secret of the application registered in the selected identity provider for the Community Training Resource
DomainName This property is required. string
The domain name of the selected identity provider for the Community Training Resource
IdentityType This property is required. string
The identity type of the Community Training Resource
TenantId This property is required. string
The tenantId of the selected identity provider for the Community Training Resource
B2cAuthenticationPolicy string
The name of the authentication policy registered in ADB2C for the Community Training Resource
B2cPasswordResetPolicy string
The name of the password reset policy registered in ADB2C for the Community Training Resource
CustomLoginParameters string
The custom login parameters for the Community Training Resource
TeamsEnabled bool
To indicate whether the Community Training Resource has Teams enabled
clientId This property is required. String
The clientId of the application registered in the selected identity provider for the Community Training Resource
clientSecret This property is required. String
The client secret of the application registered in the selected identity provider for the Community Training Resource
domainName This property is required. String
The domain name of the selected identity provider for the Community Training Resource
identityType This property is required. String
The identity type of the Community Training Resource
tenantId This property is required. String
The tenantId of the selected identity provider for the Community Training Resource
b2cAuthenticationPolicy String
The name of the authentication policy registered in ADB2C for the Community Training Resource
b2cPasswordResetPolicy String
The name of the password reset policy registered in ADB2C for the Community Training Resource
customLoginParameters String
The custom login parameters for the Community Training Resource
teamsEnabled Boolean
To indicate whether the Community Training Resource has Teams enabled
clientId This property is required. string
The clientId of the application registered in the selected identity provider for the Community Training Resource
clientSecret This property is required. string
The client secret of the application registered in the selected identity provider for the Community Training Resource
domainName This property is required. string
The domain name of the selected identity provider for the Community Training Resource
identityType This property is required. string
The identity type of the Community Training Resource
tenantId This property is required. string
The tenantId of the selected identity provider for the Community Training Resource
b2cAuthenticationPolicy string
The name of the authentication policy registered in ADB2C for the Community Training Resource
b2cPasswordResetPolicy string
The name of the password reset policy registered in ADB2C for the Community Training Resource
customLoginParameters string
The custom login parameters for the Community Training Resource
teamsEnabled boolean
To indicate whether the Community Training Resource has Teams enabled
client_id This property is required. str
The clientId of the application registered in the selected identity provider for the Community Training Resource
client_secret This property is required. str
The client secret of the application registered in the selected identity provider for the Community Training Resource
domain_name This property is required. str
The domain name of the selected identity provider for the Community Training Resource
identity_type This property is required. str
The identity type of the Community Training Resource
tenant_id This property is required. str
The tenantId of the selected identity provider for the Community Training Resource
b2c_authentication_policy str
The name of the authentication policy registered in ADB2C for the Community Training Resource
b2c_password_reset_policy str
The name of the password reset policy registered in ADB2C for the Community Training Resource
custom_login_parameters str
The custom login parameters for the Community Training Resource
teams_enabled bool
To indicate whether the Community Training Resource has Teams enabled
clientId This property is required. String
The clientId of the application registered in the selected identity provider for the Community Training Resource
clientSecret This property is required. String
The client secret of the application registered in the selected identity provider for the Community Training Resource
domainName This property is required. String
The domain name of the selected identity provider for the Community Training Resource
identityType This property is required. String
The identity type of the Community Training Resource
tenantId This property is required. String
The tenantId of the selected identity provider for the Community Training Resource
b2cAuthenticationPolicy String
The name of the authentication policy registered in ADB2C for the Community Training Resource
b2cPasswordResetPolicy String
The name of the password reset policy registered in ADB2C for the Community Training Resource
customLoginParameters String
The custom login parameters for the Community Training Resource
teamsEnabled Boolean
To indicate whether the Community Training Resource has Teams enabled

Sku
, SkuArgs

Name This property is required. string
The name of the SKU. Ex - P3. It is typically a letter+number code
Capacity int
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
Family string
If the service has different generations of hardware, for the same SKU, then that can be captured here.
Size string
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
Tier Pulumi.AzureNative.Community.SkuTier
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
Name This property is required. string
The name of the SKU. Ex - P3. It is typically a letter+number code
Capacity int
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
Family string
If the service has different generations of hardware, for the same SKU, then that can be captured here.
Size string
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
Tier SkuTier
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
name This property is required. String
The name of the SKU. Ex - P3. It is typically a letter+number code
capacity Integer
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
family String
If the service has different generations of hardware, for the same SKU, then that can be captured here.
size String
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
tier SkuTier
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
name This property is required. string
The name of the SKU. Ex - P3. It is typically a letter+number code
capacity number
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
family string
If the service has different generations of hardware, for the same SKU, then that can be captured here.
size string
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
tier SkuTier
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
name This property is required. str
The name of the SKU. Ex - P3. It is typically a letter+number code
capacity int
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
family str
If the service has different generations of hardware, for the same SKU, then that can be captured here.
size str
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
tier SkuTier
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
name This property is required. String
The name of the SKU. Ex - P3. It is typically a letter+number code
capacity Number
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
family String
If the service has different generations of hardware, for the same SKU, then that can be captured here.
size String
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
tier "Free" | "Basic" | "Standard" | "Premium"
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.

SkuResponse
, SkuResponseArgs

Name This property is required. string
The name of the SKU. Ex - P3. It is typically a letter+number code
Capacity int
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
Family string
If the service has different generations of hardware, for the same SKU, then that can be captured here.
Size string
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
Tier string
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
Name This property is required. string
The name of the SKU. Ex - P3. It is typically a letter+number code
Capacity int
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
Family string
If the service has different generations of hardware, for the same SKU, then that can be captured here.
Size string
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
Tier string
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
name This property is required. String
The name of the SKU. Ex - P3. It is typically a letter+number code
capacity Integer
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
family String
If the service has different generations of hardware, for the same SKU, then that can be captured here.
size String
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
tier String
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
name This property is required. string
The name of the SKU. Ex - P3. It is typically a letter+number code
capacity number
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
family string
If the service has different generations of hardware, for the same SKU, then that can be captured here.
size string
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
tier string
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
name This property is required. str
The name of the SKU. Ex - P3. It is typically a letter+number code
capacity int
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
family str
If the service has different generations of hardware, for the same SKU, then that can be captured here.
size str
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
tier str
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
name This property is required. String
The name of the SKU. Ex - P3. It is typically a letter+number code
capacity Number
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
family String
If the service has different generations of hardware, for the same SKU, then that can be captured here.
size String
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
tier String
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.

SkuTier
, SkuTierArgs

Free
Free
Basic
Basic
Standard
Standard
Premium
Premium
SkuTierFree
Free
SkuTierBasic
Basic
SkuTierStandard
Standard
SkuTierPremium
Premium
Free
Free
Basic
Basic
Standard
Standard
Premium
Premium
Free
Free
Basic
Basic
Standard
Standard
Premium
Premium
FREE
Free
BASIC
Basic
STANDARD
Standard
PREMIUM
Premium
"Free"
Free
"Basic"
Basic
"Standard"
Standard
"Premium"
Premium

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:community:CommunityTraining ctApplication /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Community/communityTrainings/{communityTrainingName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi