ArmLabServicesModelFactory.LabSecurityProfile Method
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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET