Microsoft Azure Community Trainings API

The CommunityTrainings API from Microsoft Azure, for communitytrainings.

GitHub OpenAPI

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /subscriptions/{subscriptionId}/providers/Microsoft.Community/communityTrainings List Community Training instances in a subscription · Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Community… #
Ask an LLM
“Which Community Training resources exist across my subscription?”
“Can I see every Community Training portal I've provisioned in Azure?”
Tell an agent
List all Community Training resources in my subscription.
Show every Community Training instance I own.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Community/communityTrainings List Community Training instances in a resource group · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“What Community Training resources are in one resource group?”
“Can I narrow my Community Training list to a single resource group?”
Tell an agent
List the Community Training resources in this resource group.
Show Community Training instances grouped under my current resource group.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Community/communityTrainings/{communityTrainingName} Get a Community Training instance · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I look up the settings of one Community Training resource?”
“What SKU and properties does a specific Community Training instance have?”
Tell an agent
Get Community Training resource {training}.
Show the details of Community Training {training}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Community/communityTrainings/{communityTrainingName} Create a Community Training instance · Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I provision a new Community Training platform in Azure?”
“Can I choose a SKU when creating a Community Training resource?”
Tell an agent
Create Community Training resource {training}.
Provision Community Training {training} on the {sku} SKU.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Community/communityTrainings/{communityTrainingName} Update a Community Training instance · Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I change the tags or SKU of an existing Community Training resource?”
“Is there a way to patch a Community Training instance's properties?”
Tell an agent
Update tags on Community Training {training} to {tags}.
Change the SKU of existing Community Training {training} to {sku}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Community/communityTrainings/{communityTrainingName} Delete a Community Training instance · Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I remove a Community Training resource I no longer need?”
“How do I delete a Community Training portal?”
Tell an agent destructive · confirm first
Delete Community Training resource {training}.
Tear down the {training} Community Training instance.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure:microsoft-azure-communitytrainings-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-communitytrainings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Microsoft.Community Community Trainings API
  version: '2023-11-01'
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: CommunityTrainings
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.Community/communityTrainings:
    get:
      operationId: microsoftAzureCommunitytrainingsListbysubscription
      tags:
      - CommunityTrainings
      description: List CommunityTraining resources by subscription ID
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunityTrainingListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        ListBySubscriptionCommunityTrainings:
          $ref: ./examples/CommunityTrainings_ListBySubscription.json
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Community…
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Community/communityTrainings:
    get:
      operationId: microsoftAzureCommunitytrainingsListbyresourcegroup
      tags:
      - CommunityTrainings
      description: List CommunityTraining resources by resource group
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunityTrainingListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        ListByResourceGroupCommunityTrainings:
          $ref: ./examples/CommunityTrainings_ListByResourceGroup.json
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Community/communityTrainings/{communityTrainingName}
  : get:
      operationId: microsoftAzureCommunitytrainingsGet
      tags:
      - CommunityTrainings
      description: Get a CommunityTraining
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - name: communityTrainingName
        in: path
        description: The name of the Community Training Resource
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunityTraining'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        GetCommunityTrainings:
          $ref: ./examples/CommunityTrainings_Get.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
    put:
      operationId: microsoftAzureCommunitytrainingsCreate
      tags:
      - CommunityTrainings
      description: Create a CommunityTraining
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - name: communityTrainingName
        in: path
        description: The name of the Community Training Resource
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      responses:
        '200':
          description: Resource 'CommunityTraining' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunityTraining'
        '201':
          description: Resource 'CommunityTraining' create operation succeeded
          headers:
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunityTraining'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        CreateCommunityTrainings:
          $ref: ./examples/CommunityTrainings_Create.json
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      x-ms-long-running-operation: true
      summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CommunityTraining'
        description: Resource create parameters.
        required: true
    patch:
      operationId: microsoftAzureCommunitytrainingsUpdate
      tags:
      - CommunityTrainings
      description: Update a CommunityTraining
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - name: communityTrainingName
        in: path
        description: The name of the Community Training Resource
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunityTraining'
        '202':
          description: Resource update request accepted.
          headers:
            Location:
              description: The Location header contains the URL where the status of the long running operation can be checked.
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        UpdateCommunityTrainings:
          $ref: ./examples/CommunityTrainings_Update.json
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-long-running-operation: true
      summary: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CommunityTrainingUpdate'
        description: The resource properties to be updated.
        required: true
    delete:
      operationId: microsoftAzureCommunitytrainingsDelete
      tags:
      - CommunityTrainings
      description: Delete a CommunityTraining
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - name: communityTrainingName
        in: path
        description: The name of the Community Training Resource
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      responses:
        '200':
          description: Resource deleted successfully.
        '202':
          description: Resource deletion accepted.
          headers:
            Location:
              description: The Location header contains the URL where the status of the long running operation can be checked.
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
        '204':
          description: Resource does not exist.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        DeleteCommunityTrainings:
          $ref: ./examples/CommunityTrainings_Delete.json
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-long-running-operation: true
      summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups…
components:
  schemas:
    IdentityConfigurationProperties:
      type: object
      description: Details of the Community CommunityTraining Identity Configuration
      properties:
        identityType:
          type: string
          description: The identity type of the Community Training Resource
          x-ms-mutability:
          - read
          - update
          - create
        teamsEnabled:
          type: boolean
          description: To indicate whether the Community Training Resource has Teams enabled
          default: false
          x-ms-mutability:
          - read
          - update
          - create
        tenantId:
          type: string
          description: The tenantId of the selected identity provider for the Community Training Resource
          x-ms-mutability:
          - read
          - update
          - create
        domainName:
          type: string
          description: The domain name of the selected identity provider for the Community Training Resource
          x-ms-mutability:
          - read
          - update
          - create
        clientId:
          type: string
          description: The clientId of the application registered in the selected identity provider for the Community Training Resource
          x-ms-mutability:
          - read
          - update
          - create
        clientSecret:
          type: string
          format: password
          description: The client secret of the application registered in the selected identity provider for the Community Training Resource
          x-ms-mutability:
          - read
          - update
          - create
          x-ms-secret: true
        b2cAuthenticationPolicy:
          type: string
          description: The name of the authentication policy registered in ADB2C for the Community Training Resource
          x-ms-mutability:
          - read
          - update
          - create
        b2cPasswordResetPolicy:
          type: string
          description: The name of the password reset policy registered in ADB2C for the Community Training Resource
          x-ms-mutability:
          - read
          - update
          - create
        customLoginParameters:
          type: string
          description: The custom login parameters for the Community Training Resource
          x-ms-mutability:
          - read
          - update
          - create
      required:
      - identityType
      - tenantId
      - domainName
      - clientId
      - clientSecret
    IdentityConfigurationPropertiesUpdate:
      type: object
      description: Details of the Community CommunityTraining Identity Configuration
      properties:
        identityType:
          type: string
          description: The identity type of the Community Training Resource
          x-ms-mutability:
          - read
          - update
          - create
        teamsEnabled:
          type: boolean
          description: To indicate whether the Community Training Resource has Teams enabled
          default: false
          x-ms-mutability:
          - read
          - update
          - create
        tenantId:
          type: string
          description: The tenantId of the selected identity provider for the Community Training Resource
          x-ms-mutability:
          - read
          - update
          - create
        domainName:
          type: string
          description: The domain name of the selected identity provider for the Community Training Resource
          x-ms-mutability:
          - read
          - update
          - create
        clientId:
          type: string
          description: The clientId of the application registered in the selected identity provider for the Community Training Resource
          x-ms-mutability:
          - read
          - update
          - create
        clientSecret:
          type: string
          format: password
          description: The client secret of the application registered in the selected identity provider for the Community Training Resource
          x-ms-mutability:
          - read
          - update
          - create
          x-ms-secret: true
        b2cAuthenticationPolicy:
          type: string
          description: The name of the authentication policy registered in ADB2C for the Community Training Resource
          x-ms-mutability:
          - read
          - update
          - create
        b2cPasswordResetPolicy:
          type: string
          description: The name of the password reset policy registered in ADB2C for the Community Training Resource
          x-ms-mutability:
          - read
          - update
          - create
        customLoginParameters:
          type: string
          description: The custom login parameters for the Community Training Resource
          x-ms-mutability:
          - read
          - update
          - create
    CommunityTraining:
      type: object
      description: A CommunityProviderHub resource
      properties:
        properties:
          $ref: '#/components/schemas/CommunityTrainingProperties'
          description: The resource-specific properties for this resource.
          x-ms-client-flatten: true
          x-ms-mutability:
          - read
          - create
        sku:
          $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/Sku
          description: The SKU (Stock Keeping Unit) assigned to this resource.
      allOf:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource
    CommunityTrainingUpdateProperties:
      type: object
      description: The updatable properties of the CommunityTraining.
      properties:
        identityConfiguration:
          $ref: '#/components/schemas/IdentityConfigurationPropertiesUpdate'
          description: The identity configuration of the Community Training resource
          x-ms-mutability:
          - read
          - update
          - create
    CommunityTrainingUpdate:
      type: object
      description: The type used for update operations of the CommunityTraining.
      properties:
        sku:
          $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/Sku
          description: The SKU (Stock Keeping Unit) assigned to this resource.
        tags:
          type: object
          description: Resource tags.
          additionalProperties:
            type: string
        properties:
          $ref: '#/components/schemas/CommunityTrainingUpdateProperties'
          x-ms-client-flatten: true
    CommunityTrainingListResult:
      type: object
      description: The response of a CommunityTraining list operation.
      properties:
        value:
          type: array
          description: The CommunityTraining items on this page
          items:
            $ref: '#/components/schemas/CommunityTraining'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    ProvisioningState:
      type: string
      description: The status of the current operation.
      enum:
      - Succeeded
      - Failed
      - Canceled
      - Provisioning
      - Updating
      - Deleting
      - Accepted
      x-ms-enum:
        name: ProvisioningState
        modelAsString: true
        values:
        - name: Succeeded
          value: Succeeded
          description: Resource has been created.
        - name: Failed
          value: Failed
          description: Resource creation failed.
        - name: Canceled
          value: Canceled
          description: Resource creation was canceled.
        - name: Provisioning
          value: Provisioning
          description: Initial provisioning in progress
        - name: Updating
          value: Updating
          description: Update in progress
        - name: Deleting
          value: Deleting
          description: Deletion in progress
        - name: Accepted
          value: Accepted
          description: Change accepted for processing
    CommunityTrainingProperties:
      type: object
      description: Details of the Community CommunityTraining.
      properties:
        portalName:
          type: string
          description: The portal name (website name) of the Community Training instance
          x-ms-mutability:
          - read
          - create
        portalAdminEmailAddress:
          type: string
          description: The email address of the portal admin
          x-ms-mutability:
          - read
          - create
        portalOwnerOrganizationName:
          type: string
          description: The organization name of the portal owner
          x-ms-mutability:
          - read
          - create
        portalOwnerEmailAddress:
          type: string
          description: The email address of the portal owner. Will be used as the primary contact
          x-ms-mutability:
          - read
          - create
        identityConfiguration:
          $ref: '#/components/schemas/IdentityConfigurationProperties'
          description: The identity configuration of the Community Training resource
          x-ms-mutability:
          - read
          - update
          - create
        zoneRedundancyEnabled:
          type: boolean
          description: To indicate whether the Community Training instance has Zone Redundancy enabled
          x-ms-mutability:
          - read
          - create
        disasterRecoveryEnabled:
          type: boolean
          description: To indicate whether the Community Training instance has Disaster Recovery enabled
          x-ms-mutability:
          - read
          - create
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
          description: The status of the last operation.
          readOnly: true
      required:
      - portalName
      - portalAdminEmailAddress
      - portalOwnerOrganizationName
      - portalOwnerEmailAddress
      - identityConfiguration
      - zoneRedundancyEnabled
      - disasterRecoveryEnabled
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.