Class: Azure::CognitiveServices::Mgmt::V2017_04_18::Models::VirtualNetworkRule
- Inherits:
-
Object
- Object
- Azure::CognitiveServices::Mgmt::V2017_04_18::Models::VirtualNetworkRule
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/virtual_network_rule.rb
Overview
A rule governing the accessibility from a specific virtual network.
Instance Attribute Summary collapse
-
#id ⇒ String
‘/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1’.
-
#ignore_missing_vnet_service_endpoint ⇒ Boolean
Ignore missing vnet service endpoint or not.
-
#state ⇒ String
Gets the state of virtual network rule.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VirtualNetworkRule class as Ruby Hash.
Instance Attribute Details
#id ⇒ String
‘/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1’.
17 18 19 |
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/virtual_network_rule.rb', line 17 def id @id end |
#ignore_missing_vnet_service_endpoint ⇒ Boolean
Returns Ignore missing vnet service endpoint or not.
23 24 25 |
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/virtual_network_rule.rb', line 23 def ignore_missing_vnet_service_endpoint @ignore_missing_vnet_service_endpoint end |
#state ⇒ String
Returns Gets the state of virtual network rule.
20 21 22 |
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/virtual_network_rule.rb', line 20 def state @state end |
Class Method Details
.mapper ⇒ Object
Mapper for VirtualNetworkRule 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 |
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/virtual_network_rule.rb', line 30 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: true, serialized_name: 'id', type: { name: 'String' } }, state: { client_side_validation: true, required: false, serialized_name: 'state', type: { name: 'String' } }, ignore_missing_vnet_service_endpoint: { client_side_validation: true, required: false, serialized_name: 'ignoreMissingVnetServiceEndpoint', type: { name: 'Boolean' } } } } } end |