Skip to content

Commit 0e5fb17

Browse files
author
SDKAuto
committed
CodeGen from PR 22393 in Azure/azure-rest-api-specs
Add Get All Policies under Subscription in Version 2022-05-01. (Azure#22393) * Create WafListPoliciesUnderResourceGroup.json * Update webapplicationfirewall.json * Rename WafListPoliciesUnderResourceGroup.json to WafListPoliciesUnderSubscription.json * Update webapplicationfirewall.json Fixed the LintDiff error - fix https://github.com/Azure/azure-openapi-validator/blob/main/docs/default-error-response-schema.md Fixed the SemanticValidatiion error - fix https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/Semantic-and-Model-Violations-Reference.md#DUPLICATE_OPERATIONID * Update WafPolicyDelete.json Fixed the ModelValidation error - fix of https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/Semantic-and-Model-Violations-Reference.md#LRO_RESPONSE_HEADER * Update webapplicationfirewall.json add typeobject. * Update WafPolicyDelete.json Fix prettier check. * Update webapplicationfirewall.json Prettier fix
1 parent 2cd0c88 commit 0e5fb17

File tree

6 files changed

+232
-1
lines changed

6 files changed

+232
-1
lines changed

sdk/frontdoor/Azure.ResourceManager.FrontDoor/api/Azure.ResourceManager.FrontDoor.netstandard2.0.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ public static partial class FrontDoorExtensions
106106
public static Azure.Pageable<Azure.ResourceManager.FrontDoor.FrontDoorResource> GetFrontDoors(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
107107
public static Azure.AsyncPageable<Azure.ResourceManager.FrontDoor.FrontDoorResource> GetFrontDoorsAsync(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
108108
public static Azure.ResourceManager.FrontDoor.FrontDoorWebApplicationFirewallPolicyCollection GetFrontDoorWebApplicationFirewallPolicies(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource) { throw null; }
109+
public static Azure.Pageable<Azure.ResourceManager.FrontDoor.FrontDoorWebApplicationFirewallPolicyResource> GetFrontDoorWebApplicationFirewallPoliciesByFrontDoorWebApplicationFirewallPolicy(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
110+
public static Azure.AsyncPageable<Azure.ResourceManager.FrontDoor.FrontDoorWebApplicationFirewallPolicyResource> GetFrontDoorWebApplicationFirewallPoliciesByFrontDoorWebApplicationFirewallPolicyAsync(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
109111
public static Azure.Response<Azure.ResourceManager.FrontDoor.FrontDoorWebApplicationFirewallPolicyResource> GetFrontDoorWebApplicationFirewallPolicy(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string policyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
110112
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.FrontDoor.FrontDoorWebApplicationFirewallPolicyResource>> GetFrontDoorWebApplicationFirewallPolicyAsync(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string policyName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
111113
public static Azure.ResourceManager.FrontDoor.FrontDoorWebApplicationFirewallPolicyResource GetFrontDoorWebApplicationFirewallPolicyResource(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id) { throw null; }
@@ -1364,6 +1366,7 @@ public RoutingRuleData() { }
13641366
private readonly int _dummyPrimitive;
13651367
public RuleMatchActionType(string value) { throw null; }
13661368
public static Azure.ResourceManager.FrontDoor.Models.RuleMatchActionType Allow { get { throw null; } }
1369+
public static Azure.ResourceManager.FrontDoor.Models.RuleMatchActionType AnomalyScoring { get { throw null; } }
13671370
public static Azure.ResourceManager.FrontDoor.Models.RuleMatchActionType Block { get { throw null; } }
13681371
public static Azure.ResourceManager.FrontDoor.Models.RuleMatchActionType Log { get { throw null; } }
13691372
public static Azure.ResourceManager.FrontDoor.Models.RuleMatchActionType Redirect { get { throw null; } }

sdk/frontdoor/Azure.ResourceManager.FrontDoor/src/Generated/Extensions/FrontDoorExtensions.cs

Lines changed: 42 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/frontdoor/Azure.ResourceManager.FrontDoor/src/Generated/Extensions/SubscriptionResourceExtensionClient.cs

Lines changed: 48 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/frontdoor/Azure.ResourceManager.FrontDoor/src/Generated/Models/RuleMatchActionType.cs

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)