Share via


ArmLabServicesModelFactory.LabSecurityProfile Method

Definition

Initializes a new instance of LabSecurityProfile.

public static Azure.ResourceManager.LabServices.Models.LabSecurityProfile LabSecurityProfile (string registrationCode = default, Azure.ResourceManager.LabServices.Models.LabServicesEnableState? openAccess = default);
static member LabSecurityProfile : string * Nullable<Azure.ResourceManager.LabServices.Models.LabServicesEnableState> -> Azure.ResourceManager.LabServices.Models.LabSecurityProfile
Public Shared Function LabSecurityProfile (Optional registrationCode As String = Nothing, Optional openAccess As Nullable(Of LabServicesEnableState) = Nothing) As LabSecurityProfile

Parameters

registrationCode
String

The registration code for the lab.

openAccess
Nullable<LabServicesEnableState>

Whether any user or only specified users can register to a lab.

Returns

A new LabSecurityProfile instance for mocking.

Applies to