class Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunRequest

The request parameters for scheduling a run.

Attributes

agent_pool_name[RW]

@return [String] The dedicated agent pool for the run.

is_archive_enabled[RW]

@return [Boolean] The value that indicates whether archiving is enabled for the run or not. Default value: false .

log_template[RW]

@return [String] The template that describes the repository and tag information for run log artifact.

type[RW]

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_request.rb, line 43
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RunRequest',
    type: {
      name: 'Composite',
      polymorphic_discriminator: 'type',
      uber_parent: 'RunRequest',
      class_name: 'RunRequest',
      model_properties: {
        is_archive_enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isArchiveEnabled',
          default_value: false,
          type: {
            name: 'Boolean'
          }
        },
        agent_pool_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'agentPoolName',
          type: {
            name: 'String'
          }
        },
        log_template: {
          client_side_validation: true,
          required: false,
          serialized_name: 'logTemplate',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_request.rb, line 21
def initialize
  @type = "RunRequest"
end