Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::TransformOutput

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-07-01/generated/azure_mgmt_media_services/models/transform_output.rb

Overview

Describes the properties of a TransformOutput, which are the rules to be applied while generating the desired output.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#on_errorOnErrorType

This property defines what the service should do when one output fails

  • either continue to produce other outputs, or, stop the other outputs.

The overall Job state will not reflect failures of outputs that are specified with ‘ContinueJob’. The default is ‘StopProcessingJob’. Possible values include: ‘StopProcessingJob’, ‘ContinueJob’

Returns:

  • (OnErrorType)

    A Transform can define more than one outputs.



22
23
24
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/transform_output.rb', line 22

def on_error
  @on_error
end

#presetPreset

to modify, transcode, or extract insights from the source file to generate the output.

Returns:

  • (Preset)

    Preset that describes the operations that will be used



33
34
35
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/transform_output.rb', line 33

def preset
  @preset
end

#relative_priorityPriority

within a Transform. This sets the priority that the service uses for processing TransformOutputs. The default priority is Normal. Possible values include: ‘Low’, ‘Normal’, ‘High’

Returns:

  • (Priority)

    Sets the relative priority of the TransformOutputs



28
29
30
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/transform_output.rb', line 28

def relative_priority
  @relative_priority
end

Class Method Details

.mapperObject

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



40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/transform_output.rb', line 40

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'TransformOutput',
    type: {
      name: 'Composite',
      class_name: 'TransformOutput',
      model_properties: {
        on_error: {
          client_side_validation: true,
          required: false,
          serialized_name: 'onError',
          type: {
            name: 'String'
          }
        },
        relative_priority: {
          client_side_validation: true,
          required: false,
          serialized_name: 'relativePriority',
          type: {
            name: 'String'
          }
        },
        preset: {
          client_side_validation: true,
          required: true,
          serialized_name: 'preset',
          type: {
            name: 'Composite',
            polymorphic_discriminator: '@odata.type',
            uber_parent: 'Preset',
            class_name: 'Preset'
          }
        }
      }
    }
  }
end