class Azure::Consumption::Mgmt::V2019_05_01::Models::ProxyResource

The Resource model definition.

Attributes

e_tag[RW]

@return [String] eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.

id[RW]

@return [String] Resource Id.

name[RW]

@return [String] Resource name.

type[RW]

@return [String] Resource type.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-05-01/generated/azure_mgmt_consumption/models/proxy_resource.rb, line 34
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ProxyResource',
    type: {
      name: 'Composite',
      class_name: 'ProxyResource',
      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'
          }
        },
        e_tag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'eTag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end