AppResourceProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.AppResourceProperties

Implements

public final class AppResourceProperties
implements JsonSerializable<AppResourceProperties>

App resource properties payload.

Constructor Summary

Constructor Description
AppResourceProperties()

Creates an instance of AppResourceProperties class.

Method Summary

Modifier and Type Method and Description
Map<String,Map<String,Object>> addonConfigs()

Get the addonConfigs property: Collection of addons.

List<CustomPersistentDiskResource> customPersistentDisks()

Get the customPersistentDisks property: List of custom persistent disks.

Boolean enableEndToEndTls()

Get the enableEndToEndTls property: Indicate if end to end TLS is enabled.

String fqdn()

Get the fqdn property: Fully qualified dns Name.

static AppResourceProperties fromJson(JsonReader jsonReader)

Reads an instance of AppResourceProperties from the JsonReader.

Boolean httpsOnly()

Get the httpsOnly property: Indicate if only https is allowed.

IngressSettings ingressSettings()

Get the ingressSettings property: App ingress settings payload.

List<LoadedCertificate> loadedCertificates()

Get the loadedCertificates property: Collection of loaded certificates.

PersistentDisk persistentDisk()

Get the persistentDisk property: Persistent disk settings.

AppResourceProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the App.

Boolean publicProperty()

Get the publicProperty property: Indicates whether the App exposes public endpoint.

TemporaryDisk temporaryDisk()

Get the temporaryDisk property: Temporary disk settings.

JsonWriter toJson(JsonWriter jsonWriter)
String url()

Get the url property: URL of the App.

void validate()

Validates the instance.

AppVNetAddons vnetAddons()

Get the vnetAddons property: Additional App settings in vnet injection instance.

AppResourceProperties withAddonConfigs(Map<String,Map<String,Object>> addonConfigs)

Set the addonConfigs property: Collection of addons.

AppResourceProperties withCustomPersistentDisks(List<CustomPersistentDiskResource> customPersistentDisks)

Set the customPersistentDisks property: List of custom persistent disks.

AppResourceProperties withEnableEndToEndTls(Boolean enableEndToEndTls)

Set the enableEndToEndTls property: Indicate if end to end TLS is enabled.

AppResourceProperties withHttpsOnly(Boolean httpsOnly)

Set the httpsOnly property: Indicate if only https is allowed.

AppResourceProperties withIngressSettings(IngressSettings ingressSettings)

Set the ingressSettings property: App ingress settings payload.

AppResourceProperties withLoadedCertificates(List<LoadedCertificate> loadedCertificates)

Set the loadedCertificates property: Collection of loaded certificates.

AppResourceProperties withPersistentDisk(PersistentDisk persistentDisk)

Set the persistentDisk property: Persistent disk settings.

AppResourceProperties withPublicProperty(Boolean publicProperty)

Set the publicProperty property: Indicates whether the App exposes public endpoint.

AppResourceProperties withTemporaryDisk(TemporaryDisk temporaryDisk)

Set the temporaryDisk property: Temporary disk settings.

AppResourceProperties withVnetAddons(AppVNetAddons vnetAddons)

Set the vnetAddons property: Additional App settings in vnet injection instance.

Methods inherited from java.lang.Object

Constructor Details

AppResourceProperties

public AppResourceProperties()

Creates an instance of AppResourceProperties class.

Method Details

addonConfigs

public Map> addonConfigs()

Get the addonConfigs property: Collection of addons.

Returns:

the addonConfigs value.

customPersistentDisks

public List customPersistentDisks()

Get the customPersistentDisks property: List of custom persistent disks.

Returns:

the customPersistentDisks value.

enableEndToEndTls

public Boolean enableEndToEndTls()

Get the enableEndToEndTls property: Indicate if end to end TLS is enabled.

Returns:

the enableEndToEndTls value.

fqdn

public String fqdn()

Get the fqdn property: Fully qualified dns Name.

Returns:

the fqdn value.

fromJson

public static AppResourceProperties fromJson(JsonReader jsonReader)

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.

httpsOnly

public Boolean httpsOnly()

Get the httpsOnly property: Indicate if only https is allowed.

Returns:

the httpsOnly value.

ingressSettings

public IngressSettings ingressSettings()

Get the ingressSettings property: App ingress settings payload.

Returns:

the ingressSettings value.

loadedCertificates

public List loadedCertificates()

Get the loadedCertificates property: Collection of loaded certificates.

Returns:

the loadedCertificates value.

persistentDisk

public PersistentDisk persistentDisk()

Get the persistentDisk property: Persistent disk settings.

Returns:

the persistentDisk value.

provisioningState

public AppResourceProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the App.

Returns:

the provisioningState value.

publicProperty

public Boolean publicProperty()

Get the publicProperty property: Indicates whether the App exposes public endpoint.

Returns:

the publicProperty value.

temporaryDisk

public TemporaryDisk temporaryDisk()

Get the temporaryDisk property: Temporary disk settings.

Returns:

the temporaryDisk value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

url

public String url()

Get the url property: URL of the App.

Returns:

the url value.

validate

public void validate()

Validates the instance.

vnetAddons

public AppVNetAddons vnetAddons()

Get the vnetAddons property: Additional App settings in vnet injection instance.

Returns:

the vnetAddons value.

withAddonConfigs

public AppResourceProperties withAddonConfigs(Map> addonConfigs)

Set the addonConfigs property: Collection of addons.

Parameters:

addonConfigs - the addonConfigs value to set.

Returns:

the AppResourceProperties object itself.

withCustomPersistentDisks

public AppResourceProperties withCustomPersistentDisks(List customPersistentDisks)

Set the customPersistentDisks property: List of custom persistent disks.

Parameters:

customPersistentDisks - the customPersistentDisks value to set.

Returns:

the AppResourceProperties object itself.

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.

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.

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.

withLoadedCertificates

public AppResourceProperties withLoadedCertificates(List loadedCertificates)

Set the loadedCertificates property: Collection of loaded certificates.

Parameters:

loadedCertificates - the loadedCertificates value to set.

Returns:

the AppResourceProperties object itself.

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.

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.

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.

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.

Applies to