TFixedShardAllocator.AllocateShard Method
Returns the fixed shard id, regardless of the tenant and the registered shards.
Syntax
Unit: Aurelius.Tenancy.Provisioning
function TFixedShardAllocator.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 (ignored). |
Returns
The shard id given in the constructor.