Class FunctionEnvelopeInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.fluent.models.FunctionEnvelopeInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
Function information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconfig()Get the config property: Config information.Get the configHref property: Config URI.files()Get the files property: File list.static FunctionEnvelopeInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of FunctionEnvelopeInner from the JsonReader.Get the functionAppId property: Function App ID.href()Get the href property: Function URI.id()Get the id property: Fully qualified resource Id for the resource.Get the invokeUrlTemplate property: The invocation URL.Get the isDisabled property: Gets or sets a value indicating whether the function is disabled.language()Get the language property: The function language.name()Get the name property: The name of the resource.Get the scriptHref property: Script URI.Get the scriptRootPathHref property: Script root path URI.Get the secretsFileHref property: Secrets file URI.testData()Get the testData property: Test data used when testing via the Azure Portal.Get the testDataHref property: Test data URI.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the resource.voidvalidate()Validates the instance.withConfig(Object config) Set the config property: Config information.withConfigHref(String configHref) Set the configHref property: Config URI.Set the files property: File list.withFunctionAppId(String functionAppId) Set the functionAppId property: Function App ID.Set the href property: Function URI.withInvokeUrlTemplate(String invokeUrlTemplate) Set the invokeUrlTemplate property: The invocation URL.withIsDisabled(Boolean isDisabled) Set the isDisabled property: Gets or sets a value indicating whether the function is disabled.Set the kind property: Kind of resource.withLanguage(String language) Set the language property: The function language.withScriptHref(String scriptHref) Set the scriptHref property: Script URI.withScriptRootPathHref(String scriptRootPathHref) Set the scriptRootPathHref property: Script root path URI.withSecretsFileHref(String secretsFileHref) Set the secretsFileHref property: Secrets file URI.withTestData(String testData) Set the testData property: Test data used when testing via the Azure Portal.withTestDataHref(String testDataHref) Set the testDataHref property: Test data URI.Methods inherited from class ProxyOnlyResource
kindMethods inherited from class 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
-
FunctionEnvelopeInner
public FunctionEnvelopeInner()Creates an instance of FunctionEnvelopeInner 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.
-
functionAppId
Get the functionAppId property: Function App ID.- Returns:
- the functionAppId value.
-
withFunctionAppId
Set the functionAppId property: Function App ID.- Parameters:
functionAppId- the functionAppId value to set.- Returns:
- the FunctionEnvelopeInner object itself.
-
scriptRootPathHref
Get the scriptRootPathHref property: Script root path URI.- Returns:
- the scriptRootPathHref value.
-
withScriptRootPathHref
Set the scriptRootPathHref property: Script root path URI.- Parameters:
scriptRootPathHref- the scriptRootPathHref value to set.- Returns:
- the FunctionEnvelopeInner object itself.
-
scriptHref
-
withScriptHref
Set the scriptHref property: Script URI.- Parameters:
scriptHref- the scriptHref value to set.- Returns:
- the FunctionEnvelopeInner object itself.
-
configHref
-
withConfigHref
Set the configHref property: Config URI.- Parameters:
configHref- the configHref value to set.- Returns:
- the FunctionEnvelopeInner object itself.
-
testDataHref
Get the testDataHref property: Test data URI.- Returns:
- the testDataHref value.
-
withTestDataHref
Set the testDataHref property: Test data URI.- Parameters:
testDataHref- the testDataHref value to set.- Returns:
- the FunctionEnvelopeInner object itself.
-
secretsFileHref
Get the secretsFileHref property: Secrets file URI.- Returns:
- the secretsFileHref value.
-
withSecretsFileHref
Set the secretsFileHref property: Secrets file URI.- Parameters:
secretsFileHref- the secretsFileHref value to set.- Returns:
- the FunctionEnvelopeInner object itself.
-
href
-
withHref
Set the href property: Function URI.- Parameters:
href- the href value to set.- Returns:
- the FunctionEnvelopeInner object itself.
-
config
-
withConfig
Set the config property: Config information.- Parameters:
config- the config value to set.- Returns:
- the FunctionEnvelopeInner object itself.
-
files
-
withFiles
Set the files property: File list.- Parameters:
files- the files value to set.- Returns:
- the FunctionEnvelopeInner object itself.
-
testData
Get the testData property: Test data used when testing via the Azure Portal.- Returns:
- the testData value.
-
withTestData
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
Get the invokeUrlTemplate property: The invocation URL.- Returns:
- the invokeUrlTemplate value.
-
withInvokeUrlTemplate
Set the invokeUrlTemplate property: The invocation URL.- Parameters:
invokeUrlTemplate- the invokeUrlTemplate value to set.- Returns:
- the FunctionEnvelopeInner object itself.
-
language
Get the language property: The function language.- Returns:
- the language value.
-
withLanguage
Set the language property: The function language.- Parameters:
language- the language value to set.- Returns:
- the FunctionEnvelopeInner object itself.
-
isDisabled
Get the isDisabled property: Gets or sets a value indicating whether the function is disabled.- Returns:
- the isDisabled value.
-
withIsDisabled
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.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classProxyOnlyResource- Throws:
IOException
-
fromJson
public static FunctionEnvelopeInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the FunctionEnvelopeInner.
-