Sha256: cd32bc518c91e013008c79c9a78929ec3d3fb2d2fc3feda197a59a4efe630e00

Contents?: true

Size: 1.85 KB

Versions: 4

Compression:

Stored size: 1.85 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::Web
  module Models
    #
    # Specification for using a virtual network
    #
    class VirtualNetworkProfile

      include MsRestAzure

      # @return [String] Resource id of the virtual network
      attr_accessor :id

      # @return [String] Name of the virtual network (read-only)
      attr_accessor :name

      # @return [String] Resource type of the virtual network (read-only)
      attr_accessor :type

      # @return [String] Subnet within the virtual network
      attr_accessor :subnet


      #
      # Mapper for VirtualNetworkProfile class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'VirtualNetworkProfile',
          type: {
            name: 'Composite',
            class_name: 'VirtualNetworkProfile',
            model_properties: {
              id: {
                required: false,
                serialized_name: 'id',
                type: {
                  name: 'String'
                }
              },
              name: {
                required: false,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              type: {
                required: false,
                serialized_name: 'type',
                type: {
                  name: 'String'
                }
              },
              subnet: {
                required: false,
                serialized_name: 'subnet',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_web-0.7.0 lib/generated/azure_mgmt_web/models/virtual_network_profile.rb
azure_mgmt_web-0.6.0 lib/generated/azure_mgmt_web/models/virtual_network_profile.rb
azure_mgmt_web-0.5.0 lib/generated/azure_mgmt_web/models/virtual_network_profile.rb
azure_mgmt_web-0.4.0 lib/generated/azure_mgmt_web/models/virtual_network_profile.rb