Sha256: 73fd366a39cff9517e301a4b5dae30ae905c134bb403e456655db1b760b14360

Contents?: true

Size: 1.82 KB

Versions: 34

Compression:

Stored size: 1.82 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::Network::Mgmt::V2016_12_01
  module Models
    #
    # Network interface and its custom security rules.
    #
    class SubnetAssociation

      include MsRestAzure

      # @return [String] Subnet ID.
      attr_accessor :id

      # @return [Array<SecurityRule>] Collection of custom security rules.
      attr_accessor :security_rules


      #
      # Mapper for SubnetAssociation class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'SubnetAssociation',
          type: {
            name: 'Composite',
            class_name: 'SubnetAssociation',
            model_properties: {
              id: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'id',
                type: {
                  name: 'String'
                }
              },
              security_rules: {
                client_side_validation: true,
                required: false,
                serialized_name: 'securityRules',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'SecurityRuleElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'SecurityRule'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

34 entries across 34 versions & 2 rubygems

Version Path
azure_mgmt_network-0.18.6 lib/2016-12-01/generated/azure_mgmt_network/models/subnet_association.rb
azure_mgmt_network-0.18.5 lib/2016-12-01/generated/azure_mgmt_network/models/subnet_association.rb
azure_mgmt_network-0.18.4 lib/2016-12-01/generated/azure_mgmt_network/models/subnet_association.rb
azure_mgmt_network-0.18.3 lib/2016-12-01/generated/azure_mgmt_network/models/subnet_association.rb
azure_mgmt_network-0.18.2 lib/2016-12-01/generated/azure_mgmt_network/models/subnet_association.rb
azure_mgmt_network-0.18.1 lib/2016-12-01/generated/azure_mgmt_network/models/subnet_association.rb
azure_mgmt_network-0.18.0 lib/2016-12-01/generated/azure_mgmt_network/models/subnet_association.rb
azure_mgmt_network-0.17.4 lib/2016-12-01/generated/azure_mgmt_network/models/subnet_association.rb
azure_mgmt_network-0.17.3 lib/2016-12-01/generated/azure_mgmt_network/models/subnet_association.rb
azure_mgmt_network-0.17.2 lib/2016-12-01/generated/azure_mgmt_network/models/subnet_association.rb
azure_mgmt_network-0.17.1 lib/2016-12-01/generated/azure_mgmt_network/models/subnet_association.rb
azure_mgmt_network-0.17.0 lib/2016-12-01/generated/azure_mgmt_network/models/subnet_association.rb
azure_mgmt_network-0.16.0 lib/2016-12-01/generated/azure_mgmt_network/models/subnet_association.rb
azure_mgmt_network-0.15.2 lib/2016-12-01/generated/azure_mgmt_network/models/subnet_association.rb