Class GetWebAppSlotResult


  • public final class GetWebAppSlotResult
    extends java.lang.Object
    • Method Detail

      • availabilityState

        public java.lang.String availabilityState()
        Returns:
        Management information availability state for the app.
      • clientAffinityEnabled

        public java.util.Optional<java.lang.Boolean> clientAffinityEnabled()
        Returns:
        <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>.
      • clientCertEnabled

        public java.util.Optional<java.lang.Boolean> clientCertEnabled()
        Returns:
        <code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>. Default is <code>false</code>.
      • clientCertExclusionPaths

        public java.util.Optional<java.lang.String> clientCertExclusionPaths()
        Returns:
        client certificate authentication comma-separated exclusion paths
      • clientCertMode

        public java.util.Optional<java.lang.String> clientCertMode()
        Returns:
        This composes with ClientCertEnabled setting. - ClientCertEnabled: false means ClientCert is ignored. - ClientCertEnabled: true and ClientCertMode: Required means ClientCert is required. - ClientCertEnabled: true and ClientCertMode: Optional means ClientCert is optional or accepted.
      • containerSize

        public java.util.Optional<java.lang.Integer> containerSize()
        Returns:
        Size of the function container.
      • customDomainVerificationId

        public java.util.Optional<java.lang.String> customDomainVerificationId()
        Returns:
        Unique identifier that verifies the custom domains assigned to the app. Customer will add this id to a txt record for verification.
      • dailyMemoryTimeQuota

        public java.util.Optional<java.lang.Integer> dailyMemoryTimeQuota()
        Returns:
        Maximum allowed daily memory-time quota (applicable on dynamic apps only).
      • defaultHostName

        public java.lang.String defaultHostName()
        Returns:
        Default hostname of the app. Read-only.
      • enabled

        public java.util.Optional<java.lang.Boolean> enabled()
        Returns:
        <code>true</code> if the app is enabled; otherwise, <code>false</code>. Setting this value to false disables the app (takes the app offline).
      • enabledHostNames

        public java.util.List<java.lang.String> enabledHostNames()
        Returns:
        Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise, the app is not served on those hostnames.
      • hostNameSslStates

        public java.util.List<HostNameSslStateResponse> hostNameSslStates()
        Returns:
        Hostname SSL states are used to manage the SSL bindings for app's hostnames.
      • hostNames

        public java.util.List<java.lang.String> hostNames()
        Returns:
        Hostnames associated with the app.
      • hostNamesDisabled

        public java.util.Optional<java.lang.Boolean> hostNamesDisabled()
        Returns:
        <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.
      • hostingEnvironmentProfile

        public java.util.Optional<HostingEnvironmentProfileResponse> hostingEnvironmentProfile()
        Returns:
        App Service Environment to use for the app.
      • httpsOnly

        public java.util.Optional<java.lang.Boolean> httpsOnly()
        Returns:
        HttpsOnly: configures a web site to accept only https requests. Issues redirect for http requests
      • hyperV

        public java.util.Optional<java.lang.Boolean> hyperV()
        Returns:
        Hyper-V sandbox.
      • id

        public java.lang.String id()
        Returns:
        Resource Id.
      • inProgressOperationId

        public java.lang.String inProgressOperationId()
        Returns:
        Specifies an operation id if this site has a pending operation.
      • isDefaultContainer

        public java.lang.Boolean isDefaultContainer()
        Returns:
        <code>true</code> if the app is a default container; otherwise, <code>false</code>.
      • isXenon

        public java.util.Optional<java.lang.Boolean> isXenon()
        Returns:
        Obsolete: Hyper-V sandbox.
      • keyVaultReferenceIdentity

        public java.util.Optional<java.lang.String> keyVaultReferenceIdentity()
        Returns:
        Identity to use for Key Vault Reference authentication.
      • kind

        public java.util.Optional<java.lang.String> kind()
        Returns:
        Kind of resource.
      • lastModifiedTimeUtc

        public java.lang.String lastModifiedTimeUtc()
        Returns:
        Last time the app was modified, in UTC. Read-only.
      • location

        public java.lang.String location()
        Returns:
        Resource Location.
      • managedEnvironmentId

        public java.util.Optional<java.lang.String> managedEnvironmentId()
        Returns:
        Azure Resource Manager ID of the customer's selected Managed Environment on which to host this app. This must be of the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.App/managedEnvironments/{managedEnvironmentName}
      • maxNumberOfWorkers

        public java.lang.Integer maxNumberOfWorkers()
        Returns:
        Maximum number of workers. This only applies to Functions container.
      • name

        public java.lang.String name()
        Returns:
        Resource Name.
      • outboundIpAddresses

        public java.lang.String outboundIpAddresses()
        Returns:
        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.
      • possibleOutboundIpAddresses

        public java.lang.String possibleOutboundIpAddresses()
        Returns:
        List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants except dataComponent. Read-only.
      • publicNetworkAccess

        public java.util.Optional<java.lang.String> publicNetworkAccess()
        Returns:
        Property to allow or block all public traffic. Allowed Values: 'Enabled', 'Disabled' or an empty string.
      • redundancyMode

        public java.util.Optional<java.lang.String> redundancyMode()
        Returns:
        Site redundancy mode
      • repositorySiteName

        public java.lang.String repositorySiteName()
        Returns:
        Name of the repository site.
      • reserved

        public java.util.Optional<java.lang.Boolean> reserved()
        Returns:
        <code>true</code> if reserved; otherwise, <code>false</code>.
      • resourceGroup

        public java.lang.String resourceGroup()
        Returns:
        Name of the resource group the app belongs to. Read-only.
      • scmSiteAlsoStopped

        public java.util.Optional<java.lang.Boolean> scmSiteAlsoStopped()
        Returns:
        <code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>. The default is <code>false</code>.
      • serverFarmId

        public java.util.Optional<java.lang.String> serverFarmId()
        Returns:
        Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".
      • siteConfig

        public java.util.Optional<SiteConfigResponse> siteConfig()
        Returns:
        Configuration of the app.
      • slotSwapStatus

        public SlotSwapStatusResponse slotSwapStatus()
        Returns:
        Status of the last deployment slot swap operation.
      • state

        public java.lang.String state()
        Returns:
        Current state of the app.
      • storageAccountRequired

        public java.util.Optional<java.lang.Boolean> storageAccountRequired()
        Returns:
        Checks if Customer provided storage account is required
      • suspendedTill

        public java.lang.String suspendedTill()
        Returns:
        App suspended till in case memory-time quota is exceeded.
      • tags

        public java.util.Map<java.lang.String,​java.lang.String> tags()
        Returns:
        Resource tags.
      • targetSwapSlot

        public java.lang.String targetSwapSlot()
        Returns:
        Specifies which deployment slot this app will swap into. Read-only.
      • trafficManagerHostNames

        public java.util.List<java.lang.String> trafficManagerHostNames()
        Returns:
        Azure Traffic Manager hostnames associated with the app. Read-only.
      • type

        public java.lang.String type()
        Returns:
        Resource type.
      • usageState

        public java.lang.String usageState()
        Returns:
        State indicating whether the app has exceeded its quota usage. Read-only.
      • virtualNetworkSubnetId

        public java.util.Optional<java.lang.String> virtualNetworkSubnetId()
        Returns:
        Azure Resource Manager ID of the Virtual network and subnet to be joined by Regional VNET Integration. This must be of the form /subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}
      • vnetContentShareEnabled

        public java.util.Optional<java.lang.Boolean> vnetContentShareEnabled()
        Returns:
        To enable accessing content over virtual network
      • vnetImagePullEnabled

        public java.util.Optional<java.lang.Boolean> vnetImagePullEnabled()
        Returns:
        To enable pulling image over Virtual Network
      • vnetRouteAllEnabled

        public java.util.Optional<java.lang.Boolean> vnetRouteAllEnabled()
        Returns:
        Virtual Network Route All enabled. This causes all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied.