Redigera

Dela via


siteCollection resource type

Namespace: microsoft.graph

Provides more information about a site collection.

If a site resource has a non-null siteCollection property, then the site is a root site for a site collection.

Properties

Property name Type Description
dataLocationCode string The geographic region code for where this site collection resides. Only present for multi-geo tenants. Read-only.
hostname string The hostname for the site collection. Read-only.
root root If present, indicates that this is a root site collection in SharePoint. Read-only.
archivalDetails siteArchivalDetails Represents whether the site collection is recently archived, fully archived, or reactivating. Possible values are: recentlyArchived, fullyArchived, reactivating, unknownFutureValue.

JSON representation

The following JSON representation shows the resource type.

{
  "hostname": "contoso.sharepoint.com",
  "dataLocationCode": "EUR",
  "root": { "@odata.type": "microsoft.graph.root" },
  "archivalDetails": {
    "@odata.type": "microsoft.graph.siteArchivalDetails",
    "archiveStatus": "fullyArchived"
  }
}