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

Inherits:
SubResource
  • Object
show all
Includes:
MsRest::JSONable, 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

#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:

  • (String)

    The current entity tag for the transformation. This is



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

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:

  • (String)

    Specifies the query that will be run in the streaming



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

def query
  @query
end

#streaming_unitsInteger

streaming job uses.

Returns:

  • (Integer)

    Specifies the number of streaming units that the



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

def streaming_units
  @streaming_units
end

Class Method Details

.mapperObject

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



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
95
# File 'lib/generated/azure_mgmt_stream_analytics/models/transformation.rb', line 39

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