Class AppServiceEnvironmentPatchResource
java.lang.Object
com.microsoft.azure.ProxyResource
com.microsoft.azure.management.appservice.ProxyOnlyResource
com.microsoft.azure.management.appservice.AppServiceEnvironmentPatchResource
ARM resource for a app service environment.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet list of comma separated strings describing which VM sizes are allowed for front-ends.Get list of comma separated strings describing which VM sizes are allowed for workers.Get aPI Management Account associated with the App Service Environment.Get name of the App Service Environment.Get custom settings for changing the behavior of the App Service Environment.Get edition of the metadata database for the App Service Environment, e.g.Get service objective of the metadata database for the App Service Environment, e.g.Get default Scale Factor for FrontEnds.Get dNS suffix of the App Service Environment.Get true/false indicating whether the App Service Environment is suspended.List<com.microsoft.azure.management.appservice.implementation.StampCapacityInner>
Get current total, used, and available worker capacities.Get true/false indicating whether the App Service Environment is healthy.Get detailed message about with results of the last check of the App Service Environment.Get scale factor for front-ends.Get flag that displays whether an ASE has linux workers or not.Get specifies which endpoints to serve internally in the Virtual Network for the App Service Environment.Get number of IP SSL addresses reserved for the App Service Environment.Get last deployment action on the App Service Environment.Get result of the last deployment action on the App Service Environment.location()
Get location of the App Service Environment, e.g.Get maximum number of VMs in the App Service Environment.Get number of front-end instances.Get front-end VM size, e.g.Get access control list for controlling traffic to the App Service Environment.Get provisioning state of the App Service Environment.Get resource group of the App Service Environment.Get key Vault ID for ILB App Service Environment default SSL certificate.Get key Vault Secret Name for ILB App Service Environment default SSL certificate.status()
Get current status of the App Service Environment.Get subscription of the App Service Environment.Get <code>true</code> if the App Service Environment is suspended; otherwise, <code>false</code>.Get number of upgrade domains of the App Service Environment.Get user added ip ranges to whitelist on ASE db.Get description of IP SSL mapping for the App Service Environment.Get description of the Virtual Network.vnetName()
Get name of the Virtual Network for the App Service Environment.Get resource group of the Virtual Network.Get subnet of the Virtual Network.withApiManagementAccountId
(String apiManagementAccountId) Set aPI Management Account associated with the App Service Environment.withAppServiceEnvironmentPatchResourceName
(String appServiceEnvironmentPatchResourceName) Set name of the App Service Environment.withClusterSettings
(List<NameValuePair> clusterSettings) Set custom settings for changing the behavior of the App Service Environment.withDnsSuffix
(String dnsSuffix) Set dNS suffix of the App Service Environment.withDynamicCacheEnabled
(Boolean dynamicCacheEnabled) Set true/false indicating whether the App Service Environment is suspended.withFrontEndScaleFactor
(Integer frontEndScaleFactor) Set scale factor for front-ends.withHasLinuxWorkers
(Boolean hasLinuxWorkers) Set flag that displays whether an ASE has linux workers or not.withInternalLoadBalancingMode
(InternalLoadBalancingMode internalLoadBalancingMode) Set specifies which endpoints to serve internally in the Virtual Network for the App Service Environment.withIpsslAddressCount
(Integer ipsslAddressCount) Set number of IP SSL addresses reserved for the App Service Environment.withLocation
(String location) Set location of the App Service Environment, e.g.withMultiRoleCount
(Integer multiRoleCount) Set number of front-end instances.withMultiSize
(String multiSize) Set front-end VM size, e.g.withNetworkAccessControlList
(List<NetworkAccessControlEntry> networkAccessControlList) Set access control list for controlling traffic to the App Service Environment.withSslCertKeyVaultId
(String sslCertKeyVaultId) Set key Vault ID for ILB App Service Environment default SSL certificate.withSslCertKeyVaultSecretName
(String sslCertKeyVaultSecretName) Set key Vault Secret Name for ILB App Service Environment default SSL certificate.withSuspended
(Boolean suspended) Set <code>true</code> if the App Service Environment is suspended; otherwise, <code>false</code>.withUserWhitelistedIpRanges
(List<String> userWhitelistedIpRanges) Set user added ip ranges to whitelist on ASE db.withVirtualNetwork
(VirtualNetworkProfile virtualNetwork) Set description of the Virtual Network.withVnetName
(String vnetName) Set name of the Virtual Network for the App Service Environment.withVnetResourceGroupName
(String vnetResourceGroupName) Set resource group of the Virtual Network.withVnetSubnetName
(String vnetSubnetName) Set subnet of the Virtual Network.withWorkerPools
(List<WorkerPool> workerPools) Set description of worker pools with worker size IDs, VM sizes, and number of workers in each pool.Get description of worker pools with worker size IDs, VM sizes, and number of workers in each pool.Methods inherited from class com.microsoft.azure.management.appservice.ProxyOnlyResource
kind, withKind
Methods inherited from class com.microsoft.azure.ProxyResource
id, name, type
-
Constructor Details
-
AppServiceEnvironmentPatchResource
public AppServiceEnvironmentPatchResource()
-
-
Method Details
-
appServiceEnvironmentPatchResourceName
Get name of the App Service Environment.- Returns:
- the appServiceEnvironmentPatchResourceName value
-
withAppServiceEnvironmentPatchResourceName
public AppServiceEnvironmentPatchResource withAppServiceEnvironmentPatchResourceName(String appServiceEnvironmentPatchResourceName) Set name of the App Service Environment.- Parameters:
appServiceEnvironmentPatchResourceName
- the appServiceEnvironmentPatchResourceName value to set- Returns:
- the AppServiceEnvironmentPatchResource object itself.
-
location
Get location of the App Service Environment, e.g. "West US".- Returns:
- the location value
-
withLocation
Set location of the App Service Environment, e.g. "West US".- Parameters:
location
- the location value to set- Returns:
- the AppServiceEnvironmentPatchResource object itself.
-
provisioningState
Get provisioning state of the App Service Environment. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting'.- Returns:
- the provisioningState value
-
status
Get current status of the App Service Environment. Possible values include: 'Preparing', 'Ready', 'Scaling', 'Deleting'.- Returns:
- the status value
-
vnetName
Get name of the Virtual Network for the App Service Environment.- Returns:
- the vnetName value
-
withVnetName
Set name of the Virtual Network for the App Service Environment.- Parameters:
vnetName
- the vnetName value to set- Returns:
- the AppServiceEnvironmentPatchResource object itself.
-
vnetResourceGroupName
Get resource group of the Virtual Network.- Returns:
- the vnetResourceGroupName value
-
withVnetResourceGroupName
Set resource group of the Virtual Network.- Parameters:
vnetResourceGroupName
- the vnetResourceGroupName value to set- Returns:
- the AppServiceEnvironmentPatchResource object itself.
-
vnetSubnetName
Get subnet of the Virtual Network.- Returns:
- the vnetSubnetName value
-
withVnetSubnetName
Set subnet of the Virtual Network.- Parameters:
vnetSubnetName
- the vnetSubnetName value to set- Returns:
- the AppServiceEnvironmentPatchResource object itself.
-
virtualNetwork
Get description of the Virtual Network.- Returns:
- the virtualNetwork value
-
withVirtualNetwork
Set description of the Virtual Network.- Parameters:
virtualNetwork
- the virtualNetwork value to set- Returns:
- the AppServiceEnvironmentPatchResource object itself.
-
internalLoadBalancingMode
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
-
withInternalLoadBalancingMode
public AppServiceEnvironmentPatchResource withInternalLoadBalancingMode(InternalLoadBalancingMode internalLoadBalancingMode) Set specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. Possible values include: 'None', 'Web', 'Publishing'.- Parameters:
internalLoadBalancingMode
- the internalLoadBalancingMode value to set- Returns:
- the AppServiceEnvironmentPatchResource object itself.
-
multiSize
Get front-end VM size, e.g. "Medium", "Large".- Returns:
- the multiSize value
-
withMultiSize
Set front-end VM size, e.g. "Medium", "Large".- Parameters:
multiSize
- the multiSize value to set- Returns:
- the AppServiceEnvironmentPatchResource object itself.
-
multiRoleCount
Get number of front-end instances.- Returns:
- the multiRoleCount value
-
withMultiRoleCount
Set number of front-end instances.- Parameters:
multiRoleCount
- the multiRoleCount value to set- Returns:
- the AppServiceEnvironmentPatchResource object itself.
-
workerPools
Get description of worker pools with worker size IDs, VM sizes, and number of workers in each pool.- Returns:
- the workerPools value
-
withWorkerPools
Set description of worker pools with worker size IDs, VM sizes, and number of workers in each pool.- Parameters:
workerPools
- the workerPools value to set- Returns:
- the AppServiceEnvironmentPatchResource object itself.
-
ipsslAddressCount
Get number of IP SSL addresses reserved for the App Service Environment.- Returns:
- the ipsslAddressCount value
-
withIpsslAddressCount
Set number of IP SSL addresses reserved for the App Service Environment.- Parameters:
ipsslAddressCount
- the ipsslAddressCount value to set- Returns:
- the AppServiceEnvironmentPatchResource object itself.
-
databaseEdition
Get edition of the metadata database for the App Service Environment, e.g. "Standard".- Returns:
- the databaseEdition value
-
databaseServiceObjective
Get service objective of the metadata database for the App Service Environment, e.g. "S0".- Returns:
- the databaseServiceObjective value
-
upgradeDomains
Get number of upgrade domains of the App Service Environment.- Returns:
- the upgradeDomains value
-
subscriptionId
Get subscription of the App Service Environment.- Returns:
- the subscriptionId value
-
dnsSuffix
Get dNS suffix of the App Service Environment.- Returns:
- the dnsSuffix value
-
withDnsSuffix
Set dNS suffix of the App Service Environment.- Parameters:
dnsSuffix
- the dnsSuffix value to set- Returns:
- the AppServiceEnvironmentPatchResource object itself.
-
lastAction
Get last deployment action on the App Service Environment.- Returns:
- the lastAction value
-
lastActionResult
Get result of the last deployment action on the App Service Environment.- Returns:
- the lastActionResult value
-
allowedMultiSizes
Get list of comma separated strings describing which VM sizes are allowed for front-ends.- Returns:
- the allowedMultiSizes value
-
allowedWorkerSizes
Get list of comma separated strings describing which VM sizes are allowed for workers.- Returns:
- the allowedWorkerSizes value
-
maximumNumberOfMachines
Get maximum number of VMs in the App Service Environment.- Returns:
- the maximumNumberOfMachines value
-
vipMappings
Get description of IP SSL mapping for the App Service Environment.- Returns:
- the vipMappings value
-
environmentCapacities
public List<com.microsoft.azure.management.appservice.implementation.StampCapacityInner> environmentCapacities()Get current total, used, and available worker capacities.- Returns:
- the environmentCapacities value
-
networkAccessControlList
Get access control list for controlling traffic to the App Service Environment.- Returns:
- the networkAccessControlList value
-
withNetworkAccessControlList
public AppServiceEnvironmentPatchResource withNetworkAccessControlList(List<NetworkAccessControlEntry> networkAccessControlList) Set access control list for controlling traffic to the App Service Environment.- Parameters:
networkAccessControlList
- the networkAccessControlList value to set- Returns:
- the AppServiceEnvironmentPatchResource object itself.
-
environmentIsHealthy
Get true/false indicating whether the App Service Environment is healthy.- Returns:
- the environmentIsHealthy value
-
environmentStatus
Get detailed message about with results of the last check of the App Service Environment.- Returns:
- the environmentStatus value
-
resourceGroup
Get resource group of the App Service Environment.- Returns:
- the resourceGroup value
-
frontEndScaleFactor
Get scale factor for front-ends.- Returns:
- the frontEndScaleFactor value
-
withFrontEndScaleFactor
Set scale factor for front-ends.- Parameters:
frontEndScaleFactor
- the frontEndScaleFactor value to set- Returns:
- the AppServiceEnvironmentPatchResource object itself.
-
defaultFrontEndScaleFactor
Get default Scale Factor for FrontEnds.- Returns:
- the defaultFrontEndScaleFactor value
-
apiManagementAccountId
Get aPI Management Account associated with the App Service Environment.- Returns:
- the apiManagementAccountId value
-
withApiManagementAccountId
Set aPI Management Account associated with the App Service Environment.- Parameters:
apiManagementAccountId
- the apiManagementAccountId value to set- Returns:
- the AppServiceEnvironmentPatchResource object itself.
-
suspended
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
-
withSuspended
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).- Parameters:
suspended
- the suspended value to set- Returns:
- the AppServiceEnvironmentPatchResource object itself.
-
dynamicCacheEnabled
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
-
withDynamicCacheEnabled
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).- Parameters:
dynamicCacheEnabled
- the dynamicCacheEnabled value to set- Returns:
- the AppServiceEnvironmentPatchResource object itself.
-
clusterSettings
Get custom settings for changing the behavior of the App Service Environment.- Returns:
- the clusterSettings value
-
withClusterSettings
Set custom settings for changing the behavior of the App Service Environment.- Parameters:
clusterSettings
- the clusterSettings value to set- Returns:
- the AppServiceEnvironmentPatchResource object itself.
-
userWhitelistedIpRanges
Get user added ip ranges to whitelist on ASE db.- Returns:
- the userWhitelistedIpRanges value
-
withUserWhitelistedIpRanges
public AppServiceEnvironmentPatchResource withUserWhitelistedIpRanges(List<String> userWhitelistedIpRanges) Set user added ip ranges to whitelist on ASE db.- Parameters:
userWhitelistedIpRanges
- the userWhitelistedIpRanges value to set- Returns:
- the AppServiceEnvironmentPatchResource object itself.
-
hasLinuxWorkers
Get flag that displays whether an ASE has linux workers or not.- Returns:
- the hasLinuxWorkers value
-
withHasLinuxWorkers
Set flag that displays whether an ASE has linux workers or not.- Parameters:
hasLinuxWorkers
- the hasLinuxWorkers value to set- Returns:
- the AppServiceEnvironmentPatchResource object itself.
-
sslCertKeyVaultId
Get key Vault ID for ILB App Service Environment default SSL certificate.- Returns:
- the sslCertKeyVaultId value
-
withSslCertKeyVaultId
Set key Vault ID for ILB App Service Environment default SSL certificate.- Parameters:
sslCertKeyVaultId
- the sslCertKeyVaultId value to set- Returns:
- the AppServiceEnvironmentPatchResource object itself.
-
sslCertKeyVaultSecretName
Get key Vault Secret Name for ILB App Service Environment default SSL certificate.- Returns:
- the sslCertKeyVaultSecretName value
-
withSslCertKeyVaultSecretName
public AppServiceEnvironmentPatchResource withSslCertKeyVaultSecretName(String sslCertKeyVaultSecretName) Set key Vault Secret Name for ILB App Service Environment default SSL certificate.- Parameters:
sslCertKeyVaultSecretName
- the sslCertKeyVaultSecretName value to set- Returns:
- the AppServiceEnvironmentPatchResource object itself.
-