Class SitePatchResource
java.lang.Object
com.microsoft.azure.ProxyResource
com.microsoft.azure.management.appservice.ProxyOnlyResource
com.microsoft.azure.management.appservice.SitePatchResource
ARM resource for a site.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet management information availability state for the app.Get <code>true</code> to enable client affinity; <code>false</code> to stop sending session affinity cookies, which route client requests in the same session to the same instance.Get <code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>.Get client certificate authentication comma-separated exclusion paths.Get if specified during app creation, the app is cloned from a source app.Get size of the function container.Get maximum allowed daily memory-time quota (applicable on dynamic apps only).Get default hostname of the app.enabled()
Get <code>true</code> if the app is enabled; otherwise, <code>false</code>.Get enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled.Get app Service Environment to use for the app.Get hostnames associated with the app.Get <code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>.Get hostname SSL states are used to manage the SSL bindings for app's hostnames.Get httpsOnly: configures a web site to accept only https requests.hyperV()
Get hyper-V sandbox.identity()
Get the identity value.Get specifies an operation id if this site has a pending operation.Get <code>true</code> if the app is a default container; otherwise, <code>false</code>.isXenon()
Get obsolete: Hyper-V sandbox.org.joda.time.DateTime
Get last time the app was modified, in UTC.Get maximum number of workers.Get list of IP addresses that the app uses for outbound connections (e.g.Get list of IP addresses that the app uses for outbound connections (e.g.Get site redundancy mode.Get name of the repository site.reserved()
Get <code>true</code> if reserved; otherwise, <code>false</code>.Get name of the resource group the app belongs to.Get <code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>.Get resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".Get configuration of the app.Get status of the last deployment slot swap operation.state()
Get current state of the app.org.joda.time.DateTime
Get app suspended till in case memory-time quota is exceeded.Get specifies which deployment slot this app will swap into.Get azure Traffic Manager hostnames associated with the app.Get state indicating whether the app has exceeded its quota usage.withClientAffinityEnabled
(Boolean clientAffinityEnabled) Set <code>true</code> to enable client affinity; <code>false</code> to stop sending session affinity cookies, which route client requests in the same session to the same instance.withClientCertEnabled
(Boolean clientCertEnabled) Set <code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>.withClientCertExclusionPaths
(String clientCertExclusionPaths) Set client certificate authentication comma-separated exclusion paths.withCloningInfo
(CloningInfo cloningInfo) Set if specified during app creation, the app is cloned from a source app.withContainerSize
(Integer containerSize) Set size of the function container.withDailyMemoryTimeQuota
(Integer dailyMemoryTimeQuota) Set maximum allowed daily memory-time quota (applicable on dynamic apps only).withEnabled
(Boolean enabled) Set <code>true</code> if the app is enabled; otherwise, <code>false</code>.withHostingEnvironmentProfile
(HostingEnvironmentProfile hostingEnvironmentProfile) Set app Service Environment to use for the app.withHostNamesDisabled
(Boolean hostNamesDisabled) Set <code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>.withHostNameSslStates
(List<HostNameSslState> hostNameSslStates) Set hostname SSL states are used to manage the SSL bindings for app's hostnames.withHttpsOnly
(Boolean httpsOnly) Set httpsOnly: configures a web site to accept only https requests.withHyperV
(Boolean hyperV) Set hyper-V sandbox.withIdentity
(ManagedServiceIdentity identity) Set the identity value.withIsXenon
(Boolean isXenon) Set obsolete: Hyper-V sandbox.withRedundancyMode
(RedundancyMode redundancyMode) Set site redundancy mode.withReserved
(Boolean reserved) Set <code>true</code> if reserved; otherwise, <code>false</code>.withScmSiteAlsoStopped
(Boolean scmSiteAlsoStopped) Set <code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>.withServerFarmId
(String serverFarmId) Set resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".withSiteConfig
(SiteConfig siteConfig) Set configuration of the app.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
-
SitePatchResource
public SitePatchResource()
-
-
Method Details
-
state
Get current state of the app.- Returns:
- the state value
-
hostNames
Get hostnames associated with the app.- Returns:
- the hostNames value
-
repositorySiteName
Get name of the repository site.- Returns:
- the repositorySiteName value
-
usageState
Get state indicating whether the app has exceeded its quota usage. Read-only. Possible values include: 'Normal', 'Exceeded'.- Returns:
- the usageState value
-
enabled
Get <code>true</code> if the app is enabled; otherwise, <code>false</code>. Setting this value to false disables the app (takes the app offline).- Returns:
- the enabled value
-
withEnabled
Set <code>true</code> if the app is enabled; otherwise, <code>false</code>. Setting this value to false disables the app (takes the app offline).- Parameters:
enabled
- the enabled value to set- Returns:
- the SitePatchResource object itself.
-
enabledHostNames
Get enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise, the app is not served on those hostnames.- Returns:
- the enabledHostNames value
-
availabilityState
Get management information availability state for the app. Possible values include: 'Normal', 'Limited', 'DisasterRecoveryMode'.- Returns:
- the availabilityState value
-
hostNameSslStates
Get hostname SSL states are used to manage the SSL bindings for app's hostnames.- Returns:
- the hostNameSslStates value
-
withHostNameSslStates
Set hostname SSL states are used to manage the SSL bindings for app's hostnames.- Parameters:
hostNameSslStates
- the hostNameSslStates value to set- Returns:
- the SitePatchResource object itself.
-
serverFarmId
Get resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".- Returns:
- the serverFarmId value
-
withServerFarmId
Set resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".- Parameters:
serverFarmId
- the serverFarmId value to set- Returns:
- the SitePatchResource object itself.
-
reserved
Get <code>true</code> if reserved; otherwise, <code>false</code>.- Returns:
- the reserved value
-
withReserved
Set <code>true</code> if reserved; otherwise, <code>false</code>.- Parameters:
reserved
- the reserved value to set- Returns:
- the SitePatchResource object itself.
-
isXenon
Get obsolete: Hyper-V sandbox.- Returns:
- the isXenon value
-
withIsXenon
Set obsolete: Hyper-V sandbox.- Parameters:
isXenon
- the isXenon value to set- Returns:
- the SitePatchResource object itself.
-
hyperV
Get hyper-V sandbox.- Returns:
- the hyperV value
-
withHyperV
Set hyper-V sandbox.- Parameters:
hyperV
- the hyperV value to set- Returns:
- the SitePatchResource object itself.
-
lastModifiedTimeUtc
public org.joda.time.DateTime lastModifiedTimeUtc()Get last time the app was modified, in UTC. Read-only.- Returns:
- the lastModifiedTimeUtc value
-
siteConfig
Get configuration of the app.- Returns:
- the siteConfig value
-
withSiteConfig
Set configuration of the app.- Parameters:
siteConfig
- the siteConfig value to set- Returns:
- the SitePatchResource object itself.
-
trafficManagerHostNames
Get azure Traffic Manager hostnames associated with the app. Read-only.- Returns:
- the trafficManagerHostNames value
-
scmSiteAlsoStopped
Get <code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>. The default is <code>false</code>.- Returns:
- the scmSiteAlsoStopped value
-
withScmSiteAlsoStopped
Set <code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>. The default is <code>false</code>.- Parameters:
scmSiteAlsoStopped
- the scmSiteAlsoStopped value to set- Returns:
- the SitePatchResource object itself.
-
targetSwapSlot
Get specifies which deployment slot this app will swap into. Read-only.- Returns:
- the targetSwapSlot value
-
hostingEnvironmentProfile
Get app Service Environment to use for the app.- Returns:
- the hostingEnvironmentProfile value
-
withHostingEnvironmentProfile
public SitePatchResource withHostingEnvironmentProfile(HostingEnvironmentProfile hostingEnvironmentProfile) Set app Service Environment to use for the app.- Parameters:
hostingEnvironmentProfile
- the hostingEnvironmentProfile value to set- Returns:
- the SitePatchResource object itself.
-
clientAffinityEnabled
Get <code>true</code> to enable client affinity; <code>false</code> to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is <code>true</code>.- Returns:
- the clientAffinityEnabled value
-
withClientAffinityEnabled
Set <code>true</code> to enable client affinity; <code>false</code> to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is <code>true</code>.- Parameters:
clientAffinityEnabled
- the clientAffinityEnabled value to set- Returns:
- the SitePatchResource object itself.
-
clientCertEnabled
Get <code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>. Default is <code>false</code>.- Returns:
- the clientCertEnabled value
-
withClientCertEnabled
Set <code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>. Default is <code>false</code>.- Parameters:
clientCertEnabled
- the clientCertEnabled value to set- Returns:
- the SitePatchResource object itself.
-
clientCertExclusionPaths
Get client certificate authentication comma-separated exclusion paths.- Returns:
- the clientCertExclusionPaths value
-
withClientCertExclusionPaths
Set client certificate authentication comma-separated exclusion paths.- Parameters:
clientCertExclusionPaths
- the clientCertExclusionPaths value to set- Returns:
- the SitePatchResource object itself.
-
hostNamesDisabled
Get <code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>. If <code>true</code>, the app is only accessible via API management process.- Returns:
- the hostNamesDisabled value
-
withHostNamesDisabled
Set <code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>. If <code>true</code>, the app is only accessible via API management process.- Parameters:
hostNamesDisabled
- the hostNamesDisabled value to set- Returns:
- the SitePatchResource object itself.
-
outboundIpAddresses
Get list of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only.- Returns:
- the outboundIpAddresses value
-
possibleOutboundIpAddresses
Get list of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants except dataComponent. Read-only.- Returns:
- the possibleOutboundIpAddresses value
-
containerSize
Get size of the function container.- Returns:
- the containerSize value
-
withContainerSize
Set size of the function container.- Parameters:
containerSize
- the containerSize value to set- Returns:
- the SitePatchResource object itself.
-
dailyMemoryTimeQuota
Get maximum allowed daily memory-time quota (applicable on dynamic apps only).- Returns:
- the dailyMemoryTimeQuota value
-
withDailyMemoryTimeQuota
Set maximum allowed daily memory-time quota (applicable on dynamic apps only).- Parameters:
dailyMemoryTimeQuota
- the dailyMemoryTimeQuota value to set- Returns:
- the SitePatchResource object itself.
-
suspendedTill
public org.joda.time.DateTime suspendedTill()Get app suspended till in case memory-time quota is exceeded.- Returns:
- the suspendedTill value
-
maxNumberOfWorkers
Get maximum number of workers. This only applies to Functions container.- Returns:
- the maxNumberOfWorkers value
-
cloningInfo
Get if specified during app creation, the app is cloned from a source app.- Returns:
- the cloningInfo value
-
withCloningInfo
Set if specified during app creation, the app is cloned from a source app.- Parameters:
cloningInfo
- the cloningInfo value to set- Returns:
- the SitePatchResource object itself.
-
resourceGroup
Get name of the resource group the app belongs to. Read-only.- Returns:
- the resourceGroup value
-
isDefaultContainer
Get <code>true</code> if the app is a default container; otherwise, <code>false</code>.- Returns:
- the isDefaultContainer value
-
defaultHostName
Get default hostname of the app. Read-only.- Returns:
- the defaultHostName value
-
slotSwapStatus
Get status of the last deployment slot swap operation.- Returns:
- the slotSwapStatus value
-
httpsOnly
Get httpsOnly: configures a web site to accept only https requests. Issues redirect for http requests.- Returns:
- the httpsOnly value
-
withHttpsOnly
Set httpsOnly: configures a web site to accept only https requests. Issues redirect for http requests.- Parameters:
httpsOnly
- the httpsOnly value to set- Returns:
- the SitePatchResource object itself.
-
redundancyMode
Get site redundancy mode. Possible values include: 'None', 'Manual', 'Failover', 'ActiveActive', 'GeoRedundant'.- Returns:
- the redundancyMode value
-
withRedundancyMode
Set site redundancy mode. Possible values include: 'None', 'Manual', 'Failover', 'ActiveActive', 'GeoRedundant'.- Parameters:
redundancyMode
- the redundancyMode value to set- Returns:
- the SitePatchResource object itself.
-
inProgressOperationId
Get specifies an operation id if this site has a pending operation.- Returns:
- the inProgressOperationId value
-
identity
Get the identity value.- Returns:
- the identity value
-
withIdentity
Set the identity value.- Parameters:
identity
- the identity value to set- Returns:
- the SitePatchResource object itself.
-