/// <summary> /// Initializes a new instance of the QueueInner class. /// </summary> /// <param name="lockDuration">The duration of a peek-lock; that is, /// the amount of time that the message is locked for other receivers. /// The maximum value for LockDuration is 5 minutes; the default value /// is 1 minute. The service accepts a C# Standard TimeSpan Format for /// loc duration /// https://msdn.microsoft.com/en-us/library/ee372286(v=vs.110).aspx</param> /// <param name="accessedAt">Last time a message was sent, or the last /// time there was a receive request to this queue.</param> /// <param name="autoDeleteOnIdle">the TimeSpan idle interval after /// which the queue is automatically deleted. The minimum duration is 5 /// minutes. The service accepts a C# Standard TimeSpan Format for loc /// duration /// https://msdn.microsoft.com/en-us/library/ee372286(v=vs.110).aspx. /// Format is 'DD.HH:MM:SS' and default value of this property is /// 10675199 days.</param> /// <param name="createdAt">The exact time the Queue was /// created.</param> /// <param name="defaultMessageTimeToLive">The default message time to /// live value. 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. /// Format is 'DD.HH:MM:SS' and default value of this property is /// 10675199 days. The service accepts a C# Standard TimeSpan Format /// for loc duration /// https://msdn.microsoft.com/en-us/library/ee372286(v=vs.110).aspx /// </param> /// <param name="duplicateDetectionHistoryTimeWindow">TimeSpan /// structure that defines the duration of the duplicate detection /// history. The default value is 10 minutes. The service accepts a C# /// Standard TimeSpan Format for loc duration /// https://msdn.microsoft.com/en-us/library/ee372286(v=vs.110).aspx . /// Format is 'DD.HH:MM:SS' and default value of this property is /// 10675199 days</param> /// <param name="enableBatchedOperations">A value that indicates /// whether server-side batched operations are enabled.</param> /// <param name="deadLetteringOnMessageExpiration">A value that /// indicates whether this queue has dead letter support when a message /// expires.</param> /// <param name="enableExpress">A value that indicates whether Express /// Entities are enabled. An express queue holds a message in memory /// temporarily before writing it to persistent storage.</param> /// <param name="enablePartitioning">A value that indicates whether the /// queue is to be partitioned across multiple message brokers.</param> /// <param name="maxDeliveryCount">The maximum delivery count. A /// message is automatically deadlettered after this number of /// deliveries.</param> /// <param name="maxSizeInMegabytes">The maximum size of the queue in /// megabytes, which is the size of memory allocated for the /// queue.</param> /// <param name="messageCount">The number of messages in the /// queue.</param> /// <param name="requiresDuplicateDetection">A value indicating if this /// queue requires duplicate detection.</param> /// <param name="requiresSession">A value that indicates whether the /// queue supports the concept of sessions.</param> /// <param name="sizeInBytes">The size of the queue, in bytes.</param> /// <param name="status">Enumerates the possible values for the status /// of a messaging entity. Possible values include: 'Active', /// 'Creating', 'Deleting', 'Disabled', 'ReceiveDisabled', 'Renaming', /// 'Restoring', 'SendDisabled', 'Unknown'</param> /// <param name="supportOrdering">A value that indicates whether the /// queue supports ordering.</param> /// <param name="updatedAt">The exact time the Queue was /// updated.</param> public QueueInner(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string lockDuration = default(string), System.DateTime?accessedAt = default(System.DateTime?), string autoDeleteOnIdle = default(string), System.DateTime?createdAt = default(System.DateTime?), string defaultMessageTimeToLive = default(string), string duplicateDetectionHistoryTimeWindow = default(string), bool?enableBatchedOperations = default(bool?), bool?deadLetteringOnMessageExpiration = default(bool?), bool?enableExpress = default(bool?), bool?enablePartitioning = default(bool?), int?maxDeliveryCount = default(int?), long?maxSizeInMegabytes = default(long?), long?messageCount = default(long?), MessageCountDetails countDetails = default(MessageCountDetails), bool?requiresDuplicateDetection = default(bool?), bool?requiresSession = default(bool?), long?sizeInBytes = default(long?), EntityStatus?status = default(EntityStatus?), bool?supportOrdering = default(bool?), System.DateTime?updatedAt = default(System.DateTime?)) : base(location, id, name, type, tags) { LockDuration = lockDuration; AccessedAt = accessedAt; AutoDeleteOnIdle = autoDeleteOnIdle; CreatedAt = createdAt; DefaultMessageTimeToLive = defaultMessageTimeToLive; DuplicateDetectionHistoryTimeWindow = duplicateDetectionHistoryTimeWindow; EnableBatchedOperations = enableBatchedOperations; DeadLetteringOnMessageExpiration = deadLetteringOnMessageExpiration; EnableExpress = enableExpress; EnablePartitioning = enablePartitioning; MaxDeliveryCount = maxDeliveryCount; MaxSizeInMegabytes = maxSizeInMegabytes; MessageCount = messageCount; CountDetails = countDetails; RequiresDuplicateDetection = requiresDuplicateDetection; RequiresSession = requiresSession; SizeInBytes = sizeInBytes; Status = status; SupportOrdering = supportOrdering; UpdatedAt = updatedAt; CustomInit(); }
/// <summary> /// Initializes a new instance of the SubscriptionInner class. /// </summary> /// <param name="accessedAt">Last time there was a receive request to /// this subscription.</param> /// <param name="autoDeleteOnIdle">TimeSpan idle interval after which /// the topic is automatically deleted. The minimum duration is 5 /// minutes. The service accepts a C# Standard TimeSpan Format for loc /// duration /// https://msdn.microsoft.com/en-us/library/ee372286(v=vs.110).aspx. /// Format is 'DD.HH:MM:SS' and default value of this property is /// 10675199 days</param> /// <param name="createdAt">Exact time the Subscription was /// created.</param> /// <param name="defaultMessageTimeToLive">Default message time to live /// value. 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. /// The service accepts a C# Standard TimeSpan Format for loc duration /// https://msdn.microsoft.com/en-us/library/ee372286(v=vs.110).aspx . /// Format is 'DD.HH:MM:SS' and default value of this property is /// 10675199 days</param> /// <param name="deadLetteringOnFilterEvaluationExceptions">Value that /// indicates whether a subscription has dead letter support on filter /// evaluation exceptions.</param> /// <param name="deadLetteringOnMessageExpiration">Value that indicates /// whether a subscription has dead letter support when a message /// expires.</param> /// <param name="enableBatchedOperations">Value that indicates whether /// server-side batched operations are enabled.</param> /// <param name="lockDuration">The lock duration time span for the /// subscription. The service accepts a C# Standard TimeSpan Format for /// loc duration /// https://msdn.microsoft.com/en-us/library/ee372286(v=vs.110).aspx</param> /// <param name="maxDeliveryCount">Number of maximum /// deliveries.</param> /// <param name="messageCount">Number of messages.</param> /// <param name="requiresSession">Value indicating if a subscription /// supports the concept of sessions.</param> /// <param name="status">Enumerates the possible values for the status /// of a messaging entity. Possible values include: 'Active', /// 'Creating', 'Deleting', 'Disabled', 'ReceiveDisabled', 'Renaming', /// 'Restoring', 'SendDisabled', 'Unknown'</param> /// <param name="updatedAt">The exact time the subscription was /// updated.</param> public SubscriptionInner(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), System.DateTime?accessedAt = default(System.DateTime?), string autoDeleteOnIdle = default(string), MessageCountDetails countDetails = default(MessageCountDetails), System.DateTime?createdAt = default(System.DateTime?), string defaultMessageTimeToLive = default(string), bool?deadLetteringOnFilterEvaluationExceptions = default(bool?), bool?deadLetteringOnMessageExpiration = default(bool?), bool?enableBatchedOperations = default(bool?), string lockDuration = default(string), int?maxDeliveryCount = default(int?), long?messageCount = default(long?), bool?requiresSession = default(bool?), EntityStatus?status = default(EntityStatus?), System.DateTime?updatedAt = default(System.DateTime?)) : base(location, id, name, type, tags) { AccessedAt = accessedAt; AutoDeleteOnIdle = autoDeleteOnIdle; CountDetails = countDetails; CreatedAt = createdAt; DefaultMessageTimeToLive = defaultMessageTimeToLive; DeadLetteringOnFilterEvaluationExceptions = deadLetteringOnFilterEvaluationExceptions; DeadLetteringOnMessageExpiration = deadLetteringOnMessageExpiration; EnableBatchedOperations = enableBatchedOperations; LockDuration = lockDuration; MaxDeliveryCount = maxDeliveryCount; MessageCount = messageCount; RequiresSession = requiresSession; Status = status; UpdatedAt = updatedAt; CustomInit(); }