-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Shivam Malpani
committed
Apr 19, 2024
1 parent
43170f0
commit 086d81d
Showing
45 changed files
with
379 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
21 changes: 21 additions & 0 deletions
21
...orking/ServiceNetworking.Management/examples/2024-05-01-preview/SecurityPolicyDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"title": "Delete SecurityPolicy", | ||
"operationId": "SecurityPoliciesInterface_Delete", | ||
"parameters": { | ||
"api-version": "2024-05-01-preview", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"trafficControllerName": "tc1", | ||
"securityPolicyName": "sp1" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"Retry-After": 3, | ||
"location": "https://blobLocation.com" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...etworking/ServiceNetworking.Management/examples/2024-05-01-preview/SecurityPolicyGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"title": "Get SecurityPolicy", | ||
"operationId": "SecurityPoliciesInterface_Get", | ||
"parameters": { | ||
"api-version": "2024-05-01-preview", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"trafficControllerName": "tc1", | ||
"securityPolicyName": "sp1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "waf-0", | ||
"type": "Microsoft.ServiceNetworking/trafficControllers/securityPolicies", | ||
"id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/sample-tc/securityPolicies/waf-0", | ||
"location": "eastus", | ||
"properties": { | ||
"policyType": "waf", | ||
"webApplicationFirewallPolicy": { | ||
"id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.Networking/applicationGatewayWebApplicationFirewallPolicies/wp-0" | ||
}, | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...working/ServiceNetworking.Management/examples/2024-05-01-preview/SecurityPolicyPatch.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"title": "Update SecurityPolicy", | ||
"operationId": "SecurityPoliciesInterface_Update", | ||
"parameters": { | ||
"api-version": "2024-05-01-preview", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"trafficControllerName": "tc1", | ||
"securityPolicyName": "sp1", | ||
"properties": { | ||
"properties": { | ||
"associationType": "subnets", | ||
"subnet": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet-tc/subnets/tc-subnet" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "waf-0", | ||
"type": "Microsoft.ServiceNetworking/trafficControllers/securityPolicies", | ||
"id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/sample-tc/securityPolicies/waf-0", | ||
"location": "eastus", | ||
"properties": { | ||
"policyType": "waf", | ||
"webApplicationFirewallPolicy": { | ||
"id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.Networking/applicationGatewayWebApplicationFirewallPolicies/wp-0" | ||
}, | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
52 changes: 52 additions & 0 deletions
52
...etworking/ServiceNetworking.Management/examples/2024-05-01-preview/SecurityPolicyPut.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"title": "Put SecurityPolicy", | ||
"operationId": "SecurityPoliciesInterface_CreateOrUpdate", | ||
"parameters": { | ||
"api-version": "2024-05-01-preview", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"trafficControllerName": "tc1", | ||
"securityPolicyName": "sp1", | ||
"resource": { | ||
"location": "NorthCentralUS", | ||
"properties": { | ||
"associationType": "subnets", | ||
"subnet": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet-tc/subnets/tc-subnet" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "waf-0", | ||
"type": "Microsoft.ServiceNetworking/trafficControllers/securityPolicies", | ||
"id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/sample-tc/securityPolicies/waf-0", | ||
"location": "eastus", | ||
"properties": { | ||
"policyType": "waf", | ||
"webApplicationFirewallPolicy": { | ||
"id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.Networking/applicationGatewayWebApplicationFirewallPolicies/wp-0" | ||
}, | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"name": "waf-0", | ||
"type": "Microsoft.ServiceNetworking/trafficControllers/securityPolicies", | ||
"id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/sample-tc/securityPolicies/waf-0", | ||
"location": "eastus", | ||
"properties": { | ||
"policyType": "waf", | ||
"webApplicationFirewallPolicy": { | ||
"id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.Networking/applicationGatewayWebApplicationFirewallPolicies/wp-0" | ||
}, | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.