class Azure::CognitiveServices::Mgmt::V2017_04_18::Models::VirtualNetworkRule
A rule governing the accessibility from a specific virtual network.
Attributes
id[RW]
@return [String] Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'.
ignore_missing_vnet_service_endpoint[RW]
@return [Boolean] Ignore missing vnet service endpoint or not.
state[RW]
@return [String] Gets the state of virtual network rule.
Private Class Methods
mapper()
click to toggle source
Mapper for VirtualNetworkRule
class as Ruby Hash. This will be used for serialization/deserialization.
# 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