Sha256: ce6f684e6fb9b1c1d97be2fe5b26dcf2b5276b90d314be28fe98bda8f9bbc712

Contents?: true

Size: 1.58 KB

Versions: 2

Compression:

Stored size: 1.58 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 role profile for the cloud service.
    #
    class CloudServiceRoleProfile

      include MsRestAzure

      # @return [Array<CloudServiceRoleProfileProperties>] List of roles for
      # the cloud service.
      attr_accessor :roles


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