Sha256: 0fd0a85aef3b06624af3506f8f2027fbf9e9212b0345661c385f8cb217f5a417

Contents?: true

Size: 1.67 KB

Versions: 34

Compression:

Stored size: 1.67 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_09_01
  module Models
    #
    # The effective network security group association.
    #
    class EffectiveNetworkSecurityGroupAssociation

      include MsRestAzure

      # @return [SubResource] The ID of the subnet if assigned.
      attr_accessor :subnet

      # @return [SubResource] The ID of the network interface if assigned.
      attr_accessor :network_interface


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

Version data entries

34 entries across 34 versions & 2 rubygems

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