Class FunctionEnvelopeInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.appservice.models.ProxyOnlyResource
-
- com.azure.resourcemanager.appservice.fluent.models.FunctionEnvelopeInner
-
public final class FunctionEnvelopeInner extends ProxyOnlyResource
Function information.
-
-
Constructor Summary
Constructors Constructor Description FunctionEnvelopeInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectconfig()Get the config property: Config information.StringconfigHref()Get the configHref property: Config URI.Map<String,String>files()Get the files property: File list.StringfunctionAppId()Get the functionAppId property: Function App ID.Stringhref()Get the href property: Function URI.StringinvokeUrlTemplate()Get the invokeUrlTemplate property: The invocation URL.BooleanisDisabled()Get the isDisabled property: Gets or sets a value indicating whether the function is disabled.Stringlanguage()Get the language property: The function language.StringscriptHref()Get the scriptHref property: Script URI.StringscriptRootPathHref()Get the scriptRootPathHref property: Script root path URI.StringsecretsFileHref()Get the secretsFileHref property: Secrets file URI.StringtestData()Get the testData property: Test data used when testing via the Azure Portal.StringtestDataHref()Get the testDataHref property: Test data URI.voidvalidate()Validates the instance.FunctionEnvelopeInnerwithConfig(Object config)Set the config property: Config information.FunctionEnvelopeInnerwithConfigHref(String configHref)Set the configHref property: Config URI.FunctionEnvelopeInnerwithFiles(Map<String,String> files)Set the files property: File list.FunctionEnvelopeInnerwithFunctionAppId(String functionAppId)Set the functionAppId property: Function App ID.FunctionEnvelopeInnerwithHref(String href)Set the href property: Function URI.FunctionEnvelopeInnerwithInvokeUrlTemplate(String invokeUrlTemplate)Set the invokeUrlTemplate property: The invocation URL.FunctionEnvelopeInnerwithIsDisabled(Boolean isDisabled)Set the isDisabled property: Gets or sets a value indicating whether the function is disabled.FunctionEnvelopeInnerwithKind(String kind)Set the kind property: Kind of resource.FunctionEnvelopeInnerwithLanguage(String language)Set the language property: The function language.FunctionEnvelopeInnerwithScriptHref(String scriptHref)Set the scriptHref property: Script URI.FunctionEnvelopeInnerwithScriptRootPathHref(String scriptRootPathHref)Set the scriptRootPathHref property: Script root path URI.FunctionEnvelopeInnerwithSecretsFileHref(String secretsFileHref)Set the secretsFileHref property: Secrets file URI.FunctionEnvelopeInnerwithTestData(String testData)Set the testData property: Test data used when testing via the Azure Portal.FunctionEnvelopeInnerwithTestDataHref(String testDataHref)Set the testDataHref property: Test data URI.-
Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
-
-
-
-
Method Detail
-
withKind
public FunctionEnvelopeInner withKind(String kind)
Set the kind property: Kind of resource.- Overrides:
withKindin classProxyOnlyResource- Parameters:
kind- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
functionAppId
public String functionAppId()
Get the functionAppId property: Function App ID.- Returns:
- the functionAppId value.
-
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.
-
scriptRootPathHref
public String scriptRootPathHref()
Get the scriptRootPathHref property: Script root path URI.- Returns:
- the scriptRootPathHref value.
-
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.
-
scriptHref
public String scriptHref()
Get the scriptHref property: Script URI.- Returns:
- the scriptHref value.
-
withScriptHref
public FunctionEnvelopeInner withScriptHref(String scriptHref)
Set the scriptHref property: Script URI.- Parameters:
scriptHref- the scriptHref value to set.- Returns:
- the FunctionEnvelopeInner object itself.
-
configHref
public String configHref()
Get the configHref property: Config URI.- Returns:
- the configHref value.
-
withConfigHref
public FunctionEnvelopeInner withConfigHref(String configHref)
Set the configHref property: Config URI.- Parameters:
configHref- the configHref value to set.- Returns:
- the FunctionEnvelopeInner object itself.
-
testDataHref
public String testDataHref()
Get the testDataHref property: Test data URI.- Returns:
- the testDataHref value.
-
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.
-
secretsFileHref
public String secretsFileHref()
Get the secretsFileHref property: Secrets file URI.- Returns:
- the secretsFileHref value.
-
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.
-
href
public String href()
Get the href property: Function URI.- Returns:
- the href value.
-
withHref
public FunctionEnvelopeInner withHref(String href)
Set the href property: Function URI.- Parameters:
href- the href value to set.- Returns:
- the FunctionEnvelopeInner object itself.
-
config
public Object config()
Get the config property: Config information.- Returns:
- the config value.
-
withConfig
public FunctionEnvelopeInner withConfig(Object config)
Set the config property: Config information.- Parameters:
config- the config value to set.- Returns:
- the FunctionEnvelopeInner object itself.
-
files
public Map<String,String> files()
Get the files property: File list.- Returns:
- the files value.
-
withFiles
public FunctionEnvelopeInner withFiles(Map<String,String> files)
Set the files property: File list.- Parameters:
files- the files value to set.- Returns:
- the FunctionEnvelopeInner object itself.
-
testData
public String testData()
Get the testData property: Test data used when testing via the Azure Portal.- Returns:
- the testData value.
-
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.
-
invokeUrlTemplate
public String invokeUrlTemplate()
Get the invokeUrlTemplate property: The invocation URL.- Returns:
- the invokeUrlTemplate value.
-
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.
-
language
public String language()
Get the language property: The function language.- Returns:
- the language value.
-
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.
-
isDisabled
public Boolean isDisabled()
Get the isDisabled property: Gets or sets a value indicating whether the function is disabled.- Returns:
- the isDisabled value.
-
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.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-