class Azure::ServiceFabric::V6_4_0_36::Models::Setting

Describes a setting for the container. The setting file path can be fetched from environment variable “Fabric_SettingPath”. The path for Windows container is “C:\secrets”. The path for Linux container is “/var/secrets”.

Attributes

name[RW]

@return [String] The name of the setting.

value[RW]

@return [String] The value of the setting.

Public Class Methods

mapper() click to toggle source

Mapper for Setting class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/6.4.0.36/generated/azure_service_fabric/models/setting.rb, line 29
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Setting',
    type: {
      name: 'Composite',
      class_name: 'Setting',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        value: {
          client_side_validation: true,
          required: false,
          serialized_name: 'value',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end