oci-networkfirewall 2.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +89 -0
- package/NOTICE.txt +1 -0
- package/README.md +22 -0
- package/THIRD_PARTY_LICENSES.txt +576 -0
- package/index.d.ts +22 -0
- package/index.js +45 -0
- package/index.js.map +1 -0
- package/lib/client.d.ts +232 -0
- package/lib/client.js +1302 -0
- package/lib/client.js.map +1 -0
- package/lib/model/action-type.d.ts +32 -0
- package/lib/model/action-type.js +43 -0
- package/lib/model/action-type.js.map +1 -0
- package/lib/model/application.d.ts +24 -0
- package/lib/model/application.js +77 -0
- package/lib/model/application.js.map +1 -0
- package/lib/model/change-network-firewall-compartment-details.d.ts +27 -0
- package/lib/model/change-network-firewall-compartment-details.js +29 -0
- package/lib/model/change-network-firewall-compartment-details.js.map +1 -0
- package/lib/model/change-network-firewall-policy-compartment-details.d.ts +27 -0
- package/lib/model/change-network-firewall-policy-compartment-details.js +29 -0
- package/lib/model/change-network-firewall-policy-compartment-details.js.map +1 -0
- package/lib/model/create-network-firewall-details.d.ts +74 -0
- package/lib/model/create-network-firewall-details.js +29 -0
- package/lib/model/create-network-firewall-details.js.map +1 -0
- package/lib/model/create-network-firewall-policy-details.d.ts +105 -0
- package/lib/model/create-network-firewall-policy-details.js +84 -0
- package/lib/model/create-network-firewall-policy-details.js.map +1 -0
- package/lib/model/decryption-profile.d.ts +22 -0
- package/lib/model/decryption-profile.js +69 -0
- package/lib/model/decryption-profile.js.map +1 -0
- package/lib/model/decryption-rule-match-criteria.d.ts +29 -0
- package/lib/model/decryption-rule-match-criteria.js +29 -0
- package/lib/model/decryption-rule-match-criteria.js.map +1 -0
- package/lib/model/decryption-rule.d.ts +54 -0
- package/lib/model/decryption-rule.js +67 -0
- package/lib/model/decryption-rule.js.map +1 -0
- package/lib/model/icmp-application.d.ts +32 -0
- package/lib/model/icmp-application.js +52 -0
- package/lib/model/icmp-application.js.map +1 -0
- package/lib/model/icmp6-application.d.ts +32 -0
- package/lib/model/icmp6-application.js +52 -0
- package/lib/model/icmp6-application.js.map +1 -0
- package/lib/model/index.d.ts +96 -0
- package/lib/model/index.js +119 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/lifecycle-state.d.ts +32 -0
- package/lib/model/lifecycle-state.js +43 -0
- package/lib/model/lifecycle-state.js.map +1 -0
- package/lib/model/mapped-secret.d.ts +39 -0
- package/lib/model/mapped-secret.js +75 -0
- package/lib/model/mapped-secret.js.map +1 -0
- package/lib/model/network-firewall-collection.d.ts +26 -0
- package/lib/model/network-firewall-collection.js +61 -0
- package/lib/model/network-firewall-collection.js.map +1 -0
- package/lib/model/network-firewall-policy-summary-collection.d.ts +26 -0
- package/lib/model/network-firewall-policy-summary-collection.js +61 -0
- package/lib/model/network-firewall-policy-summary-collection.js.map +1 -0
- package/lib/model/network-firewall-policy-summary.d.ts +82 -0
- package/lib/model/network-firewall-policy-summary.js +29 -0
- package/lib/model/network-firewall-policy-summary.js.map +1 -0
- package/lib/model/network-firewall-policy.d.ts +144 -0
- package/lib/model/network-firewall-policy.js +84 -0
- package/lib/model/network-firewall-policy.js.map +1 -0
- package/lib/model/network-firewall-summary.d.ts +105 -0
- package/lib/model/network-firewall-summary.js +29 -0
- package/lib/model/network-firewall-summary.js.map +1 -0
- package/lib/model/network-firewall.d.ts +109 -0
- package/lib/model/network-firewall.js +29 -0
- package/lib/model/network-firewall.js.map +1 -0
- package/lib/model/operation-status.d.ts +33 -0
- package/lib/model/operation-status.js +44 -0
- package/lib/model/operation-status.js.map +1 -0
- package/lib/model/operation-type.d.ts +34 -0
- package/lib/model/operation-type.js +45 -0
- package/lib/model/operation-type.js.map +1 -0
- package/lib/model/security-rule-match-criteria.d.ts +39 -0
- package/lib/model/security-rule-match-criteria.js +29 -0
- package/lib/model/security-rule-match-criteria.js.map +1 -0
- package/lib/model/security-rule.d.ts +68 -0
- package/lib/model/security-rule.js +79 -0
- package/lib/model/security-rule.js.map +1 -0
- package/lib/model/simple-url-pattern.d.ts +64 -0
- package/lib/model/simple-url-pattern.js +52 -0
- package/lib/model/simple-url-pattern.js.map +1 -0
- package/lib/model/sort-order.d.ts +23 -0
- package/lib/model/sort-order.js +34 -0
- package/lib/model/sort-order.js.map +1 -0
- package/lib/model/ssl-forward-proxy-profile.d.ts +62 -0
- package/lib/model/ssl-forward-proxy-profile.js +54 -0
- package/lib/model/ssl-forward-proxy-profile.js.map +1 -0
- package/lib/model/ssl-inbound-inspection-profile.d.ts +36 -0
- package/lib/model/ssl-inbound-inspection-profile.js +54 -0
- package/lib/model/ssl-inbound-inspection-profile.js.map +1 -0
- package/lib/model/tcp-application.d.ts +32 -0
- package/lib/model/tcp-application.js +52 -0
- package/lib/model/tcp-application.js.map +1 -0
- package/lib/model/udp-application.d.ts +32 -0
- package/lib/model/udp-application.js +52 -0
- package/lib/model/udp-application.js.map +1 -0
- package/lib/model/update-network-firewall-details.d.ts +51 -0
- package/lib/model/update-network-firewall-details.js +29 -0
- package/lib/model/update-network-firewall-details.js.map +1 -0
- package/lib/model/update-network-firewall-policy-details.d.ts +101 -0
- package/lib/model/update-network-firewall-policy-details.js +84 -0
- package/lib/model/update-network-firewall-policy-details.js.map +1 -0
- package/lib/model/url-pattern.d.ts +23 -0
- package/lib/model/url-pattern.js +65 -0
- package/lib/model/url-pattern.js.map +1 -0
- package/lib/model/vault-mapped-secret.d.ts +32 -0
- package/lib/model/vault-mapped-secret.js +52 -0
- package/lib/model/vault-mapped-secret.js.map +1 -0
- package/lib/model/work-request-error-collection.d.ts +26 -0
- package/lib/model/work-request-error-collection.js +61 -0
- package/lib/model/work-request-error-collection.js.map +1 -0
- package/lib/model/work-request-error.d.ts +35 -0
- package/lib/model/work-request-error.js +29 -0
- package/lib/model/work-request-error.js.map +1 -0
- package/lib/model/work-request-log-entry-collection.d.ts +26 -0
- package/lib/model/work-request-log-entry-collection.js +61 -0
- package/lib/model/work-request-log-entry-collection.js.map +1 -0
- package/lib/model/work-request-log-entry.d.ts +29 -0
- package/lib/model/work-request-log-entry.js +29 -0
- package/lib/model/work-request-log-entry.js.map +1 -0
- package/lib/model/work-request-resource-metadata-key.d.ts +27 -0
- package/lib/model/work-request-resource-metadata-key.js +38 -0
- package/lib/model/work-request-resource-metadata-key.js.map +1 -0
- package/lib/model/work-request-resource.d.ts +48 -0
- package/lib/model/work-request-resource.js +29 -0
- package/lib/model/work-request-resource.js.map +1 -0
- package/lib/model/work-request-summary-collection.d.ts +26 -0
- package/lib/model/work-request-summary-collection.js +61 -0
- package/lib/model/work-request-summary-collection.js.map +1 -0
- package/lib/model/work-request-summary.d.ts +67 -0
- package/lib/model/work-request-summary.js +61 -0
- package/lib/model/work-request-summary.js.map +1 -0
- package/lib/model/work-request.d.ts +67 -0
- package/lib/model/work-request.js +61 -0
- package/lib/model/work-request.js.map +1 -0
- package/lib/networkfirewall-waiter.d.ts +44 -0
- package/lib/networkfirewall-waiter.js +88 -0
- package/lib/networkfirewall-waiter.js.map +1 -0
- package/lib/request/cancel-work-request-request.d.ts +35 -0
- package/lib/request/cancel-work-request-request.js +15 -0
- package/lib/request/cancel-work-request-request.js.map +1 -0
- package/lib/request/change-network-firewall-compartment-request.d.ts +40 -0
- package/lib/request/change-network-firewall-compartment-request.js +15 -0
- package/lib/request/change-network-firewall-compartment-request.js.map +1 -0
- package/lib/request/change-network-firewall-policy-compartment-request.d.ts +49 -0
- package/lib/request/change-network-firewall-policy-compartment-request.js +15 -0
- package/lib/request/change-network-firewall-policy-compartment-request.js.map +1 -0
- package/lib/request/create-network-firewall-policy-request.d.ts +36 -0
- package/lib/request/create-network-firewall-policy-request.js +15 -0
- package/lib/request/create-network-firewall-policy-request.js.map +1 -0
- package/lib/request/create-network-firewall-request.d.ts +36 -0
- package/lib/request/create-network-firewall-request.js +15 -0
- package/lib/request/create-network-firewall-request.js.map +1 -0
- package/lib/request/delete-network-firewall-policy-request.d.ts +35 -0
- package/lib/request/delete-network-firewall-policy-request.js +15 -0
- package/lib/request/delete-network-firewall-policy-request.js.map +1 -0
- package/lib/request/delete-network-firewall-request.d.ts +35 -0
- package/lib/request/delete-network-firewall-request.js +15 -0
- package/lib/request/delete-network-firewall-request.js.map +1 -0
- package/lib/request/get-network-firewall-policy-request.d.ts +26 -0
- package/lib/request/get-network-firewall-policy-request.js +15 -0
- package/lib/request/get-network-firewall-policy-request.js.map +1 -0
- package/lib/request/get-network-firewall-request.d.ts +26 -0
- package/lib/request/get-network-firewall-request.js +15 -0
- package/lib/request/get-network-firewall-request.js.map +1 -0
- package/lib/request/get-work-request-request.d.ts +26 -0
- package/lib/request/get-work-request-request.js +15 -0
- package/lib/request/get-work-request-request.js.map +1 -0
- package/lib/request/index.d.ts +46 -0
- package/lib/request/index.js +45 -0
- package/lib/request/index.js.map +1 -0
- package/lib/request/list-network-firewall-policies-request.d.ts +62 -0
- package/lib/request/list-network-firewall-policies-request.js +24 -0
- package/lib/request/list-network-firewall-policies-request.js.map +1 -0
- package/lib/request/list-network-firewalls-request.d.ts +73 -0
- package/lib/request/list-network-firewalls-request.js +24 -0
- package/lib/request/list-network-firewalls-request.js.map +1 -0
- package/lib/request/list-work-request-errors-request.d.ts +49 -0
- package/lib/request/list-work-request-errors-request.js +23 -0
- package/lib/request/list-work-request-errors-request.js.map +1 -0
- package/lib/request/list-work-request-logs-request.d.ts +49 -0
- package/lib/request/list-work-request-logs-request.js +23 -0
- package/lib/request/list-work-request-logs-request.js.map +1 -0
- package/lib/request/list-work-requests-request.d.ts +61 -0
- package/lib/request/list-work-requests-request.js +23 -0
- package/lib/request/list-work-requests-request.js.map +1 -0
- package/lib/request/update-network-firewall-policy-request.d.ts +40 -0
- package/lib/request/update-network-firewall-policy-request.js +15 -0
- package/lib/request/update-network-firewall-policy-request.js.map +1 -0
- package/lib/request/update-network-firewall-request.d.ts +40 -0
- package/lib/request/update-network-firewall-request.js +15 -0
- package/lib/request/update-network-firewall-request.js.map +1 -0
- package/lib/response/cancel-work-request-response.d.ts +20 -0
- package/lib/response/cancel-work-request-response.js +15 -0
- package/lib/response/cancel-work-request-response.js.map +1 -0
- package/lib/response/change-network-firewall-compartment-response.d.ts +25 -0
- package/lib/response/change-network-firewall-compartment-response.js +15 -0
- package/lib/response/change-network-firewall-compartment-response.js.map +1 -0
- package/lib/response/change-network-firewall-policy-compartment-response.d.ts +20 -0
- package/lib/response/change-network-firewall-policy-compartment-response.js +15 -0
- package/lib/response/change-network-firewall-policy-compartment-response.js.map +1 -0
- package/lib/response/create-network-firewall-policy-response.d.ts +35 -0
- package/lib/response/create-network-firewall-policy-response.js +15 -0
- package/lib/response/create-network-firewall-policy-response.js.map +1 -0
- package/lib/response/create-network-firewall-response.d.ts +35 -0
- package/lib/response/create-network-firewall-response.js +15 -0
- package/lib/response/create-network-firewall-response.js.map +1 -0
- package/lib/response/delete-network-firewall-policy-response.d.ts +25 -0
- package/lib/response/delete-network-firewall-policy-response.js +15 -0
- package/lib/response/delete-network-firewall-policy-response.js.map +1 -0
- package/lib/response/delete-network-firewall-response.d.ts +25 -0
- package/lib/response/delete-network-firewall-response.js +15 -0
- package/lib/response/delete-network-firewall-response.js.map +1 -0
- package/lib/response/get-network-firewall-policy-response.d.ts +30 -0
- package/lib/response/get-network-firewall-policy-response.js +15 -0
- package/lib/response/get-network-firewall-policy-response.js.map +1 -0
- package/lib/response/get-network-firewall-response.d.ts +30 -0
- package/lib/response/get-network-firewall-response.js +15 -0
- package/lib/response/get-network-firewall-response.js.map +1 -0
- package/lib/response/get-work-request-response.d.ts +34 -0
- package/lib/response/get-work-request-response.js +15 -0
- package/lib/response/get-work-request-response.js.map +1 -0
- package/lib/response/index.d.ts +46 -0
- package/lib/response/index.js +15 -0
- package/lib/response/index.js.map +1 -0
- package/lib/response/list-network-firewall-policies-response.d.ts +50 -0
- package/lib/response/list-network-firewall-policies-response.js +15 -0
- package/lib/response/list-network-firewall-policies-response.js.map +1 -0
- package/lib/response/list-network-firewalls-response.d.ts +50 -0
- package/lib/response/list-network-firewalls-response.js +15 -0
- package/lib/response/list-network-firewalls-response.js.map +1 -0
- package/lib/response/list-work-request-errors-response.d.ts +39 -0
- package/lib/response/list-work-request-errors-response.js +15 -0
- package/lib/response/list-work-request-errors-response.js.map +1 -0
- package/lib/response/list-work-request-logs-response.d.ts +39 -0
- package/lib/response/list-work-request-logs-response.js +15 -0
- package/lib/response/list-work-request-logs-response.js.map +1 -0
- package/lib/response/list-work-requests-response.d.ts +39 -0
- package/lib/response/list-work-requests-response.js +15 -0
- package/lib/response/list-work-requests-response.js.map +1 -0
- package/lib/response/update-network-firewall-policy-response.d.ts +25 -0
- package/lib/response/update-network-firewall-policy-response.js +15 -0
- package/lib/response/update-network-firewall-policy-response.js.map +1 -0
- package/lib/response/update-network-firewall-response.d.ts +25 -0
- package/lib/response/update-network-firewall-response.js +15 -0
- package/lib/response/update-network-firewall-response.js.map +1 -0
- package/package.json +29 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Network Firewall API
|
|
3
|
+
* Use the Network Firewall API to create network firewalls and configure policies that regulates network traffic in and across VCNs.
|
|
4
|
+
* OpenAPI spec version: 20211001
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* Summary of the NetworkFirewall Policy.
|
|
16
|
+
*/
|
|
17
|
+
export interface NetworkFirewallPolicySummary {
|
|
18
|
+
/**
|
|
19
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource - Network Firewall Policy.
|
|
20
|
+
*/
|
|
21
|
+
"id": string;
|
|
22
|
+
/**
|
|
23
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the NetworkFirewall Policy.
|
|
24
|
+
*/
|
|
25
|
+
"compartmentId": string;
|
|
26
|
+
/**
|
|
27
|
+
* A user-friendly optional name for the firewall policy. Avoid entering confidential information.
|
|
28
|
+
*/
|
|
29
|
+
"displayName": string;
|
|
30
|
+
/**
|
|
31
|
+
* The time instant at which the Network Firewall Policy was created in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
|
32
|
+
* Example: `2016-08-25T21:10:29.600Z`
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
"timeCreated": Date;
|
|
36
|
+
/**
|
|
37
|
+
* The time instant at which the Network Firewall Policy was updated in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
|
38
|
+
* Example: `2016-08-25T21:10:29.600Z`
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
"timeUpdated"?: Date;
|
|
42
|
+
/**
|
|
43
|
+
* The current lifecycle state of the Network Firewall Policy.
|
|
44
|
+
*/
|
|
45
|
+
"lifecycleState": model.LifecycleState;
|
|
46
|
+
/**
|
|
47
|
+
* A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
|
48
|
+
*/
|
|
49
|
+
"lifecycleDetails"?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
52
|
+
* Example: `{\"bar-key\": \"value\"}`
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
"freeformTags": {
|
|
56
|
+
[key: string]: string;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
60
|
+
* Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
|
61
|
+
*
|
|
62
|
+
*/
|
|
63
|
+
"definedTags": {
|
|
64
|
+
[key: string]: {
|
|
65
|
+
[key: string]: any;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Usage of system tag keys. These predefined keys are scoped to namespaces.
|
|
70
|
+
* Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
"systemTags"?: {
|
|
74
|
+
[key: string]: {
|
|
75
|
+
[key: string]: any;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
export declare namespace NetworkFirewallPolicySummary {
|
|
80
|
+
function getJsonObj(obj: NetworkFirewallPolicySummary): object;
|
|
81
|
+
function getDeserializedJsonObj(obj: NetworkFirewallPolicySummary): object;
|
|
82
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Network Firewall API
|
|
4
|
+
* Use the Network Firewall API to create network firewalls and configure policies that regulates network traffic in and across VCNs.
|
|
5
|
+
* OpenAPI spec version: 20211001
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.NetworkFirewallPolicySummary = void 0;
|
|
16
|
+
var NetworkFirewallPolicySummary;
|
|
17
|
+
(function (NetworkFirewallPolicySummary) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
NetworkFirewallPolicySummary.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
NetworkFirewallPolicySummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(NetworkFirewallPolicySummary = exports.NetworkFirewallPolicySummary || (exports.NetworkFirewallPolicySummary = {}));
|
|
29
|
+
//# sourceMappingURL=network-firewall-policy-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"network-firewall-policy-summary.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/network-firewall-policy-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA6DH,IAAiB,4BAA4B,CAW5C;AAXD,WAAiB,4BAA4B;IAC3C,SAAgB,UAAU,CAAC,GAAiC;QAC1D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,uCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiC;QACtE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,mDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAW5C"}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Network Firewall API
|
|
3
|
+
* Use the Network Firewall API to create network firewalls and configure policies that regulates network traffic in and across VCNs.
|
|
4
|
+
* OpenAPI spec version: 20211001
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* Description of NetworkFirewall Policy.
|
|
16
|
+
*/
|
|
17
|
+
export interface NetworkFirewallPolicy {
|
|
18
|
+
/**
|
|
19
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource - Network Firewall Policy.
|
|
20
|
+
*/
|
|
21
|
+
"id": string;
|
|
22
|
+
/**
|
|
23
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the NetworkFirewall Policy.
|
|
24
|
+
*/
|
|
25
|
+
"compartmentId": string;
|
|
26
|
+
/**
|
|
27
|
+
* A user-friendly optional name for the firewall policy. Avoid entering confidential information.
|
|
28
|
+
*/
|
|
29
|
+
"displayName": string;
|
|
30
|
+
/**
|
|
31
|
+
* The time instant at which the Network Firewall Policy was created in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
|
32
|
+
* Example: `2016-08-25T21:10:29.600Z`
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
"timeCreated": Date;
|
|
36
|
+
/**
|
|
37
|
+
* The time instant at which the Network Firewall Policy was updated in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
|
38
|
+
* Example: `2016-08-25T21:10:29.600Z`
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
"timeUpdated": Date;
|
|
42
|
+
/**
|
|
43
|
+
* The current state of the Network Firewall Policy.
|
|
44
|
+
*/
|
|
45
|
+
"lifecycleState": model.LifecycleState;
|
|
46
|
+
/**
|
|
47
|
+
* A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
|
48
|
+
*/
|
|
49
|
+
"lifecycleDetails"?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Map defining secrets of the policy.
|
|
52
|
+
* The value of an entry is a \"mapped secret\" consisting of a purpose and source.
|
|
53
|
+
* The associated key is the identifier by which the mapped secret is referenced.
|
|
54
|
+
*
|
|
55
|
+
*/
|
|
56
|
+
"mappedSecrets"?: {
|
|
57
|
+
[key: string]: model.MappedSecret;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Map defining application lists of the policy.
|
|
61
|
+
* The value of an entry is a list of \"applications\", each consisting of a protocol identifier (such as TCP, UDP, or ICMP) and protocol-specific parameters (such as a port range).
|
|
62
|
+
* The associated key is the identifier by which the application list is referenced.
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
"applicationLists"?: {
|
|
66
|
+
[key: string]: Array<model.Application>;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Map defining URL pattern lists of the policy.
|
|
70
|
+
* The value of an entry is a list of URL patterns.
|
|
71
|
+
* The associated key is the identifier by which the URL pattern list is referenced.
|
|
72
|
+
*
|
|
73
|
+
*/
|
|
74
|
+
"urlLists"?: {
|
|
75
|
+
[key: string]: Array<model.UrlPattern>;
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* Map defining IP address lists of the policy.
|
|
79
|
+
* The value of an entry is a list of IP addresses or prefixes in CIDR notation.
|
|
80
|
+
* The associated key is the identifier by which the IP address list is referenced.
|
|
81
|
+
*
|
|
82
|
+
*/
|
|
83
|
+
"ipAddressLists"?: {
|
|
84
|
+
[key: string]: Array<string>;
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* List of Security Rules defining the behavior of the policy.
|
|
88
|
+
* The first rule with a matching condition determines the action taken upon network traffic.
|
|
89
|
+
*
|
|
90
|
+
*/
|
|
91
|
+
"securityRules"?: Array<model.SecurityRule>;
|
|
92
|
+
/**
|
|
93
|
+
* List of Decryption Rules defining the behavior of the policy.
|
|
94
|
+
* The first rule with a matching condition determines the action taken upon network traffic.
|
|
95
|
+
*
|
|
96
|
+
*/
|
|
97
|
+
"decryptionRules"?: Array<model.DecryptionRule>;
|
|
98
|
+
/**
|
|
99
|
+
* Map defining decryption profiles of the policy.
|
|
100
|
+
* The value of an entry is a decryption profile.
|
|
101
|
+
* The associated key is the identifier by which the decryption profile is referenced.
|
|
102
|
+
*
|
|
103
|
+
*/
|
|
104
|
+
"decryptionProfiles"?: {
|
|
105
|
+
[key: string]: model.DecryptionProfile;
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* To determine if any Network Firewall is associated with this Network Firewall Policy.
|
|
109
|
+
*
|
|
110
|
+
*/
|
|
111
|
+
"isFirewallAttached": boolean;
|
|
112
|
+
/**
|
|
113
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
114
|
+
* Example: `{\"bar-key\": \"value\"}`
|
|
115
|
+
*
|
|
116
|
+
*/
|
|
117
|
+
"freeformTags": {
|
|
118
|
+
[key: string]: string;
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
122
|
+
* Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
|
123
|
+
*
|
|
124
|
+
*/
|
|
125
|
+
"definedTags": {
|
|
126
|
+
[key: string]: {
|
|
127
|
+
[key: string]: any;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* Usage of system tag keys. These predefined keys are scoped to namespaces.
|
|
132
|
+
* Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
|
|
133
|
+
*
|
|
134
|
+
*/
|
|
135
|
+
"systemTags"?: {
|
|
136
|
+
[key: string]: {
|
|
137
|
+
[key: string]: any;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
export declare namespace NetworkFirewallPolicy {
|
|
142
|
+
function getJsonObj(obj: NetworkFirewallPolicy): object;
|
|
143
|
+
function getDeserializedJsonObj(obj: NetworkFirewallPolicy): object;
|
|
144
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Network Firewall API
|
|
4
|
+
* Use the Network Firewall API to create network firewalls and configure policies that regulates network traffic in and across VCNs.
|
|
5
|
+
* OpenAPI spec version: 20211001
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.NetworkFirewallPolicy = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
const common = require("oci-common");
|
|
37
|
+
var NetworkFirewallPolicy;
|
|
38
|
+
(function (NetworkFirewallPolicy) {
|
|
39
|
+
function getJsonObj(obj) {
|
|
40
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
41
|
+
"mappedSecrets": obj.mappedSecrets
|
|
42
|
+
? common.mapContainer(obj.mappedSecrets, model.MappedSecret.getJsonObj)
|
|
43
|
+
: undefined,
|
|
44
|
+
"securityRules": obj.securityRules
|
|
45
|
+
? obj.securityRules.map(item => {
|
|
46
|
+
return model.SecurityRule.getJsonObj(item);
|
|
47
|
+
})
|
|
48
|
+
: undefined,
|
|
49
|
+
"decryptionRules": obj.decryptionRules
|
|
50
|
+
? obj.decryptionRules.map(item => {
|
|
51
|
+
return model.DecryptionRule.getJsonObj(item);
|
|
52
|
+
})
|
|
53
|
+
: undefined,
|
|
54
|
+
"decryptionProfiles": obj.decryptionProfiles
|
|
55
|
+
? common.mapContainer(obj.decryptionProfiles, model.DecryptionProfile.getJsonObj)
|
|
56
|
+
: undefined
|
|
57
|
+
});
|
|
58
|
+
return jsonObj;
|
|
59
|
+
}
|
|
60
|
+
NetworkFirewallPolicy.getJsonObj = getJsonObj;
|
|
61
|
+
function getDeserializedJsonObj(obj) {
|
|
62
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
63
|
+
"mappedSecrets": obj.mappedSecrets
|
|
64
|
+
? common.mapContainer(obj.mappedSecrets, model.MappedSecret.getDeserializedJsonObj)
|
|
65
|
+
: undefined,
|
|
66
|
+
"securityRules": obj.securityRules
|
|
67
|
+
? obj.securityRules.map(item => {
|
|
68
|
+
return model.SecurityRule.getDeserializedJsonObj(item);
|
|
69
|
+
})
|
|
70
|
+
: undefined,
|
|
71
|
+
"decryptionRules": obj.decryptionRules
|
|
72
|
+
? obj.decryptionRules.map(item => {
|
|
73
|
+
return model.DecryptionRule.getDeserializedJsonObj(item);
|
|
74
|
+
})
|
|
75
|
+
: undefined,
|
|
76
|
+
"decryptionProfiles": obj.decryptionProfiles
|
|
77
|
+
? common.mapContainer(obj.decryptionProfiles, model.DecryptionProfile.getDeserializedJsonObj)
|
|
78
|
+
: undefined
|
|
79
|
+
});
|
|
80
|
+
return jsonObj;
|
|
81
|
+
}
|
|
82
|
+
NetworkFirewallPolicy.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
83
|
+
})(NetworkFirewallPolicy = exports.NetworkFirewallPolicy || (exports.NetworkFirewallPolicy = {}));
|
|
84
|
+
//# sourceMappingURL=network-firewall-policy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"network-firewall-policy.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/network-firewall-policy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AA8GtC,IAAiB,qBAAqB,CAwDrC;AAxDD,WAAiB,qBAAqB;IACpC,SAAgB,UAAU,CAAC,GAA0B;QACnD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,GAAG,CAAC,aAAa,EAAE,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC;gBACvE,CAAC,CAAC,SAAS;YAEb,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,GAAG,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC3B,OAAO,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC7C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC7B,OAAO,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC/C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,GAAG,CAAC,kBAAkB,EAAE,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC;gBACjF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAzBe,gCAAU,aAyBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0B;QAC/D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,GAAG,CAAC,aAAa,EAAE,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC;gBACnF,CAAC,CAAC,SAAS;YAEb,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,GAAG,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC3B,OAAO,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACzD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC7B,OAAO,KAAK,CAAC,cAAc,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC3D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,MAAM,CAAC,YAAY,CACjB,GAAG,CAAC,kBAAkB,EACtB,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAC/C;gBACH,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IA5Be,4CAAsB,yBA4BrC,CAAA;AACH,CAAC,EAxDgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAwDrC"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Network Firewall API
|
|
3
|
+
* Use the Network Firewall API to create network firewalls and configure policies that regulates network traffic in and across VCNs.
|
|
4
|
+
* OpenAPI spec version: 20211001
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* Summary of the Network Firewall.
|
|
16
|
+
*/
|
|
17
|
+
export interface NetworkFirewallSummary {
|
|
18
|
+
/**
|
|
19
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Network Firewall resource.
|
|
20
|
+
*/
|
|
21
|
+
"id": string;
|
|
22
|
+
/**
|
|
23
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Network Firewall.
|
|
24
|
+
*/
|
|
25
|
+
"compartmentId": string;
|
|
26
|
+
/**
|
|
27
|
+
* A user-friendly name for the Network Firewall. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
|
28
|
+
*/
|
|
29
|
+
"displayName": string;
|
|
30
|
+
/**
|
|
31
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet associated with the Network Firewall.
|
|
32
|
+
*/
|
|
33
|
+
"subnetId": string;
|
|
34
|
+
/**
|
|
35
|
+
* Availability Domain where Network Firewall instance is created.
|
|
36
|
+
* To get a list of availability domains for a tenancy, use {@link #listAvailabilityDomains(ListAvailabilityDomainsRequest) listAvailabilityDomains} operation.
|
|
37
|
+
* Example: `kIdk:PHX-AD-1`
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
"availabilityDomain"?: string;
|
|
41
|
+
/**
|
|
42
|
+
* IPv4 address for the Network Firewall.
|
|
43
|
+
*/
|
|
44
|
+
"ipv4Address"?: string;
|
|
45
|
+
/**
|
|
46
|
+
* IPv6 address for the Network Firewall.
|
|
47
|
+
*/
|
|
48
|
+
"ipv6Address"?: string;
|
|
49
|
+
/**
|
|
50
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Network Firewall Policy.
|
|
51
|
+
*/
|
|
52
|
+
"networkFirewallPolicyId": string;
|
|
53
|
+
/**
|
|
54
|
+
* The time instant at which the Network Firewall was created in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
|
55
|
+
* Example: `2016-08-25T21:10:29.600Z`
|
|
56
|
+
*
|
|
57
|
+
*/
|
|
58
|
+
"timeCreated": Date;
|
|
59
|
+
/**
|
|
60
|
+
* The time instant at which the Network Firewall was updated in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
|
61
|
+
* Example: `2016-08-25T21:10:29.600Z`
|
|
62
|
+
*
|
|
63
|
+
*/
|
|
64
|
+
"timeUpdated"?: Date;
|
|
65
|
+
/**
|
|
66
|
+
* The current state of the Network Firewall.
|
|
67
|
+
*/
|
|
68
|
+
"lifecycleState": model.LifecycleState;
|
|
69
|
+
/**
|
|
70
|
+
* A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
|
71
|
+
*/
|
|
72
|
+
"lifecycleDetails"?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
75
|
+
* Example: `{\"bar-key\": \"value\"}`
|
|
76
|
+
*
|
|
77
|
+
*/
|
|
78
|
+
"freeformTags": {
|
|
79
|
+
[key: string]: string;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
83
|
+
* Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
|
84
|
+
*
|
|
85
|
+
*/
|
|
86
|
+
"definedTags": {
|
|
87
|
+
[key: string]: {
|
|
88
|
+
[key: string]: any;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* Usage of system tag keys. These predefined keys are scoped to namespaces.
|
|
93
|
+
* Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
|
|
94
|
+
*
|
|
95
|
+
*/
|
|
96
|
+
"systemTags"?: {
|
|
97
|
+
[key: string]: {
|
|
98
|
+
[key: string]: any;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
export declare namespace NetworkFirewallSummary {
|
|
103
|
+
function getJsonObj(obj: NetworkFirewallSummary): object;
|
|
104
|
+
function getDeserializedJsonObj(obj: NetworkFirewallSummary): object;
|
|
105
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Network Firewall API
|
|
4
|
+
* Use the Network Firewall API to create network firewalls and configure policies that regulates network traffic in and across VCNs.
|
|
5
|
+
* OpenAPI spec version: 20211001
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.NetworkFirewallSummary = void 0;
|
|
16
|
+
var NetworkFirewallSummary;
|
|
17
|
+
(function (NetworkFirewallSummary) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
NetworkFirewallSummary.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
NetworkFirewallSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(NetworkFirewallSummary = exports.NetworkFirewallSummary || (exports.NetworkFirewallSummary = {}));
|
|
29
|
+
//# sourceMappingURL=network-firewall-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"network-firewall-summary.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/network-firewall-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAoFH,IAAiB,sBAAsB,CAWtC;AAXD,WAAiB,sBAAsB;IACrC,SAAgB,UAAU,CAAC,GAA2B;QACpD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,iCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA2B;QAChE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,6CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAWtC"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Network Firewall API
|
|
3
|
+
* Use the Network Firewall API to create network firewalls and configure policies that regulates network traffic in and across VCNs.
|
|
4
|
+
* OpenAPI spec version: 20211001
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* Description of Network Firewall.
|
|
16
|
+
*/
|
|
17
|
+
export interface NetworkFirewall {
|
|
18
|
+
/**
|
|
19
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Network Firewall resource.
|
|
20
|
+
*/
|
|
21
|
+
"id": string;
|
|
22
|
+
/**
|
|
23
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Network Firewall.
|
|
24
|
+
*/
|
|
25
|
+
"compartmentId": string;
|
|
26
|
+
/**
|
|
27
|
+
* A user-friendly name for the Network Firewall. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
|
28
|
+
*/
|
|
29
|
+
"displayName": string;
|
|
30
|
+
/**
|
|
31
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet associated with the Network Firewall.
|
|
32
|
+
*/
|
|
33
|
+
"subnetId": string;
|
|
34
|
+
/**
|
|
35
|
+
* IPv4 address for the Network Firewall.
|
|
36
|
+
*/
|
|
37
|
+
"ipv4Address"?: string;
|
|
38
|
+
/**
|
|
39
|
+
* IPv6 address for the Network Firewall.
|
|
40
|
+
*/
|
|
41
|
+
"ipv6Address"?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Network Firewall Policy.
|
|
44
|
+
*/
|
|
45
|
+
"networkFirewallPolicyId": string;
|
|
46
|
+
/**
|
|
47
|
+
* Availability Domain where Network Firewall instance is created.
|
|
48
|
+
* To get a list of availability domains for a tenancy, use {@link #listAvailabilityDomains(ListAvailabilityDomainsRequest) listAvailabilityDomains} operation.
|
|
49
|
+
* Example: `kIdk:PHX-AD-1`
|
|
50
|
+
*
|
|
51
|
+
*/
|
|
52
|
+
"availabilityDomain"?: string;
|
|
53
|
+
/**
|
|
54
|
+
* An array of network security groups [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the Network Firewall.
|
|
55
|
+
*/
|
|
56
|
+
"networkSecurityGroupIds"?: Array<string>;
|
|
57
|
+
/**
|
|
58
|
+
* The time instant at which the Network Firewall was created in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
|
59
|
+
* Example: `2016-08-25T21:10:29.600Z`
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
"timeCreated": Date;
|
|
63
|
+
/**
|
|
64
|
+
* The time instant at which the Network Firewall was updated in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
|
65
|
+
* Example: `2016-08-25T21:10:29.600Z`
|
|
66
|
+
*
|
|
67
|
+
*/
|
|
68
|
+
"timeUpdated": Date;
|
|
69
|
+
/**
|
|
70
|
+
* The current state of the Network Firewall.
|
|
71
|
+
*/
|
|
72
|
+
"lifecycleState": model.LifecycleState;
|
|
73
|
+
/**
|
|
74
|
+
* A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
|
75
|
+
*/
|
|
76
|
+
"lifecycleDetails"?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
79
|
+
* Example: `{\"bar-key\": \"value\"}`
|
|
80
|
+
*
|
|
81
|
+
*/
|
|
82
|
+
"freeformTags": {
|
|
83
|
+
[key: string]: string;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
87
|
+
* Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
|
88
|
+
*
|
|
89
|
+
*/
|
|
90
|
+
"definedTags": {
|
|
91
|
+
[key: string]: {
|
|
92
|
+
[key: string]: any;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* Usage of system tag keys. These predefined keys are scoped to namespaces.
|
|
97
|
+
* Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
|
|
98
|
+
*
|
|
99
|
+
*/
|
|
100
|
+
"systemTags"?: {
|
|
101
|
+
[key: string]: {
|
|
102
|
+
[key: string]: any;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
export declare namespace NetworkFirewall {
|
|
107
|
+
function getJsonObj(obj: NetworkFirewall): object;
|
|
108
|
+
function getDeserializedJsonObj(obj: NetworkFirewall): object;
|
|
109
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Network Firewall API
|
|
4
|
+
* Use the Network Firewall API to create network firewalls and configure policies that regulates network traffic in and across VCNs.
|
|
5
|
+
* OpenAPI spec version: 20211001
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.NetworkFirewall = void 0;
|
|
16
|
+
var NetworkFirewall;
|
|
17
|
+
(function (NetworkFirewall) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
NetworkFirewall.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
NetworkFirewall.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(NetworkFirewall = exports.NetworkFirewall || (exports.NetworkFirewall = {}));
|
|
29
|
+
//# sourceMappingURL=network-firewall.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"network-firewall.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/network-firewall.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAwFH,IAAiB,eAAe,CAW/B;AAXD,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,0BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,sCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAW/B"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Network Firewall API
|
|
3
|
+
* Use the Network Firewall API to create network firewalls and configure policies that regulates network traffic in and across VCNs.
|
|
4
|
+
* OpenAPI spec version: 20211001
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Possible operation status.
|
|
15
|
+
**/
|
|
16
|
+
export declare enum OperationStatus {
|
|
17
|
+
Accepted = "ACCEPTED",
|
|
18
|
+
InProgress = "IN_PROGRESS",
|
|
19
|
+
Waiting = "WAITING",
|
|
20
|
+
Failed = "FAILED",
|
|
21
|
+
Succeeded = "SUCCEEDED",
|
|
22
|
+
Canceling = "CANCELING",
|
|
23
|
+
Canceled = "CANCELED",
|
|
24
|
+
/**
|
|
25
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
26
|
+
* version of the SDK.
|
|
27
|
+
*/
|
|
28
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
29
|
+
}
|
|
30
|
+
export declare namespace OperationStatus {
|
|
31
|
+
function getJsonObj(obj: OperationStatus): OperationStatus;
|
|
32
|
+
function getDeserializedJsonObj(obj: OperationStatus): OperationStatus;
|
|
33
|
+
}
|