共用方式為


Add-SPOContainerTypeBilling

將上述帳單配置檔詳細數據新增至標準容器類型。

語法

Add-SPOContainerTypeBilling
   -ContainerTypeId <ContainerTypeId>
   -AzureSubscriptionId <AzureSubscriptionId>
   -ResourceGroup <ResourceGroup>
   -Region <Region>

Description

此 Cmdlet 會使用提供的容器類型標識碼來附加 Azure 訂用帳戶標識碼、資源群組和區域。

您必須是 SharePoint Embedded 系統管理員才能執行此 Cmdlet。 您也必須擁有 Azure 訂用帳戶的擁有者或參與者許可權,以及計費和資源群組的使用中時間系結許可權。

如果您沒有 Azure 訂用帳戶,請遵循這裡的步驟來 建立訂用帳戶

如需 SharePoint Embedded 容器 Windows PowerShell 許可權和最新資訊,請參閱 SharePoint Embedded 容器管理命令介面簡介中的檔。

範例

範例 1

Add-SPOContainerTypeBilling - ContainerTypeId aa1d89b3 -AzureSubscriptionId 5a8a4d9f -ResourceGroup "RG100" -Region "(US) East US"

範例 1 會將 Azure 訂用帳戶標識碼 「5a8a4d9f」、“RG100” 和區域 “ (US) East US” 的帳單配置檔附加至容器類型標識符 “aa1d89b3”。

參數

-ContainerTypeId

此參數會指定對應至 SharePoint Embedded 應用程式的容器類型識別碼。

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False
適用於:SharePoint Online

-Region

此參數描述與容器類型之帳單配置檔相關聯的區域。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False
適用於:SharePoint Online