你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PlaywrightServiceOptions Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the PlaywrightServiceOptions class.
public PlaywrightServiceOptions (System.Runtime.InteropServices.OSPlatform? os = default, string? runId = default, string? exposeNetwork = default, string? serviceAuth = default, string? useCloudHostedBrowsers = default, string? azureTokenCredentialType = default, string? managedIdentityClientId = default);
new Azure.Developer.MicrosoftPlaywrightTesting.TestLogger.PlaywrightServiceOptions : Nullable<System.Runtime.InteropServices.OSPlatform> * string * string * string * string * string * string -> Azure.Developer.MicrosoftPlaywrightTesting.TestLogger.PlaywrightServiceOptions
Public Sub New (Optional os As Nullable(Of OSPlatform) = Nothing, Optional runId As String = Nothing, Optional exposeNetwork As String = Nothing, Optional serviceAuth As String = Nothing, Optional useCloudHostedBrowsers As String = Nothing, Optional azureTokenCredentialType As String = Nothing, Optional managedIdentityClientId As String = Nothing)
Parameters
- os
- Nullable<OSPlatform>
The operating system.
- runId
- String
The run ID.
- exposeNetwork
- String
The network exposure.
- serviceAuth
- String
The default authentication mechanism.
- useCloudHostedBrowsers
- String
Whether to use cloud-hosted browsers.
- azureTokenCredentialType
- String
The Azure token credential type.
- managedIdentityClientId
- String
The managed identity client ID.