Class: Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusQueueOutputDataSource

Inherits:
OutputDataSource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/service_bus_queue_output_data_source.rb

Overview

Describes a Service Bus Queue output data source.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeServiceBusQueueOutputDataSource

Returns a new instance of ServiceBusQueueOutputDataSource.



16
17
18
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/service_bus_queue_output_data_source.rb', line 16

def initialize
  @type = "Microsoft.ServiceBus/Queue"
end

Instance Attribute Details

#property_columnsArray<String>

to be attached to Service Bus messages as custom properties.

Returns:

  • (Array<String>)

    A string array of the names of output columns



42
43
44
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/service_bus_queue_output_data_source.rb', line 42

def property_columns
  @property_columns
end

#queue_nameString

(CreateOrReplace) requests.

Returns:

  • (String)

    The name of the Service Bus Queue. Required on PUT



38
39
40
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/service_bus_queue_output_data_source.rb', line 38

def queue_name
  @queue_name
end

#service_bus_namespaceString

Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests.

Returns:

  • (String)

    The namespace that is associated with the desired



25
26
27
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/service_bus_queue_output_data_source.rb', line 25

def service_bus_namespace
  @service_bus_namespace
end

#shared_access_policy_keyString

access policy. Required on PUT (CreateOrReplace) requests.

Returns:

  • (String)

    The shared access policy key for the specified shared



34
35
36
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/service_bus_queue_output_data_source.rb', line 34

def shared_access_policy_key
  @shared_access_policy_key
end

#shared_access_policy_nameString

Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests.

Returns:

  • (String)

    The shared access policy name for the Event Hub,



30
31
32
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/service_bus_queue_output_data_source.rb', line 30

def shared_access_policy_name
  @shared_access_policy_name
end

#typeObject

Returns the value of attribute type.



20
21
22
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/service_bus_queue_output_data_source.rb', line 20

def type
  @type
end

Class Method Details

.mapperObject

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



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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/service_bus_queue_output_data_source.rb', line 49

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Microsoft.ServiceBus/Queue',
    type: {
      name: 'Composite',
      class_name: 'ServiceBusQueueOutputDataSource',
      model_properties: {
        type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        service_bus_namespace: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.serviceBusNamespace',
          type: {
            name: 'String'
          }
        },
        shared_access_policy_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.sharedAccessPolicyName',
          type: {
            name: 'String'
          }
        },
        shared_access_policy_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.sharedAccessPolicyKey',
          type: {
            name: 'String'
          }
        },
        queue_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.queueName',
          type: {
            name: 'String'
          }
        },
        property_columns: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.propertyColumns',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end