Esempio n. 1
0
 /// <summary>
 /// List all the subscriptions under a specified topic.
 /// <see href="https://msdn.microsoft.com/en-us/library/azure/mt639400.aspx" />
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of the Resource group within the Azure subscription.
 /// </param>
 /// <param name='namespaceName'>
 /// The namespace name
 /// </param>
 /// <param name='topicName'>
 /// The topic name.
 /// </param>
 /// <param name='skip'>
 /// Skip is only used if a previous operation returned a partial result. If a
 /// previous response contains a nextLink element, the value of the nextLink
 /// element will include a skip parameter that specifies a starting point to
 /// use for subsequent calls.
 /// </param>
 /// <param name='top'>
 /// May be used to limit the number of results to the most recent N
 /// usageDetails.
 /// </param>
 public static IPage <SBSubscription> ListByTopic(this ISubscriptionsOperations operations, string resourceGroupName, string namespaceName, string topicName, int?skip = default(int?), int?top = default(int?))
 {
     return(operations.ListByTopicAsync(resourceGroupName, namespaceName, topicName, skip, top).GetAwaiter().GetResult());
 }