Exemple #1
0
 /// <summary>
 /// Get delivery attributes for an event subscription of a partner topic.
 /// </summary>
 /// <remarks>
 /// Get all delivery attributes for an event subscription of a partner topic.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group within the user's subscription.
 /// </param>
 /// <param name='partnerTopicName'>
 /// Name of the partner topic.
 /// </param>
 /// <param name='eventSubscriptionName'>
 /// Name of the event subscription to be created. Event subscription names must
 /// be between 3 and 100 characters in length and use alphanumeric letters
 /// only.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <DeliveryAttributeListResult> GetDeliveryAttributesAsync(this IPartnerTopicEventSubscriptionsOperations operations, string resourceGroupName, string partnerTopicName, string eventSubscriptionName, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetDeliveryAttributesWithHttpMessagesAsync(resourceGroupName, partnerTopicName, eventSubscriptionName, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }