Share via


IHostPool.PublicNetworkAccess Property

Definition

Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints

[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.PSArgumentCompleter(new System.String[] { "Enabled", "Disabled", "EnabledForSessionHostsOnly", "EnabledForClientsOnly" })]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.Info(Create=true, Description="Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints", PossibleTypes=new System.Type[] { typeof(System.String) }, Read=true, ReadOnly=false, Required=false, SerializedName="publicNetworkAccess", Update=true)]
public string PublicNetworkAccess { get; set; }
[<Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.PSArgumentCompleter(new System.String[] { "Enabled", "Disabled", "EnabledForSessionHostsOnly", "EnabledForClientsOnly" })>]
[<Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.Info(Create=true, Description="Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints", PossibleTypes=new System.Type[] { typeof(System.String) }, Read=true, ReadOnly=false, Required=false, SerializedName="publicNetworkAccess", Update=true)>]
member this.PublicNetworkAccess : string with get, set
Public Property PublicNetworkAccess As String

Property Value

Attributes

Applies to