创建远程用户
Creates a remote user to log on to a VM for a multiplayer server build.
Allowed entity token types: title
Error codes
This operation may return the following PlayFab errors:
| Error | Code |
|---|---|
| APINotEnabledForGameClientAccess | 1082 |
| MultiplayerServerBadRequest | 1382 |
| MultiplayerServerConflict | 1386 |
| MultiplayerServerForbidden | 1384 |
| MultiplayerServerInternalServerError | 1387 |
| MultiplayerServerNotFound | 1385 |
| MultiplayerServerTooManyRequests | 1380 |
| MultiplayerServerUnauthorized | 1383 |
| MultiplayerServerUnavailable | 1388 |
| ProductDisabledForTitle | 1609 |
授权
This API requires an Entity Session Token, available from the Entity GetEntityToken method.
请求体
Creates a remote user to log on to a VM for a multiplayer server build in a specific region. Returns user credential information necessary to log on.
Creates a remote user to log on to a VM for a multiplayer server build in a specific region. Returns user credential information necessary to log on.
The guid string build ID of to create the remote user for.
The region of virtual machine to create the remote user for.
AustraliaEast, AustraliaSoutheast, BrazilSouth, CentralUs, EastAsia, EastUs, EastUs2, JapanEast, JapanWest, NorthCentralUs, NorthEurope, SouthCentralUs, SoutheastAsia, WestEurope, WestUs, SouthAfricaNorth, WestCentralUs, KoreaCentral, FranceCentral, WestUs2, CentralIndia, UaeNorth, UkSouth, SwedenCentral, CanadaCentral, MexicoCentral, WestUs3, CanadaEast, UkWest, FranceSouth, SouthIndia, SpainCentral, GermanyWestCentral, ItalyNorth, IndonesiaCentral, ChileCentral, PolandCentral, NewZealandNorth, BrazilSoutheast, NorwayEast, SwitzerlandNorth, MalaysiaWest, IsraelCentral, QatarCentral, UaeCentral, GermanyNorth, AustriaEast, BelgiumCentral, DenmarkEast, SwitzerlandWest, SwedenSouth, NorwayWest, SouthAfricaWest, MalaysiaSouth The username to create the remote user with.
The virtual machine ID the multiplayer server is located on.
The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
The expiration time for the remote user created. Defaults to expiring in one day if not specified.
相关主题
VmRemoteUserCreatedEventPayload删除远程用户Matchmaking SDK 快速入门PartyXblManager::CreateRemoteChatUservm_remote_user_created