Esempio n. 1
0
 /// <summary>
 /// Lists all of the Rules Engine Configurations within a Front Door.
 /// </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='frontDoorName'>
 /// Name of the Front Door which is globally unique.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <RulesEngine> > ListByFrontDoorAsync(this IRulesEnginesOperations operations, string resourceGroupName, string frontDoorName, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListByFrontDoorWithHttpMessagesAsync(resourceGroupName, frontDoorName, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Lists all of the Rules Engine Configurations within a Front Door.
 /// </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 <RulesEngine> > ListByFrontDoorNextAsync(this IRulesEnginesOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListByFrontDoorNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Esempio n. 3
0
 /// <summary>
 /// Creates a new Rules Engine Configuration with the specified name within the
 /// specified Front Door.
 /// </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='frontDoorName'>
 /// Name of the Front Door which is globally unique.
 /// </param>
 /// <param name='rulesEngineName'>
 /// Name of the Rules Engine which is unique within the Front Door.
 /// </param>
 /// <param name='rulesEngineParameters'>
 /// Rules Engine Configuration properties needed to create a new Rules Engine
 /// Configuration.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <RulesEngine> BeginCreateOrUpdateAsync(this IRulesEnginesOperations operations, string resourceGroupName, string frontDoorName, string rulesEngineName, RulesEngine rulesEngineParameters, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, frontDoorName, rulesEngineName, rulesEngineParameters, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Esempio n. 4
0
 /// <summary>
 /// Gets a Rules Engine Configuration with the specified name within the
 /// specified Front Door.
 /// </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='frontDoorName'>
 /// Name of the Front Door which is globally unique.
 /// </param>
 /// <param name='rulesEngineName'>
 /// Name of the Rules Engine which is unique within the Front Door.
 /// </param>
 public static RulesEngine Get(this IRulesEnginesOperations operations, string resourceGroupName, string frontDoorName, string rulesEngineName)
 {
     return(operations.GetAsync(resourceGroupName, frontDoorName, rulesEngineName).GetAwaiter().GetResult());
 }
Esempio n. 5
0
 /// <summary>
 /// Lists all of the Rules Engine Configurations within a Front Door.
 /// </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='frontDoorName'>
 /// Name of the Front Door which is globally unique.
 /// </param>
 public static IPage <RulesEngine> ListByFrontDoor(this IRulesEnginesOperations operations, string resourceGroupName, string frontDoorName)
 {
     return(operations.ListByFrontDoorAsync(resourceGroupName, frontDoorName).GetAwaiter().GetResult());
 }
Esempio n. 6
0
 /// <summary>
 /// Lists all of the Rules Engine Configurations within a Front Door.
 /// </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 <RulesEngine> ListByFrontDoorNext(this IRulesEnginesOperations operations, string nextPageLink)
 {
     return(operations.ListByFrontDoorNextAsync(nextPageLink).GetAwaiter().GetResult());
 }
Esempio n. 7
0
 /// <summary>
 /// Deletes an existing Rules Engine Configuration with the specified
 /// parameters.
 /// </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='frontDoorName'>
 /// Name of the Front Door which is globally unique.
 /// </param>
 /// <param name='rulesEngineName'>
 /// Name of the Rules Engine which is unique within the Front Door.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task BeginDeleteAsync(this IRulesEnginesOperations operations, string resourceGroupName, string frontDoorName, string rulesEngineName, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.BeginDeleteWithHttpMessagesAsync(resourceGroupName, frontDoorName, rulesEngineName, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
Esempio n. 8
0
 /// <summary>
 /// Deletes an existing Rules Engine Configuration with the specified
 /// parameters.
 /// </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='frontDoorName'>
 /// Name of the Front Door which is globally unique.
 /// </param>
 /// <param name='rulesEngineName'>
 /// Name of the Rules Engine which is unique within the Front Door.
 /// </param>
 public static void BeginDelete(this IRulesEnginesOperations operations, string resourceGroupName, string frontDoorName, string rulesEngineName)
 {
     operations.BeginDeleteAsync(resourceGroupName, frontDoorName, rulesEngineName).GetAwaiter().GetResult();
 }
Esempio n. 9
0
 /// <summary>
 /// Creates a new Rules Engine Configuration with the specified name within the
 /// specified Front Door.
 /// </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='frontDoorName'>
 /// Name of the Front Door which is globally unique.
 /// </param>
 /// <param name='rulesEngineName'>
 /// Name of the Rules Engine which is unique within the Front Door.
 /// </param>
 /// <param name='rulesEngineParameters'>
 /// Rules Engine Configuration properties needed to create a new Rules Engine
 /// Configuration.
 /// </param>
 public static RulesEngine BeginCreateOrUpdate(this IRulesEnginesOperations operations, string resourceGroupName, string frontDoorName, string rulesEngineName, RulesEngine rulesEngineParameters)
 {
     return(operations.BeginCreateOrUpdateAsync(resourceGroupName, frontDoorName, rulesEngineName, rulesEngineParameters).GetAwaiter().GetResult());
 }