Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.appservice.implementation; import java.util.Map; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; import com.microsoft.azure.management.appservice.ProxyOnlyResource;
Function information.
/** * Function information. */
@JsonFlatten public class FunctionEnvelopeInner extends ProxyOnlyResource {
Function App ID.
/** * Function App ID. */
@JsonProperty(value = "properties.function_app_id") private String functionAppId;
Script root path URI.
/** * Script root path URI. */
@JsonProperty(value = "properties.script_root_path_href") private String scriptRootPathHref;
Script URI.
/** * Script URI. */
@JsonProperty(value = "properties.script_href") private String scriptHref;
Config URI.
/** * Config URI. */
@JsonProperty(value = "properties.config_href") private String configHref;
Test data URI.
/** * Test data URI. */
@JsonProperty(value = "properties.test_data_href") private String testDataHref;
Secrets file URI.
/** * Secrets file URI. */
@JsonProperty(value = "properties.secrets_file_href") private String secretsFileHref;
Function URI.
/** * Function URI. */
@JsonProperty(value = "properties.href") private String href;
Config information.
/** * Config information. */
@JsonProperty(value = "properties.config") private Object config;
File list.
/** * File list. */
@JsonProperty(value = "properties.files") private Map<String, String> files;
Test data used when testing via the Azure Portal.
/** * Test data used when testing via the Azure Portal. */
@JsonProperty(value = "properties.test_data") private String testData;
The invocation URL.
/** * The invocation URL. */
@JsonProperty(value = "properties.invoke_url_template") private String invokeUrlTemplate;
The function language.
/** * The function language. */
@JsonProperty(value = "properties.language") private String language;
Gets or sets a value indicating whether the function is disabled.
/** * Gets or sets a value indicating whether the function is disabled. */
@JsonProperty(value = "properties.isDisabled") private Boolean isDisabled;
Get function App ID.
Returns:the functionAppId value
/** * Get function App ID. * * @return the functionAppId value */
public String functionAppId() { return this.functionAppId; }
Set function App ID.
Params:
  • functionAppId – the functionAppId value to set
Returns:the FunctionEnvelopeInner object itself.
/** * Set function App ID. * * @param functionAppId the functionAppId value to set * @return the FunctionEnvelopeInner object itself. */
public FunctionEnvelopeInner withFunctionAppId(String functionAppId) { this.functionAppId = functionAppId; return this; }
Get script root path URI.
Returns:the scriptRootPathHref value
/** * Get script root path URI. * * @return the scriptRootPathHref value */
public String scriptRootPathHref() { return this.scriptRootPathHref; }
Set script root path URI.
Params:
  • scriptRootPathHref – the scriptRootPathHref value to set
Returns:the FunctionEnvelopeInner object itself.
/** * Set script root path URI. * * @param scriptRootPathHref the scriptRootPathHref value to set * @return the FunctionEnvelopeInner object itself. */
public FunctionEnvelopeInner withScriptRootPathHref(String scriptRootPathHref) { this.scriptRootPathHref = scriptRootPathHref; return this; }
Get script URI.
Returns:the scriptHref value
/** * Get script URI. * * @return the scriptHref value */
public String scriptHref() { return this.scriptHref; }
Set script URI.
Params:
  • scriptHref – the scriptHref value to set
Returns:the FunctionEnvelopeInner object itself.
/** * Set script URI. * * @param scriptHref the scriptHref value to set * @return the FunctionEnvelopeInner object itself. */
public FunctionEnvelopeInner withScriptHref(String scriptHref) { this.scriptHref = scriptHref; return this; }
Get config URI.
Returns:the configHref value
/** * Get config URI. * * @return the configHref value */
public String configHref() { return this.configHref; }
Set config URI.
Params:
  • configHref – the configHref value to set
Returns:the FunctionEnvelopeInner object itself.
/** * Set config URI. * * @param configHref the configHref value to set * @return the FunctionEnvelopeInner object itself. */
public FunctionEnvelopeInner withConfigHref(String configHref) { this.configHref = configHref; return this; }
Get test data URI.
Returns:the testDataHref value
/** * Get test data URI. * * @return the testDataHref value */
public String testDataHref() { return this.testDataHref; }
Set test data URI.
Params:
  • testDataHref – the testDataHref value to set
Returns:the FunctionEnvelopeInner object itself.
/** * Set test data URI. * * @param testDataHref the testDataHref value to set * @return the FunctionEnvelopeInner object itself. */
public FunctionEnvelopeInner withTestDataHref(String testDataHref) { this.testDataHref = testDataHref; return this; }
Get secrets file URI.
Returns:the secretsFileHref value
/** * Get secrets file URI. * * @return the secretsFileHref value */
public String secretsFileHref() { return this.secretsFileHref; }
Set secrets file URI.
Params:
  • secretsFileHref – the secretsFileHref value to set
Returns:the FunctionEnvelopeInner object itself.
/** * Set secrets file URI. * * @param secretsFileHref the secretsFileHref value to set * @return the FunctionEnvelopeInner object itself. */
public FunctionEnvelopeInner withSecretsFileHref(String secretsFileHref) { this.secretsFileHref = secretsFileHref; return this; }
Get function URI.
Returns:the href value
/** * Get function URI. * * @return the href value */
public String href() { return this.href; }
Set function URI.
Params:
  • href – the href value to set
Returns:the FunctionEnvelopeInner object itself.
/** * Set function URI. * * @param href the href value to set * @return the FunctionEnvelopeInner object itself. */
public FunctionEnvelopeInner withHref(String href) { this.href = href; return this; }
Get config information.
Returns:the config value
/** * Get config information. * * @return the config value */
public Object config() { return this.config; }
Set config information.
Params:
  • config – the config value to set
Returns:the FunctionEnvelopeInner object itself.
/** * Set config information. * * @param config the config value to set * @return the FunctionEnvelopeInner object itself. */
public FunctionEnvelopeInner withConfig(Object config) { this.config = config; return this; }
Get file list.
Returns:the files value
/** * Get file list. * * @return the files value */
public Map<String, String> files() { return this.files; }
Set file list.
Params:
  • files – the files value to set
Returns:the FunctionEnvelopeInner object itself.
/** * Set file list. * * @param files the files value to set * @return the FunctionEnvelopeInner object itself. */
public FunctionEnvelopeInner withFiles(Map<String, String> files) { this.files = files; return this; }
Get test data used when testing via the Azure Portal.
Returns:the testData value
/** * Get test data used when testing via the Azure Portal. * * @return the testData value */
public String testData() { return this.testData; }
Set test data used when testing via the Azure Portal.
Params:
  • testData – the testData value to set
Returns:the FunctionEnvelopeInner object itself.
/** * Set test data used when testing via the Azure Portal. * * @param testData the testData value to set * @return the FunctionEnvelopeInner object itself. */
public FunctionEnvelopeInner withTestData(String testData) { this.testData = testData; return this; }
Get the invocation URL.
Returns:the invokeUrlTemplate value
/** * Get the invocation URL. * * @return the invokeUrlTemplate value */
public String invokeUrlTemplate() { return this.invokeUrlTemplate; }
Set the invocation URL.
Params:
  • invokeUrlTemplate – the invokeUrlTemplate value to set
Returns:the FunctionEnvelopeInner object itself.
/** * Set the invocation URL. * * @param invokeUrlTemplate the invokeUrlTemplate value to set * @return the FunctionEnvelopeInner object itself. */
public FunctionEnvelopeInner withInvokeUrlTemplate(String invokeUrlTemplate) { this.invokeUrlTemplate = invokeUrlTemplate; return this; }
Get the function language.
Returns:the language value
/** * Get the function language. * * @return the language value */
public String language() { return this.language; }
Set the function language.
Params:
  • language – the language value to set
Returns:the FunctionEnvelopeInner object itself.
/** * Set the function language. * * @param language the language value to set * @return the FunctionEnvelopeInner object itself. */
public FunctionEnvelopeInner withLanguage(String language) { this.language = language; return this; }
Get gets or sets a value indicating whether the function is disabled.
Returns:the isDisabled value
/** * Get gets or sets a value indicating whether the function is disabled. * * @return the isDisabled value */
public Boolean isDisabled() { return this.isDisabled; }
Set gets or sets a value indicating whether the function is disabled.
Params:
  • isDisabled – the isDisabled value to set
Returns:the FunctionEnvelopeInner object itself.
/** * Set gets or sets a value indicating whether the function is disabled. * * @param isDisabled the isDisabled value to set * @return the FunctionEnvelopeInner object itself. */
public FunctionEnvelopeInner withIsDisabled(Boolean isDisabled) { this.isDisabled = isDisabled; return this; } }