public class SitePatchResource extends ProxyOnlyResource
Constructor and Description |
---|
SitePatchResource() |
Modifier and Type | Method and Description |
---|---|
SiteAvailabilityState |
availabilityState()
Get management information availability state for the app.
|
Boolean |
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.
|
Boolean |
clientCertEnabled()
Get <code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>.
|
String |
clientCertExclusionPaths()
Get client certificate authentication comma-separated exclusion paths.
|
CloningInfo |
cloningInfo()
Get if specified during app creation, the app is cloned from a source app.
|
Integer |
containerSize()
Get size of the function container.
|
Integer |
dailyMemoryTimeQuota()
Get maximum allowed daily memory-time quota (applicable on dynamic apps only).
|
String |
defaultHostName()
Get default hostname of the app.
|
Boolean |
enabled()
Get <code>true</code> if the app is enabled; otherwise, <code>false</code>.
|
List<String> |
enabledHostNames()
Get enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled.
|
List<GeoDistribution> |
geoDistributions()
Get geoDistributions for this site.
|
HostingEnvironmentProfile |
hostingEnvironmentProfile()
Get app Service Environment to use for the app.
|
List<String> |
hostNames()
Get hostnames associated with the app.
|
Boolean |
hostNamesDisabled()
Get <code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>.
|
List<HostNameSslState> |
hostNameSslStates()
Get hostname SSL states are used to manage the SSL bindings for app's hostnames.
|
Boolean |
httpsOnly()
Get httpsOnly: configures a web site to accept only https requests.
|
Boolean |
hyperV()
Get hyper-V sandbox.
|
ManagedServiceIdentity |
identity()
Get the identity value.
|
UUID |
inProgressOperationId()
Get specifies an operation id if this site has a pending operation.
|
Boolean |
isDefaultContainer()
Get <code>true</code> if the app is a default container; otherwise, <code>false</code>.
|
Boolean |
isXenon()
Get obsolete: Hyper-V sandbox.
|
org.joda.time.DateTime |
lastModifiedTimeUtc()
Get last time the app was modified, in UTC.
|
Integer |
maxNumberOfWorkers()
Get maximum number of workers.
|
String |
outboundIpAddresses()
Get list of IP addresses that the app uses for outbound connections (e.g.
|
String |
possibleOutboundIpAddresses()
Get list of IP addresses that the app uses for outbound connections (e.g.
|
RedundancyMode |
redundancyMode()
Get site redundancy mode.
|
String |
repositorySiteName()
Get name of the repository site.
|
Boolean |
reserved()
Get <code>true</code> if reserved; otherwise, <code>false</code>.
|
String |
resourceGroup()
Get name of the resource group the app belongs to.
|
Boolean |
scmSiteAlsoStopped()
Get <code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>.
|
String |
serverFarmId()
Get resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".
|
SiteConfig |
siteConfig()
Get configuration of the app.
|
SlotSwapStatus |
slotSwapStatus()
Get status of the last deployment slot swap operation.
|
String |
state()
Get current state of the app.
|
org.joda.time.DateTime |
suspendedTill()
Get app suspended till in case memory-time quota is exceeded.
|
String |
targetSwapSlot()
Get specifies which deployment slot this app will swap into.
|
List<String> |
trafficManagerHostNames()
Get azure Traffic Manager hostnames associated with the app.
|
UsageState |
usageState()
Get state indicating whether the app has exceeded its quota usage.
|
SitePatchResource |
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.
|
SitePatchResource |
withClientCertEnabled(Boolean clientCertEnabled)
Set <code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>.
|
SitePatchResource |
withClientCertExclusionPaths(String clientCertExclusionPaths)
Set client certificate authentication comma-separated exclusion paths.
|
SitePatchResource |
withCloningInfo(CloningInfo cloningInfo)
Set if specified during app creation, the app is cloned from a source app.
|
SitePatchResource |
withContainerSize(Integer containerSize)
Set size of the function container.
|
SitePatchResource |
withDailyMemoryTimeQuota(Integer dailyMemoryTimeQuota)
Set maximum allowed daily memory-time quota (applicable on dynamic apps only).
|
SitePatchResource |
withEnabled(Boolean enabled)
Set <code>true</code> if the app is enabled; otherwise, <code>false</code>.
|
SitePatchResource |
withGeoDistributions(List<GeoDistribution> geoDistributions)
Set geoDistributions for this site.
|
SitePatchResource |
withHostingEnvironmentProfile(HostingEnvironmentProfile hostingEnvironmentProfile)
Set app Service Environment to use for the app.
|
SitePatchResource |
withHostNamesDisabled(Boolean hostNamesDisabled)
Set <code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>.
|
SitePatchResource |
withHostNameSslStates(List<HostNameSslState> hostNameSslStates)
Set hostname SSL states are used to manage the SSL bindings for app's hostnames.
|
SitePatchResource |
withHttpsOnly(Boolean httpsOnly)
Set httpsOnly: configures a web site to accept only https requests.
|
SitePatchResource |
withHyperV(Boolean hyperV)
Set hyper-V sandbox.
|
SitePatchResource |
withIdentity(ManagedServiceIdentity identity)
Set the identity value.
|
SitePatchResource |
withIsXenon(Boolean isXenon)
Set obsolete: Hyper-V sandbox.
|
SitePatchResource |
withRedundancyMode(RedundancyMode redundancyMode)
Set site redundancy mode.
|
SitePatchResource |
withReserved(Boolean reserved)
Set <code>true</code> if reserved; otherwise, <code>false</code>.
|
SitePatchResource |
withScmSiteAlsoStopped(Boolean scmSiteAlsoStopped)
Set <code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>.
|
SitePatchResource |
withServerFarmId(String serverFarmId)
Set resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".
|
SitePatchResource |
withSiteConfig(SiteConfig siteConfig)
Set configuration of the app.
|
kind, withKind
public String state()
public List<String> hostNames()
public String repositorySiteName()
public UsageState usageState()
public Boolean enabled()
public SitePatchResource withEnabled(Boolean enabled)
enabled
- the enabled value to setpublic List<String> enabledHostNames()
public SiteAvailabilityState availabilityState()
public List<HostNameSslState> hostNameSslStates()
public SitePatchResource withHostNameSslStates(List<HostNameSslState> hostNameSslStates)
hostNameSslStates
- the hostNameSslStates value to setpublic String serverFarmId()
public SitePatchResource withServerFarmId(String serverFarmId)
serverFarmId
- the serverFarmId value to setpublic Boolean reserved()
public SitePatchResource withReserved(Boolean reserved)
reserved
- the reserved value to setpublic Boolean isXenon()
public SitePatchResource withIsXenon(Boolean isXenon)
isXenon
- the isXenon value to setpublic Boolean hyperV()
public SitePatchResource withHyperV(Boolean hyperV)
hyperV
- the hyperV value to setpublic org.joda.time.DateTime lastModifiedTimeUtc()
public SiteConfig siteConfig()
public SitePatchResource withSiteConfig(SiteConfig siteConfig)
siteConfig
- the siteConfig value to setpublic List<String> trafficManagerHostNames()
public Boolean scmSiteAlsoStopped()
public SitePatchResource withScmSiteAlsoStopped(Boolean scmSiteAlsoStopped)
scmSiteAlsoStopped
- the scmSiteAlsoStopped value to setpublic String targetSwapSlot()
public HostingEnvironmentProfile hostingEnvironmentProfile()
public SitePatchResource withHostingEnvironmentProfile(HostingEnvironmentProfile hostingEnvironmentProfile)
hostingEnvironmentProfile
- the hostingEnvironmentProfile value to setpublic Boolean clientAffinityEnabled()
public SitePatchResource withClientAffinityEnabled(Boolean clientAffinityEnabled)
clientAffinityEnabled
- the clientAffinityEnabled value to setpublic Boolean clientCertEnabled()
public SitePatchResource withClientCertEnabled(Boolean clientCertEnabled)
clientCertEnabled
- the clientCertEnabled value to setpublic String clientCertExclusionPaths()
public SitePatchResource withClientCertExclusionPaths(String clientCertExclusionPaths)
clientCertExclusionPaths
- the clientCertExclusionPaths value to setpublic Boolean hostNamesDisabled()
public SitePatchResource withHostNamesDisabled(Boolean hostNamesDisabled)
hostNamesDisabled
- the hostNamesDisabled value to setpublic String outboundIpAddresses()
public String possibleOutboundIpAddresses()
public Integer containerSize()
public SitePatchResource withContainerSize(Integer containerSize)
containerSize
- the containerSize value to setpublic Integer dailyMemoryTimeQuota()
public SitePatchResource withDailyMemoryTimeQuota(Integer dailyMemoryTimeQuota)
dailyMemoryTimeQuota
- the dailyMemoryTimeQuota value to setpublic org.joda.time.DateTime suspendedTill()
public Integer maxNumberOfWorkers()
public CloningInfo cloningInfo()
public SitePatchResource withCloningInfo(CloningInfo cloningInfo)
cloningInfo
- the cloningInfo value to setpublic String resourceGroup()
public Boolean isDefaultContainer()
public String defaultHostName()
public SlotSwapStatus slotSwapStatus()
public Boolean httpsOnly()
public SitePatchResource withHttpsOnly(Boolean httpsOnly)
httpsOnly
- the httpsOnly value to setpublic RedundancyMode redundancyMode()
public SitePatchResource withRedundancyMode(RedundancyMode redundancyMode)
redundancyMode
- the redundancyMode value to setpublic UUID inProgressOperationId()
public List<GeoDistribution> geoDistributions()
public SitePatchResource withGeoDistributions(List<GeoDistribution> geoDistributions)
geoDistributions
- the geoDistributions value to setpublic ManagedServiceIdentity identity()
public SitePatchResource withIdentity(ManagedServiceIdentity identity)
identity
- the identity value to setCopyright © 2019. All rights reserved.