class Azure::Signalr::Mgmt::V2018_10_01::Models::SignalRCreateOrUpdateProperties

Settings used to provision or configure the resource.

Attributes

cors[RW]

@return [SignalRCorsSettings] Cross-Origin Resource Sharing (CORS) settings.

features[RW]

@return [Array<SignalRFeature>] List of SignalR featureFlags. e.g. 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.

host_name_prefix[RW]

@return [String] Prefix for the hostName of the SignalR service. Retained for future use. The hostname will be of format: &lt;hostNamePrefix&gt;.service.signalr.net.

Public Class Methods

mapper() click to toggle source

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

# 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