Allocation - Put Allocations V2
Set the allocations for the scope.
PUT https://api.powerplatform.com/licensing/allocationsV2?api-version=2024-10-01
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
api-version
|
query | True |
string |
The API version. |
Request Body
| Name | Type | Description |
|---|---|---|
| allocatedEntitlements |
Allocated entitlements. |
|
| scope |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
Success |
|
| 400 Bad Request |
Bad Request |
|
| 401 Unauthorized |
Unauthorized |
|
| 403 Forbidden |
Forbidden |
Security
oauth2
Microsoft Entra ID OAuth2
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize?resource=https://api.powerplatform.com
Scopes
| Name | Description |
|---|---|
| .default | .default |
Definitions
| Name | Description |
|---|---|
|
Allocation |
|
|
Allocation |
The type of an allocation enforcement rule. |
|
Allocation |
|
|
Allocation |
Allocation put request model. |
|
Entitlement |
|
|
Entitlement |
The unit of measure for an entitlement. |
|
Neptune |
The result of a Neptune operation. |
|
Scope |
AllocationEnforcementRule
| Name | Type | Description |
|---|---|---|
| enabled |
boolean |
|
| ruleType |
The type of an allocation enforcement rule. |
AllocationEnforcementRuleTypes
The type of an allocation enforcement rule.
| Value | Description |
|---|---|
| NotSpecified | |
| Alert | |
| PayGo | |
| TenantPool | |
| Deny | |
| Throttle |
AllocationModel
| Name | Type | Description |
|---|---|---|
| autoAllocated |
number (double) |
|
| quantity |
number (double) |
|
| unit |
The unit of measure for an entitlement. |
AllocationPutRequestModel
Allocation put request model.
| Name | Type | Description |
|---|---|---|
| allocatedEntitlements |
Allocated entitlements. |
|
| scope |
EntitlementAllocationModel
| Name | Type | Description |
|---|---|---|
| allocation | ||
| enforcementRules | ||
| entitlementId |
string |
EntitlementUnit
The unit of measure for an entitlement.
| Value | Description |
|---|---|
| NotSpecified | |
| MB | |
| Count | |
| Hour |
NeptuneOperationResult
The result of a Neptune operation.
| Name | Type | Description |
|---|---|---|
| isErrorResult |
boolean |
Indicates whether the operation result represents an error. |
| statusCode |
integer (int32) |
The HTTP status code of the operation result. |
ScopeModel
| Name | Type | Description |
|---|---|---|
| environmentGroupId |
string |
|
| environmentId |
string |
|
| resourceId |
string |
|
| tenantId |
string |
|
| userGroupId |
string |
|
| userId |
string |