Sha256: a31dfbeb91cf03516321b78ba539552c2fa7fe18264cb21959498dbec7050efa

Contents?: true

Size: 1.66 KB

Versions: 2

Compression:

Stored size: 1.66 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::Compute::Mgmt::V2020_10_01_preview
  module Models
    #
    # Describes the network profile for the role instance.
    #
    class RoleInstanceNetworkProfile

      include MsRestAzure

      # @return [Array<SubResource>] Specifies the list of resource Ids for the
      # network interfaces associated with the role instance.
      attr_accessor :network_interfaces


      #
      # Mapper for RoleInstanceNetworkProfile class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'RoleInstanceNetworkProfile',
          type: {
            name: 'Composite',
            class_name: 'RoleInstanceNetworkProfile',
            model_properties: {
              network_interfaces: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'networkInterfaces',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'SubResourceElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'SubResource'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2020-10-01-preview/generated/azure_mgmt_compute/models/role_instance_network_profile.rb
azure_mgmt_compute-0.21.1 lib/2020-10-01-preview/generated/azure_mgmt_compute/models/role_instance_network_profile.rb