Partager via


SecurityProfile Class

Definition

The lab security profile.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.SecurityProfileTypeConverter))]
public class SecurityProfile : Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.ISecurityProfile
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.SecurityProfileTypeConverter))>]
type SecurityProfile = class
    interface ISecurityProfile
    interface IJsonSerializable
Public Class SecurityProfile
Implements ISecurityProfile
Inheritance
SecurityProfile
Attributes
Implements

Constructors

SecurityProfile()

Creates an new SecurityProfile instance.

Properties

OpenAccess

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

RegistrationCode

The registration code for the lab.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SecurityProfile.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SecurityProfile.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.ISecurityProfile.

FromJsonString(String)

Creates a new instance of SecurityProfile, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of SecurityProfile into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to