Пример #1
0
 /// <summary>
 /// Use this method to get the aggregated security analytics recommendation of
 /// yours IoT Security solution. This aggregation is performed by
 /// recommendation name.
 /// </summary>
 /// <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. The name is
 /// case insensitive.
 /// </param>
 /// <param name='solutionName'>
 /// The name of the IoT Security solution.
 /// </param>
 /// <param name='aggregatedRecommendationName'>
 /// Name of the recommendation aggregated for this query.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IoTSecurityAggregatedRecommendation> GetAsync(this IIotSecuritySolutionsAnalyticsRecommendationOperations operations, string resourceGroupName, string solutionName, string aggregatedRecommendationName, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, solutionName, aggregatedRecommendationName, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Пример #2
0
 /// <summary>
 /// Use this method to get the list of aggregated security analytics
 /// recommendations of yours IoT Security solution.
 /// </summary>
 /// <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. The name is
 /// case insensitive.
 /// </param>
 /// <param name='solutionName'>
 /// The name of the IoT Security solution.
 /// </param>
 /// <param name='top'>
 /// Number of results to retrieve.
 /// </param>
 public static IPage <IoTSecurityAggregatedRecommendation> List(this IIotSecuritySolutionsAnalyticsRecommendationOperations operations, string resourceGroupName, string solutionName, int?top = default(int?))
 {
     return(operations.ListAsync(resourceGroupName, solutionName, top).GetAwaiter().GetResult());
 }
Пример #3
0
 /// <summary>
 /// Use this method to get the list of aggregated security analytics
 /// recommendations of yours IoT Security solution.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='nextPageLink'>
 /// The NextLink from the previous successful call to List operation.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <IoTSecurityAggregatedRecommendation> > ListNextAsync(this IIotSecuritySolutionsAnalyticsRecommendationOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Пример #4
0
 /// <summary>
 /// Use this method to get the aggregated security analytics recommendation of
 /// yours IoT Security solution. This aggregation is performed by
 /// recommendation name.
 /// </summary>
 /// <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. The name is
 /// case insensitive.
 /// </param>
 /// <param name='solutionName'>
 /// The name of the IoT Security solution.
 /// </param>
 /// <param name='aggregatedRecommendationName'>
 /// Name of the recommendation aggregated for this query.
 /// </param>
 public static IoTSecurityAggregatedRecommendation Get(this IIotSecuritySolutionsAnalyticsRecommendationOperations operations, string resourceGroupName, string solutionName, string aggregatedRecommendationName)
 {
     return(operations.GetAsync(resourceGroupName, solutionName, aggregatedRecommendationName).GetAwaiter().GetResult());
 }
Пример #5
0
 /// <summary>
 /// Use this method to get the list of aggregated security analytics
 /// recommendations of yours IoT Security solution.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='nextPageLink'>
 /// The NextLink from the previous successful call to List operation.
 /// </param>
 public static IPage <IoTSecurityAggregatedRecommendation> ListNext(this IIotSecuritySolutionsAnalyticsRecommendationOperations operations, string nextPageLink)
 {
     return(operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult());
 }