Sha256: 8b90e121dbaa9a079a43627202e186376d99dee9e8d2a3ab7692b9ab84a47f5b

Contents?: true

Size: 1.36 KB

Versions: 2

Compression:

Stored size: 1.36 KB

Contents

# 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::Web::Mgmt::V2020_09_01
  module Models
    #
    # Function secrets.
    #
    class FunctionSecrets

      include MsRestAzure

      # @return [String] Secret key.
      attr_accessor :key

      # @return [String] Trigger URL.
      attr_accessor :trigger_url


      #
      # Mapper for FunctionSecrets class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'FunctionSecrets',
          type: {
            name: 'Composite',
            class_name: 'FunctionSecrets',
            model_properties: {
              key: {
                client_side_validation: true,
                required: false,
                serialized_name: 'key',
                type: {
                  name: 'String'
                }
              },
              trigger_url: {
                client_side_validation: true,
                required: false,
                serialized_name: 'trigger_url',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_web-0.18.1 lib/2020-09-01/generated/azure_mgmt_web/models/function_secrets.rb
azure_mgmt_web-0.18.0 lib/2020-09-01/generated/azure_mgmt_web/models/function_secrets.rb