Class AppResourceProperties

java.lang.Object
com.azure.resourcemanager.appplatform.models.AppResourceProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<AppResourceProperties>

public final class AppResourceProperties extends Object implements com.azure.json.JsonSerializable<AppResourceProperties>
App resource properties payload.
  • Constructor Details

    • AppResourceProperties

      public AppResourceProperties()
      Creates an instance of AppResourceProperties class.
  • Method Details

    • publicProperty

      public Boolean publicProperty()
      Get the publicProperty property: Indicates whether the App exposes public endpoint.
      Returns:
      the publicProperty value.
    • withPublicProperty

      public AppResourceProperties withPublicProperty(Boolean publicProperty)
      Set the publicProperty property: Indicates whether the App exposes public endpoint.
      Parameters:
      publicProperty - the publicProperty value to set.
      Returns:
      the AppResourceProperties object itself.
    • url

      public String url()
      Get the url property: URL of the App.
      Returns:
      the url value.
    • addonConfigs

      public Map<String,Map<String,Object>> addonConfigs()
      Get the addonConfigs property: Collection of addons.
      Returns:
      the addonConfigs value.
    • withAddonConfigs

      public AppResourceProperties withAddonConfigs(Map<String,Map<String,Object>> addonConfigs)
      Set the addonConfigs property: Collection of addons.
      Parameters:
      addonConfigs - the addonConfigs value to set.
      Returns:
      the AppResourceProperties object itself.
    • provisioningState

      public AppResourceProvisioningState provisioningState()
      Get the provisioningState property: Provisioning state of the App.
      Returns:
      the provisioningState value.
    • fqdn

      public String fqdn()
      Get the fqdn property: Fully qualified dns Name.
      Returns:
      the fqdn value.
    • httpsOnly

      public Boolean httpsOnly()
      Get the httpsOnly property: Indicate if only https is allowed.
      Returns:
      the httpsOnly value.
    • withHttpsOnly

      public AppResourceProperties withHttpsOnly(Boolean httpsOnly)
      Set the httpsOnly property: Indicate if only https is allowed.
      Parameters:
      httpsOnly - the httpsOnly value to set.
      Returns:
      the AppResourceProperties object itself.
    • temporaryDisk

      public TemporaryDisk temporaryDisk()
      Get the temporaryDisk property: Temporary disk settings.
      Returns:
      the temporaryDisk value.
    • withTemporaryDisk

      public AppResourceProperties withTemporaryDisk(TemporaryDisk temporaryDisk)
      Set the temporaryDisk property: Temporary disk settings.
      Parameters:
      temporaryDisk - the temporaryDisk value to set.
      Returns:
      the AppResourceProperties object itself.
    • persistentDisk

      public PersistentDisk persistentDisk()
      Get the persistentDisk property: Persistent disk settings.
      Returns:
      the persistentDisk value.
    • withPersistentDisk

      public AppResourceProperties withPersistentDisk(PersistentDisk persistentDisk)
      Set the persistentDisk property: Persistent disk settings.
      Parameters:
      persistentDisk - the persistentDisk value to set.
      Returns:
      the AppResourceProperties object itself.
    • customPersistentDisks

      public List<CustomPersistentDiskResource> customPersistentDisks()
      Get the customPersistentDisks property: List of custom persistent disks.
      Returns:
      the customPersistentDisks value.
    • withCustomPersistentDisks

      public AppResourceProperties withCustomPersistentDisks(List<CustomPersistentDiskResource> customPersistentDisks)
      Set the customPersistentDisks property: List of custom persistent disks.
      Parameters:
      customPersistentDisks - the customPersistentDisks value to set.
      Returns:
      the AppResourceProperties object itself.
    • enableEndToEndTls

      public Boolean enableEndToEndTls()
      Get the enableEndToEndTls property: Indicate if end to end TLS is enabled.
      Returns:
      the enableEndToEndTls value.
    • withEnableEndToEndTls

      public AppResourceProperties withEnableEndToEndTls(Boolean enableEndToEndTls)
      Set the enableEndToEndTls property: Indicate if end to end TLS is enabled.
      Parameters:
      enableEndToEndTls - the enableEndToEndTls value to set.
      Returns:
      the AppResourceProperties object itself.
    • loadedCertificates

      public List<LoadedCertificate> loadedCertificates()
      Get the loadedCertificates property: Collection of loaded certificates.
      Returns:
      the loadedCertificates value.
    • withLoadedCertificates

      public AppResourceProperties withLoadedCertificates(List<LoadedCertificate> loadedCertificates)
      Set the loadedCertificates property: Collection of loaded certificates.
      Parameters:
      loadedCertificates - the loadedCertificates value to set.
      Returns:
      the AppResourceProperties object itself.
    • vnetAddons

      public AppVNetAddons vnetAddons()
      Get the vnetAddons property: Additional App settings in vnet injection instance.
      Returns:
      the vnetAddons value.
    • withVnetAddons

      public AppResourceProperties withVnetAddons(AppVNetAddons vnetAddons)
      Set the vnetAddons property: Additional App settings in vnet injection instance.
      Parameters:
      vnetAddons - the vnetAddons value to set.
      Returns:
      the AppResourceProperties object itself.
    • ingressSettings

      public IngressSettings ingressSettings()
      Get the ingressSettings property: App ingress settings payload.
      Returns:
      the ingressSettings value.
    • withIngressSettings

      public AppResourceProperties withIngressSettings(IngressSettings ingressSettings)
      Set the ingressSettings property: App ingress settings payload.
      Parameters:
      ingressSettings - the ingressSettings value to set.
      Returns:
      the AppResourceProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<AppResourceProperties>
      Throws:
      IOException
    • fromJson

      public static AppResourceProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of AppResourceProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of AppResourceProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the AppResourceProperties.