class Azure::Automation::Mgmt::V2015_10_31::Models::CredentialCreateOrUpdateParameters

The parameters supplied to the create or update credential operation.

Attributes

description[RW]

@return [String] Gets or sets the description of the credential.

name[RW]

@return [String] Gets or sets the name of the credential.

password[RW]

@return [String] Gets or sets the password of the credential.

user_name[RW]

@return [String] Gets or sets the user name of the credential.

Private Class Methods

mapper() click to toggle source

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

# File lib/2015-10-31/generated/azure_mgmt_automation/models/credential_create_or_update_parameters.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CredentialCreateOrUpdateParameters',
    type: {
      name: 'Composite',
      class_name: 'CredentialCreateOrUpdateParameters',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        user_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.userName',
          type: {
            name: 'String'
          }
        },
        password: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.password',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end