public final class PrivateAccessInner extends ProxyOnlyResource
| Constructor and Description |
|---|
PrivateAccessInner() |
| 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.
|
PrivateAccessInner |
withEnabled(Boolean enabled)
Set the enabled property: Whether private access is enabled or not.
|
PrivateAccessInner |
withKind(String kind)
Set the kind property: Kind of resource.
|
PrivateAccessInner |
withVirtualNetworks(List<PrivateAccessVirtualNetwork> virtualNetworks)
Set the virtualNetworks property: The Virtual Networks (and subnets) allowed to access the site privately.
|
kindpublic PrivateAccessInner withKind(String kind)
withKind in class ProxyOnlyResourcekind - the kind value to set.public Boolean enabled()
public PrivateAccessInner withEnabled(Boolean enabled)
enabled - the enabled value to set.public List<PrivateAccessVirtualNetwork> virtualNetworks()
public PrivateAccessInner withVirtualNetworks(List<PrivateAccessVirtualNetwork> virtualNetworks)
virtualNetworks - the virtualNetworks value to set.public void validate()
validate in class ProxyOnlyResourceIllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.