# 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_12_01
  module Models
    #
    # Describes a virtual machine scale set extension profile.
    #
    class VirtualMachineScaleSetExtensionProfile

      include MsRestAzure

      # @return [Array<VirtualMachineScaleSetExtension>] The virtual machine
      # scale set child extension resources.
      attr_accessor :extensions

      # @return [String] Specifies the time alloted for all extensions to
      # start. The time duration should be between 15 minutes and 120 minutes
      # (inclusive) and should be specified in ISO 8601 format. The default
      # value is 90 minutes (PT1H30M). <br><br> Minimum api-version: 2020-06-01
      attr_accessor :extensions_time_budget


      #
      # Mapper for VirtualMachineScaleSetExtensionProfile class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'VirtualMachineScaleSetExtensionProfile',
          type: {
            name: 'Composite',
            class_name: 'VirtualMachineScaleSetExtensionProfile',
            model_properties: {
              extensions: {
                client_side_validation: true,
                required: false,
                serialized_name: 'extensions',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'VirtualMachineScaleSetExtensionElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'VirtualMachineScaleSetExtension'
                      }
                  }
                }
              },
              extensions_time_budget: {
                client_side_validation: true,
                required: false,
                serialized_name: 'extensionsTimeBudget',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
