Class: Azure::Signalr::Mgmt::V2018_10_01::Models::SignalRFeature
- Inherits:
-
Object
- Object
- Azure::Signalr::Mgmt::V2018_10_01::Models::SignalRFeature
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rfeature.rb
Overview
Feature of a SignalR resource, which controls the SignalR runtime behavior.
Instance Attribute Summary collapse
-
#flag ⇒ FeatureFlags
SignalR service.
-
#properties ⇒ Hash{String => String}
feature.
-
#value ⇒ String
document docs.microsoft.com/azure/azure-signalr/ for allowed values.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SignalRFeature class as Ruby Hash.
Instance Attribute Details
#flag ⇒ FeatureFlags
SignalR service.
-
ServiceMode: Flag for backend server for SignalR service. Values
allowed: “Default”: have your own backend server; “Serverless”: your application doesn’t have a backend server; “Classic”: for backward compatibility. Support both Default and Serverless mode but not recommended; “PredefinedOnly”: for future use.
-
EnableConnectivityLogs: “true”/“false”, to enable/disable the
connectivity log category respectively. Possible values include: ‘ServiceMode’, ‘EnableConnectivityLogs’
26 27 28 |
# File 'lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rfeature.rb', line 26 def flag @flag end |
#properties ⇒ Hash{String => String}
feature.
35 36 37 |
# File 'lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rfeature.rb', line 35 def properties @properties end |
#value ⇒ String
document docs.microsoft.com/azure/azure-signalr/ for allowed values.
31 32 33 |
# File 'lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rfeature.rb', line 31 def value @value end |
Class Method Details
.mapper ⇒ Object
Mapper for SignalRFeature class as Ruby Hash. This will be used for serialization/deserialization.
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rfeature.rb', line 42 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SignalRFeature', type: { name: 'Composite', class_name: 'SignalRFeature', model_properties: { flag: { client_side_validation: true, required: true, serialized_name: 'flag', type: { name: 'String' } }, value: { client_side_validation: true, required: true, serialized_name: 'value', constraints: { MaxLength: 128, MinLength: 1 }, type: { name: 'String' } }, properties: { client_side_validation: true, required: false, serialized_name: 'properties', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end |