Edit

Share via


New-SPOServicePrioritizationBillingPolicy

Creates a new billing policy for service prioritization in SharePoint Online.

Note

This functionality is rolling out and might not be fully enabled in your environment yet.

Syntax

Default (Default)

New-SPOServicePrioritizationBillingPolicy
    -AzureSubscriptionId <Guid>
    -ResourceGroup <String>
    -AzureRegion <String>
    -FriendlyName <String>
    [<CommonParameters>]

Description

This cmdlet allows administrators to create a new billing policy for service prioritization in SharePoint Online. This cmdlet is useful for defining custom billing rules and policies for specific Azure subscriptions and resource groups.

Examples

Example 1

New-SPOServicePrioritizationBillingPolicy -AzureSubscriptionId "12345678-1234-1234-1234-1234567890ab" -ResourceGroup "MyResourceGroup" -AzureRegion "EastUS" -FriendlyName "MyBillingPolicy"

This example creates a new billing policy for service prioritization with the specified Azure subscription, resource group, and region.

Parameters

-AzureRegion

Specifies the Azure region where the billing policy applies.

Parameter properties

Type:System.String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-AzureSubscriptionId

Specifies the unique identifier (GUID) of the Azure subscription associated with the billing policy.

Parameter properties

Type:System.Guid
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-FriendlyName

Specifies a user-friendly name for the billing policy.

Parameter properties

Type:System.String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ResourceGroup

Specifies the Azure resource group associated with the billing policy.

Parameter properties

Type:System.String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

System.Object