public final class PrivateAccessProperties extends Object
| Constructor and Description |
|---|
PrivateAccessProperties() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
enabled()
Get the enabled property: Whether private access is enabled or not.
|
void |
validate()
Validates the instance.
|
List<PrivateAccessVirtualNetwork> |
virtualNetworks()
Get the virtualNetworks property: The Virtual Networks (and subnets) allowed to access the site privately.
|
PrivateAccessProperties |
withEnabled(Boolean enabled)
Set the enabled property: Whether private access is enabled or not.
|
PrivateAccessProperties |
withVirtualNetworks(List<PrivateAccessVirtualNetwork> virtualNetworks)
Set the virtualNetworks property: The Virtual Networks (and subnets) allowed to access the site privately.
|
public Boolean enabled()
public PrivateAccessProperties withEnabled(Boolean enabled)
enabled - the enabled value to set.public List<PrivateAccessVirtualNetwork> virtualNetworks()
public PrivateAccessProperties withVirtualNetworks(List<PrivateAccessVirtualNetwork> virtualNetworks)
virtualNetworks - the virtualNetworks value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.