class Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountCreateOrUpdateParameters

The parameters supplied to the create or update automation account operation.

Attributes

location[RW]

@return [String] Gets or sets the location of the resource.

name[RW]

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

sku[RW]

@return [Sku] Gets or sets account SKU.

tags[RW]

@return [Hash{String => String}] Gets or sets the tags attached to the resource.

Private Class Methods

mapper() click to toggle source

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

# File lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account_create_or_update_parameters.rb, line 35
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AutomationAccountCreateOrUpdateParameters',
    type: {
      name: 'Composite',
      class_name: 'AutomationAccountCreateOrUpdateParameters',
      model_properties: {
        sku: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.sku',
          type: {
            name: 'Composite',
            class_name: 'Sku'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        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'
                }
            }
          }
        }
      }
    }
  }
end