Class: Azure::ARM::StreamAnalytics::Models::Transformation

Inherits:
SubResource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_stream_analytics/models/transformation.rb

Overview

A transformation object, containing all information associated with the named transformation. All transformations are contained under a streaming job.

Instance Attribute Summary collapse

Attributes inherited from SubResource

#id, #name, #type

Class Method Summary collapse

Instance Attribute Details

#etagString

an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency.

Returns:

  • The current entity tag for the transformation. This is



31
32
33
# File 'lib/generated/azure_mgmt_stream_analytics/models/transformation.rb', line 31

def etag
  @etag
end

#queryString

job. You can learn more about the Stream Analytics Query Language (SAQL) here: msdn.microsoft.com/library/azure/dn834998 . Required on PUT (CreateOrReplace) requests.

Returns:

  • Specifies the query that will be run in the streaming



25
26
27
# File 'lib/generated/azure_mgmt_stream_analytics/models/transformation.rb', line 25

def query
  @query
end

#streaming_unitsInteger

streaming job uses.

Returns:

  • Specifies the number of streaming units that the



19
20
21
# File 'lib/generated/azure_mgmt_stream_analytics/models/transformation.rb', line 19

def streaming_units
  @streaming_units
end

Class Method Details

.mapperObject

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



38
39
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# File 'lib/generated/azure_mgmt_stream_analytics/models/transformation.rb', line 38

def self.mapper()
  {
    required: false,
    serialized_name: 'Transformation',
    type: {
      name: 'Composite',
      class_name: 'Transformation',
      model_properties: {
        id: {
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        streaming_units: {
          required: false,
          serialized_name: 'properties.streamingUnits',
          type: {
            name: 'Number'
          }
        },
        query: {
          required: false,
          serialized_name: 'properties.query',
          type: {
            name: 'String'
          }
        },
        etag: {
          required: false,
          read_only: true,
          serialized_name: 'properties.etag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end