class Azure::Batch::Mgmt::V2019_04_01::Models::UserIdentity
Specify either the userName or autoUser property, but not both.
Attributes
auto_user[RW]
@return [AutoUserSpecification] The auto user under which the task is run. The userName and autoUser properties are mutually exclusive; you must specify one but not both.
user_name[RW]
@return [String] The name of the user identity under which the task is run. The userName and autoUser properties are mutually exclusive; you must specify one but not both.
Public Class Methods
mapper()
click to toggle source
Mapper for UserIdentity
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-04-01/generated/azure_mgmt_batch/models/user_identity.rb, line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'UserIdentity', type: { name: 'Composite', class_name: 'UserIdentity', model_properties: { user_name: { client_side_validation: true, required: false, serialized_name: 'userName', type: { name: 'String' } }, auto_user: { client_side_validation: true, required: false, serialized_name: 'autoUser', type: { name: 'Composite', class_name: 'AutoUserSpecification' } } } } } end