Class: Azure::Postgresql::Mgmt::V2017_12_01::Models::VirtualNetworkRule
- Inherits:
-
ProxyResource
- Object
- ProxyResource
- Azure::Postgresql::Mgmt::V2017_12_01::Models::VirtualNetworkRule
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-12-01/generated/azure_mgmt_postgresql/models/virtual_network_rule.rb
Overview
A virtual network rule.
Instance Attribute Summary collapse
-
#ignore_missing_vnet_service_endpoint ⇒ Boolean
vnet service endpoint enabled.
-
#state ⇒ VirtualNetworkRuleState
values include: 'Initializing', 'InProgress', 'Ready', 'Deleting', 'Unknown'.
-
#virtual_network_subnet_id ⇒ String
The ARM resource id of the virtual network subnet.
Attributes inherited from ProxyResource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VirtualNetworkRule class as Ruby Hash.
Instance Attribute Details
#ignore_missing_vnet_service_endpoint ⇒ Boolean
vnet service endpoint enabled.
20 21 22 |
# File 'lib/2017-12-01/generated/azure_mgmt_postgresql/models/virtual_network_rule.rb', line 20 def ignore_missing_vnet_service_endpoint @ignore_missing_vnet_service_endpoint end |
#state ⇒ VirtualNetworkRuleState
values include: 'Initializing', 'InProgress', 'Ready', 'Deleting', 'Unknown'
25 26 27 |
# File 'lib/2017-12-01/generated/azure_mgmt_postgresql/models/virtual_network_rule.rb', line 25 def state @state end |
#virtual_network_subnet_id ⇒ String
Returns The ARM resource id of the virtual network subnet.
16 17 18 |
# File 'lib/2017-12-01/generated/azure_mgmt_postgresql/models/virtual_network_rule.rb', line 16 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.
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 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/2017-12-01/generated/azure_mgmt_postgresql/models/virtual_network_rule.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VirtualNetworkRule', type: { name: 'Composite', class_name: 'VirtualNetworkRule', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, virtual_network_subnet_id: { client_side_validation: true, required: true, serialized_name: 'properties.virtualNetworkSubnetId', type: { name: 'String' } }, ignore_missing_vnet_service_endpoint: { client_side_validation: true, required: false, serialized_name: 'properties.ignoreMissingVnetServiceEndpoint', type: { name: 'Boolean' } }, state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.state', type: { name: 'String' } } } } } end |