IAzureCosmosDbMoveIpStatusToGlobal Method

Moves a company-based item to the global IP white/blacklist. Can only be performed by MobileTrack support users.

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
Task MoveIpStatusToGlobal(
	IpAddressStatusDto status,
	UserSessionData user,
	CancellationToken cancellationToken = default
)

Parameters

status  IpAddressStatusDto
IP Status to move to the global IP Status list
user  UserSessionData
User trying to get the data
cancellationToken  CancellationToken  (Optional)
Cancellation Token

Return Value

Task
Task completion

Exceptions

UnauthorizedAccessExceptionThrown if the user user did not have the correct permissions
InvalidOperationExceptionThrown if we're trying to update an item already on the global list.

See Also