Class: Azure::ResourceHealth::Mgmt::V2018_07_01::Models::AvailabilityStatus
- Inherits:
-
Object
- Object
- Azure::ResourceHealth::Mgmt::V2018_07_01::Models::AvailabilityStatus
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-01/generated/azure_mgmt_resource_health/models/availability_status.rb
Overview
availabilityStatus of a resource.
Instance Attribute Summary collapse
-
#id ⇒ String
availabilityStatuses resource.
-
#location ⇒ String
Azure Resource Manager geo location of the resource.
-
#name ⇒ String
Current.
-
#properties ⇒ AvailabilityStatusProperties
state.
-
#type ⇒ String
Microsoft.ResourceHealth/AvailabilityStatuses.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AvailabilityStatus class as Ruby Hash.
Instance Attribute Details
#id ⇒ String
availabilityStatuses resource.
17 18 19 |
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/availability_status.rb', line 17 def id @id end |
#location ⇒ String
Returns Azure Resource Manager geo location of the resource.
26 27 28 |
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/availability_status.rb', line 26 def location @location end |
#name ⇒ String
Returns current.
20 21 22 |
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/availability_status.rb', line 20 def name @name end |
#properties ⇒ AvailabilityStatusProperties
state.
30 31 32 |
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/availability_status.rb', line 30 def properties @properties end |
#type ⇒ String
Returns Microsoft.ResourceHealth/AvailabilityStatuses.
23 24 25 |
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/availability_status.rb', line 23 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for AvailabilityStatus class as Ruby Hash. This will be used for serialization/deserialization.
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 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/availability_status.rb', line 37 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'availabilityStatus', type: { name: 'Composite', class_name: 'AvailabilityStatus', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, 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' } }, location: { client_side_validation: true, required: false, serialized_name: 'location', type: { name: 'String' } }, properties: { client_side_validation: true, required: false, serialized_name: 'properties', type: { name: 'Composite', class_name: 'AvailabilityStatusProperties' } } } } } end |