class Azure::HybridCompute::Mgmt::V2020_08_02::Models::MachineUpdate

Describes a hybrid machine Update.

Attributes

location_data[RW]

@return [LocationData]

principal_id[RW]

@return [String] The identity's principal id.

tenant_id[RW]

@return [String] The identity's tenant id.

type[RW]

@return [String] The identity type.

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-08-02/generated/azure_mgmt_hybrid_compute/models/machine_update.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'MachineUpdate',
    type: {
      name: 'Composite',
      class_name: 'MachineUpdate',
      model_properties: {
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'identity.type',
          type: {
            name: 'String'
          }
        },
        principal_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'identity.principalId',
          type: {
            name: 'String'
          }
        },
        tenant_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'identity.tenantId',
          type: {
            name: 'String'
          }
        },
        location_data: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.locationData',
          type: {
            name: 'Composite',
            class_name: 'LocationData'
          }
        }
      }
    }
  }
end