class Azure::Storage::Mgmt::V2020_08_01_preview::Models::RoutingPreference

Routing preference defines the type of network, either microsoft or internet routing to be used to deliver the user data, the default option is microsoft routing

Attributes

publish_internet_endpoints[RW]

@return [Boolean] A boolean flag which indicates whether internet routing storage endpoints are to be published

publish_microsoft_endpoints[RW]

@return [Boolean] A boolean flag which indicates whether microsoft routing storage endpoints are to be published

routing_choice[RW]

@return [RoutingChoice] Routing Choice defines the kind of network routing opted by the user. Possible values include: 'MicrosoftRouting', 'InternetRouting'

Public Class Methods

mapper() click to toggle source

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

# File lib/2020-08-01-preview/generated/azure_mgmt_storage/models/routing_preference.rb, line 35
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RoutingPreference',
    type: {
      name: 'Composite',
      class_name: 'RoutingPreference',
      model_properties: {
        routing_choice: {
          client_side_validation: true,
          required: false,
          serialized_name: 'routingChoice',
          type: {
            name: 'String'
          }
        },
        publish_microsoft_endpoints: {
          client_side_validation: true,
          required: false,
          serialized_name: 'publishMicrosoftEndpoints',
          type: {
            name: 'Boolean'
          }
        },
        publish_internet_endpoints: {
          client_side_validation: true,
          required: false,
          serialized_name: 'publishInternetEndpoints',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end