Sha256: 94c7b4301c2c73fd7473c1d9d0bc616aed27f15da3842d1702a414d09a47bada

Contents?: true

Size: 1.87 KB

Versions: 29

Compression:

Stored size: 1.87 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::V2018_08_01
  module Models
    #
    # Network interface and its custom security rules.
    #
    class NetworkInterfaceAssociation

      include MsRestAzure

      # @return [String] Network interface ID.
      attr_accessor :id

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


      #
      # Mapper for NetworkInterfaceAssociation class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'NetworkInterfaceAssociation',
          type: {
            name: 'Composite',
            class_name: 'NetworkInterfaceAssociation',
            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

29 entries across 29 versions & 2 rubygems

Version Path
azure_mgmt_network2-0.27.0 lib/2018-08-01/generated/azure_mgmt_network/models/network_interface_association.rb
azure_mgmt_network2-0.26.1 lib/2018-08-01/generated/azure_mgmt_network/models/network_interface_association.rb
azure_mgmt_network-0.26.1 lib/2018-08-01/generated/azure_mgmt_network/models/network_interface_association.rb
azure_mgmt_network-0.26.0 lib/2018-08-01/generated/azure_mgmt_network/models/network_interface_association.rb
azure_mgmt_network-0.25.0 lib/2018-08-01/generated/azure_mgmt_network/models/network_interface_association.rb
azure_mgmt_network-0.24.1 lib/2018-08-01/generated/azure_mgmt_network/models/network_interface_association.rb
azure_mgmt_network-0.24.0 lib/2018-08-01/generated/azure_mgmt_network/models/network_interface_association.rb
azure_mgmt_network-0.23.4 lib/2018-08-01/generated/azure_mgmt_network/models/network_interface_association.rb
azure_mgmt_network-0.23.3 lib/2018-08-01/generated/azure_mgmt_network/models/network_interface_association.rb
azure_mgmt_network-0.23.2 lib/2018-08-01/generated/azure_mgmt_network/models/network_interface_association.rb
azure_mgmt_network-0.23.1 lib/2018-08-01/generated/azure_mgmt_network/models/network_interface_association.rb
azure_mgmt_network-0.23.0 lib/2018-08-01/generated/azure_mgmt_network/models/network_interface_association.rb
azure_mgmt_network-0.22.0 lib/2018-08-01/generated/azure_mgmt_network/models/network_interface_association.rb
azure_mgmt_network-0.21.0 lib/2018-08-01/generated/azure_mgmt_network/models/network_interface_association.rb
azure_mgmt_network-0.20.0 lib/2018-08-01/generated/azure_mgmt_network/models/network_interface_association.rb
azure_mgmt_network-0.19.1 lib/2018-08-01/generated/azure_mgmt_network/models/network_interface_association.rb
azure_mgmt_network-0.19.0 lib/2018-08-01/generated/azure_mgmt_network/models/network_interface_association.rb
azure_mgmt_network-0.18.9 lib/2018-08-01/generated/azure_mgmt_network/models/network_interface_association.rb
azure_mgmt_network-0.18.8 lib/2018-08-01/generated/azure_mgmt_network/models/network_interface_association.rb
azure_mgmt_network-0.18.7 lib/2018-08-01/generated/azure_mgmt_network/models/network_interface_association.rb