Share via


PrivateAccess Class

Definition

Description of the parameters of Private Access for a Web Site.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.PrivateAccessTypeConverter))]
public class PrivateAccess : Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.IPrivateAccess, Microsoft.Azure.PowerShell.Cmdlets.Websites.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.PrivateAccessTypeConverter))>]
type PrivateAccess = class
    interface IPrivateAccess
    interface IJsonSerializable
    interface IProxyOnlyResource
    interface IValidates
Public Class PrivateAccess
Implements IPrivateAccess, IValidates
Inheritance
PrivateAccess
Attributes
Implements

Constructors

PrivateAccess()

Creates an new PrivateAccess instance.

Properties

Enabled

Whether private access is enabled or not.

Id

Resource Id.

Kind

Kind of resource.

Name

Resource Name.

Type

Resource type.

VirtualNetwork

The Virtual Networks (and subnets) allowed to access the site privately.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PrivateAccess.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PrivateAccess.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.IPrivateAccess.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of PrivateAccess into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to