Class: Azure::TrafficManager::Mgmt::V2018_03_01::Models::TrafficManagerNameAvailability
- Inherits:
-
Object
- Object
- Azure::TrafficManager::Mgmt::V2018_03_01::Models::TrafficManagerNameAvailability
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/traffic_manager_name_availability.rb
Overview
Class representing a Traffic Manager Name Availability response.
Instance Attribute Summary collapse
-
#message ⇒ String
available, when applicable.
-
#name ⇒ String
The relative name.
-
#name_available ⇒ Boolean
not.
-
#reason ⇒ String
applicable.
-
#type ⇒ String
Traffic Manager profile resource type.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for TrafficManagerNameAvailability class as Ruby Hash.
Instance Attribute Details
#message ⇒ String
available, when applicable.
31 32 33 |
# File 'lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/traffic_manager_name_availability.rb', line 31 def @message end |
#name ⇒ String
Returns The relative name.
16 17 18 |
# File 'lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/traffic_manager_name_availability.rb', line 16 def name @name end |
#name_available ⇒ Boolean
not.
23 24 25 |
# File 'lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/traffic_manager_name_availability.rb', line 23 def name_available @name_available end |
#reason ⇒ String
applicable.
27 28 29 |
# File 'lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/traffic_manager_name_availability.rb', line 27 def reason @reason end |
#type ⇒ String
Returns Traffic Manager profile resource type.
19 20 21 |
# File 'lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/traffic_manager_name_availability.rb', line 19 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for TrafficManagerNameAvailability class as Ruby Hash. This will be used for serialization/deserialization.
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 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/traffic_manager_name_availability.rb', line 38 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'TrafficManagerNameAvailability', type: { name: 'Composite', class_name: 'TrafficManagerNameAvailability', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, serialized_name: 'type', type: { name: 'String' } }, name_available: { client_side_validation: true, required: false, serialized_name: 'nameAvailable', type: { name: 'Boolean' } }, reason: { client_side_validation: true, required: false, serialized_name: 'reason', type: { name: 'String' } }, message: { client_side_validation: true, required: false, serialized_name: 'message', type: { name: 'String' } } } } } end |