Class: Azure::Storage::Mgmt::V2019_06_01::Models::RoutingPreference
- Inherits:
-
Object
- Object
- Azure::Storage::Mgmt::V2019_06_01::Models::RoutingPreference
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-06-01/generated/azure_mgmt_storage/models/routing_preference.rb
Overview
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
Instance Attribute Summary collapse
-
#publish_internet_endpoints ⇒ Boolean
routing storage endpoints are to be published.
-
#publish_microsoft_endpoints ⇒ Boolean
routing storage endpoints are to be published.
-
#routing_choice ⇒ RoutingChoice
routing opted by the user.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RoutingPreference class as Ruby Hash.
Instance Attribute Details
#publish_internet_endpoints ⇒ Boolean
routing storage endpoints are to be published
28 29 30 |
# File 'lib/2019-06-01/generated/azure_mgmt_storage/models/routing_preference.rb', line 28 def publish_internet_endpoints @publish_internet_endpoints end |
#publish_microsoft_endpoints ⇒ Boolean
routing storage endpoints are to be published
24 25 26 |
# File 'lib/2019-06-01/generated/azure_mgmt_storage/models/routing_preference.rb', line 24 def publish_microsoft_endpoints @publish_microsoft_endpoints end |
#routing_choice ⇒ RoutingChoice
routing opted by the user. Possible values include: ‘MicrosoftRouting’, ‘InternetRouting’
20 21 22 |
# File 'lib/2019-06-01/generated/azure_mgmt_storage/models/routing_preference.rb', line 20 def routing_choice @routing_choice end |
Class Method Details
.mapper ⇒ Object
Mapper for RoutingPreference class as Ruby Hash. This will be used for serialization/deserialization.
35 36 37 38 39 40 41 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 |
# File 'lib/2019-06-01/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 |