Sha256: dc210cd052d56aa9acb0fadc588fea60aee56fbb50a4a8b21bfaecb9fb588f58

Contents?: true

Size: 1.48 KB

Versions: 2

Compression:

Stored size: 1.48 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::Resources2::Mgmt::V2018_05_01
  module Models
    #
    # Deployment operation parameters.
    #
    class Deployment

      include MsRestAzure2

      # @return [String] The location to store the deployment data.
      attr_accessor :location

      # @return [DeploymentProperties] The deployment properties.
      attr_accessor :properties


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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_resources2-1.0.1 lib/2018-05-01/generated/azure_mgmt_resources2/models/deployment.rb
azure_mgmt_resources2-1.0.0 lib/2018-05-01/generated/azure_mgmt_resources2/models/deployment.rb