Sha256: 10972af81af21647474c17b3efc4979d9046dcbcda4406122e7359224d8d93eb

Contents?: true

Size: 1.45 KB

Versions: 2

Compression:

Stored size: 1.45 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::Web::Mgmt::V2020_09_01
  module Models
    #
    # Description of a Virtual Network subnet that is useable for private site
    # access.
    #
    class PrivateAccessSubnet

      include MsRestAzure

      # @return [String] The name of the subnet.
      attr_accessor :name

      # @return [Integer] The key (ID) of the subnet.
      attr_accessor :key


      #
      # Mapper for PrivateAccessSubnet class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'PrivateAccessSubnet',
          type: {
            name: 'Composite',
            class_name: 'PrivateAccessSubnet',
            model_properties: {
              name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              key: {
                client_side_validation: true,
                required: false,
                serialized_name: 'key',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_web-0.18.1 lib/2020-09-01/generated/azure_mgmt_web/models/private_access_subnet.rb
azure_mgmt_web-0.18.0 lib/2020-09-01/generated/azure_mgmt_web/models/private_access_subnet.rb