Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.appservice; import java.util.List; import com.microsoft.azure.management.appservice.implementation.StampCapacityInner; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten;
ARM resource for a app service environment.
/** * ARM resource for a app service environment. */
@JsonFlatten public class AppServiceEnvironmentPatchResource extends ProxyOnlyResource {
Name of the App Service Environment.
/** * Name of the App Service Environment. */
@JsonProperty(value = "properties.name", required = true) private String appServiceEnvironmentPatchResourceName;
Location of the App Service Environment, e.g. "West US".
/** * Location of the App Service Environment, e.g. "West US". */
@JsonProperty(value = "properties.location", required = true) private String location;
Provisioning state of the App Service Environment. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting'.
/** * Provisioning state of the App Service Environment. Possible values * include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting'. */
@JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY) private ProvisioningState provisioningState;
Current status of the App Service Environment. Possible values include: 'Preparing', 'Ready', 'Scaling', 'Deleting'.
/** * Current status of the App Service Environment. Possible values include: * 'Preparing', 'Ready', 'Scaling', 'Deleting'. */
@JsonProperty(value = "properties.status", access = JsonProperty.Access.WRITE_ONLY) private HostingEnvironmentStatus status;
Name of the Virtual Network for the App Service Environment.
/** * Name of the Virtual Network for the App Service Environment. */
@JsonProperty(value = "properties.vnetName") private String vnetName;
Resource group of the Virtual Network.
/** * Resource group of the Virtual Network. */
@JsonProperty(value = "properties.vnetResourceGroupName") private String vnetResourceGroupName;
Subnet of the Virtual Network.
/** * Subnet of the Virtual Network. */
@JsonProperty(value = "properties.vnetSubnetName") private String vnetSubnetName;
Description of the Virtual Network.
/** * Description of the Virtual Network. */
@JsonProperty(value = "properties.virtualNetwork", required = true) private VirtualNetworkProfile virtualNetwork;
Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. Possible values include: 'None', 'Web', 'Publishing'.
/** * Specifies which endpoints to serve internally in the Virtual Network for * the App Service Environment. Possible values include: 'None', 'Web', * 'Publishing'. */
@JsonProperty(value = "properties.internalLoadBalancingMode") private InternalLoadBalancingMode internalLoadBalancingMode;
Front-end VM size, e.g. "Medium", "Large".
/** * Front-end VM size, e.g. "Medium", "Large". */
@JsonProperty(value = "properties.multiSize") private String multiSize;
Number of front-end instances.
/** * Number of front-end instances. */
@JsonProperty(value = "properties.multiRoleCount") private Integer multiRoleCount;
Description of worker pools with worker size IDs, VM sizes, and number of workers in each pool.
/** * Description of worker pools with worker size IDs, VM sizes, and number * of workers in each pool. */
@JsonProperty(value = "properties.workerPools", required = true) private List<WorkerPool> workerPools;
Number of IP SSL addresses reserved for the App Service Environment.
/** * Number of IP SSL addresses reserved for the App Service Environment. */
@JsonProperty(value = "properties.ipsslAddressCount") private Integer ipsslAddressCount;
Edition of the metadata database for the App Service Environment, e.g. "Standard".
/** * Edition of the metadata database for the App Service Environment, e.g. * "Standard". */
@JsonProperty(value = "properties.databaseEdition", access = JsonProperty.Access.WRITE_ONLY) private String databaseEdition;
Service objective of the metadata database for the App Service Environment, e.g. "S0".
/** * Service objective of the metadata database for the App Service * Environment, e.g. "S0". */
@JsonProperty(value = "properties.databaseServiceObjective", access = JsonProperty.Access.WRITE_ONLY) private String databaseServiceObjective;
Number of upgrade domains of the App Service Environment.
/** * Number of upgrade domains of the App Service Environment. */
@JsonProperty(value = "properties.upgradeDomains", access = JsonProperty.Access.WRITE_ONLY) private Integer upgradeDomains;
Subscription of the App Service Environment.
/** * Subscription of the App Service Environment. */
@JsonProperty(value = "properties.subscriptionId", access = JsonProperty.Access.WRITE_ONLY) private String subscriptionId;
DNS suffix of the App Service Environment.
/** * DNS suffix of the App Service Environment. */
@JsonProperty(value = "properties.dnsSuffix") private String dnsSuffix;
Last deployment action on the App Service Environment.
/** * Last deployment action on the App Service Environment. */
@JsonProperty(value = "properties.lastAction", access = JsonProperty.Access.WRITE_ONLY) private String lastAction;
Result of the last deployment action on the App Service Environment.
/** * Result of the last deployment action on the App Service Environment. */
@JsonProperty(value = "properties.lastActionResult", access = JsonProperty.Access.WRITE_ONLY) private String lastActionResult;
List of comma separated strings describing which VM sizes are allowed for front-ends.
/** * List of comma separated strings describing which VM sizes are allowed * for front-ends. */
@JsonProperty(value = "properties.allowedMultiSizes", access = JsonProperty.Access.WRITE_ONLY) private String allowedMultiSizes;
List of comma separated strings describing which VM sizes are allowed for workers.
/** * List of comma separated strings describing which VM sizes are allowed * for workers. */
@JsonProperty(value = "properties.allowedWorkerSizes", access = JsonProperty.Access.WRITE_ONLY) private String allowedWorkerSizes;
Maximum number of VMs in the App Service Environment.
/** * Maximum number of VMs in the App Service Environment. */
@JsonProperty(value = "properties.maximumNumberOfMachines", access = JsonProperty.Access.WRITE_ONLY) private Integer maximumNumberOfMachines;
Description of IP SSL mapping for the App Service Environment.
/** * Description of IP SSL mapping for the App Service Environment. */
@JsonProperty(value = "properties.vipMappings", access = JsonProperty.Access.WRITE_ONLY) private List<VirtualIPMapping> vipMappings;
Current total, used, and available worker capacities.
/** * Current total, used, and available worker capacities. */
@JsonProperty(value = "properties.environmentCapacities", access = JsonProperty.Access.WRITE_ONLY) private List<StampCapacityInner> environmentCapacities;
Access control list for controlling traffic to the App Service Environment.
/** * Access control list for controlling traffic to the App Service * Environment. */
@JsonProperty(value = "properties.networkAccessControlList") private List<NetworkAccessControlEntry> networkAccessControlList;
True/false indicating whether the App Service Environment is healthy.
/** * True/false indicating whether the App Service Environment is healthy. */
@JsonProperty(value = "properties.environmentIsHealthy", access = JsonProperty.Access.WRITE_ONLY) private Boolean environmentIsHealthy;
Detailed message about with results of the last check of the App Service Environment.
/** * Detailed message about with results of the last check of the App Service * Environment. */
@JsonProperty(value = "properties.environmentStatus", access = JsonProperty.Access.WRITE_ONLY) private String environmentStatus;
Resource group of the App Service Environment.
/** * Resource group of the App Service Environment. */
@JsonProperty(value = "properties.resourceGroup", access = JsonProperty.Access.WRITE_ONLY) private String resourceGroup;
Scale factor for front-ends.
/** * Scale factor for front-ends. */
@JsonProperty(value = "properties.frontEndScaleFactor") private Integer frontEndScaleFactor;
Default Scale Factor for FrontEnds.
/** * Default Scale Factor for FrontEnds. */
@JsonProperty(value = "properties.defaultFrontEndScaleFactor", access = JsonProperty.Access.WRITE_ONLY) private Integer defaultFrontEndScaleFactor;
API Management Account associated with the App Service Environment.
/** * API Management Account associated with the App Service Environment. */
@JsonProperty(value = "properties.apiManagementAccountId") private String apiManagementAccountId;
<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).
/** * &lt;code&gt;true&lt;/code&gt; if the App Service Environment is * suspended; otherwise, &lt;code&gt;false&lt;/code&gt;. The environment * can be suspended, e.g. when the management endpoint is no longer * available * (most likely because NSG blocked the incoming traffic). */
@JsonProperty(value = "properties.suspended") private Boolean suspended;
True/false indicating whether the App Service Environment is suspended. The environment can be suspended e.g. when the management endpoint is no longer available (most likely because NSG blocked the incoming traffic).
/** * True/false indicating whether the App Service Environment is suspended. * The environment can be suspended e.g. when the management endpoint is no * longer available * (most likely because NSG blocked the incoming traffic). */
@JsonProperty(value = "properties.dynamicCacheEnabled") private Boolean dynamicCacheEnabled;
Custom settings for changing the behavior of the App Service Environment.
/** * Custom settings for changing the behavior of the App Service * Environment. */
@JsonProperty(value = "properties.clusterSettings") private List<NameValuePair> clusterSettings;
User added ip ranges to whitelist on ASE db.
/** * User added ip ranges to whitelist on ASE db. */
@JsonProperty(value = "properties.userWhitelistedIpRanges") private List<String> userWhitelistedIpRanges;
Flag that displays whether an ASE has linux workers or not.
/** * Flag that displays whether an ASE has linux workers or not. */
@JsonProperty(value = "properties.hasLinuxWorkers") private Boolean hasLinuxWorkers;
Key Vault ID for ILB App Service Environment default SSL certificate.
/** * Key Vault ID for ILB App Service Environment default SSL certificate. */
@JsonProperty(value = "properties.sslCertKeyVaultId") private String sslCertKeyVaultId;
Key Vault Secret Name for ILB App Service Environment default SSL certificate.
/** * Key Vault Secret Name for ILB App Service Environment default SSL * certificate. */
@JsonProperty(value = "properties.sslCertKeyVaultSecretName") private String sslCertKeyVaultSecretName;
Get name of the App Service Environment.
Returns:the appServiceEnvironmentPatchResourceName value
/** * Get name of the App Service Environment. * * @return the appServiceEnvironmentPatchResourceName value */
public String appServiceEnvironmentPatchResourceName() { return this.appServiceEnvironmentPatchResourceName; }
Set name of the App Service Environment.
Params:
  • appServiceEnvironmentPatchResourceName – the appServiceEnvironmentPatchResourceName value to set
Returns:the AppServiceEnvironmentPatchResource object itself.
/** * Set name of the App Service Environment. * * @param appServiceEnvironmentPatchResourceName the appServiceEnvironmentPatchResourceName value to set * @return the AppServiceEnvironmentPatchResource object itself. */
public AppServiceEnvironmentPatchResource withAppServiceEnvironmentPatchResourceName(String appServiceEnvironmentPatchResourceName) { this.appServiceEnvironmentPatchResourceName = appServiceEnvironmentPatchResourceName; return this; }
Get location of the App Service Environment, e.g. "West US".
Returns:the location value
/** * Get location of the App Service Environment, e.g. "West US". * * @return the location value */
public String location() { return this.location; }
Set location of the App Service Environment, e.g. "West US".
Params:
  • location – the location value to set
Returns:the AppServiceEnvironmentPatchResource object itself.
/** * Set location of the App Service Environment, e.g. "West US". * * @param location the location value to set * @return the AppServiceEnvironmentPatchResource object itself. */
public AppServiceEnvironmentPatchResource withLocation(String location) { this.location = location; return this; }
Get provisioning state of the App Service Environment. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting'.
Returns:the provisioningState value
/** * Get provisioning state of the App Service Environment. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting'. * * @return the provisioningState value */
public ProvisioningState provisioningState() { return this.provisioningState; }
Get current status of the App Service Environment. Possible values include: 'Preparing', 'Ready', 'Scaling', 'Deleting'.
Returns:the status value
/** * Get current status of the App Service Environment. Possible values include: 'Preparing', 'Ready', 'Scaling', 'Deleting'. * * @return the status value */
public HostingEnvironmentStatus status() { return this.status; }
Get name of the Virtual Network for the App Service Environment.
Returns:the vnetName value
/** * Get name of the Virtual Network for the App Service Environment. * * @return the vnetName value */
public String vnetName() { return this.vnetName; }
Set name of the Virtual Network for the App Service Environment.
Params:
  • vnetName – the vnetName value to set
Returns:the AppServiceEnvironmentPatchResource object itself.
/** * Set name of the Virtual Network for the App Service Environment. * * @param vnetName the vnetName value to set * @return the AppServiceEnvironmentPatchResource object itself. */
public AppServiceEnvironmentPatchResource withVnetName(String vnetName) { this.vnetName = vnetName; return this; }
Get resource group of the Virtual Network.
Returns:the vnetResourceGroupName value
/** * Get resource group of the Virtual Network. * * @return the vnetResourceGroupName value */
public String vnetResourceGroupName() { return this.vnetResourceGroupName; }
Set resource group of the Virtual Network.
Params:
  • vnetResourceGroupName – the vnetResourceGroupName value to set
Returns:the AppServiceEnvironmentPatchResource object itself.
/** * Set resource group of the Virtual Network. * * @param vnetResourceGroupName the vnetResourceGroupName value to set * @return the AppServiceEnvironmentPatchResource object itself. */
public AppServiceEnvironmentPatchResource withVnetResourceGroupName(String vnetResourceGroupName) { this.vnetResourceGroupName = vnetResourceGroupName; return this; }
Get subnet of the Virtual Network.
Returns:the vnetSubnetName value
/** * Get subnet of the Virtual Network. * * @return the vnetSubnetName value */
public String vnetSubnetName() { return this.vnetSubnetName; }
Set subnet of the Virtual Network.
Params:
  • vnetSubnetName – the vnetSubnetName value to set
Returns:the AppServiceEnvironmentPatchResource object itself.
/** * Set subnet of the Virtual Network. * * @param vnetSubnetName the vnetSubnetName value to set * @return the AppServiceEnvironmentPatchResource object itself. */
public AppServiceEnvironmentPatchResource withVnetSubnetName(String vnetSubnetName) { this.vnetSubnetName = vnetSubnetName; return this; }
Get description of the Virtual Network.
Returns:the virtualNetwork value
/** * Get description of the Virtual Network. * * @return the virtualNetwork value */
public VirtualNetworkProfile virtualNetwork() { return this.virtualNetwork; }
Set description of the Virtual Network.
Params:
  • virtualNetwork – the virtualNetwork value to set
Returns:the AppServiceEnvironmentPatchResource object itself.
/** * Set description of the Virtual Network. * * @param virtualNetwork the virtualNetwork value to set * @return the AppServiceEnvironmentPatchResource object itself. */
public AppServiceEnvironmentPatchResource withVirtualNetwork(VirtualNetworkProfile virtualNetwork) { this.virtualNetwork = virtualNetwork; return this; }
Get specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. Possible values include: 'None', 'Web', 'Publishing'.
Returns:the internalLoadBalancingMode value
/** * Get specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. Possible values include: 'None', 'Web', 'Publishing'. * * @return the internalLoadBalancingMode value */
public InternalLoadBalancingMode internalLoadBalancingMode() { return this.internalLoadBalancingMode; }
Set specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. Possible values include: 'None', 'Web', 'Publishing'.
Params:
  • internalLoadBalancingMode – the internalLoadBalancingMode value to set
Returns:the AppServiceEnvironmentPatchResource object itself.
/** * Set specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. Possible values include: 'None', 'Web', 'Publishing'. * * @param internalLoadBalancingMode the internalLoadBalancingMode value to set * @return the AppServiceEnvironmentPatchResource object itself. */
public AppServiceEnvironmentPatchResource withInternalLoadBalancingMode(InternalLoadBalancingMode internalLoadBalancingMode) { this.internalLoadBalancingMode = internalLoadBalancingMode; return this; }
Get front-end VM size, e.g. "Medium", "Large".
Returns:the multiSize value
/** * Get front-end VM size, e.g. "Medium", "Large". * * @return the multiSize value */
public String multiSize() { return this.multiSize; }
Set front-end VM size, e.g. "Medium", "Large".
Params:
  • multiSize – the multiSize value to set
Returns:the AppServiceEnvironmentPatchResource object itself.
/** * Set front-end VM size, e.g. "Medium", "Large". * * @param multiSize the multiSize value to set * @return the AppServiceEnvironmentPatchResource object itself. */
public AppServiceEnvironmentPatchResource withMultiSize(String multiSize) { this.multiSize = multiSize; return this; }
Get number of front-end instances.
Returns:the multiRoleCount value
/** * Get number of front-end instances. * * @return the multiRoleCount value */
public Integer multiRoleCount() { return this.multiRoleCount; }
Set number of front-end instances.
Params:
  • multiRoleCount – the multiRoleCount value to set
Returns:the AppServiceEnvironmentPatchResource object itself.
/** * Set number of front-end instances. * * @param multiRoleCount the multiRoleCount value to set * @return the AppServiceEnvironmentPatchResource object itself. */
public AppServiceEnvironmentPatchResource withMultiRoleCount(Integer multiRoleCount) { this.multiRoleCount = multiRoleCount; return this; }
Get description of worker pools with worker size IDs, VM sizes, and number of workers in each pool.
Returns:the workerPools value
/** * Get description of worker pools with worker size IDs, VM sizes, and number of workers in each pool. * * @return the workerPools value */
public List<WorkerPool> workerPools() { return this.workerPools; }
Set description of worker pools with worker size IDs, VM sizes, and number of workers in each pool.
Params:
  • workerPools – the workerPools value to set
Returns:the AppServiceEnvironmentPatchResource object itself.
/** * Set description of worker pools with worker size IDs, VM sizes, and number of workers in each pool. * * @param workerPools the workerPools value to set * @return the AppServiceEnvironmentPatchResource object itself. */
public AppServiceEnvironmentPatchResource withWorkerPools(List<WorkerPool> workerPools) { this.workerPools = workerPools; return this; }
Get number of IP SSL addresses reserved for the App Service Environment.
Returns:the ipsslAddressCount value
/** * Get number of IP SSL addresses reserved for the App Service Environment. * * @return the ipsslAddressCount value */
public Integer ipsslAddressCount() { return this.ipsslAddressCount; }
Set number of IP SSL addresses reserved for the App Service Environment.
Params:
  • ipsslAddressCount – the ipsslAddressCount value to set
Returns:the AppServiceEnvironmentPatchResource object itself.
/** * Set number of IP SSL addresses reserved for the App Service Environment. * * @param ipsslAddressCount the ipsslAddressCount value to set * @return the AppServiceEnvironmentPatchResource object itself. */
public AppServiceEnvironmentPatchResource withIpsslAddressCount(Integer ipsslAddressCount) { this.ipsslAddressCount = ipsslAddressCount; return this; }
Get edition of the metadata database for the App Service Environment, e.g. "Standard".
Returns:the databaseEdition value
/** * Get edition of the metadata database for the App Service Environment, e.g. "Standard". * * @return the databaseEdition value */
public String databaseEdition() { return this.databaseEdition; }
Get service objective of the metadata database for the App Service Environment, e.g. "S0".
Returns:the databaseServiceObjective value
/** * Get service objective of the metadata database for the App Service Environment, e.g. "S0". * * @return the databaseServiceObjective value */
public String databaseServiceObjective() { return this.databaseServiceObjective; }
Get number of upgrade domains of the App Service Environment.
Returns:the upgradeDomains value
/** * Get number of upgrade domains of the App Service Environment. * * @return the upgradeDomains value */
public Integer upgradeDomains() { return this.upgradeDomains; }
Get subscription of the App Service Environment.
Returns:the subscriptionId value
/** * Get subscription of the App Service Environment. * * @return the subscriptionId value */
public String subscriptionId() { return this.subscriptionId; }
Get dNS suffix of the App Service Environment.
Returns:the dnsSuffix value
/** * Get dNS suffix of the App Service Environment. * * @return the dnsSuffix value */
public String dnsSuffix() { return this.dnsSuffix; }
Set dNS suffix of the App Service Environment.
Params:
  • dnsSuffix – the dnsSuffix value to set
Returns:the AppServiceEnvironmentPatchResource object itself.
/** * Set dNS suffix of the App Service Environment. * * @param dnsSuffix the dnsSuffix value to set * @return the AppServiceEnvironmentPatchResource object itself. */
public AppServiceEnvironmentPatchResource withDnsSuffix(String dnsSuffix) { this.dnsSuffix = dnsSuffix; return this; }
Get last deployment action on the App Service Environment.
Returns:the lastAction value
/** * Get last deployment action on the App Service Environment. * * @return the lastAction value */
public String lastAction() { return this.lastAction; }
Get result of the last deployment action on the App Service Environment.
Returns:the lastActionResult value
/** * Get result of the last deployment action on the App Service Environment. * * @return the lastActionResult value */
public String lastActionResult() { return this.lastActionResult; }
Get list of comma separated strings describing which VM sizes are allowed for front-ends.
Returns:the allowedMultiSizes value
/** * Get list of comma separated strings describing which VM sizes are allowed for front-ends. * * @return the allowedMultiSizes value */
public String allowedMultiSizes() { return this.allowedMultiSizes; }
Get list of comma separated strings describing which VM sizes are allowed for workers.
Returns:the allowedWorkerSizes value
/** * Get list of comma separated strings describing which VM sizes are allowed for workers. * * @return the allowedWorkerSizes value */
public String allowedWorkerSizes() { return this.allowedWorkerSizes; }
Get maximum number of VMs in the App Service Environment.
Returns:the maximumNumberOfMachines value
/** * Get maximum number of VMs in the App Service Environment. * * @return the maximumNumberOfMachines value */
public Integer maximumNumberOfMachines() { return this.maximumNumberOfMachines; }
Get description of IP SSL mapping for the App Service Environment.
Returns:the vipMappings value
/** * Get description of IP SSL mapping for the App Service Environment. * * @return the vipMappings value */
public List<VirtualIPMapping> vipMappings() { return this.vipMappings; }
Get current total, used, and available worker capacities.
Returns:the environmentCapacities value
/** * Get current total, used, and available worker capacities. * * @return the environmentCapacities value */
public List<StampCapacityInner> environmentCapacities() { return this.environmentCapacities; }
Get access control list for controlling traffic to the App Service Environment.
Returns:the networkAccessControlList value
/** * Get access control list for controlling traffic to the App Service Environment. * * @return the networkAccessControlList value */
public List<NetworkAccessControlEntry> networkAccessControlList() { return this.networkAccessControlList; }
Set access control list for controlling traffic to the App Service Environment.
Params:
  • networkAccessControlList – the networkAccessControlList value to set
Returns:the AppServiceEnvironmentPatchResource object itself.
/** * Set access control list for controlling traffic to the App Service Environment. * * @param networkAccessControlList the networkAccessControlList value to set * @return the AppServiceEnvironmentPatchResource object itself. */
public AppServiceEnvironmentPatchResource withNetworkAccessControlList(List<NetworkAccessControlEntry> networkAccessControlList) { this.networkAccessControlList = networkAccessControlList; return this; }
Get true/false indicating whether the App Service Environment is healthy.
Returns:the environmentIsHealthy value
/** * Get true/false indicating whether the App Service Environment is healthy. * * @return the environmentIsHealthy value */
public Boolean environmentIsHealthy() { return this.environmentIsHealthy; }
Get detailed message about with results of the last check of the App Service Environment.
Returns:the environmentStatus value
/** * Get detailed message about with results of the last check of the App Service Environment. * * @return the environmentStatus value */
public String environmentStatus() { return this.environmentStatus; }
Get resource group of the App Service Environment.
Returns:the resourceGroup value
/** * Get resource group of the App Service Environment. * * @return the resourceGroup value */
public String resourceGroup() { return this.resourceGroup; }
Get scale factor for front-ends.
Returns:the frontEndScaleFactor value
/** * Get scale factor for front-ends. * * @return the frontEndScaleFactor value */
public Integer frontEndScaleFactor() { return this.frontEndScaleFactor; }
Set scale factor for front-ends.
Params:
  • frontEndScaleFactor – the frontEndScaleFactor value to set
Returns:the AppServiceEnvironmentPatchResource object itself.
/** * Set scale factor for front-ends. * * @param frontEndScaleFactor the frontEndScaleFactor value to set * @return the AppServiceEnvironmentPatchResource object itself. */
public AppServiceEnvironmentPatchResource withFrontEndScaleFactor(Integer frontEndScaleFactor) { this.frontEndScaleFactor = frontEndScaleFactor; return this; }
Get default Scale Factor for FrontEnds.
Returns:the defaultFrontEndScaleFactor value
/** * Get default Scale Factor for FrontEnds. * * @return the defaultFrontEndScaleFactor value */
public Integer defaultFrontEndScaleFactor() { return this.defaultFrontEndScaleFactor; }
Get aPI Management Account associated with the App Service Environment.
Returns:the apiManagementAccountId value
/** * Get aPI Management Account associated with the App Service Environment. * * @return the apiManagementAccountId value */
public String apiManagementAccountId() { return this.apiManagementAccountId; }
Set aPI Management Account associated with the App Service Environment.
Params:
  • apiManagementAccountId – the apiManagementAccountId value to set
Returns:the AppServiceEnvironmentPatchResource object itself.
/** * Set aPI Management Account associated with the App Service Environment. * * @param apiManagementAccountId the apiManagementAccountId value to set * @return the AppServiceEnvironmentPatchResource object itself. */
public AppServiceEnvironmentPatchResource withApiManagementAccountId(String apiManagementAccountId) { this.apiManagementAccountId = apiManagementAccountId; return this; }
Get <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
/** * Get &lt;code&gt;true&lt;/code&gt; if the App Service Environment is suspended; otherwise, &lt;code&gt;false&lt;/code&gt;. The environment can be suspended, e.g. when the management endpoint is no longer available (most likely because NSG blocked the incoming traffic). * * @return the suspended value */
public Boolean suspended() { return this.suspended; }
Set <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).
Params:
  • suspended – the suspended value to set
Returns:the AppServiceEnvironmentPatchResource object itself.
/** * Set &lt;code&gt;true&lt;/code&gt; if the App Service Environment is suspended; otherwise, &lt;code&gt;false&lt;/code&gt;. The environment can be suspended, e.g. when the management endpoint is no longer available (most likely because NSG blocked the incoming traffic). * * @param suspended the suspended value to set * @return the AppServiceEnvironmentPatchResource object itself. */
public AppServiceEnvironmentPatchResource withSuspended(Boolean suspended) { this.suspended = suspended; return this; }
Get true/false indicating whether the App Service Environment is suspended. 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 dynamicCacheEnabled value
/** * Get true/false indicating whether the App Service Environment is suspended. The environment can be suspended e.g. when the management endpoint is no longer available (most likely because NSG blocked the incoming traffic). * * @return the dynamicCacheEnabled value */
public Boolean dynamicCacheEnabled() { return this.dynamicCacheEnabled; }
Set true/false indicating whether the App Service Environment is suspended. The environment can be suspended e.g. when the management endpoint is no longer available (most likely because NSG blocked the incoming traffic).
Params:
  • dynamicCacheEnabled – the dynamicCacheEnabled value to set
Returns:the AppServiceEnvironmentPatchResource object itself.
/** * Set true/false indicating whether the App Service Environment is suspended. The environment can be suspended e.g. when the management endpoint is no longer available (most likely because NSG blocked the incoming traffic). * * @param dynamicCacheEnabled the dynamicCacheEnabled value to set * @return the AppServiceEnvironmentPatchResource object itself. */
public AppServiceEnvironmentPatchResource withDynamicCacheEnabled(Boolean dynamicCacheEnabled) { this.dynamicCacheEnabled = dynamicCacheEnabled; return this; }
Get custom settings for changing the behavior of the App Service Environment.
Returns:the clusterSettings value
/** * Get custom settings for changing the behavior of the App Service Environment. * * @return the clusterSettings value */
public List<NameValuePair> clusterSettings() { return this.clusterSettings; }
Set custom settings for changing the behavior of the App Service Environment.
Params:
  • clusterSettings – the clusterSettings value to set
Returns:the AppServiceEnvironmentPatchResource object itself.
/** * Set custom settings for changing the behavior of the App Service Environment. * * @param clusterSettings the clusterSettings value to set * @return the AppServiceEnvironmentPatchResource object itself. */
public AppServiceEnvironmentPatchResource withClusterSettings(List<NameValuePair> clusterSettings) { this.clusterSettings = clusterSettings; return this; }
Get user added ip ranges to whitelist on ASE db.
Returns:the userWhitelistedIpRanges value
/** * Get user added ip ranges to whitelist on ASE db. * * @return the userWhitelistedIpRanges value */
public List<String> userWhitelistedIpRanges() { return this.userWhitelistedIpRanges; }
Set user added ip ranges to whitelist on ASE db.
Params:
  • userWhitelistedIpRanges – the userWhitelistedIpRanges value to set
Returns:the AppServiceEnvironmentPatchResource object itself.
/** * Set user added ip ranges to whitelist on ASE db. * * @param userWhitelistedIpRanges the userWhitelistedIpRanges value to set * @return the AppServiceEnvironmentPatchResource object itself. */
public AppServiceEnvironmentPatchResource withUserWhitelistedIpRanges(List<String> userWhitelistedIpRanges) { this.userWhitelistedIpRanges = userWhitelistedIpRanges; return this; }
Get flag that displays whether an ASE has linux workers or not.
Returns:the hasLinuxWorkers value
/** * Get flag that displays whether an ASE has linux workers or not. * * @return the hasLinuxWorkers value */
public Boolean hasLinuxWorkers() { return this.hasLinuxWorkers; }
Set flag that displays whether an ASE has linux workers or not.
Params:
  • hasLinuxWorkers – the hasLinuxWorkers value to set
Returns:the AppServiceEnvironmentPatchResource object itself.
/** * Set flag that displays whether an ASE has linux workers or not. * * @param hasLinuxWorkers the hasLinuxWorkers value to set * @return the AppServiceEnvironmentPatchResource object itself. */
public AppServiceEnvironmentPatchResource withHasLinuxWorkers(Boolean hasLinuxWorkers) { this.hasLinuxWorkers = hasLinuxWorkers; return this; }
Get key Vault ID for ILB App Service Environment default SSL certificate.
Returns:the sslCertKeyVaultId value
/** * Get key Vault ID for ILB App Service Environment default SSL certificate. * * @return the sslCertKeyVaultId value */
public String sslCertKeyVaultId() { return this.sslCertKeyVaultId; }
Set key Vault ID for ILB App Service Environment default SSL certificate.
Params:
  • sslCertKeyVaultId – the sslCertKeyVaultId value to set
Returns:the AppServiceEnvironmentPatchResource object itself.
/** * Set key Vault ID for ILB App Service Environment default SSL certificate. * * @param sslCertKeyVaultId the sslCertKeyVaultId value to set * @return the AppServiceEnvironmentPatchResource object itself. */
public AppServiceEnvironmentPatchResource withSslCertKeyVaultId(String sslCertKeyVaultId) { this.sslCertKeyVaultId = sslCertKeyVaultId; return this; }
Get key Vault Secret Name for ILB App Service Environment default SSL certificate.
Returns:the sslCertKeyVaultSecretName value
/** * Get key Vault Secret Name for ILB App Service Environment default SSL certificate. * * @return the sslCertKeyVaultSecretName value */
public String sslCertKeyVaultSecretName() { return this.sslCertKeyVaultSecretName; }
Set key Vault Secret Name for ILB App Service Environment default SSL certificate.
Params:
  • sslCertKeyVaultSecretName – the sslCertKeyVaultSecretName value to set
Returns:the AppServiceEnvironmentPatchResource object itself.
/** * Set key Vault Secret Name for ILB App Service Environment default SSL certificate. * * @param sslCertKeyVaultSecretName the sslCertKeyVaultSecretName value to set * @return the AppServiceEnvironmentPatchResource object itself. */
public AppServiceEnvironmentPatchResource withSslCertKeyVaultSecretName(String sslCertKeyVaultSecretName) { this.sslCertKeyVaultSecretName = sslCertKeyVaultSecretName; return this; } }