public class SiteInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
SiteInner() |
| Modifier and Type | Method and Description |
|---|---|
SiteAvailabilityState |
availabilityState()
Get the availabilityState property: Management information availability state for the app.
|
Boolean |
clientAffinityEnabled()
Get the clientAffinityEnabled property: <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 the clientCertEnabled property: <code>true</code> to enable client certificate authentication
(TLS mutual authentication); otherwise, <code>false</code>.
|
String |
clientCertExclusionPaths()
Get the clientCertExclusionPaths property: client certificate authentication comma-separated exclusion paths.
|
ClientCertMode |
clientCertMode()
Get the clientCertMode property: This composes with ClientCertEnabled setting.
|
CloningInfo |
cloningInfo()
Get the cloningInfo property: If specified during app creation, the app is cloned from a source app.
|
Integer |
containerSize()
Get the containerSize property: Size of the function container.
|
String |
customDomainVerificationId()
Get the customDomainVerificationId property: Unique identifier that verifies the custom domains assigned to the
app.
|
Integer |
dailyMemoryTimeQuota()
Get the dailyMemoryTimeQuota property: Maximum allowed daily memory-time quota (applicable on dynamic apps only).
|
String |
defaultHostname()
Get the defaultHostname property: Default hostname of the app.
|
Boolean |
enabled()
Get the enabled property: <code>true</code> if the app is enabled; otherwise,
<code>false</code>.
|
List<String> |
enabledHostNames()
Get the enabledHostNames property: Enabled hostnames for the app.Hostnames need to be assigned (see HostNames)
AND enabled.
|
HostingEnvironmentProfile |
hostingEnvironmentProfile()
Get the hostingEnvironmentProfile property: App Service Environment to use for the app.
|
List<String> |
hostNames()
Get the hostNames property: Hostnames associated with the app.
|
Boolean |
hostNamesDisabled()
Get the hostNamesDisabled property: <code>true</code> to disable the public hostnames of the app;
otherwise, <code>false</code>.
|
List<HostnameSslState> |
hostnameSslStates()
Get the hostnameSslStates property: Hostname SSL states are used to manage the SSL bindings for app's hostnames.
|
Boolean |
httpsOnly()
Get the httpsOnly property: HttpsOnly: configures a web site to accept only https requests.
|
Boolean |
hyperV()
Get the hyperV property: Hyper-V sandbox.
|
ManagedServiceIdentity |
identity()
Get the identity property: Managed service identity.
|
UUID |
inProgressOperationId()
Get the inProgressOperationId property: Specifies an operation id if this site has a pending operation.
|
Boolean |
isDefaultContainer()
Get the isDefaultContainer property: <code>true</code> if the app is a default container; otherwise,
<code>false</code>.
|
Boolean |
isXenon()
Get the isXenon property: Obsolete: Hyper-V sandbox.
|
String |
keyVaultReferenceIdentity()
Get the keyVaultReferenceIdentity property: Identity to use for Key Vault Reference authentication.
|
String |
kind()
Get the kind property: Kind of resource.
|
OffsetDateTime |
lastModifiedTimeUtc()
Get the lastModifiedTimeUtc property: Last time the app was modified, in UTC.
|
Integer |
maxNumberOfWorkers()
Get the maxNumberOfWorkers property: Maximum number of workers.
|
String |
outboundIpAddresses()
Get the outboundIpAddresses property: List of IP addresses that the app uses for outbound connections (e.g.
|
String |
possibleOutboundIpAddresses()
Get the possibleOutboundIpAddresses property: List of IP addresses that the app uses for outbound connections
(e.g.
|
RedundancyMode |
redundancyMode()
Get the redundancyMode property: Site redundancy mode.
|
String |
repositorySiteName()
Get the repositorySiteName property: Name of the repository site.
|
Boolean |
reserved()
Get the reserved property: <code>true</code> if reserved; otherwise, <code>false</code>.
|
String |
resourceGroup()
Get the resourceGroup property: Name of the resource group the app belongs to.
|
Boolean |
scmSiteAlsoStopped()
Get the scmSiteAlsoStopped property: <code>true</code> to stop SCM (KUDU) site when the app is
stopped; otherwise, <code>false</code>.
|
String |
serverFarmId()
Get the serverFarmId property: Resource ID of the associated App Service plan, formatted as:
"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms"
+ "/{appServicePlanName}".
|
SiteConfigInner |
siteConfig()
Get the siteConfig property: Configuration of the app.
|
SlotSwapStatus |
slotSwapStatus()
Get the slotSwapStatus property: Status of the last deployment slot swap operation.
|
String |
state()
Get the state property: Current state of the app.
|
Boolean |
storageAccountRequired()
Get the storageAccountRequired property: Checks if Customer provided storage account is required.
|
OffsetDateTime |
suspendedTill()
Get the suspendedTill property: App suspended till in case memory-time quota is exceeded.
|
String |
targetSwapSlot()
Get the targetSwapSlot property: Specifies which deployment slot this app will swap into.
|
List<String> |
trafficManagerHostNames()
Get the trafficManagerHostNames property: Azure Traffic Manager hostnames associated with the app.
|
UsageState |
usageState()
Get the usageState property: State indicating whether the app has exceeded its quota usage.
|
void |
validate()
Validates the instance.
|
SiteInner |
withClientAffinityEnabled(Boolean clientAffinityEnabled)
Set the clientAffinityEnabled property: <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.
|
SiteInner |
withClientCertEnabled(Boolean clientCertEnabled)
Set the clientCertEnabled property: <code>true</code> to enable client certificate authentication
(TLS mutual authentication); otherwise, <code>false</code>.
|
SiteInner |
withClientCertExclusionPaths(String clientCertExclusionPaths)
Set the clientCertExclusionPaths property: client certificate authentication comma-separated exclusion paths.
|
SiteInner |
withClientCertMode(ClientCertMode clientCertMode)
Set the clientCertMode property: This composes with ClientCertEnabled setting.
|
SiteInner |
withCloningInfo(CloningInfo cloningInfo)
Set the cloningInfo property: If specified during app creation, the app is cloned from a source app.
|
SiteInner |
withContainerSize(Integer containerSize)
Set the containerSize property: Size of the function container.
|
SiteInner |
withCustomDomainVerificationId(String customDomainVerificationId)
Set the customDomainVerificationId property: Unique identifier that verifies the custom domains assigned to the
app.
|
SiteInner |
withDailyMemoryTimeQuota(Integer dailyMemoryTimeQuota)
Set the dailyMemoryTimeQuota property: Maximum allowed daily memory-time quota (applicable on dynamic apps only).
|
SiteInner |
withEnabled(Boolean enabled)
Set the enabled property: <code>true</code> if the app is enabled; otherwise,
<code>false</code>.
|
SiteInner |
withHostingEnvironmentProfile(HostingEnvironmentProfile hostingEnvironmentProfile)
Set the hostingEnvironmentProfile property: App Service Environment to use for the app.
|
SiteInner |
withHostNamesDisabled(Boolean hostNamesDisabled)
Set the hostNamesDisabled property: <code>true</code> to disable the public hostnames of the app;
otherwise, <code>false</code>.
|
SiteInner |
withHostnameSslStates(List<HostnameSslState> hostnameSslStates)
Set the hostnameSslStates property: Hostname SSL states are used to manage the SSL bindings for app's hostnames.
|
SiteInner |
withHttpsOnly(Boolean httpsOnly)
Set the httpsOnly property: HttpsOnly: configures a web site to accept only https requests.
|
SiteInner |
withHyperV(Boolean hyperV)
Set the hyperV property: Hyper-V sandbox.
|
SiteInner |
withIdentity(ManagedServiceIdentity identity)
Set the identity property: Managed service identity.
|
SiteInner |
withIsXenon(Boolean isXenon)
Set the isXenon property: Obsolete: Hyper-V sandbox.
|
SiteInner |
withKeyVaultReferenceIdentity(String keyVaultReferenceIdentity)
Set the keyVaultReferenceIdentity property: Identity to use for Key Vault Reference authentication.
|
SiteInner |
withKind(String kind)
Set the kind property: Kind of resource.
|
SiteInner |
withLocation(String location) |
SiteInner |
withRedundancyMode(RedundancyMode redundancyMode)
Set the redundancyMode property: Site redundancy mode.
|
SiteInner |
withReserved(Boolean reserved)
Set the reserved property: <code>true</code> if reserved; otherwise, <code>false</code>.
|
SiteInner |
withScmSiteAlsoStopped(Boolean scmSiteAlsoStopped)
Set the scmSiteAlsoStopped property: <code>true</code> to stop SCM (KUDU) site when the app is
stopped; otherwise, <code>false</code>.
|
SiteInner |
withServerFarmId(String serverFarmId)
Set the serverFarmId property: Resource ID of the associated App Service plan, formatted as:
"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms"
+ "/{appServicePlanName}".
|
SiteInner |
withSiteConfig(SiteConfigInner siteConfig)
Set the siteConfig property: Configuration of the app.
|
SiteInner |
withStorageAccountRequired(Boolean storageAccountRequired)
Set the storageAccountRequired property: Checks if Customer provided storage account is required.
|
SiteInner |
withTags(Map<String,String> tags) |
public ManagedServiceIdentity identity()
public SiteInner withIdentity(ManagedServiceIdentity identity)
identity - the identity value to set.public String state()
public List<String> hostNames()
public String repositorySiteName()
public UsageState usageState()
public Boolean enabled()
public SiteInner withEnabled(Boolean enabled)
enabled - the enabled value to set.public List<String> enabledHostNames()
public SiteAvailabilityState availabilityState()
public List<HostnameSslState> hostnameSslStates()
public SiteInner withHostnameSslStates(List<HostnameSslState> hostnameSslStates)
hostnameSslStates - the hostnameSslStates value to set.public String serverFarmId()
public SiteInner withServerFarmId(String serverFarmId)
serverFarmId - the serverFarmId value to set.public Boolean reserved()
public SiteInner withReserved(Boolean reserved)
reserved - the reserved value to set.public Boolean isXenon()
public SiteInner withIsXenon(Boolean isXenon)
isXenon - the isXenon value to set.public Boolean hyperV()
public SiteInner withHyperV(Boolean hyperV)
hyperV - the hyperV value to set.public OffsetDateTime lastModifiedTimeUtc()
public SiteConfigInner siteConfig()
public SiteInner withSiteConfig(SiteConfigInner siteConfig)
siteConfig - the siteConfig value to set.public List<String> trafficManagerHostNames()
public Boolean scmSiteAlsoStopped()
public SiteInner withScmSiteAlsoStopped(Boolean scmSiteAlsoStopped)
scmSiteAlsoStopped - the scmSiteAlsoStopped value to set.public String targetSwapSlot()
public HostingEnvironmentProfile hostingEnvironmentProfile()
public SiteInner withHostingEnvironmentProfile(HostingEnvironmentProfile hostingEnvironmentProfile)
hostingEnvironmentProfile - the hostingEnvironmentProfile value to set.public Boolean clientAffinityEnabled()
public SiteInner withClientAffinityEnabled(Boolean clientAffinityEnabled)
clientAffinityEnabled - the clientAffinityEnabled value to set.public Boolean clientCertEnabled()
public SiteInner withClientCertEnabled(Boolean clientCertEnabled)
clientCertEnabled - the clientCertEnabled value to set.public ClientCertMode clientCertMode()
public SiteInner withClientCertMode(ClientCertMode clientCertMode)
clientCertMode - the clientCertMode value to set.public String clientCertExclusionPaths()
public SiteInner withClientCertExclusionPaths(String clientCertExclusionPaths)
clientCertExclusionPaths - the clientCertExclusionPaths value to set.public Boolean hostNamesDisabled()
public SiteInner withHostNamesDisabled(Boolean hostNamesDisabled)
hostNamesDisabled - the hostNamesDisabled value to set.public String customDomainVerificationId()
public SiteInner withCustomDomainVerificationId(String customDomainVerificationId)
customDomainVerificationId - the customDomainVerificationId value to set.public String outboundIpAddresses()
public String possibleOutboundIpAddresses()
public Integer containerSize()
public SiteInner withContainerSize(Integer containerSize)
containerSize - the containerSize value to set.public Integer dailyMemoryTimeQuota()
public SiteInner withDailyMemoryTimeQuota(Integer dailyMemoryTimeQuota)
dailyMemoryTimeQuota - the dailyMemoryTimeQuota value to set.public OffsetDateTime suspendedTill()
public Integer maxNumberOfWorkers()
public CloningInfo cloningInfo()
public SiteInner withCloningInfo(CloningInfo cloningInfo)
cloningInfo - the cloningInfo value to set.public String resourceGroup()
public Boolean isDefaultContainer()
public String defaultHostname()
public SlotSwapStatus slotSwapStatus()
public String keyVaultReferenceIdentity()
public SiteInner withKeyVaultReferenceIdentity(String keyVaultReferenceIdentity)
keyVaultReferenceIdentity - the keyVaultReferenceIdentity value to set.public Boolean httpsOnly()
public SiteInner withHttpsOnly(Boolean httpsOnly)
httpsOnly - the httpsOnly value to set.public RedundancyMode redundancyMode()
public SiteInner withRedundancyMode(RedundancyMode redundancyMode)
redundancyMode - the redundancyMode value to set.public UUID inProgressOperationId()
public Boolean storageAccountRequired()
public SiteInner withStorageAccountRequired(Boolean storageAccountRequired)
storageAccountRequired - the storageAccountRequired value to set.public String kind()
public SiteInner withKind(String kind)
kind - the kind value to set.public SiteInner withLocation(String location)
withLocation in class com.azure.core.management.Resourcepublic SiteInner withTags(Map<String,String> tags)
withTags in class com.azure.core.management.Resourcepublic void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.