Class: Azure::ARM::ServerManagement::Models::GatewayParameters
- Inherits:
-
Object
- Object
- Azure::ARM::ServerManagement::Models::GatewayParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_server_management/models/gateway_parameters.rb
Overview
Model object.
Instance Attribute Summary collapse
-
#auto_upgrade ⇒ AutoUpgrade
to gateway to auto upgrade itself.
-
#location ⇒ String
Location of the resource.
-
#tags ⇒ Object
Resource tags.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for GatewayParameters class as Ruby Hash.
Instance Attribute Details
#auto_upgrade ⇒ AutoUpgrade
to gateway to auto upgrade itself. If properties value not specified, then we assume autoUpgrade = Off. Possible values include: ‘On’, ‘Off’
24 25 26 |
# File 'lib/generated/azure_mgmt_server_management/models/gateway_parameters.rb', line 24 def auto_upgrade @auto_upgrade end |
#location ⇒ String
Returns location of the resource.
16 17 18 |
# File 'lib/generated/azure_mgmt_server_management/models/gateway_parameters.rb', line 16 def location @location end |
#tags ⇒ Object
Returns resource tags.
19 20 21 |
# File 'lib/generated/azure_mgmt_server_management/models/gateway_parameters.rb', line 19 def @tags end |
Class Method Details
.mapper ⇒ Object
Mapper for GatewayParameters class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/generated/azure_mgmt_server_management/models/gateway_parameters.rb', line 31 def self.mapper() { required: false, serialized_name: 'GatewayParameters', type: { name: 'Composite', class_name: 'GatewayParameters', model_properties: { location: { required: false, serialized_name: 'location', type: { name: 'String' } }, tags: { required: false, serialized_name: 'tags', type: { name: 'Object' } }, auto_upgrade: { required: false, serialized_name: 'properties.autoUpgrade', type: { name: 'Enum', module: 'AutoUpgrade' } } } } } end |