Class PrivateAccessInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.fluent.models.PrivateAccessInner
Description of the parameters of Private Access for a Web Site.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionenabled()Get the enabled property: Whether private access is enabled or not.voidvalidate()Validates the instance.Get the virtualNetworks property: The Virtual Networks (and subnets) allowed to access the site privately.withEnabled(Boolean enabled) Set the enabled property: Whether private access is enabled or not.Set the kind property: Kind of resource.withVirtualNetworks(List<PrivateAccessVirtualNetwork> virtualNetworks) Set the virtualNetworks property: The Virtual Networks (and subnets) allowed to access the site privately.Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kindMethods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
PrivateAccessInner
public PrivateAccessInner()Creates an instance of PrivateAccessInner class.
-
-
Method Details
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKindin classProxyOnlyResource- Parameters:
kind- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
enabled
Get the enabled property: Whether private access is enabled or not.- Returns:
- the enabled value.
-
withEnabled
Set the enabled property: Whether private access is enabled or not.- Parameters:
enabled- the enabled value to set.- Returns:
- the PrivateAccessInner object itself.
-
virtualNetworks
Get the virtualNetworks property: The Virtual Networks (and subnets) allowed to access the site privately.- Returns:
- the virtualNetworks value.
-
withVirtualNetworks
Set the virtualNetworks property: The Virtual Networks (and subnets) allowed to access the site privately.- Parameters:
virtualNetworks- the virtualNetworks value to set.- Returns:
- the PrivateAccessInner object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-