Class: Azure::Cosmosdb::Mgmt::V2019_12_12::Models::ARMProxyResource

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/armproxy_resource.rb

Overview

The resource model definition for a ARM proxy resource. It will have everything other than required location and tags

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#idString

account.

Returns:

  • (String)

    The unique resource identifier of the database



18
19
20
# File 'lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/armproxy_resource.rb', line 18

def id
  @id
end

#nameString

Returns The name of the database account.

Returns:

  • (String)

    The name of the database account.



21
22
23
# File 'lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/armproxy_resource.rb', line 21

def name
  @name
end

#typeString

Returns The type of Azure resource.

Returns:

  • (String)

    The type of Azure resource.



24
25
26
# File 'lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/armproxy_resource.rb', line 24

def type
  @type
end

Class Method Details

.mapperObject

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



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
66
67
68
69
70
# File 'lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/armproxy_resource.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ARMProxyResource',
    type: {
      name: 'Composite',
      class_name: 'ARMProxyResource',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end