EventGridClient.CreateEventSubscription Method
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.
Overloads
CreateEventSubscription(String, String, String, String, String, String, Boolean, String[], String[], RetryPolicy, String, String, DateTime, Hashtable[], Int32, Int32, String, String, Boolean, Hashtable[], Int64)
public Microsoft.Azure.Management.EventGrid.Models.EventSubscription CreateEventSubscription (string scope, string eventSubscriptionName, string endpoint, string endpointType, string subjectBeginsWith, string subjectEndsWith, bool isSubjectCaseSensitive, string[] includedEventTypes, string[] labels, Microsoft.Azure.Management.EventGrid.Models.RetryPolicy retryPolicy, string deliverySchema, string deadLetterEndpoint, DateTime expirationDate, System.Collections.Hashtable[] advancedFilter, int maxEventsPerBatch, int preferredBatchSizeInKiloByte, string aadTenantId, string aadAppIdOrUri, bool enableAdvancedFilteringOnArrays, System.Collections.Hashtable[] deliveryAttributeMapping, long storageQueueMessageTtl);
member this.CreateEventSubscription : string * string * string * string * string * string * bool * string[] * string[] * Microsoft.Azure.Management.EventGrid.Models.RetryPolicy * string * string * DateTime * System.Collections.Hashtable[] * int * int * string * string * bool * System.Collections.Hashtable[] * int64 -> Microsoft.Azure.Management.EventGrid.Models.EventSubscription
Public Function CreateEventSubscription (scope As String, eventSubscriptionName As String, endpoint As String, endpointType As String, subjectBeginsWith As String, subjectEndsWith As String, isSubjectCaseSensitive As Boolean, includedEventTypes As String(), labels As String(), retryPolicy As RetryPolicy, deliverySchema As String, deadLetterEndpoint As String, expirationDate As DateTime, advancedFilter As Hashtable(), maxEventsPerBatch As Integer, preferredBatchSizeInKiloByte As Integer, aadTenantId As String, aadAppIdOrUri As String, enableAdvancedFilteringOnArrays As Boolean, deliveryAttributeMapping As Hashtable(), storageQueueMessageTtl As Long) As EventSubscription
Parameters
- scope
- String
- eventSubscriptionName
- String
- endpoint
- String
- endpointType
- String
- subjectBeginsWith
- String
- subjectEndsWith
- String
- isSubjectCaseSensitive
- Boolean
- includedEventTypes
- String[]
- labels
- String[]
- retryPolicy
- RetryPolicy
- deliverySchema
- String
- deadLetterEndpoint
- String
- expirationDate
- DateTime
- advancedFilter
- Hashtable[]
- maxEventsPerBatch
- Int32
- preferredBatchSizeInKiloByte
- Int32
- aadTenantId
- String
- aadAppIdOrUri
- String
- enableAdvancedFilteringOnArrays
- Boolean
- deliveryAttributeMapping
- Hashtable[]
- storageQueueMessageTtl
- Int64
Returns
Applies to
CreateEventSubscription(String, String, String, String, String, String, Boolean, String[], String[])
public Microsoft.Azure.Management.EventGrid.Models.EventSubscription CreateEventSubscription (string scope, string eventSubscriptionName, string endpoint, string endpointType, string subjectBeginsWith, string subjectEndsWith, bool isSubjectCaseSensitive, string[] includedEventTypes, string[] labels);
member this.CreateEventSubscription : string * string * string * string * string * string * bool * string[] * string[] -> Microsoft.Azure.Management.EventGrid.Models.EventSubscription
Public Function CreateEventSubscription (scope As String, eventSubscriptionName As String, endpoint As String, endpointType As String, subjectBeginsWith As String, subjectEndsWith As String, isSubjectCaseSensitive As Boolean, includedEventTypes As String(), labels As String()) As EventSubscription
Parameters
- scope
- String
- eventSubscriptionName
- String
- endpoint
- String
- endpointType
- String
- subjectBeginsWith
- String
- subjectEndsWith
- String
- isSubjectCaseSensitive
- Boolean
- includedEventTypes
- String[]
- labels
- String[]