Class TriggeredWebJobProperties
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.TriggeredWebJobProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<TriggeredWebJobProperties>
public final class TriggeredWebJobProperties
extends Object
implements com.azure.json.JsonSerializable<TriggeredWebJobProperties>
TriggeredWebJob resource specific properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of TriggeredWebJobProperties class. -
Method Summary
Modifier and TypeMethodDescriptionerror()Get the error property: Error information.Get the extraInfoUrl property: Extra Info URL.static TriggeredWebJobPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of TriggeredWebJobProperties from the JsonReader.Get the historyUrl property: History URL.Get the latestRun property: Latest job run information.Get the publicNetworkAccess property: Property to allow or block all public traffic.Get the runCommand property: Run command.Get the schedulerLogsUrl property: Scheduler Logs URL.settings()Get the settings property: Job settings.Get the storageAccountRequired property: Checks if Customer provided storage account is required.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) url()Get the url property: Job URL.usingSdk()Get the usingSdk property: Using SDK?.voidvalidate()Validates the instance.Get the webJobType property: Job type.Set the error property: Error information.withExtraInfoUrl(String extraInfoUrl) Set the extraInfoUrl property: Extra Info URL.withHistoryUrl(String historyUrl) Set the historyUrl property: History URL.withLatestRun(TriggeredJobRun latestRun) Set the latestRun property: Latest job run information.withPublicNetworkAccess(String publicNetworkAccess) Set the publicNetworkAccess property: Property to allow or block all public traffic.withRunCommand(String runCommand) Set the runCommand property: Run command.withSchedulerLogsUrl(String schedulerLogsUrl) Set the schedulerLogsUrl property: Scheduler Logs URL.withSettings(Map<String, Object> settings) Set the settings property: Job settings.withStorageAccountRequired(Boolean storageAccountRequired) Set the storageAccountRequired property: Checks if Customer provided storage account is required.Set the url property: Job URL.withUsingSdk(Boolean usingSdk) Set the usingSdk property: Using SDK?.withWebJobType(WebJobType webJobType) Set the webJobType property: Job type.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
TriggeredWebJobProperties
public TriggeredWebJobProperties()Creates an instance of TriggeredWebJobProperties class.
-
-
Method Details
-
latestRun
Get the latestRun property: Latest job run information.- Returns:
- the latestRun value.
-
withLatestRun
Set the latestRun property: Latest job run information.- Parameters:
latestRun- the latestRun value to set.- Returns:
- the TriggeredWebJobProperties object itself.
-
historyUrl
Get the historyUrl property: History URL.- Returns:
- the historyUrl value.
-
withHistoryUrl
Set the historyUrl property: History URL.- Parameters:
historyUrl- the historyUrl value to set.- Returns:
- the TriggeredWebJobProperties object itself.
-
schedulerLogsUrl
Get the schedulerLogsUrl property: Scheduler Logs URL.- Returns:
- the schedulerLogsUrl value.
-
withSchedulerLogsUrl
Set the schedulerLogsUrl property: Scheduler Logs URL.- Parameters:
schedulerLogsUrl- the schedulerLogsUrl value to set.- Returns:
- the TriggeredWebJobProperties object itself.
-
runCommand
Get the runCommand property: Run command.- Returns:
- the runCommand value.
-
withRunCommand
Set the runCommand property: Run command.- Parameters:
runCommand- the runCommand value to set.- Returns:
- the TriggeredWebJobProperties object itself.
-
url
Get the url property: Job URL.- Returns:
- the url value.
-
withUrl
Set the url property: Job URL.- Parameters:
url- the url value to set.- Returns:
- the TriggeredWebJobProperties object itself.
-
extraInfoUrl
Get the extraInfoUrl property: Extra Info URL.- Returns:
- the extraInfoUrl value.
-
withExtraInfoUrl
Set the extraInfoUrl property: Extra Info URL.- Parameters:
extraInfoUrl- the extraInfoUrl value to set.- Returns:
- the TriggeredWebJobProperties object itself.
-
webJobType
Get the webJobType property: Job type.- Returns:
- the webJobType value.
-
withWebJobType
Set the webJobType property: Job type.- Parameters:
webJobType- the webJobType value to set.- Returns:
- the TriggeredWebJobProperties object itself.
-
error
Get the error property: Error information.- Returns:
- the error value.
-
withError
Set the error property: Error information.- Parameters:
error- the error value to set.- Returns:
- the TriggeredWebJobProperties object itself.
-
usingSdk
Get the usingSdk property: Using SDK?.- Returns:
- the usingSdk value.
-
withUsingSdk
Set the usingSdk property: Using SDK?.- Parameters:
usingSdk- the usingSdk value to set.- Returns:
- the TriggeredWebJobProperties object itself.
-
publicNetworkAccess
Get the publicNetworkAccess property: Property to allow or block all public traffic. Allowed Values: 'Enabled', 'Disabled' or an empty string.- Returns:
- the publicNetworkAccess value.
-
withPublicNetworkAccess
Set the publicNetworkAccess property: Property to allow or block all public traffic. Allowed Values: 'Enabled', 'Disabled' or an empty string.- Parameters:
publicNetworkAccess- the publicNetworkAccess value to set.- Returns:
- the TriggeredWebJobProperties object itself.
-
storageAccountRequired
Get the storageAccountRequired property: Checks if Customer provided storage account is required.- Returns:
- the storageAccountRequired value.
-
withStorageAccountRequired
Set the storageAccountRequired property: Checks if Customer provided storage account is required.- Parameters:
storageAccountRequired- the storageAccountRequired value to set.- Returns:
- the TriggeredWebJobProperties object itself.
-
settings
Get the settings property: Job settings.- Returns:
- the settings value.
-
withSettings
Set the settings property: Job settings.- Parameters:
settings- the settings value to set.- Returns:
- the TriggeredWebJobProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<TriggeredWebJobProperties>- Throws:
IOException
-
fromJson
public static TriggeredWebJobProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of TriggeredWebJobProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of TriggeredWebJobProperties 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 TriggeredWebJobProperties.
-