Sha256: 11a4521b27fb209fb20d96f1f764e229f16bc35447d8886cb0e7aec0d8e53ab7

Contents?: true

Size: 1.79 KB

Versions: 1

Compression:

Stored size: 1.79 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::ARM::Web
  module Models
    #
    # Object with a list of the resources that need to be moved and the
    # resource group they should be moved to.
    #
    class CsmMoveResourceEnvelope

      include MsRestAzure

      include MsRest::JSONable
      # @return [String]
      attr_accessor :target_resource_group

      # @return [Array<String>]
      attr_accessor :resources


      #
      # Mapper for CsmMoveResourceEnvelope class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'CsmMoveResourceEnvelope',
          type: {
            name: 'Composite',
            class_name: 'CsmMoveResourceEnvelope',
            model_properties: {
              target_resource_group: {
                required: false,
                serialized_name: 'targetResourceGroup',
                constraints: {
                  MaxLength: 90,
                  MinLength: 1,
                  Pattern: ' ^[-\w\._\(\)]+[^\.]$'
                },
                type: {
                  name: 'String'
                }
              },
              resources: {
                required: false,
                serialized_name: 'resources',
                type: {
                  name: 'Sequence',
                  element: {
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_web-0.13.0 lib/generated/azure_mgmt_web/models/csm_move_resource_envelope.rb