title
fileStorageContainer resource type
description
Represents a location where multiple users or a group of users can store files and access them via an application.
author
tonchan-msft
ms.localizationpriority
medium
ms.subservice
onedrive
doc_type
resourcePageType
ms.date
09/27/2024
fileStorageContainer resource type
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer ]
Represents a location where multiple users or a group of users can store files and access them via an application. All file system objects in a fileStorageContainer are returned as driveItem resources.
Property
Type
Description
archivalDetails
siteArchivalDetails
Archival details of the fileStorageContainer . Read-write.
assignedSensitivityLabel
assignedLabel
Sensitivity label assigned to the fileStorageContainer . Read-write.
containerTypeId
GUID
Container type ID of the fileStorageContainer . Each container must have only one container type. Read-only.
createdDateTime
DateTimeOffset
Date and time of the fileStorageContainer creation. Read-only.
customProperties
fileStorageContainerCustomPropertyDictionary
Custom property collection for the fileStorageContainer . Read-write.
description
String
Provides a user-visible description of the fileStorageContainer . Read-write.
displayName
String
The display name of the fileStorageContainer . Read-write.
id
String
The unique stable identifier of the fileStorageContainer . Read-only.
owners
userIdentity collection
List of users who own the fileStorageContainer . Read-only.
ownershipType
fileStorageContainerOwnershipType
Ownership type of the fileStorageContainer . The possible values are: tenantOwned. Read-only.
status
fileStorageContainerStatus
Status of the fileStorageContainer . Containers are created as inactive and require activation. Inactive containers are subjected to automatic deletion in 24 hours. The possible values are: inactive, active. Read-only.
storageUsedInBytes
Int64
Storage used in the fileStorageContainer , in bytes. Read-only.
viewpoint
fileStorageContainerViewpoint
Data specific to the current user. Read-only.
lockState
siteLockState
Indicates the lock state of the fileStorageContainer . The possible values are unlocked and lockedReadOnly. Read-only.
settings
fileStorageContainerSettings
Settings associated with a fileStorageContainer . Read-write.
informationBarrier
informationBarrier
Information barrier of a fileStorageContainer . Read-write.
Relationship
Type
Description
columns
columnDefinition collection
The set of custom structured metadata supported by the fileStorageContainer . Read-write.
drive
drive
The drive of the resource fileStorageContainer . Read-only.
permissions
permission collection
The set of permissions for users in the fileStorageContainer . The permission for each user is set by the roles property. The possible values are reader, writer, manager, and owner. Read-write.
recycleBin
recycleBin
Recycle bin of the fileStorageContainer . Read-only.
sharePointGroups
sharePointGroup collection
The collection of sharePointGroup objects local to the container. Read-write.
migrationJobs
sharePointMigrationJob collection
The collection of sharePointMigrationJob objects local to the container. Read-write.
Value
Description
reader
Readers can read fileStorageContainer metadata and the content inside.
writer
Writers can read and modify fileStorageContainer metadata and contents inside.
manager
Managers can read and modify fileStorageContainer metadata and contents inside and manage the permissions to the container.
owner
Owners can read and modify fileStorageContainer metadata and contents inside, manage container permissions, and delete and restore containers.
The following JSON representation shows the resource type.
{
"@odata.type" : " #microsoft.graph.fileStorageContainer" ,
"id" : " string (identifier)" ,
"displayName" : " string" ,
"description" : " string" ,
"containerTypeId" : " string" ,
"containerTypeDisplayName" : " string" ,
"permissions" : [ { "@odata.type" : " microsoft.graph.permission" } ],
"customProperties" : " Dictionary(Edm.String, microsoft.graph.fileStorageContainerCustomPropertyValue)" ,
"viewpoint" : {"@odata.type" : " microsoft.graph.fileStorageContainerViewpoint" },
"drive" : {"@odata.type" : " microsoft.graph.drive" },
"recycleBin" : {"@odata.type" : " microsoft.graph.recycleBin" },
"status" : {"@odata.type" : " microsoft.graph.fileStorageContainerStatus" },
"columns" : [ {"@odata.type" : " microsoft.graph.columnDefinition" } ],
"createdDateTime" : {"@odata.type" : " microsoft.graph.dateTimeOffset" },
"storageUsedInBytes" : " int64" ,
"assignedSensitivityLabel" : {"@odata.type" : " microsoft.graph.assignedLabel" },
"owners" : [ { "@odata.type" : " microsoft.graph.userIdentity" } ],
"ownershipType" : {"@odata.type" : " microsoft.graph.fileStorageContainerOwnershipType" },
"expiryDateTime" : " string (timestamp)" ,
"lockState" : {"@odata.type" : " microsoft.graph.siteLockState" },
"settings" : { "@odata.type" : " microsoft.graph.fileStorageContainerSettings" },
"informationBarrier" : { "@odata.type" : " microsoft.graph.informationBarrier" },
"archivalDetails" : { "@odata.type" : " microsoft.graph.siteArchivalDetails" }
}