FunctionEnvelopeInner Class

public final class FunctionEnvelopeInner
extends ProxyOnlyResource

Function information.

Constructor Summary

Constructor Description
FunctionEnvelopeInner()

Creates an instance of FunctionEnvelopeInner class.

Method Summary

Modifier and Type Method and Description
Object config()

Get the config property: Config information.

String configHref()

Get the configHref property: Config URI.

Map<String,String> files()

Get the files property: File list.

static FunctionEnvelopeInner fromJson(JsonReader jsonReader)

Reads an instance of FunctionEnvelopeInner from the JsonReader.

String functionAppId()

Get the functionAppId property: Function App ID.

String href()

Get the href property: Function URI.

String id()

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

String invokeUrlTemplate()

Get the invokeUrlTemplate property: The invocation URL.

Boolean isDisabled()

Get the isDisabled property: Gets or sets a value indicating whether the function is disabled.

String language()

Get the language property: The function language.

String name()

Get the name property: The name of the resource.

String scriptHref()

Get the scriptHref property: Script URI.

String scriptRootPathHref()

Get the scriptRootPathHref property: Script root path URI.

String secretsFileHref()

Get the secretsFileHref property: Secrets file URI.

String testData()

Get the testData property: Test data used when testing via the Azure Portal.

String testDataHref()

Get the testDataHref property: Test data URI.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

FunctionEnvelopeInner withConfig(Object config)

Set the config property: Config information.

FunctionEnvelopeInner withConfigHref(String configHref)

Set the configHref property: Config URI.

FunctionEnvelopeInner withFiles(Map<String,String> files)

Set the files property: File list.

FunctionEnvelopeInner withFunctionAppId(String functionAppId)

Set the functionAppId property: Function App ID.

FunctionEnvelopeInner withHref(String href)

Set the href property: Function URI.

FunctionEnvelopeInner withInvokeUrlTemplate(String invokeUrlTemplate)

Set the invokeUrlTemplate property: The invocation URL.

FunctionEnvelopeInner withIsDisabled(Boolean isDisabled)

Set the isDisabled property: Gets or sets a value indicating whether the function is disabled.

FunctionEnvelopeInner withKind(String kind)

Set the kind property: Kind of resource.

FunctionEnvelopeInner withLanguage(String language)

Set the language property: The function language.

FunctionEnvelopeInner withScriptHref(String scriptHref)

Set the scriptHref property: Script URI.

FunctionEnvelopeInner withScriptRootPathHref(String scriptRootPathHref)

Set the scriptRootPathHref property: Script root path URI.

FunctionEnvelopeInner withSecretsFileHref(String secretsFileHref)

Set the secretsFileHref property: Secrets file URI.

FunctionEnvelopeInner withTestData(String testData)

Set the testData property: Test data used when testing via the Azure Portal.

FunctionEnvelopeInner withTestDataHref(String testDataHref)

Set the testDataHref property: Test data URI.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

FunctionEnvelopeInner

public FunctionEnvelopeInner()

Creates an instance of FunctionEnvelopeInner class.

Method Details

config

public Object config()

Get the config property: Config information.

Returns:

the config value.

configHref

public String configHref()

Get the configHref property: Config URI.

Returns:

the configHref value.

files

public Map files()

Get the files property: File list.

Returns:

the files value.

fromJson

public static FunctionEnvelopeInner fromJson(JsonReader jsonReader)

Reads an instance of FunctionEnvelopeInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of FunctionEnvelopeInner 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.

functionAppId

public String functionAppId()

Get the functionAppId property: Function App ID.

Returns:

the functionAppId value.

href

public String href()

Get the href property: Function URI.

Returns:

the href value.

id

public String id()

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

Overrides:

FunctionEnvelopeInner.id()

Returns:

the id value.

invokeUrlTemplate

public String invokeUrlTemplate()

Get the invokeUrlTemplate property: The invocation URL.

Returns:

the invokeUrlTemplate value.

isDisabled

public Boolean isDisabled()

Get the isDisabled property: Gets or sets a value indicating whether the function is disabled.

Returns:

the isDisabled value.

language

public String language()

Get the language property: The function language.

Returns:

the language value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

FunctionEnvelopeInner.name()

Returns:

the name value.

scriptHref

public String scriptHref()

Get the scriptHref property: Script URI.

Returns:

the scriptHref value.

scriptRootPathHref

public String scriptRootPathHref()

Get the scriptRootPathHref property: Script root path URI.

Returns:

the scriptRootPathHref value.

secretsFileHref

public String secretsFileHref()

Get the secretsFileHref property: Secrets file URI.

Returns:

the secretsFileHref value.

testData

public String testData()

Get the testData property: Test data used when testing via the Azure Portal.

Returns:

the testData value.

testDataHref

public String testDataHref()

Get the testDataHref property: Test data URI.

Returns:

the testDataHref value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

FunctionEnvelopeInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

FunctionEnvelopeInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

FunctionEnvelopeInner.validate()

withConfig

public FunctionEnvelopeInner withConfig(Object config)

Set the config property: Config information.

Parameters:

config - the config value to set.

Returns:

the FunctionEnvelopeInner object itself.

withConfigHref

public FunctionEnvelopeInner withConfigHref(String configHref)

Set the configHref property: Config URI.

Parameters:

configHref - the configHref value to set.

Returns:

the FunctionEnvelopeInner object itself.

withFiles

public FunctionEnvelopeInner withFiles(Map files)

Set the files property: File list.

Parameters:

files - the files value to set.

Returns:

the FunctionEnvelopeInner object itself.

withFunctionAppId

public FunctionEnvelopeInner withFunctionAppId(String functionAppId)

Set the functionAppId property: Function App ID.

Parameters:

functionAppId - the functionAppId value to set.

Returns:

the FunctionEnvelopeInner object itself.

withHref

public FunctionEnvelopeInner withHref(String href)

Set the href property: Function URI.

Parameters:

href - the href value to set.

Returns:

the FunctionEnvelopeInner object itself.

withInvokeUrlTemplate

public FunctionEnvelopeInner withInvokeUrlTemplate(String invokeUrlTemplate)

Set the invokeUrlTemplate property: The invocation URL.

Parameters:

invokeUrlTemplate - the invokeUrlTemplate value to set.

Returns:

the FunctionEnvelopeInner object itself.

withIsDisabled

public FunctionEnvelopeInner withIsDisabled(Boolean isDisabled)

Set the isDisabled property: Gets or sets a value indicating whether the function is disabled.

Parameters:

isDisabled - the isDisabled value to set.

Returns:

the FunctionEnvelopeInner object itself.

withKind

public FunctionEnvelopeInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

FunctionEnvelopeInner.withKind(String kind)

Parameters:

kind

withLanguage

public FunctionEnvelopeInner withLanguage(String language)

Set the language property: The function language.

Parameters:

language - the language value to set.

Returns:

the FunctionEnvelopeInner object itself.

withScriptHref

public FunctionEnvelopeInner withScriptHref(String scriptHref)

Set the scriptHref property: Script URI.

Parameters:

scriptHref - the scriptHref value to set.

Returns:

the FunctionEnvelopeInner object itself.

withScriptRootPathHref

public FunctionEnvelopeInner withScriptRootPathHref(String scriptRootPathHref)

Set the scriptRootPathHref property: Script root path URI.

Parameters:

scriptRootPathHref - the scriptRootPathHref value to set.

Returns:

the FunctionEnvelopeInner object itself.

withSecretsFileHref

public FunctionEnvelopeInner withSecretsFileHref(String secretsFileHref)

Set the secretsFileHref property: Secrets file URI.

Parameters:

secretsFileHref - the secretsFileHref value to set.

Returns:

the FunctionEnvelopeInner object itself.

withTestData

public FunctionEnvelopeInner withTestData(String testData)

Set the testData property: Test data used when testing via the Azure Portal.

Parameters:

testData - the testData value to set.

Returns:

the FunctionEnvelopeInner object itself.

withTestDataHref

public FunctionEnvelopeInner withTestDataHref(String testDataHref)

Set the testDataHref property: Test data URI.

Parameters:

testDataHref - the testDataHref value to set.

Returns:

the FunctionEnvelopeInner object itself.

Applies to