Editar

Partilhar via


Set-SPOContainerType

Sets or updates one or more property values of a trial or standard container type.

Syntax

Set-SPOContainerType
   -ContainerTypeId <ContainerTypeId>
   -OwningApplicationId <OwningApplicationId>
   -ContainerTypeName <ContainerTypeName>
Set-SPOContainerType
   -ContainerTypeId <ContainerTypeId>
   -AzureSubscriptionId <AzureSubscriptionId>
   -ResourceGroup <ResourceGroup>

Description

This cmdlet is used to reset the parameters associated with a container type - both trial and standard. The cmdlet can be used to change the container type name or the associated billing profile of the container type.

You must be a SharePoint Embedded Administrator to run the cmdlet.

For permissions and the most current information about Windows PowerShell for SharePoint Embedded Containers, see the documentation at Intro to SharePoint Embedded Containers Management Shell.

Examples

Example 1

Set-SPOContainerType -ContainerTypeId da1d89b3-b4cf-4c0a-8e1c-0d131c57544f -OwningApplicationId 12a9d93c-18d7-46a0-b43e-28d20addd56a - ContainerTypeName 'Red Container Type'

Example 1 sets the container type name as 'Red Container Type'

Example 2

Set-SPOContainerType -ContainerTypeId da1d89b3-b4cf-4c0a-8e1c-0d131c57544f -Azure Subscription 12a9d93c-18d7-46a0-b43e-28d20addd56a -ResourceGroup RG200

In Example 2, the billing profile of the container type is updated.

Example 3

Set-SPOContainerType -ContainerTypeId 01f62754-0873-4ec6-ab4a-3eed48ba8be7 -OwningApplicationId 994b9586-253e-4a77-b51 - ContainerTypeName 'Blue Container Type'

In Example 3, the trial container type name is updated as 'Blue Container Type'

Parameters

-AzureSubscriptionId

This parameter describes the Azure subscription ID to which the container type needs to be associated.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

-ContainerTypeName

This parameter names your container type for your SharePoint Embedded application.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online