1. Packages
  2. Azure Native v2
  3. API Docs
  4. community
  5. getCommunityTraining
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.getCommunityTraining

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

Get a CommunityTraining Azure REST API version: 2023-11-01.

Using getCommunityTraining

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getCommunityTraining(args: GetCommunityTrainingArgs, opts?: InvokeOptions): Promise<GetCommunityTrainingResult>
function getCommunityTrainingOutput(args: GetCommunityTrainingOutputArgs, opts?: InvokeOptions): Output<GetCommunityTrainingResult>
Copy
def get_community_training(community_training_name: Optional[str] = None,
                           resource_group_name: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetCommunityTrainingResult
def get_community_training_output(community_training_name: Optional[pulumi.Input[str]] = None,
                           resource_group_name: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetCommunityTrainingResult]
Copy
func LookupCommunityTraining(ctx *Context, args *LookupCommunityTrainingArgs, opts ...InvokeOption) (*LookupCommunityTrainingResult, error)
func LookupCommunityTrainingOutput(ctx *Context, args *LookupCommunityTrainingOutputArgs, opts ...InvokeOption) LookupCommunityTrainingResultOutput
Copy

> Note: This function is named LookupCommunityTraining in the Go SDK.

public static class GetCommunityTraining 
{
    public static Task<GetCommunityTrainingResult> InvokeAsync(GetCommunityTrainingArgs args, InvokeOptions? opts = null)
    public static Output<GetCommunityTrainingResult> Invoke(GetCommunityTrainingInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetCommunityTrainingResult> getCommunityTraining(GetCommunityTrainingArgs args, InvokeOptions options)
public static Output<GetCommunityTrainingResult> getCommunityTraining(GetCommunityTrainingArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:community:getCommunityTraining
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CommunityTrainingName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Community Training Resource
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
CommunityTrainingName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Community Training Resource
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
communityTrainingName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Community Training Resource
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
communityTrainingName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Community Training Resource
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
community_training_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the Community Training Resource
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.
communityTrainingName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Community Training Resource
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.

getCommunityTraining Result

The following output properties are available:

DisasterRecoveryEnabled bool
To indicate whether the Community Training instance has Disaster Recovery enabled
Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
IdentityConfiguration Pulumi.AzureNative.Community.Outputs.IdentityConfigurationPropertiesResponse
The identity configuration of the Community Training resource
Location string
The geo-location where the resource lives
Name string
The name of the resource
PortalAdminEmailAddress string
The email address of the portal admin
PortalName string
The portal name (website name) of the Community Training instance
PortalOwnerEmailAddress string
The email address of the portal owner. Will be used as the primary contact
PortalOwnerOrganizationName string
The organization name of the portal owner
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"
ZoneRedundancyEnabled bool
To indicate whether the Community Training instance has Zone Redundancy enabled
Sku Pulumi.AzureNative.Community.Outputs.SkuResponse
The SKU (Stock Keeping Unit) assigned to this resource.
Tags Dictionary<string, string>
Resource tags.
DisasterRecoveryEnabled bool
To indicate whether the Community Training instance has Disaster Recovery enabled
Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
IdentityConfiguration IdentityConfigurationPropertiesResponse
The identity configuration of the Community Training resource
Location string
The geo-location where the resource lives
Name string
The name of the resource
PortalAdminEmailAddress string
The email address of the portal admin
PortalName string
The portal name (website name) of the Community Training instance
PortalOwnerEmailAddress string
The email address of the portal owner. Will be used as the primary contact
PortalOwnerOrganizationName string
The organization name of the portal owner
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"
ZoneRedundancyEnabled bool
To indicate whether the Community Training instance has Zone Redundancy enabled
Sku SkuResponse
The SKU (Stock Keeping Unit) assigned to this resource.
Tags map[string]string
Resource tags.
disasterRecoveryEnabled Boolean
To indicate whether the Community Training instance has Disaster Recovery enabled
id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
identityConfiguration IdentityConfigurationPropertiesResponse
The identity configuration of the Community Training resource
location String
The geo-location where the resource lives
name String
The name of the resource
portalAdminEmailAddress String
The email address of the portal admin
portalName String
The portal name (website name) of the Community Training instance
portalOwnerEmailAddress String
The email address of the portal owner. Will be used as the primary contact
portalOwnerOrganizationName String
The organization name of the portal owner
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"
zoneRedundancyEnabled Boolean
To indicate whether the Community Training instance has Zone Redundancy enabled
sku SkuResponse
The SKU (Stock Keeping Unit) assigned to this resource.
tags Map<String,String>
Resource tags.
disasterRecoveryEnabled boolean
To indicate whether the Community Training instance has Disaster Recovery enabled
id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
identityConfiguration IdentityConfigurationPropertiesResponse
The identity configuration of the Community Training resource
location string
The geo-location where the resource lives
name string
The name of the resource
portalAdminEmailAddress string
The email address of the portal admin
portalName string
The portal name (website name) of the Community Training instance
portalOwnerEmailAddress string
The email address of the portal owner. Will be used as the primary contact
portalOwnerOrganizationName string
The organization name of the portal owner
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"
zoneRedundancyEnabled boolean
To indicate whether the Community Training instance has Zone Redundancy enabled
sku SkuResponse
The SKU (Stock Keeping Unit) assigned to this resource.
tags {[key: string]: string}
Resource tags.
disaster_recovery_enabled bool
To indicate whether the Community Training instance has Disaster Recovery enabled
id str
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
identity_configuration IdentityConfigurationPropertiesResponse
The identity configuration of the Community Training resource
location str
The geo-location where the resource lives
name str
The name of the resource
portal_admin_email_address str
The email address of the portal admin
portal_name str
The portal name (website name) of the Community Training instance
portal_owner_email_address str
The email address of the portal owner. Will be used as the primary contact
portal_owner_organization_name str
The organization name of the portal owner
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"
zone_redundancy_enabled bool
To indicate whether the Community Training instance has Zone Redundancy enabled
sku SkuResponse
The SKU (Stock Keeping Unit) assigned to this resource.
tags Mapping[str, str]
Resource tags.
disasterRecoveryEnabled Boolean
To indicate whether the Community Training instance has Disaster Recovery enabled
id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
identityConfiguration Property Map
The identity configuration of the Community Training resource
location String
The geo-location where the resource lives
name String
The name of the resource
portalAdminEmailAddress String
The email address of the portal admin
portalName String
The portal name (website name) of the Community Training instance
portalOwnerEmailAddress String
The email address of the portal owner. Will be used as the primary contact
portalOwnerOrganizationName String
The organization name of the portal owner
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"
zoneRedundancyEnabled Boolean
To indicate whether the Community Training instance has Zone Redundancy enabled
sku Property Map
The SKU (Stock Keeping Unit) assigned to this resource.
tags Map<String>
Resource tags.

Supporting Types

IdentityConfigurationPropertiesResponse

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

SkuResponse

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.

SystemDataResponse

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.

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