Class AppServiceEnvironmentPatchResource
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.appservice.models.ProxyOnlyResource
-
- com.azure.resourcemanager.appservice.models.AppServiceEnvironmentPatchResource
-
public final class AppServiceEnvironmentPatchResource extends ProxyOnlyResource
ARM resource for a app service environment.
-
-
Constructor Summary
Constructors Constructor Description AppServiceEnvironmentPatchResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<NameValuePair>clusterSettings()Get the clusterSettings property: Custom settings for changing the behavior of the App Service Environment.IntegerdedicatedHostCount()Get the dedicatedHostCount property: Dedicated Host Count.StringdnsSuffix()Get the dnsSuffix property: DNS suffix of the App Service Environment.IntegerfrontEndScaleFactor()Get the frontEndScaleFactor property: Scale factor for front-ends.BooleanhasLinuxWorkers()Get the hasLinuxWorkers property: Flag that displays whether an ASE has linux workers or not.LoadBalancingModeinternalLoadBalancingMode()Get the internalLoadBalancingMode property: Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment.IntegeripsslAddressCount()Get the ipsslAddressCount property: Number of IP SSL addresses reserved for the App Service Environment.IntegermaximumNumberOfMachines()Get the maximumNumberOfMachines property: Maximum number of VMs in the App Service Environment.IntegermultiRoleCount()Get the multiRoleCount property: Number of front-end instances.StringmultiSize()Get the multiSize property: Front-end VM size, e.g.ProvisioningStateprovisioningState()Get the provisioningState property: Provisioning state of the App Service Environment.HostingEnvironmentStatusstatus()Get the status property: Current status of the App Service Environment.Booleansuspended()Get the suspended property: <code>true</code> if the App Service Environment is suspended; otherwise, <code>false</code>.List<String>userWhitelistedIpRanges()Get the userWhitelistedIpRanges property: User added ip ranges to whitelist on ASE db.voidvalidate()Validates the instance.VirtualNetworkProfilevirtualNetwork()Get the virtualNetwork property: Description of the Virtual Network.AppServiceEnvironmentPatchResourcewithClusterSettings(List<NameValuePair> clusterSettings)Set the clusterSettings property: Custom settings for changing the behavior of the App Service Environment.AppServiceEnvironmentPatchResourcewithDedicatedHostCount(Integer dedicatedHostCount)Set the dedicatedHostCount property: Dedicated Host Count.AppServiceEnvironmentPatchResourcewithDnsSuffix(String dnsSuffix)Set the dnsSuffix property: DNS suffix of the App Service Environment.AppServiceEnvironmentPatchResourcewithFrontEndScaleFactor(Integer frontEndScaleFactor)Set the frontEndScaleFactor property: Scale factor for front-ends.AppServiceEnvironmentPatchResourcewithInternalLoadBalancingMode(LoadBalancingMode internalLoadBalancingMode)Set the internalLoadBalancingMode property: Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment.AppServiceEnvironmentPatchResourcewithIpsslAddressCount(Integer ipsslAddressCount)Set the ipsslAddressCount property: Number of IP SSL addresses reserved for the App Service Environment.AppServiceEnvironmentPatchResourcewithKind(String kind)Set the kind property: Kind of resource.AppServiceEnvironmentPatchResourcewithMultiSize(String multiSize)Set the multiSize property: Front-end VM size, e.g.AppServiceEnvironmentPatchResourcewithUserWhitelistedIpRanges(List<String> userWhitelistedIpRanges)Set the userWhitelistedIpRanges property: User added ip ranges to whitelist on ASE db.AppServiceEnvironmentPatchResourcewithVirtualNetwork(VirtualNetworkProfile virtualNetwork)Set the virtualNetwork property: Description of the Virtual Network.AppServiceEnvironmentPatchResourcewithZoneRedundant(Boolean zoneRedundant)Set the zoneRedundant property: Whether or not this App Service Environment is zone-redundant.BooleanzoneRedundant()Get the zoneRedundant property: Whether or not this App Service Environment is zone-redundant.-
Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
-
-
-
-
Method Detail
-
withKind
public AppServiceEnvironmentPatchResource withKind(String kind)
Set the kind property: Kind of resource.- Overrides:
withKindin classProxyOnlyResource- Parameters:
kind- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the App Service Environment.- Returns:
- the provisioningState value.
-
status
public HostingEnvironmentStatus status()
Get the status property: Current status of the App Service Environment.- Returns:
- the status value.
-
virtualNetwork
public VirtualNetworkProfile virtualNetwork()
Get the virtualNetwork property: Description of the Virtual Network.- Returns:
- the virtualNetwork value.
-
withVirtualNetwork
public AppServiceEnvironmentPatchResource withVirtualNetwork(VirtualNetworkProfile virtualNetwork)
Set the virtualNetwork property: Description of the Virtual Network.- Parameters:
virtualNetwork- the virtualNetwork value to set.- Returns:
- the AppServiceEnvironmentPatchResource object itself.
-
internalLoadBalancingMode
public LoadBalancingMode internalLoadBalancingMode()
Get the internalLoadBalancingMode property: Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment.- Returns:
- the internalLoadBalancingMode value.
-
withInternalLoadBalancingMode
public AppServiceEnvironmentPatchResource withInternalLoadBalancingMode(LoadBalancingMode internalLoadBalancingMode)
Set the internalLoadBalancingMode property: Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment.- Parameters:
internalLoadBalancingMode- the internalLoadBalancingMode value to set.- Returns:
- the AppServiceEnvironmentPatchResource object itself.
-
multiSize
public String multiSize()
Get the multiSize property: Front-end VM size, e.g. "Medium", "Large".- Returns:
- the multiSize value.
-
withMultiSize
public AppServiceEnvironmentPatchResource withMultiSize(String multiSize)
Set the multiSize property: Front-end VM size, e.g. "Medium", "Large".- Parameters:
multiSize- the multiSize value to set.- Returns:
- the AppServiceEnvironmentPatchResource object itself.
-
multiRoleCount
public Integer multiRoleCount()
Get the multiRoleCount property: Number of front-end instances.- Returns:
- the multiRoleCount value.
-
ipsslAddressCount
public Integer ipsslAddressCount()
Get the ipsslAddressCount property: Number of IP SSL addresses reserved for the App Service Environment.- Returns:
- the ipsslAddressCount value.
-
withIpsslAddressCount
public AppServiceEnvironmentPatchResource withIpsslAddressCount(Integer ipsslAddressCount)
Set the ipsslAddressCount property: Number of IP SSL addresses reserved for the App Service Environment.- Parameters:
ipsslAddressCount- the ipsslAddressCount value to set.- Returns:
- the AppServiceEnvironmentPatchResource object itself.
-
dnsSuffix
public String dnsSuffix()
Get the dnsSuffix property: DNS suffix of the App Service Environment.- Returns:
- the dnsSuffix value.
-
withDnsSuffix
public AppServiceEnvironmentPatchResource withDnsSuffix(String dnsSuffix)
Set the dnsSuffix property: DNS suffix of the App Service Environment.- Parameters:
dnsSuffix- the dnsSuffix value to set.- Returns:
- the AppServiceEnvironmentPatchResource object itself.
-
maximumNumberOfMachines
public Integer maximumNumberOfMachines()
Get the maximumNumberOfMachines property: Maximum number of VMs in the App Service Environment.- Returns:
- the maximumNumberOfMachines value.
-
frontEndScaleFactor
public Integer frontEndScaleFactor()
Get the frontEndScaleFactor property: Scale factor for front-ends.- Returns:
- the frontEndScaleFactor value.
-
withFrontEndScaleFactor
public AppServiceEnvironmentPatchResource withFrontEndScaleFactor(Integer frontEndScaleFactor)
Set the frontEndScaleFactor property: Scale factor for front-ends.- Parameters:
frontEndScaleFactor- the frontEndScaleFactor value to set.- Returns:
- the AppServiceEnvironmentPatchResource object itself.
-
suspended
public Boolean suspended()
Get the suspended property: <code>true</code> if the App Service Environment is suspended; otherwise, <code>false</code>. The environment can be suspended, e.g. when the management endpoint is no longer available (most likely because NSG blocked the incoming traffic).- Returns:
- the suspended value.
-
clusterSettings
public List<NameValuePair> clusterSettings()
Get the clusterSettings property: Custom settings for changing the behavior of the App Service Environment.- Returns:
- the clusterSettings value.
-
withClusterSettings
public AppServiceEnvironmentPatchResource withClusterSettings(List<NameValuePair> clusterSettings)
Set the clusterSettings property: Custom settings for changing the behavior of the App Service Environment.- Parameters:
clusterSettings- the clusterSettings value to set.- Returns:
- the AppServiceEnvironmentPatchResource object itself.
-
userWhitelistedIpRanges
public List<String> userWhitelistedIpRanges()
Get the userWhitelistedIpRanges property: User added ip ranges to whitelist on ASE db.- Returns:
- the userWhitelistedIpRanges value.
-
withUserWhitelistedIpRanges
public AppServiceEnvironmentPatchResource withUserWhitelistedIpRanges(List<String> userWhitelistedIpRanges)
Set the userWhitelistedIpRanges property: User added ip ranges to whitelist on ASE db.- Parameters:
userWhitelistedIpRanges- the userWhitelistedIpRanges value to set.- Returns:
- the AppServiceEnvironmentPatchResource object itself.
-
hasLinuxWorkers
public Boolean hasLinuxWorkers()
Get the hasLinuxWorkers property: Flag that displays whether an ASE has linux workers or not.- Returns:
- the hasLinuxWorkers value.
-
dedicatedHostCount
public Integer dedicatedHostCount()
Get the dedicatedHostCount property: Dedicated Host Count.- Returns:
- the dedicatedHostCount value.
-
withDedicatedHostCount
public AppServiceEnvironmentPatchResource withDedicatedHostCount(Integer dedicatedHostCount)
Set the dedicatedHostCount property: Dedicated Host Count.- Parameters:
dedicatedHostCount- the dedicatedHostCount value to set.- Returns:
- the AppServiceEnvironmentPatchResource object itself.
-
zoneRedundant
public Boolean zoneRedundant()
Get the zoneRedundant property: Whether or not this App Service Environment is zone-redundant.- Returns:
- the zoneRedundant value.
-
withZoneRedundant
public AppServiceEnvironmentPatchResource withZoneRedundant(Boolean zoneRedundant)
Set the zoneRedundant property: Whether or not this App Service Environment is zone-redundant.- Parameters:
zoneRedundant- the zoneRedundant value to set.- Returns:
- the AppServiceEnvironmentPatchResource object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-