New-SPOPublicCdnOrigin
在 SharePoint Online 租户中的文档库上创建新的公共 CDN
语法
New-SPOPublicCdnOrigin
[-Url] <String>
[-Confirm]
[-WhatIf]
[<CommonParameters>]
说明
此 cmdlet 在 SPO 租户中创建新的公共 CDN 源
示例
示例 1
New-SPOPublicCdnOrigin -URL https://contoso.sharepoint.com/sites/CDN/CDNFilesLibrary/
此示例演示如何在 SharePoint Online 租户中的文档库上设置新的公共 CDN。
参数
-Confirm
提示你在运行 cmdlet 之前进行确认。
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-Url
指定将在租户中为公共 CDN 启用的 URL
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-WhatIf
显示在 cmdlet 运行时发生的情况。 此 cmdlet 未运行。
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |