Subscription Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Event Subscription.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.SubscriptionTypeConverter))]
public class Subscription : Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.ISubscription, Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.SubscriptionTypeConverter))>]
type Subscription = class
interface ISubscription
interface IJsonSerializable
interface IResource
interface IValidates
Public Class Subscription
Implements ISubscription, IValidates
- Inheritance
-
Subscription
- Attributes
- Implements
Constructors
Subscription() |
Creates an new Subscription instance. |
Properties
DeadLetterDestinationEndpointType |
Type of the endpoint for the dead letter destination |
DeadLetterDestinationWithResourceIdentityDeadLetterDestination |
Information about the destination where events have to be delivered for the event subscription. Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering. |
DeliveryConfigurationDeliveryMode |
Delivery mode of the event subscription. |
EventDeliverySchema |
The event delivery schema for the event subscription. |
FilterConfigurationFilter |
An array of filters that are used for filtering event subscriptions. |
FilterConfigurationIncludedEventType |
A list of applicable event types that need to be part of the event subscription. If it is desired to subscribe to all default event types, set the IncludedEventTypes to null. |
Id |
Fully qualified identifier of the resource. |
IdentityType |
The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identity. |
IdentityUserAssignedIdentity |
The user identity associated with the resource. |
Name |
Name of the resource. |
ProvisioningState |
Provisioning state of the event subscription. |
QueueEventTimeToLive |
Time span duration in ISO 8601 format that determines how long messages are available to the subscription from the time the message was published. This duration value is expressed using the following format: 'P(n)Y(n)M(n)DT(n)H(n)M(n)S', where:
|
QueueMaxDeliveryCount |
The maximum delivery count of the events. |
QueueReceiveLockDurationInSecond |
Maximum period in seconds in which once the message is in received (by the client) state and waiting to be accepted, released or rejected. If this time elapsed after a message has been received by the client and not transitioned into accepted (not processed), released or rejected, the message is available for redelivery. This is an optional field, where default is 60 seconds, minimum is 60 seconds and maximum is 300 seconds. |
ResourceGroupName |
Gets the resource group name |
SystemDataCreatedAt |
The timestamp of resource creation (UTC). |
SystemDataCreatedBy |
The identity that created the resource. |
SystemDataCreatedByType |
The type of identity that created the resource. |
SystemDataLastModifiedAt |
The timestamp of resource last modification (UTC) |
SystemDataLastModifiedBy |
The identity that last modified the resource. |
SystemDataLastModifiedByType |
The type of identity that last modified the resource. |
Type |
Type of the resource. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of Subscription. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of Subscription. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.ISubscription. |
FromJsonString(String) |
Creates a new instance of Subscription, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of Subscription into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() | |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |