/// <summary>
 /// Creates or updates a firewall rule
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group. The name is case insensitive.
 /// </param>
 /// <param name='workspaceName'>
 /// The name of the workspace.
 /// </param>
 /// <param name='ruleName'>
 /// The IP firewall rule name
 /// </param>
 /// <param name='ipFirewallRuleInfo'>
 /// IP firewall rule properties
 /// </param>
 public static IpFirewallRuleInfo BeginCreateOrUpdate(this IIpFirewallRulesOperations operations, string resourceGroupName, string workspaceName, string ruleName, IpFirewallRuleInfo ipFirewallRuleInfo)
 {
     return(operations.BeginCreateOrUpdateAsync(resourceGroupName, workspaceName, ruleName, ipFirewallRuleInfo).GetAwaiter().GetResult());
 }