Add-SPOContainerTypeBilling

將上述計費設定檔詳細資料新增至標準容器類型。

語法

Default (預設值)

Add-SPOContainerTypeBilling
    -ContainerTypeId <Guid>
    -AzureSubscriptionId <Guid>
    -ResourceGroup <String>
    -Region <String>
    [<CommonParameters>]

Description

此 Cmdlet 會附加 Azure 訂閱識別碼、資源群組和區域,以及提供的容器類型識別碼。

您必須是 SharePoint Embedded 系統管理員才能執行此 Cmdlet。 您也需要擁有 Azure 訂閱的擁有者或參與者權限、計費和資源群組的作用中有時限權限。

如果您沒有 Azure 訂閱,請遵循此處的步驟建立訂閱。

如需適用於 SharePoint Embedded 容器的 Windows PowerShell 權限和最新資訊,請參閱 SharePoint Embedded 容器管理命令介面簡介中的文件。

範例

範例 1

Add-SPOContainerTypeBilling - ContainerTypeId 1ea46f96-515c-49b5-bac5-002c33a5fa0e -AzureSubscriptionId d32cba02-d63c-4202-ade5-2134b0c54fe -ResourceGroup "RG100" -Region "East US"

範例 1 將 Azure 訂閱識別碼「d32cba02-d63c-4202-ade5-2134b0c54fe」、資源群組「RG100」和區域「美國東部」的帳單設定檔附加到容器類型識別碼「1ea46f96-515c-49b5-bac5-002c33a5fa0e」。

參數

-AzureSubscriptionId

適用對象:SharePoint Online

此參數描述需要與容器類型相關聯的 Azure 訂閱識別碼。

參數屬性

類型:System.Guid
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-ContainerTypeId

適用對象:SharePoint Online

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

參數屬性

類型:System.Guid
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-Region

適用對象:SharePoint Online

此參數描述與容器類型的計費設定檔相關聯的區域。

參數屬性

類型:System.String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-ResourceGroup

適用對象:SharePoint Online

此參數描述要用於相關聯容器類型的資源群組。

參數屬性

類型:System.String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

CommonParameters

此 Cmdlet 支援常見參數: -Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 如需詳細資訊,請參閱 about_CommonParameters。

輸入

None

輸出

System.Object