# 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::DeploymentManager::Mgmt::V2018_09_01_preview
  module Models
    #
    # The properties of a service.
    #
    class ServiceProperties

      include MsRestAzure

      # @return [String] The Azure location to which the resources in the
      # service belong to or should be deployed to.
      attr_accessor :target_location

      # @return [String] The subscription to which the resources in the service
      # belong to or should be deployed to.
      attr_accessor :target_subscription_id


      #
      # Mapper for ServiceProperties class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ServiceProperties',
          type: {
            name: 'Composite',
            class_name: 'ServiceProperties',
            model_properties: {
              target_location: {
                client_side_validation: true,
                required: true,
                serialized_name: 'targetLocation',
                type: {
                  name: 'String'
                }
              },
              target_subscription_id: {
                client_side_validation: true,
                required: true,
                serialized_name: 'targetSubscriptionId',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
