Skip to content

Commit cb593f0

Browse files
updated specs (#23435)
1 parent a397459 commit cb593f0

File tree

5 files changed

+342
-0
lines changed

5 files changed

+342
-0
lines changed

specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/preview/2022-08-29-preview/PaloAltoNetworks.Cloudngfw.json

Lines changed: 231 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
{
3737
"name": "Firewalls"
3838
},
39+
{
40+
"name": "FirewallStatus"
41+
},
3942
{
4043
"name": "GlobalRulestack"
4144
},
@@ -2557,6 +2560,99 @@
25572560
}
25582561
}
25592562
},
2563+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/firewalls/{firewallName}/statuses": {
2564+
"get": {
2565+
"tags": [
2566+
"FirewallStatus"
2567+
],
2568+
"operationId": "FirewallStatus_ListByFirewalls",
2569+
"description": "List FirewallStatusResource resources by Firewalls",
2570+
"parameters": [
2571+
{
2572+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
2573+
},
2574+
{
2575+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
2576+
},
2577+
{
2578+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
2579+
},
2580+
{
2581+
"$ref": "#/parameters/FirewallResource.firewallName"
2582+
}
2583+
],
2584+
"responses": {
2585+
"200": {
2586+
"description": "Azure operation completed successfully.",
2587+
"schema": {
2588+
"$ref": "#/definitions/FirewallStatusResourceListResult"
2589+
}
2590+
},
2591+
"default": {
2592+
"description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.",
2593+
"schema": {
2594+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
2595+
}
2596+
}
2597+
},
2598+
"x-ms-pageable": {
2599+
"nextLinkName": "nextLink"
2600+
},
2601+
"x-ms-examples": {
2602+
"FirewallStatus_ListByFirewalls_MaximumSet_Gen": {
2603+
"$ref": "./examples/FirewallStatus_ListByFirewalls_MaximumSet_Gen.json"
2604+
},
2605+
"FirewallStatus_ListByFirewalls_MinimumSet_Gen": {
2606+
"$ref": "./examples/FirewallStatus_ListByFirewalls_MinimumSet_Gen.json"
2607+
}
2608+
}
2609+
}
2610+
},
2611+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/firewalls/{firewallName}/statuses/default": {
2612+
"get": {
2613+
"tags": [
2614+
"FirewallStatus"
2615+
],
2616+
"operationId": "FirewallStatus_Get",
2617+
"description": "Get a FirewallStatusResource",
2618+
"parameters": [
2619+
{
2620+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
2621+
},
2622+
{
2623+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
2624+
},
2625+
{
2626+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
2627+
},
2628+
{
2629+
"$ref": "#/parameters/FirewallResource.firewallName"
2630+
}
2631+
],
2632+
"responses": {
2633+
"200": {
2634+
"description": "Azure operation completed successfully.",
2635+
"schema": {
2636+
"$ref": "#/definitions/FirewallStatusResource"
2637+
}
2638+
},
2639+
"default": {
2640+
"description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.",
2641+
"schema": {
2642+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
2643+
}
2644+
}
2645+
},
2646+
"x-ms-examples": {
2647+
"FirewallStatus_Get_MaximumSet_Gen": {
2648+
"$ref": "./examples/FirewallStatus_Get_MaximumSet_Gen.json"
2649+
},
2650+
"FirewallStatus_Get_MinimumSet_Gen": {
2651+
"$ref": "./examples/FirewallStatus_Get_MinimumSet_Gen.json"
2652+
}
2653+
}
2654+
}
2655+
},
25602656
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks": {
25612657
"get": {
25622658
"tags": [
@@ -5173,6 +5269,86 @@
51735269
},
51745270
"description": "The updatable properties of the FirewallResource."
51755271
},
5272+
"FirewallStatusProperty": {
5273+
"type": "object",
5274+
"properties": {
5275+
"isPanoramaManaged": {
5276+
"$ref": "#/definitions/BooleanEnum",
5277+
"description": "Panorama Managed: Default is False. Default will be CloudSec managed",
5278+
"readOnly": true
5279+
},
5280+
"healthStatus": {
5281+
"$ref": "#/definitions/HealthStatus",
5282+
"description": "Current status of the Firewall",
5283+
"readOnly": true
5284+
},
5285+
"healthReason": {
5286+
"type": "string",
5287+
"description": "Detail description of current health of the Firewall",
5288+
"readOnly": true
5289+
},
5290+
"panoramaStatus": {
5291+
"$ref": "#/definitions/PanoramaStatus",
5292+
"description": "Panorama Status",
5293+
"readOnly": true
5294+
},
5295+
"provisioningState": {
5296+
"$ref": "#/definitions/ReadOnlyProvisioningState",
5297+
"description": "Provisioning state of the resource.",
5298+
"readOnly": true
5299+
}
5300+
},
5301+
"description": "Firewall Status"
5302+
},
5303+
"FirewallStatusResource": {
5304+
"type": "object",
5305+
"properties": {
5306+
"properties": {
5307+
"$ref": "#/definitions/FirewallStatusProperty",
5308+
"description": "The resource-specific properties for this resource.",
5309+
"x-ms-mutability": [
5310+
"read",
5311+
"create"
5312+
],
5313+
"x-ms-client-flatten": true
5314+
},
5315+
"systemData": {
5316+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData",
5317+
"description": "System metadata for this resource.",
5318+
"readOnly": true
5319+
}
5320+
},
5321+
"description": "Firewall Status",
5322+
"required": [
5323+
"properties"
5324+
],
5325+
"allOf": [
5326+
{
5327+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
5328+
}
5329+
]
5330+
},
5331+
"FirewallStatusResourceListResult": {
5332+
"type": "object",
5333+
"properties": {
5334+
"value": {
5335+
"type": "array",
5336+
"items": {
5337+
"$ref": "#/definitions/FirewallStatusResource"
5338+
},
5339+
"x-cadl-name": "FirewallStatusResource[]",
5340+
"description": "The items on this page"
5341+
},
5342+
"nextLink": {
5343+
"type": "string",
5344+
"description": "The link to the next page of items"
5345+
}
5346+
},
5347+
"description": "The response of a FirewallStatusResource list operation.",
5348+
"required": [
5349+
"value"
5350+
]
5351+
},
51765352
"FqdnListGlobalRulestackResource": {
51775353
"type": "object",
51785354
"properties": {
@@ -5463,6 +5639,20 @@
54635639
},
54645640
"description": "The updatable properties of the GlobalRulestackResource."
54655641
},
5642+
"HealthStatus": {
5643+
"type": "string",
5644+
"description": "Status Codes for the Firewall",
5645+
"enum": [
5646+
"GREEN",
5647+
"YELLOW",
5648+
"RED",
5649+
"INITIALIZING"
5650+
],
5651+
"x-ms-enum": {
5652+
"name": "HealthStatus",
5653+
"modelAsString": true
5654+
}
5655+
},
54665656
"IPAddress": {
54675657
"type": "object",
54685658
"properties": {
@@ -5967,6 +6157,22 @@
59676157
"configString"
59686158
]
59696159
},
6160+
"PanoramaStatus": {
6161+
"type": "object",
6162+
"properties": {
6163+
"panoramaServerStatus": {
6164+
"$ref": "#/definitions/ServerStatus",
6165+
"description": "Primary Panorama connection status",
6166+
"readOnly": true
6167+
},
6168+
"panoramaServer2Status": {
6169+
"$ref": "#/definitions/ServerStatus",
6170+
"description": "Secondary Panorama connection status",
6171+
"readOnly": true
6172+
}
6173+
},
6174+
"description": "Panorama connectivity information"
6175+
},
59706176
"PlanData": {
59716177
"type": "object",
59726178
"properties": {
@@ -6295,6 +6501,19 @@
62956501
"modelAsString": true
62966502
}
62976503
},
6504+
"ReadOnlyProvisioningState": {
6505+
"type": "string",
6506+
"description": "Provisioning state of the firewall resource.",
6507+
"enum": [
6508+
"Succeeded",
6509+
"Failed",
6510+
"Deleted"
6511+
],
6512+
"x-ms-enum": {
6513+
"name": "ReadOnlyProvisioningState",
6514+
"modelAsString": true
6515+
}
6516+
},
62986517
"RuleCounter": {
62996518
"type": "object",
63006519
"properties": {
@@ -6573,6 +6792,18 @@
65736792
"modelAsString": true
65746793
}
65756794
},
6795+
"ServerStatus": {
6796+
"type": "string",
6797+
"description": "Connectivity Status for Panorama Server",
6798+
"enum": [
6799+
"UP",
6800+
"DOWN"
6801+
],
6802+
"x-ms-enum": {
6803+
"name": "ServerStatus",
6804+
"modelAsString": true
6805+
}
6806+
},
65766807
"SourceAddr": {
65776808
"type": "object",
65786809
"properties": {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-08-29-preview",
4+
"firewallName": "firewall1",
5+
"resourceGroupName": "rgopenapi",
6+
"subscriptionId": "2bf4a339-294d-4c25-b0b2-ef649e9f5c27"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"id": "/subscriptions/2bf4a339-294d-4c25-b0b2-ef649e9f5c27/resourcegroups/firewall-rg/providers/PaloAltoNetworks.Cloudngfw/firewalls/firewall1/statuses/default",
12+
"name": "default",
13+
"properties": {
14+
"healthReason": "aaaaaaaaaaaa",
15+
"healthStatus": "GREEN",
16+
"isPanoramaManaged": "TRUE",
17+
"panoramaStatus": {
18+
"panoramaServer2Status": "UP",
19+
"panoramaServerStatus": "UP"
20+
},
21+
"provisioningState": "Succeeded"
22+
},
23+
"systemData": {
24+
"createdAt": "2022-09-09T05:08:24.229Z",
25+
"createdBy": "praval",
26+
"createdByType": "User",
27+
"lastModifiedAt": "2022-09-09T05:08:24.229Z",
28+
"lastModifiedBy": "praval",
29+
"lastModifiedByType": "User"
30+
},
31+
"type": "aaaa"
32+
}
33+
}
34+
}
35+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-08-29-preview",
4+
"firewallName": "firewall1",
5+
"resourceGroupName": "rgopenapi",
6+
"subscriptionId": "2bf4a339-294d-4c25-b0b2-ef649e9f5c27"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"id": "/subscriptions/2bf4a339-294d-4c25-b0b2-ef649e9f5c27/resourcegroups/firewall-rg/providers/PaloAltoNetworks.Cloudngfw/firewalls/firewall1/statuses/default",
12+
"properties": {}
13+
}
14+
}
15+
}
16+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-08-29-preview",
4+
"firewallName": "firewall1",
5+
"resourceGroupName": "rgopenapi",
6+
"subscriptionId": "2bf4a339-294d-4c25-b0b2-ef649e9f5c27"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"nextLink": "aaaa",
12+
"value": [
13+
{
14+
"id": "/subscriptions/2bf4a339-294d-4c25-b0b2-ef649e9f5c27/resourcegroups/firewall-rg/providers/PaloAltoNetworks.Cloudngfw/firewalls/firewall1/statuses/default",
15+
"name": "default",
16+
"properties": {
17+
"healthReason": "aaaaaaaaaaaaaaaaaaaaaaaaaaa",
18+
"healthStatus": "GREEN",
19+
"isPanoramaManaged": "TRUE",
20+
"panoramaStatus": {
21+
"panoramaServer2Status": "UP",
22+
"panoramaServerStatus": "UP"
23+
},
24+
"provisioningState": "Succeeded"
25+
},
26+
"systemData": {
27+
"createdAt": "2022-09-09T05:08:24.229Z",
28+
"createdBy": "praval",
29+
"createdByType": "User",
30+
"lastModifiedAt": "2022-09-09T05:08:24.229Z",
31+
"lastModifiedBy": "praval",
32+
"lastModifiedByType": "User"
33+
},
34+
"type": "aaaaaaa"
35+
}
36+
]
37+
}
38+
}
39+
}
40+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-08-29-preview",
4+
"firewallName": "firewall1",
5+
"resourceGroupName": "rgopenapi",
6+
"subscriptionId": "2bf4a339-294d-4c25-b0b2-ef649e9f5c27"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/2bf4a339-294d-4c25-b0b2-ef649e9f5c27/resourcegroups/firewall-rg/providers/PaloAltoNetworks.Cloudngfw/firewalls/firewall1/statuses/default",
14+
"properties": {}
15+
}
16+
]
17+
}
18+
}
19+
}
20+
}

0 commit comments

Comments
 (0)