Class: Azure::ServiceBus::Mgmt::V2015_08_01::Models::TopicCreateOrUpdateParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb

Overview

Parameters supplied to the Create Or Update Topic operation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#accessed_atDateTime

received, for this topic.

Returns:

  • (DateTime)

    Last time the message was sent, or a request was



23
24
25
# File 'lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb', line 23

def accessed_at
  @accessed_at
end

#auto_delete_on_idleString

automatically deleted. The minimum duration is 5 minutes.

Returns:

  • (String)

    TimeSpan idle interval after which the topic is



27
28
29
# File 'lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb', line 27

def auto_delete_on_idle
  @auto_delete_on_idle
end

#count_detailsMessageCountDetails

Returns:



38
39
40
# File 'lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb', line 38

def count_details
  @count_details
end

#created_atDateTime

Returns Exact time the message was created.

Returns:

  • (DateTime)

    Exact time the message was created.



35
36
37
# File 'lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb', line 35

def created_at
  @created_at
end

#default_message_time_to_liveString

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:

  • (String)

    Default message time to live value. This is the



44
45
46
# File 'lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb', line 44

def default_message_time_to_live
  @default_message_time_to_live
end

#duplicate_detection_history_time_windowString

duplicate detection history. The default value is 10 minutes.

Returns:

  • (String)

    TimeSpan structure that defines the duration of the



48
49
50
# File 'lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb', line 48

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



52
53
54
# File 'lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb', line 52

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



57
58
59
# File 'lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb', line 57

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



61
62
63
# File 'lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb', line 61

def enable_partitioning
  @enable_partitioning
end

#entity_availability_statusEntityAvailabilityStatus

topic. Possible values include: ‘Available’, ‘Limited’, ‘Renaming’, ‘Restoring’, ‘Unknown’

Returns:



32
33
34
# File 'lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb', line 32

def entity_availability_status
  @entity_availability_status
end

#filtering_messages_before_publishingBoolean

publishing.

Returns:

  • (Boolean)

    Whether messages should be filtered before



65
66
67
# File 'lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb', line 65

def filtering_messages_before_publishing
  @filtering_messages_before_publishing
end

#is_anonymous_accessibleBoolean

accessible anonymously.

Returns:

  • (Boolean)

    Value that indicates whether the message is



69
70
71
# File 'lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb', line 69

def is_anonymous_accessible
  @is_anonymous_accessible
end

#is_expressBoolean

Returns:

  • (Boolean)


72
73
74
# File 'lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb', line 72

def is_express
  @is_express
end

#locationString

Returns Location of the resource.

Returns:

  • (String)

    Location of the resource.



19
20
21
# File 'lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb', line 19

def location
  @location
end

#max_size_in_megabytesInteger

size of the memory allocated for the topic.

Returns:

  • (Integer)

    Maximum size of the topic in megabytes, which is the



76
77
78
# File 'lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb', line 76

def max_size_in_megabytes
  @max_size_in_megabytes
end

#nameString

Returns Topic name.

Returns:

  • (String)

    Topic name.



16
17
18
# File 'lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb', line 16

def name
  @name
end

#requires_duplicate_detectionBoolean

detection.

Returns:

  • (Boolean)

    Value indicating if this topic requires duplicate



80
81
82
# File 'lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb', line 80

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.



83
84
85
# File 'lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb', line 83

def size_in_bytes
  @size_in_bytes
end

#statusEntityStatus

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

Returns:

  • (EntityStatus)

    Enumerates the possible values for the status of



89
90
91
# File 'lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb', line 89

def status
  @status
end

#subscription_countInteger

Returns Number of subscriptions.

Returns:

  • (Integer)

    Number of subscriptions.



92
93
94
# File 'lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb', line 92

def subscription_count
  @subscription_count
end

#support_orderingBoolean

ordering.

Returns:

  • (Boolean)

    Value that indicates whether the topic supports



96
97
98
# File 'lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb', line 96

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.



99
100
101
# File 'lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb', line 99

def updated_at
  @updated_at
end

Class Method Details

.mapperObject

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



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
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
# File 'lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb', line 106

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'TopicCreateOrUpdateParameters',
    type: {
      name: 'Composite',
      class_name: 'TopicCreateOrUpdateParameters',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: true,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        accessed_at: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.accessedAt',
          type: {
            name: 'DateTime'
          }
        },
        auto_delete_on_idle: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.autoDeleteOnIdle',
          type: {
            name: 'String'
          }
        },
        entity_availability_status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.entityAvailabilityStatus',
          type: {
            name: 'Enum',
            module: 'EntityAvailabilityStatus'
          }
        },
        created_at: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.createdAt',
          type: {
            name: 'DateTime'
          }
        },
        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: 'String'
          }
        },
        duplicate_detection_history_time_window: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.duplicateDetectionHistoryTimeWindow',
          type: {
            name: 'String'
          }
        },
        enable_batched_operations: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.enableBatchedOperations',
          type: {
            name: 'Boolean'
          }
        },
        enable_express: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.enableExpress',
          type: {
            name: 'Boolean'
          }
        },
        enable_partitioning: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.enablePartitioning',
          type: {
            name: 'Boolean'
          }
        },
        filtering_messages_before_publishing: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.filteringMessagesBeforePublishing',
          type: {
            name: 'Boolean'
          }
        },
        is_anonymous_accessible: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.isAnonymousAccessible',
          type: {
            name: 'Boolean'
          }
        },
        is_express: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.isExpress',
          type: {
            name: 'Boolean'
          }
        },
        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'
          }
        },
        size_in_bytes: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.sizeInBytes',
          type: {
            name: 'Number'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.status',
          type: {
            name: 'Enum',
            module: 'EntityStatus'
          }
        },
        subscription_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.subscriptionCount',
          type: {
            name: 'Number'
          }
        },
        support_ordering: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.supportOrdering',
          type: {
            name: 'Boolean'
          }
        },
        updated_at: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.updatedAt',
          type: {
            name: 'DateTime'
          }
        }
      }
    }
  }
end