Class: Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBTopic

Inherits:
Resource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbtopic.rb

Overview

Description of topic resource.

Instance Attribute Summary collapse

Attributes inherited from Resource

#id, #name, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#accessed_atDateTime

received, for this topic.

Returns:

  • (DateTime)

    Last time the message was sent, or a request was



26
27
28
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbtopic.rb', line 26

def accessed_at
  @accessed_at
end

#auto_delete_on_idleDuration

topic is automatically deleted. The minimum duration is 5 minutes.

Returns:

  • (Duration)

    ISO 8601 timespan idle interval after which the



68
69
70
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbtopic.rb', line 68

def auto_delete_on_idle
  @auto_delete_on_idle
end

#count_detailsMessageCountDetails

Returns Message count details.

Returns:



32
33
34
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbtopic.rb', line 32

def count_details
  @count_details
end

#created_atDateTime

Returns Exact time the message was created.

Returns:

  • (DateTime)

    Exact time the message was created.



19
20
21
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbtopic.rb', line 19

def created_at
  @created_at
end

#default_message_time_to_liveDuration

This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself.

Returns:

  • (Duration)

    ISO 8601 Default message timespan to live value.



38
39
40
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbtopic.rb', line 38

def default_message_time_to_live
  @default_message_time_to_live
end

#duplicate_detection_history_time_windowDuration

of the duplicate detection history. The default value is 10 minutes.

Returns:

  • (Duration)

    ISO8601 timespan structure that defines the duration



50
51
52
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbtopic.rb', line 50

def duplicate_detection_history_time_window
  @duplicate_detection_history_time_window
end

#enable_batched_operationsBoolean

operations are enabled.

Returns:

  • (Boolean)

    Value that indicates whether server-side batched



54
55
56
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbtopic.rb', line 54

def enable_batched_operations
  @enable_batched_operations
end

#enable_expressBoolean

enabled. An express topic holds a message in memory temporarily before writing it to persistent storage.

Returns:

  • (Boolean)

    Value that indicates whether Express Entities are



77
78
79
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbtopic.rb', line 77

def enable_express
  @enable_express
end

#enable_partitioningBoolean

partitioned across multiple message brokers is enabled.

Returns:

  • (Boolean)

    Value that indicates whether the topic to be



72
73
74
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbtopic.rb', line 72

def enable_partitioning
  @enable_partitioning
end

#max_size_in_megabytesInteger

size of the memory allocated for the topic. Default is 1024.

Returns:

  • (Integer)

    Maximum size of the topic in megabytes, which is the



42
43
44
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbtopic.rb', line 42

def max_size_in_megabytes
  @max_size_in_megabytes
end

#requires_duplicate_detectionBoolean

detection.

Returns:

  • (Boolean)

    Value indicating if this topic requires duplicate



46
47
48
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbtopic.rb', line 46

def requires_duplicate_detection
  @requires_duplicate_detection
end

#size_in_bytesInteger

Returns Size of the topic, in bytes.

Returns:

  • (Integer)

    Size of the topic, in bytes.



16
17
18
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbtopic.rb', line 16

def size_in_bytes
  @size_in_bytes
end

#statusEntityStatus

a messaging entity. Possible values include: ‘Active’, ‘Disabled’, ‘Restoring’, ‘SendDisabled’, ‘ReceiveDisabled’, ‘Creating’, ‘Deleting’, ‘Renaming’, ‘Unknown’

Returns:

  • (EntityStatus)

    Enumerates the possible values for the status of



60
61
62
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbtopic.rb', line 60

def status
  @status
end

#subscription_countInteger

Returns Number of subscriptions.

Returns:

  • (Integer)

    Number of subscriptions.



29
30
31
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbtopic.rb', line 29

def subscription_count
  @subscription_count
end

#support_orderingBoolean

ordering.

Returns:

  • (Boolean)

    Value that indicates whether the topic supports



64
65
66
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbtopic.rb', line 64

def support_ordering
  @support_ordering
end

#updated_atDateTime

Returns The exact time the message was updated.

Returns:

  • (DateTime)

    The exact time the message was updated.



22
23
24
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbtopic.rb', line 22

def updated_at
  @updated_at
end

Class Method Details

.mapperObject

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



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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbtopic.rb', line 84

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SBTopic',
    type: {
      name: 'Composite',
      class_name: 'SBTopic',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        size_in_bytes: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.sizeInBytes',
          type: {
            name: 'Number'
          }
        },
        created_at: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.createdAt',
          type: {
            name: 'DateTime'
          }
        },
        updated_at: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.updatedAt',
          type: {
            name: 'DateTime'
          }
        },
        accessed_at: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.accessedAt',
          type: {
            name: 'DateTime'
          }
        },
        subscription_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.subscriptionCount',
          type: {
            name: 'Number'
          }
        },
        count_details: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.countDetails',
          type: {
            name: 'Composite',
            class_name: 'MessageCountDetails'
          }
        },
        default_message_time_to_live: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.defaultMessageTimeToLive',
          type: {
            name: 'TimeSpan'
          }
        },
        max_size_in_megabytes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.maxSizeInMegabytes',
          type: {
            name: 'Number'
          }
        },
        requires_duplicate_detection: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.requiresDuplicateDetection',
          type: {
            name: 'Boolean'
          }
        },
        duplicate_detection_history_time_window: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.duplicateDetectionHistoryTimeWindow',
          type: {
            name: 'TimeSpan'
          }
        },
        enable_batched_operations: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.enableBatchedOperations',
          type: {
            name: 'Boolean'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.status',
          type: {
            name: 'Enum',
            module: 'EntityStatus'
          }
        },
        support_ordering: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.supportOrdering',
          type: {
            name: 'Boolean'
          }
        },
        auto_delete_on_idle: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.autoDeleteOnIdle',
          type: {
            name: 'TimeSpan'
          }
        },
        enable_partitioning: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.enablePartitioning',
          type: {
            name: 'Boolean'
          }
        },
        enable_express: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.enableExpress',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end