Share via


SubscriptionInner Class

Definition

Description of subscription resource.

[Microsoft.Rest.Serialization.JsonTransformation]
public class SubscriptionInner : Microsoft.Azure.Management.ResourceManager.Fluent.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type SubscriptionInner = class
    inherit Resource
Public Class SubscriptionInner
Inherits Resource
Inheritance
SubscriptionInner
Attributes

Constructors

SubscriptionInner()

Initializes a new instance of the SubscriptionInner class.

SubscriptionInner(String, String, String, String, IDictionary<String, String>, Nullable<DateTime>, String, MessageCountDetails, Nullable<DateTime>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, Nullable<Int32>, Nullable<Int64>, Nullable<Boolean>, Nullable<EntityStatus>, Nullable<DateTime>)

Initializes a new instance of the SubscriptionInner class.

Properties

AccessedAt

Gets last time there was a receive request to this subscription.

AutoDeleteOnIdle

Gets or sets 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

CountDetails
CreatedAt

Gets exact time the Subscription was created.

DeadLetteringOnFilterEvaluationExceptions

Gets or sets value that indicates whether a subscription has dead letter support on filter evaluation exceptions.

DeadLetteringOnMessageExpiration

Gets or sets value that indicates whether a subscription has dead letter support when a message expires.

DefaultMessageTimeToLive

Gets or sets 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

EnableBatchedOperations

Gets or sets value that indicates whether server-side batched operations are enabled.

Id

Resource Id. Setter is protected because Id needs to be set in Network resources.

(Inherited from ProxyResource)
Location

Resource location

(Inherited from Resource)
LockDuration

Gets or sets 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

MaxDeliveryCount

Gets or sets number of maximum deliveries.

MessageCount

Gets number of messages.

Name

Resource name

(Inherited from ProxyResource)
RequiresSession

Gets or sets value indicating if a subscription supports the concept of sessions.

Status

Gets or sets enumerates the possible values for the status of a messaging entity. Possible values include: 'Active', 'Creating', 'Deleting', 'Disabled', 'ReceiveDisabled', 'Renaming', 'Restoring', 'SendDisabled', 'Unknown'

Tags

Resource tags

(Inherited from Resource)
Type

Resource type

(Inherited from ProxyResource)
UpdatedAt

Gets the exact time the subscription was updated.

Methods

Validate()

Validate the object. Throws ValidationException if validation fails.

(Inherited from Resource)

Applies to