Sha256: 1e906eb89e4837dd8af1f211141908404bf214120289c40685ee55585619ac34

Contents?: true

Size: 1.28 KB

Versions: 3

Compression:

Stored size: 1.28 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::KeyVault::Mgmt::V2018_02_14_preview
  module Models
    #
    # A rule governing the accessibility of a vault from a specific virtual
    # network.
    #
    class VirtualNetworkRule

      include MsRestAzure

      # @return [String] Full resource id of a vnet subnet, such as
      # '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'.
      attr_accessor :id


      #
      # Mapper for VirtualNetworkRule class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_key_vault-0.17.7 lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/virtual_network_rule.rb
azure_mgmt_key_vault-0.17.6 lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/virtual_network_rule.rb
azure_mgmt_key_vault-0.17.5 lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/virtual_network_rule.rb