Class: Azure::Compute::Mgmt::V2020_10_01_preview::Models::CloudServiceInstanceView
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_10_01_preview::Models::CloudServiceInstanceView
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_instance_view.rb
Overview
InstanceView of CloudService as a whole
Instance Attribute Summary collapse
- #role_instance ⇒ InstanceViewStatusesSummary
-
#sdk_version ⇒ String
package for the cloud service.
- #statuses ⇒ Array<ResourceInstanceViewStatus>
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CloudServiceInstanceView class as Ruby Hash.
Instance Attribute Details
#role_instance ⇒ InstanceViewStatusesSummary
16 17 18 |
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_instance_view.rb', line 16 def role_instance @role_instance end |
#sdk_version ⇒ String
package for the cloud service.
20 21 22 |
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_instance_view.rb', line 20 def sdk_version @sdk_version end |
#statuses ⇒ Array<ResourceInstanceViewStatus>
23 24 25 |
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_instance_view.rb', line 23 def statuses @statuses end |
Class Method Details
.mapper ⇒ Object
Mapper for CloudServiceInstanceView class as Ruby Hash. This will be used for serialization/deserialization.
30 31 32 33 34 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 72 73 74 75 76 77 78 |
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_instance_view.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CloudServiceInstanceView', type: { name: 'Composite', class_name: 'CloudServiceInstanceView', model_properties: { role_instance: { client_side_validation: true, required: false, serialized_name: 'roleInstance', type: { name: 'Composite', class_name: 'InstanceViewStatusesSummary' } }, sdk_version: { client_side_validation: true, required: false, read_only: true, serialized_name: 'sdkVersion', type: { name: 'String' } }, statuses: { client_side_validation: true, required: false, read_only: true, serialized_name: 'statuses', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ResourceInstanceViewStatusElementType', type: { name: 'Composite', class_name: 'ResourceInstanceViewStatus' } } } } } } } end |