Sha256: 7994409e4e8b0855dff1382503470e85e976e37972a4ca475a5a639345ffdc44

Contents?: true

Size: 1.52 KB

Versions: 2

Compression:

Stored size: 1.52 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
    #
    # Specifies a list of role instances from the cloud service.
    #
    class RoleInstances

      include MsRestAzure

      # @return [Array<String>] List of cloud service role instance names.
      # Value of '*' will signify all role instances of the cloud service.
      attr_accessor :role_instances


      #
      # Mapper for RoleInstances class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'RoleInstances',
          type: {
            name: 'Composite',
            class_name: 'RoleInstances',
            model_properties: {
              role_instances: {
                client_side_validation: true,
                required: true,
                serialized_name: 'roleInstances',
                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_compute-0.22.0 lib/2020-10-01-preview/generated/azure_mgmt_compute/models/role_instances.rb
azure_mgmt_compute-0.21.1 lib/2020-10-01-preview/generated/azure_mgmt_compute/models/role_instances.rb