Sha256: 9a09cfa3b3c5322feaa470c19d7b71cce82364d22eeea0815b7529131fe65c03

Contents?: true

Size: 1.93 KB

Versions: 2

Compression:

Stored size: 1.93 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::Security::Mgmt::V2020_01_01
  module Models
    #
    # Describes the Network Security Groups effective on a network interface
    #
    class EffectiveNetworkSecurityGroups

      include MsRestAzure

      # @return [String] The Azure resource ID of the network interface
      attr_accessor :network_interface

      # @return [Array<String>] The Network Security Groups effective on the
      # network interface
      attr_accessor :network_security_groups


      #
      # Mapper for EffectiveNetworkSecurityGroups class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'EffectiveNetworkSecurityGroups',
          type: {
            name: 'Composite',
            class_name: 'EffectiveNetworkSecurityGroups',
            model_properties: {
              network_interface: {
                client_side_validation: true,
                required: false,
                serialized_name: 'networkInterface',
                type: {
                  name: 'String'
                }
              },
              network_security_groups: {
                client_side_validation: true,
                required: false,
                serialized_name: 'networkSecurityGroups',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_security-0.19.0 lib/2020-01-01/generated/azure_mgmt_security/models/effective_network_security_groups.rb
azure_mgmt_security-0.18.2 lib/2020-01-01/generated/azure_mgmt_security/models/effective_network_security_groups.rb