Class: Azure::ARM::Web::Models::CsmMoveResourceEnvelope

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_web/models/csm_move_resource_envelope.rb

Overview

Object with a list of the resources that need to be moved and the resource group they should be moved to.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#resourcesArray<String>

Returns:

  • (Array<String>)


21
22
23
# File 'lib/generated/azure_mgmt_web/models/csm_move_resource_envelope.rb', line 21

def resources
  @resources
end

#target_resource_groupString

Returns:

  • (String)


18
19
20
# File 'lib/generated/azure_mgmt_web/models/csm_move_resource_envelope.rb', line 18

def target_resource_group
  @target_resource_group
end

Class Method Details

.mapperObject

Mapper for CsmMoveResourceEnvelope class as Ruby Hash. This will be used for serialization/deserialization.



28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# File 'lib/generated/azure_mgmt_web/models/csm_move_resource_envelope.rb', line 28

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