Class TriggeredWebJobInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.fluent.models.TriggeredWebJobInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
Triggered Web Job Information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionerror()Get the error property: Error information.Get the extraInfoUrl property: Extra Info URL.static TriggeredWebJobInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of TriggeredWebJobInner from the JsonReader.Get the historyUrl property: History URL.id()Get the id property: Fully qualified resource Id for the resource.Get the latestRun property: Latest job run information.name()Get the name property: The name of the resource.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) type()Get the type property: The type of the resource.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.Set the kind property: Kind of resource.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 com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kindMethods 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
-
TriggeredWebJobInner
public TriggeredWebJobInner()Creates an instance of TriggeredWebJobInner class.
-
-
Method Details
-
type
Get the type property: The type of the resource.- Overrides:
typein classProxyOnlyResource- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classProxyOnlyResource- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
idin classProxyOnlyResource- Returns:
- the id value.
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKindin classProxyOnlyResource- Parameters:
kind- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
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 TriggeredWebJobInner 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 TriggeredWebJobInner 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 TriggeredWebJobInner 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 TriggeredWebJobInner 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 TriggeredWebJobInner 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 TriggeredWebJobInner 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 TriggeredWebJobInner 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 TriggeredWebJobInner 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 TriggeredWebJobInner 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 TriggeredWebJobInner 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 TriggeredWebJobInner 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 TriggeredWebJobInner object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classProxyOnlyResource- Throws:
IOException
-
fromJson
public static TriggeredWebJobInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of TriggeredWebJobInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of TriggeredWebJobInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the TriggeredWebJobInner.
-