Add-SPOContainerTypeBilling
将提到的计费配置文件详细信息添加到标准容器类型。
语法
Add-SPOContainerTypeBilling
-ContainerTypeId <ContainerTypeId>
-AzureSubscriptionId <AzureSubscriptionId>
-ResourceGroup <ResourceGroup>
-Region <Region>
说明
此 cmdlet 使用提供的容器类型 ID 附加 Azure 订阅 ID、资源组和区域。
您必须是 SharePoint Embedded 管理员才能运行此 cmdlet。 还需要对 Azure 订阅具有所有者或参与者权限,对计费和资源组具有有时间限制的活动权限。
如果没有 Azure 订阅,请按照此处的步骤 创建订阅。
有关 SharePoint Embedded Containers 的权限和Windows PowerShell的最新信息,请参阅 SharePoint Embedded Containers Management Shell 简介中的文档。
示例
示例 1
Add-SPOContainerTypeBilling - ContainerTypeId aa1d89b3 -AzureSubscriptionId 5a8a4d9f -ResourceGroup "RG100" -Region "(US) East US"
示例 1 将 Azure 订阅 ID“5a8a4d9f”、资源组“RG100”和区域“ (美国) 美国东部”的计费配置文件附加到容器类型 ID“aa1d89b3”。
参数
-ContainerTypeId
此参数指定与 SharePoint Embedded 应用程序相对应的容器类型的 ID。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
适用于: | SharePoint Online |
-Region
此参数描述容器类型的计费配置文件所关联的区域。
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
适用于: | SharePoint Online |