# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ARM::Web module Models # # Web Job Information. # class FunctionEnvelope < ProxyOnlyResource include MsRestAzure # @return [String] Function name. attr_accessor :function_envelope_name # @return [String] Function App ID. attr_accessor :function_app_id # @return [String] Script root path URI. attr_accessor :script_root_path_href # @return [String] Script URI. attr_accessor :script_href # @return [String] Config URI. attr_accessor :config_href # @return [String] Secrets file URI. attr_accessor :secrets_file_href # @return [String] Function URI. attr_accessor :href # @return Config information. attr_accessor :config # @return [Hash{String => String}] File list. attr_accessor :files # @return [String] Test data used when testing via the Azure Portal. attr_accessor :test_data # # Mapper for FunctionEnvelope class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'FunctionEnvelope', type: { name: 'Composite', class_name: 'FunctionEnvelope', model_properties: { id: { required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, kind: { required: false, serialized_name: 'kind', type: { name: 'String' } }, type: { required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, function_envelope_name: { required: false, read_only: true, serialized_name: 'properties.name', type: { name: 'String' } }, function_app_id: { required: false, read_only: true, serialized_name: 'properties.functionAppId', type: { name: 'String' } }, script_root_path_href: { required: false, serialized_name: 'properties.scriptRootPathHref', type: { name: 'String' } }, script_href: { required: false, serialized_name: 'properties.scriptHref', type: { name: 'String' } }, config_href: { required: false, serialized_name: 'properties.configHref', type: { name: 'String' } }, secrets_file_href: { required: false, serialized_name: 'properties.secretsFileHref', type: { name: 'String' } }, href: { required: false, serialized_name: 'properties.href', type: { name: 'String' } }, config: { required: false, serialized_name: 'properties.config', type: { name: 'Object' } }, files: { required: false, serialized_name: 'properties.files', type: { name: 'Dictionary', value: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, test_data: { required: false, serialized_name: 'properties.testData', type: { name: 'String' } } } } } end end end end