Sha256: 7e988a863c162d4ca2bf89405aacf239a4b85b0a292d2cad5a812f04d3ba969e

Contents?: true

Size: 1.05 KB

Versions: 3

Compression:

Stored size: 1.05 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::EventHub::Mgmt::V2017_04_01
  module Models
    #
    # Properties supplied for Subnet
    #
    class Subnet

      include MsRestAzure

      # @return [String] Resource ID of Virtual Network Subnet
      attr_accessor :id


      #
      # Mapper for Subnet class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'Subnet',
          type: {
            name: 'Composite',
            class_name: 'Subnet',
            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_event_hub-0.18.1 lib/2017-04-01/generated/azure_mgmt_event_hub/models/subnet.rb
azure_mgmt_event_hub-0.18.0 lib/2017-04-01/generated/azure_mgmt_event_hub/models/subnet.rb
azure_mgmt_event_hub-0.17.3 lib/2017-04-01/generated/azure_mgmt_event_hub/models/subnet.rb