Class: Azure::ARM::SQL::Models::VirtualNetworkRule
- Inherits:
-
ProxyResource
- Object
- MsRestAzure::Resource
- ProxyResource
- Azure::ARM::SQL::Models::VirtualNetworkRule
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_sql/models/virtual_network_rule.rb
Overview
A virtual network rule.
Instance Attribute Summary collapse
-
#virtual_network_subnet_id ⇒ String
The resource ID of the virtual network subnet.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VirtualNetworkRule class as Ruby Hash.
Instance Attribute Details
#virtual_network_subnet_id ⇒ String
Returns The resource ID of the virtual network subnet.
17 18 19 |
# File 'lib/generated/azure_mgmt_sql/models/virtual_network_rule.rb', line 17 def virtual_network_subnet_id @virtual_network_subnet_id end |
Class Method Details
.mapper ⇒ Object
Mapper for VirtualNetworkRule class as Ruby Hash. This will be used for serialization/deserialization.
24 25 26 27 28 29 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 |
# File 'lib/generated/azure_mgmt_sql/models/virtual_network_rule.rb', line 24 def self.mapper() { required: false, serialized_name: 'VirtualNetworkRule', type: { name: 'Composite', class_name: 'VirtualNetworkRule', model_properties: { id: { required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, virtual_network_subnet_id: { required: false, serialized_name: 'properties.virtualNetworkSubnetId', type: { name: 'String' } } } } } end |