/// <summary>Snippet for BatchUpdateIngressRulesAsync</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public async Task BatchUpdateIngressRulesRequestObjectAsync() { // Create client FirewallClient firewallClient = await FirewallClient.CreateAsync(); // Initialize request argument(s) BatchUpdateIngressRulesRequest request = new BatchUpdateIngressRulesRequest { Name = "", IngressRules = { new FirewallRule(), }, }; // Make the request BatchUpdateIngressRulesResponse response = await firewallClient.BatchUpdateIngressRulesAsync(request); }
/// <summary>Snippet for BatchUpdateIngressRulesAsync</summary> public async Task BatchUpdateIngressRulesRequestObjectAsync() { // Snippet: BatchUpdateIngressRulesAsync(BatchUpdateIngressRulesRequest, CallSettings) // Additional: BatchUpdateIngressRulesAsync(BatchUpdateIngressRulesRequest, CancellationToken) // Create client FirewallClient firewallClient = await FirewallClient.CreateAsync(); // Initialize request argument(s) BatchUpdateIngressRulesRequest request = new BatchUpdateIngressRulesRequest { Name = "", IngressRules = { new FirewallRule(), }, }; // Make the request BatchUpdateIngressRulesResponse response = await firewallClient.BatchUpdateIngressRulesAsync(request); // End snippet }