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

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

Overview

Class containing 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>)


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

def resources
  @resources
end

#target_resource_groupString

Returns:

  • (String)


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

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.



27
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
# File 'lib/generated/azure_mgmt_web/models/csm_move_resource_envelope.rb', line 27

def self.mapper()
  {
    required: false,
    serialized_name: 'CsmMoveResourceEnvelope',
    type: {
      name: 'Composite',
      class_name: 'CsmMoveResourceEnvelope',
      model_properties: {
        target_resource_group: {
          required: false,
          serialized_name: 'targetResourceGroup',
          type: {
            name: 'String'
          }
        },
        resources: {
          required: false,
          serialized_name: 'resources',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end