Class AppServiceEnvironmentResourceInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.appservice.fluent.models.AppServiceEnvironmentResourceInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class AppServiceEnvironmentResourceInner
extends com.azure.core.management.Resource
App Service Environment ARM resource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AppServiceEnvironmentResourceInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the clusterSettings property: Custom settings for changing the behavior of the App Service Environment.Get the customDnsSuffixConfiguration property: Full view of the custom domain suffix configuration for ASEv3.Get the dedicatedHostCount property: Dedicated Host Count.Get the dnsSuffix property: DNS suffix of the App Service Environment.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of AppServiceEnvironmentResourceInner from the JsonReader.Get the frontEndScaleFactor property: Scale factor for front-ends.Get the hasLinuxWorkers property: Flag that displays whether an ASE has linux workers or not.id()
Get the id property: Fully qualified resource Id for the resource.Get the internalLoadBalancingMode property: Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment.Get the ipsslAddressCount property: Number of IP SSL addresses reserved for the App Service Environment.kind()
Get the kind property: Kind of resource.Get the maximumNumberOfMachines property: Maximum number of VMs in the App Service Environment.Get the multiRoleCount property: Number of front-end instances.Get the multiSize property: Front-end VM size, e.g.name()
Get the name property: The name of the resource.Get the networkingConfiguration property: Full view of networking configuration for an ASE.Get the provisioningState property: Provisioning state of the App Service Environment.status()
Get the status property: Current status of the App Service Environment.Get the suspended property: <code>true</code> if the App Service Environment is suspended; otherwise, <code>false</code>.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) type()
Get the type property: The type of the resource.Get the upgradeAvailability property: Whether an upgrade is available for this App Service Environment.Get the upgradePreference property: Upgrade Preference.Get the userWhitelistedIpRanges property: User added ip ranges to whitelist on ASE db.void
validate()
Validates the instance.Get the virtualNetwork property: Description of the Virtual Network.withClusterSettings
(List<NameValuePair> clusterSettings) Set the clusterSettings property: Custom settings for changing the behavior of the App Service Environment.withCustomDnsSuffixConfiguration
(CustomDnsSuffixConfigurationInner customDnsSuffixConfiguration) Set the customDnsSuffixConfiguration property: Full view of the custom domain suffix configuration for ASEv3.withDedicatedHostCount
(Integer dedicatedHostCount) Set the dedicatedHostCount property: Dedicated Host Count.withDnsSuffix
(String dnsSuffix) Set the dnsSuffix property: DNS suffix of the App Service Environment.withFrontEndScaleFactor
(Integer frontEndScaleFactor) Set the frontEndScaleFactor property: Scale factor for front-ends.withInternalLoadBalancingMode
(LoadBalancingMode internalLoadBalancingMode) Set the internalLoadBalancingMode property: Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment.withIpsslAddressCount
(Integer ipsslAddressCount) Set the ipsslAddressCount property: Number of IP SSL addresses reserved for the App Service Environment.Set the kind property: Kind of resource.withLocation
(String location) withMultiSize
(String multiSize) Set the multiSize property: Front-end VM size, e.g.withNetworkingConfiguration
(AseV3NetworkingConfigurationInner networkingConfiguration) Set the networkingConfiguration property: Full view of networking configuration for an ASE.withUpgradePreference
(UpgradePreference upgradePreference) Set the upgradePreference property: Upgrade Preference.withUserWhitelistedIpRanges
(List<String> userWhitelistedIpRanges) Set the userWhitelistedIpRanges property: User added ip ranges to whitelist on ASE db.withVirtualNetwork
(VirtualNetworkProfile virtualNetwork) Set the virtualNetwork property: Description of the Virtual Network.withZoneRedundant
(Boolean zoneRedundant) Set the zoneRedundant property: Whether or not this App Service Environment is zone-redundant.Get the zoneRedundant property: Whether or not this App Service Environment is zone-redundant.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
AppServiceEnvironmentResourceInner
public AppServiceEnvironmentResourceInner()Creates an instance of AppServiceEnvironmentResourceInner class.
-
-
Method Details
-
kind
Get the kind property: Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind.- Returns:
- the kind value.
-
withKind
Set the kind property: Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind.- Parameters:
kind
- the kind value to set.- Returns:
- the AppServiceEnvironmentResourceInner object itself.
-
type
Get the type property: The type of the resource.- Overrides:
type
in classcom.azure.core.management.ProxyResource
- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
name
in classcom.azure.core.management.ProxyResource
- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
id
in classcom.azure.core.management.ProxyResource
- Returns:
- the id value.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
provisioningState
Get the provisioningState property: Provisioning state of the App Service Environment.- Returns:
- the provisioningState value.
-
status
Get the status property: Current status of the App Service Environment.- Returns:
- the status value.
-
virtualNetwork
Get the virtualNetwork property: Description of the Virtual Network.- Returns:
- the virtualNetwork value.
-
withVirtualNetwork
Set the virtualNetwork property: Description of the Virtual Network.- Parameters:
virtualNetwork
- the virtualNetwork value to set.- Returns:
- the AppServiceEnvironmentResourceInner object itself.
-
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 AppServiceEnvironmentResourceInner 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 AppServiceEnvironmentResourceInner object itself.
-
multiSize
Get the multiSize property: Front-end VM size, e.g. "Medium", "Large".- Returns:
- the multiSize value.
-
withMultiSize
Set the multiSize property: Front-end VM size, e.g. "Medium", "Large".- Parameters:
multiSize
- the multiSize value to set.- Returns:
- the AppServiceEnvironmentResourceInner object itself.
-
multiRoleCount
Get the multiRoleCount property: Number of front-end instances.- Returns:
- the multiRoleCount value.
-
ipsslAddressCount
Get the ipsslAddressCount property: Number of IP SSL addresses reserved for the App Service Environment.- Returns:
- the ipsslAddressCount value.
-
withIpsslAddressCount
Set the ipsslAddressCount property: Number of IP SSL addresses reserved for the App Service Environment.- Parameters:
ipsslAddressCount
- the ipsslAddressCount value to set.- Returns:
- the AppServiceEnvironmentResourceInner object itself.
-
dnsSuffix
Get the dnsSuffix property: DNS suffix of the App Service Environment.- Returns:
- the dnsSuffix value.
-
withDnsSuffix
Set the dnsSuffix property: DNS suffix of the App Service Environment.- Parameters:
dnsSuffix
- the dnsSuffix value to set.- Returns:
- the AppServiceEnvironmentResourceInner object itself.
-
maximumNumberOfMachines
Get the maximumNumberOfMachines property: Maximum number of VMs in the App Service Environment.- Returns:
- the maximumNumberOfMachines value.
-
frontEndScaleFactor
Get the frontEndScaleFactor property: Scale factor for front-ends.- Returns:
- the frontEndScaleFactor value.
-
withFrontEndScaleFactor
Set the frontEndScaleFactor property: Scale factor for front-ends.- Parameters:
frontEndScaleFactor
- the frontEndScaleFactor value to set.- Returns:
- the AppServiceEnvironmentResourceInner object itself.
-
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
Get the clusterSettings property: Custom settings for changing the behavior of the App Service Environment.- Returns:
- the clusterSettings value.
-
withClusterSettings
Set the clusterSettings property: Custom settings for changing the behavior of the App Service Environment.- Parameters:
clusterSettings
- the clusterSettings value to set.- Returns:
- the AppServiceEnvironmentResourceInner object itself.
-
userWhitelistedIpRanges
Get the userWhitelistedIpRanges property: User added ip ranges to whitelist on ASE db.- Returns:
- the userWhitelistedIpRanges value.
-
withUserWhitelistedIpRanges
public AppServiceEnvironmentResourceInner 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 AppServiceEnvironmentResourceInner object itself.
-
hasLinuxWorkers
Get the hasLinuxWorkers property: Flag that displays whether an ASE has linux workers or not.- Returns:
- the hasLinuxWorkers value.
-
upgradePreference
Get the upgradePreference property: Upgrade Preference.- Returns:
- the upgradePreference value.
-
withUpgradePreference
public AppServiceEnvironmentResourceInner withUpgradePreference(UpgradePreference upgradePreference) Set the upgradePreference property: Upgrade Preference.- Parameters:
upgradePreference
- the upgradePreference value to set.- Returns:
- the AppServiceEnvironmentResourceInner object itself.
-
dedicatedHostCount
Get the dedicatedHostCount property: Dedicated Host Count.- Returns:
- the dedicatedHostCount value.
-
withDedicatedHostCount
Set the dedicatedHostCount property: Dedicated Host Count.- Parameters:
dedicatedHostCount
- the dedicatedHostCount value to set.- Returns:
- the AppServiceEnvironmentResourceInner object itself.
-
zoneRedundant
Get the zoneRedundant property: Whether or not this App Service Environment is zone-redundant.- Returns:
- the zoneRedundant value.
-
withZoneRedundant
Set the zoneRedundant property: Whether or not this App Service Environment is zone-redundant.- Parameters:
zoneRedundant
- the zoneRedundant value to set.- Returns:
- the AppServiceEnvironmentResourceInner object itself.
-
customDnsSuffixConfiguration
Get the customDnsSuffixConfiguration property: Full view of the custom domain suffix configuration for ASEv3.- Returns:
- the customDnsSuffixConfiguration value.
-
withCustomDnsSuffixConfiguration
public AppServiceEnvironmentResourceInner withCustomDnsSuffixConfiguration(CustomDnsSuffixConfigurationInner customDnsSuffixConfiguration) Set the customDnsSuffixConfiguration property: Full view of the custom domain suffix configuration for ASEv3.- Parameters:
customDnsSuffixConfiguration
- the customDnsSuffixConfiguration value to set.- Returns:
- the AppServiceEnvironmentResourceInner object itself.
-
networkingConfiguration
Get the networkingConfiguration property: Full view of networking configuration for an ASE.- Returns:
- the networkingConfiguration value.
-
withNetworkingConfiguration
public AppServiceEnvironmentResourceInner withNetworkingConfiguration(AseV3NetworkingConfigurationInner networkingConfiguration) Set the networkingConfiguration property: Full view of networking configuration for an ASE.- Parameters:
networkingConfiguration
- the networkingConfiguration value to set.- Returns:
- the AppServiceEnvironmentResourceInner object itself.
-
upgradeAvailability
Get the upgradeAvailability property: Whether an upgrade is available for this App Service Environment.- Returns:
- the upgradeAvailability value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
- Overrides:
toJson
in classcom.azure.core.management.Resource
- Throws:
IOException
-
fromJson
public static AppServiceEnvironmentResourceInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AppServiceEnvironmentResourceInner from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of AppServiceEnvironmentResourceInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException
- If the deserialized JSON object was missing any required properties.IOException
- If an error occurs while reading the AppServiceEnvironmentResourceInner.
-