class Azure::ServiceFabric::V7_0_0_42::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.
type[RW]
@return [SettingType] The type of the setting being given in value. Possible values include: 'ClearText', 'KeyVaultReference', 'SecretValueReference'. Default value: 'ClearText' .
value[RW]
@return [String] The value of the setting, will be processed based on the type provided.
Private Class Methods
mapper()
click to toggle source
Mapper for Setting
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/7.0.0.42/generated/azure_service_fabric/models/setting.rb, line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Setting', type: { name: 'Composite', class_name: 'Setting', model_properties: { type: { client_side_validation: true, required: false, serialized_name: 'type', default_value: 'ClearText', type: { name: 'String' } }, 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