fr-FR

SPOTenantCdnPolicy

S’applique à : SharePoint Online

La documentation Microsoft de ces stratégies n’existe qu’en anglais : les descriptions ci-dessous ne sont pas traduites.

Sets the content delivery network (CDN) policies at the tenant level.

Use this cmdlet to set the content delivery network (CDN) policies at the tenant level.

Cmdlets disponibles

Paramètres

Nom Type Valeur par défaut Valeurs acceptées
CdnType Microsoft.Online.SharePoint.TenantAdministration.SPOTenantCdnType Public, Private
PolicyType Microsoft.Online.SharePoint.TenantAdministration.SPOTenantCdnPolicyType IncludeFileExtensions, ExcludeRestrictedSiteClassifications, ExcludeIfNoScriptDisabled, ExcludeRestrictedSiteClassificationsFileExtensions
PolicyValue System.String

Exemples

EXAMPLE 1

Set-SPOTenantCdnPolicy -CdnType Public -PolicyType IncludeFileExtensions -PolicyValue "CSS,EOT,GIF,ICO,JPEG,JPG,JS,MAP,PNG,SVG,TTF,WOFF,BMP"

This example sets a CDN to a public type with a policy value of listed extensions.

EXAMPLE 2

Set-SPOTenantCdnPolicy -CdnType Public -PolicyType ExcludeRestrictedSiteClassifications -PolicyValue "Confidential,Restricted"

This example sets the ExcludeRestrictedSiteClassifications policy for the selected CdnType to a policy value of listed excluded site classifications.

Documentation Microsoft Learn