Class: Azure::Signalr::Mgmt::V2018_10_01::Models::SignalRCreateOrUpdateProperties

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rcreate_or_update_properties.rb

Overview

Settings used to provision or configure the resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#corsSignalRCorsSettings

settings.

Returns:



36
37
38
# File 'lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rcreate_or_update_properties.rb', line 36

def cors
  @cors
end

#featuresArray<SignalRFeature>

ServiceMode.

FeatureFlags that are not included in the parameters for the update operation will not be modified. And the response will only include featureFlags that are explicitly set. When a featureFlag is not explicitly set, SignalR service will use its globally default value. But keep in mind, the default value doesn’t mean “false”. It varies in terms of different FeatureFlags.

Returns:



32
33
34
# File 'lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rcreate_or_update_properties.rb', line 32

def features
  @features
end

#host_name_prefixString

Retained for future use. The hostname will be of format: &lt;hostNamePrefix&gt;.service.signalr.net.

Returns:

  • (String)

    Prefix for the hostName of the SignalR service.



19
20
21
# File 'lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rcreate_or_update_properties.rb', line 19

def host_name_prefix
  @host_name_prefix
end

Class Method Details

.mapperObject

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



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
# File 'lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rcreate_or_update_properties.rb', line 43

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SignalRCreateOrUpdateProperties',
    type: {
      name: 'Composite',
      class_name: 'SignalRCreateOrUpdateProperties',
      model_properties: {
        host_name_prefix: {
          client_side_validation: true,
          required: false,
          serialized_name: 'hostNamePrefix',
          type: {
            name: 'String'
          }
        },
        features: {
          client_side_validation: true,
          required: false,
          serialized_name: 'features',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'SignalRFeatureElementType',
                type: {
                  name: 'Composite',
                  class_name: 'SignalRFeature'
                }
            }
          }
        },
        cors: {
          client_side_validation: true,
          required: false,
          serialized_name: 'cors',
          type: {
            name: 'Composite',
            class_name: 'SignalRCorsSettings'
          }
        }
      }
    }
  }
end