編輯

共用方式為


training resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents an attack simulation training.

Inherits from entity.

Methods

Method Return type Description
List trainings training collection Get a list of the training objects and their properties.
Get training training Get an attack simulation training for a tenant.
Get trainingLanguageDetail trainingLanguageDetail Get the language details about an attack simulation training for a tenant.

Properties

Property Type Description
availabilityStatus trainingAvailabilityStatus The training availability status. Possible values are: unknown, notAvailable, available, archive, delete, unknownFutureValue.
createdBy emailIdentity The identity of the user who created the training.
createdDateTime DateTimeOffset The date and time when the training was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
customUrl String The training URL
description String The description for the training.
displayName String The display name for the training.
durationInMinutes Int32 The duration of the training in minutes.
hasEvaluation Boolean Whether the training has any evaluation.
id String The unique identifier for the training object. Inherited from entity.
lastModifiedBy emailIdentity The identity of the user who last modified the training.
lastModifiedDateTime DateTimeOffset The date and time when the training was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
source simulationContentSource The source of the training content. Possible values are: unknown, global, tenant, unknownFutureValue.
supportedLocales String collection The supported locales for content for the associated training.
tags String collection Training tags.
type trainingType The type of training. Possible values are: unknown, phishing, unknownFutureValue.

Relationships

Relationship Type Description
languageDetails trainingLanguageDetail collection Details about the language used in the training.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.training",
  "availabilityStatus": "String",
  "createdBy": {"@odata.type": "microsoft.graph.emailIdentity"},
  "createdDateTime": "String (timestamp)",
  "description": "String",
  "displayName": "String",
  "durationInMinutes": "Int32",
  "hasEvaluation": "Boolean",
  "id": "String (identifier)",
  "lastModifiedBy": {"@odata.type": "microsoft.graph.emailIdentity"},
  "lastModifiedDateTime": "String (timestamp)",
  "customUrl": "String",
  "source": "String",
  "supportedLocales": ["String"],
  "tags": ["String"],
  "type": "String"
}