Partilhar via


Struct RenderingSessionCreationOptions

Parameters for creating a rendering session.

struct Microsoft::Azure::RemoteRendering::RenderingSessionCreationOptions

Fields

SessionId

A new unique ID of a session. Can be left empty to assign a random GUID. If specified, the string must not be longer than 256 characters. Furthermore, only letters, digits and characters '-' and '_' are allowed.

std::string SessionId{};

MaxLeaseInMinutes

Specifies how long the rendering session should be active before it is shut down.

The lease time starts the moment that the rendering server has finished booting. From that point on, it will be active for the specified lease time, unless it is either manually shut down earlier, or the lease time is extended beyond the original request.

int32_t MaxLeaseInMinutes{};

Size

On what type of server to create the rendering session.

Microsoft::Azure::RemoteRendering::RenderingSessionVmSize Size{};

See also