tenantTag resource type
Namespace: microsoft.graph.managedTenants
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 a tag that can be assigned to managed tenant.
Methods
Method | Return type | Description |
---|---|---|
List tenant tags | microsoft.graph.managedTenants.tenantTag collection | Get a list of the tenantTag objects and their properties. |
Create tenant tag | microsoft.graph.managedTenants.tenantTag | Create a new tenantTag object. |
Get tenant tag | microsoft.graph.managedTenants.tenantTag | Read the properties and relationships of a tenantTag object. |
Update tenant tag | microsoft.graph.managedTenants.tenantTag | Update the properties of a tenantTag object. |
Delete tenant tag | None | Deletes a tenantTag object. |
Assign tenant tag | microsoft.graph.managedTenants.tenantTag | Assigns the tenant tag to the specified managed tenants. |
Unassign tenant tag | microsoft.graph.managedTenants.tenantTag | Un-assigns the tenant tag from the specified managed tenants. |
Properties
Property | Type | Description |
---|---|---|
createdByUserId | String | The identifier for the account that created the tenant tag. Required. Read-only. |
createdDateTime | DateTimeOffset | The date and time when the tenant tag was created. Required. Read-only. |
deletedDateTime | DateTimeOffset | The date and time when the tenant tag was deleted. Required. Read-only. |
description | String | The description for the tenant tag. Optional. Read-only. |
displayName | String | The display name for the tenant tag. Required. Read-only. |
id | String | The unique identifier for the tenant tag. Required. Read-only. |
lastActionByUserId | String | The identifier for the account that lasted on the tenant tag. Optional. Read-only. |
lastActionDateTime | DateTimeOffset | The date and time the last action was performed against the tenant tag. Optional. Read-only. |
tenants | microsoft.graph.managedTenants.tenantInfo collection | The collection of managed tenants associated with the tenant tag. Optional. |
Relationships
None.
JSON representation
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.managedTenants.tenantTag",
"id": "String (identifier)",
"displayName": "String",
"description": "String",
"createdByUserId": "String",
"lastActionByUserId": "String",
"tenants": [
{
"@odata.type": "microsoft.graph.managedTenants.tenantInfo"
}
],
"lastActionDateTime": "String (timestamp)",
"createdDateTime": "String (timestamp)",
"deletedDateTime": "String (timestamp)"
}