TriggeredWebJobInner Class

public final class TriggeredWebJobInner
extends ProxyOnlyResource

Triggered Web Job Information.

Constructor Summary

Constructor Description
TriggeredWebJobInner()

Creates an instance of TriggeredWebJobInner class.

Method Summary

Modifier and Type Method and Description
String error()

Get the error property: Error information.

String extraInfoUrl()

Get the extraInfoUrl property: Extra Info URL.

static TriggeredWebJobInner fromJson(JsonReader jsonReader)

Reads an instance of TriggeredWebJobInner from the JsonReader.

String historyUrl()

Get the historyUrl property: History URL.

String id()

Get the id property: Fully qualified resource Id for the resource.

TriggeredJobRun latestRun()

Get the latestRun property: Latest job run information.

String name()

Get the name property: The name of the resource.

String publicNetworkAccess()

Get the publicNetworkAccess property: Property to allow or block all public traffic.

String runCommand()

Get the runCommand property: Run command.

String schedulerLogsUrl()

Get the schedulerLogsUrl property: Scheduler Logs URL.

Map<String,Object> settings()

Get the settings property: Job settings.

Boolean storageAccountRequired()

Get the storageAccountRequired property: Checks if Customer provided storage account is required.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

String url()

Get the url property: Job URL.

Boolean usingSdk()

Get the usingSdk property: Using SDK?.

void validate()

Validates the instance.

WebJobType webJobType()

Get the webJobType property: Job type.

TriggeredWebJobInner withError(String error)

Set the error property: Error information.

TriggeredWebJobInner withExtraInfoUrl(String extraInfoUrl)

Set the extraInfoUrl property: Extra Info URL.

TriggeredWebJobInner withHistoryUrl(String historyUrl)

Set the historyUrl property: History URL.

TriggeredWebJobInner withKind(String kind)

Set the kind property: Kind of resource.

TriggeredWebJobInner withLatestRun(TriggeredJobRun latestRun)

Set the latestRun property: Latest job run information.

TriggeredWebJobInner withPublicNetworkAccess(String publicNetworkAccess)

Set the publicNetworkAccess property: Property to allow or block all public traffic.

TriggeredWebJobInner withRunCommand(String runCommand)

Set the runCommand property: Run command.

TriggeredWebJobInner withSchedulerLogsUrl(String schedulerLogsUrl)

Set the schedulerLogsUrl property: Scheduler Logs URL.

TriggeredWebJobInner withSettings(Map<String,Object> settings)

Set the settings property: Job settings.

TriggeredWebJobInner withStorageAccountRequired(Boolean storageAccountRequired)

Set the storageAccountRequired property: Checks if Customer provided storage account is required.

TriggeredWebJobInner withUrl(String url)

Set the url property: Job URL.

TriggeredWebJobInner withUsingSdk(Boolean usingSdk)

Set the usingSdk property: Using SDK?.

TriggeredWebJobInner withWebJobType(WebJobType webJobType)

Set the webJobType property: Job type.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

TriggeredWebJobInner

public TriggeredWebJobInner()

Creates an instance of TriggeredWebJobInner class.

Method Details

error

public String error()

Get the error property: Error information.

Returns:

the error value.

extraInfoUrl

public String extraInfoUrl()

Get the extraInfoUrl property: Extra Info URL.

Returns:

the extraInfoUrl value.

fromJson

public static TriggeredWebJobInner fromJson(JsonReader jsonReader)

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:

IOException

- If the deserialized JSON object was missing any required properties.

historyUrl

public String historyUrl()

Get the historyUrl property: History URL.

Returns:

the historyUrl value.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

TriggeredWebJobInner.id()

Returns:

the id value.

latestRun

public TriggeredJobRun latestRun()

Get the latestRun property: Latest job run information.

Returns:

the latestRun value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

TriggeredWebJobInner.name()

Returns:

the name value.

publicNetworkAccess

public String 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.

runCommand

public String runCommand()

Get the runCommand property: Run command.

Returns:

the runCommand value.

schedulerLogsUrl

public String schedulerLogsUrl()

Get the schedulerLogsUrl property: Scheduler Logs URL.

Returns:

the schedulerLogsUrl value.

settings

public Map settings()

Get the settings property: Job settings.

Returns:

the settings value.

storageAccountRequired

public Boolean storageAccountRequired()

Get the storageAccountRequired property: Checks if Customer provided storage account is required.

Returns:

the storageAccountRequired value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

TriggeredWebJobInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

TriggeredWebJobInner.type()

Returns:

the type value.

url

public String url()

Get the url property: Job URL.

Returns:

the url value.

usingSdk

public Boolean usingSdk()

Get the usingSdk property: Using SDK?.

Returns:

the usingSdk value.

validate

public void validate()

Validates the instance.

Overrides:

TriggeredWebJobInner.validate()

webJobType

public WebJobType webJobType()

Get the webJobType property: Job type.

Returns:

the webJobType value.

withError

public TriggeredWebJobInner withError(String error)

Set the error property: Error information.

Parameters:

error - the error value to set.

Returns:

the TriggeredWebJobInner object itself.

withExtraInfoUrl

public TriggeredWebJobInner withExtraInfoUrl(String extraInfoUrl)

Set the extraInfoUrl property: Extra Info URL.

Parameters:

extraInfoUrl - the extraInfoUrl value to set.

Returns:

the TriggeredWebJobInner object itself.

withHistoryUrl

public TriggeredWebJobInner withHistoryUrl(String historyUrl)

Set the historyUrl property: History URL.

Parameters:

historyUrl - the historyUrl value to set.

Returns:

the TriggeredWebJobInner object itself.

withKind

public TriggeredWebJobInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

TriggeredWebJobInner.withKind(String kind)

Parameters:

kind

withLatestRun

public TriggeredWebJobInner withLatestRun(TriggeredJobRun latestRun)

Set the latestRun property: Latest job run information.

Parameters:

latestRun - the latestRun value to set.

Returns:

the TriggeredWebJobInner object itself.

withPublicNetworkAccess

public TriggeredWebJobInner withPublicNetworkAccess(String publicNetworkAccess)

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.

withRunCommand

public TriggeredWebJobInner withRunCommand(String runCommand)

Set the runCommand property: Run command.

Parameters:

runCommand - the runCommand value to set.

Returns:

the TriggeredWebJobInner object itself.

withSchedulerLogsUrl

public TriggeredWebJobInner withSchedulerLogsUrl(String schedulerLogsUrl)

Set the schedulerLogsUrl property: Scheduler Logs URL.

Parameters:

schedulerLogsUrl - the schedulerLogsUrl value to set.

Returns:

the TriggeredWebJobInner object itself.

withSettings

public TriggeredWebJobInner withSettings(Map settings)

Set the settings property: Job settings.

Parameters:

settings - the settings value to set.

Returns:

the TriggeredWebJobInner object itself.

withStorageAccountRequired

public TriggeredWebJobInner withStorageAccountRequired(Boolean storageAccountRequired)

Set the storageAccountRequired property: Checks if Customer provided storage account is required.

Parameters:

storageAccountRequired - the storageAccountRequired value to set.

Returns:

the TriggeredWebJobInner object itself.

withUrl

public TriggeredWebJobInner withUrl(String url)

Set the url property: Job URL.

Parameters:

url - the url value to set.

Returns:

the TriggeredWebJobInner object itself.

withUsingSdk

public TriggeredWebJobInner withUsingSdk(Boolean usingSdk)

Set the usingSdk property: Using SDK?.

Parameters:

usingSdk - the usingSdk value to set.

Returns:

the TriggeredWebJobInner object itself.

withWebJobType

public TriggeredWebJobInner withWebJobType(WebJobType webJobType)

Set the webJobType property: Job type.

Parameters:

webJobType - the webJobType value to set.

Returns:

the TriggeredWebJobInner object itself.

Applies to