Class: Azure::ContainerInstance::Mgmt::V2019_12_01::Models::Capabilities
- Inherits:
-
Object
- Object
- Azure::ContainerInstance::Mgmt::V2019_12_01::Models::Capabilities
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-12-01/generated/azure_mgmt_container_instance/models/capabilities.rb
Overview
The regional capabilities.
Instance Attribute Summary collapse
-
#capabilities ⇒ CapabilitiesCapabilities
The supported capabilities.
-
#gpu ⇒ String
The GPU sku that this capability describes.
-
#ip_address_type ⇒ String
The ip address type that this capability describes.
-
#location ⇒ String
The resource location.
-
#os_type ⇒ String
The OS type that this capability describes.
-
#resource_type ⇒ String
The resource type that this capability describes.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Capabilities class as Ruby Hash.
Instance Attribute Details
#capabilities ⇒ CapabilitiesCapabilities
Returns The supported capabilities.
31 32 33 |
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/capabilities.rb', line 31 def capabilities @capabilities end |
#gpu ⇒ String
Returns The GPU sku that this capability describes.
28 29 30 |
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/capabilities.rb', line 28 def gpu @gpu end |
#ip_address_type ⇒ String
Returns The ip address type that this capability describes.
25 26 27 |
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/capabilities.rb', line 25 def ip_address_type @ip_address_type end |
#location ⇒ String
Returns The resource location.
22 23 24 |
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/capabilities.rb', line 22 def location @location end |
#os_type ⇒ String
Returns The OS type that this capability describes.
19 20 21 |
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/capabilities.rb', line 19 def os_type @os_type end |
#resource_type ⇒ String
Returns The resource type that this capability describes.
16 17 18 |
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/capabilities.rb', line 16 def resource_type @resource_type end |
Class Method Details
.mapper ⇒ Object
Mapper for Capabilities 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 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 |
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/capabilities.rb', line 38 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Capabilities', type: { name: 'Composite', class_name: 'Capabilities', model_properties: { resource_type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceType', type: { name: 'String' } }, os_type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'osType', type: { name: 'String' } }, location: { client_side_validation: true, required: false, read_only: true, serialized_name: 'location', type: { name: 'String' } }, ip_address_type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'ipAddressType', type: { name: 'String' } }, gpu: { client_side_validation: true, required: false, read_only: true, serialized_name: 'gpu', type: { name: 'String' } }, capabilities: { client_side_validation: true, required: false, read_only: true, serialized_name: 'capabilities', type: { name: 'Composite', class_name: 'CapabilitiesCapabilities' } } } } } end |