TCallbackShardAllocator.AllocateShard Method
Returns the shard chosen by the callback.
Syntax
Unit: Aurelius.Tenancy.Provisioning
function TCallbackShardAllocator.AllocateShard(const Tenant: TTenantInfo; const Shards: TArray<TShardInfo>): string;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | Tenant | TTenantInfo | The tenant being provisioned. |
| const | Shards | TArray<TShardInfo> | The registered shards. |
Returns
The id returned by the callback.