|
| 1 | +name: Custom URL Category |
| 2 | +terraform_provider_config: |
| 3 | + suffix: "custom_url_category" |
| 4 | +go_sdk_config: |
| 5 | + package: |
| 6 | + - objects |
| 7 | + - profiles |
| 8 | +xpath_suffix: |
| 9 | + - custom-url-category |
| 10 | +locations: |
| 11 | + - name: "shared" |
| 12 | + description: "Located in shared." |
| 13 | + devices: |
| 14 | + - panorama |
| 15 | + - ngfw |
| 16 | + xpath: |
| 17 | + path: ["config", "shared", "profiles"] |
| 18 | + - name: "vsys" |
| 19 | + description: "Located in a specific vsys." |
| 20 | + devices: |
| 21 | + - panorama |
| 22 | + - ngfw |
| 23 | + xpath: |
| 24 | + path: |
| 25 | + - "config" |
| 26 | + - "devices" |
| 27 | + - "$ngfw_device" |
| 28 | + - "vsys" |
| 29 | + - "$vsys" |
| 30 | + - profiles |
| 31 | + vars: |
| 32 | + - name: "ngfw_device" |
| 33 | + description: "The NGFW device." |
| 34 | + default: "localhost.localdomain" |
| 35 | + - name: "vsys" |
| 36 | + description: "The vsys." |
| 37 | + default: "vsys1" |
| 38 | + validators: |
| 39 | + - type: not-values |
| 40 | + spec: |
| 41 | + values: |
| 42 | + - value: "shared" |
| 43 | + error: 'The vsys cannot be "shared". Use the "shared" path instead.' |
| 44 | + - name: "from_panorama_shared" |
| 45 | + description: "Located in shared in the config pushed from Panorama." |
| 46 | + read_only: true |
| 47 | + devices: |
| 48 | + - ngfw |
| 49 | + xpath: |
| 50 | + path: |
| 51 | + - "config" |
| 52 | + - "panorama" |
| 53 | + - "shared" |
| 54 | + - profiles |
| 55 | + - name: "from_panorama_vsys" |
| 56 | + description: "Located in a specific vsys in the config pushed from Panorama." |
| 57 | + read_only: true |
| 58 | + devices: |
| 59 | + - ngfw |
| 60 | + xpath: |
| 61 | + path: |
| 62 | + - "config" |
| 63 | + - "panorama" |
| 64 | + - "vsys" |
| 65 | + - "$vsys" |
| 66 | + - profiles |
| 67 | + vars: |
| 68 | + - name: "vsys" |
| 69 | + description: "The vsys." |
| 70 | + default: "vsys1" |
| 71 | + validators: |
| 72 | + - type: not-values |
| 73 | + spec: |
| 74 | + values: |
| 75 | + - value: "shared" |
| 76 | + error: 'The vsys cannot be "shared". Use the "shared" path instead.' |
| 77 | + - name: "device_group" |
| 78 | + description: "Located in a specific device group." |
| 79 | + devices: |
| 80 | + - panorama |
| 81 | + xpath: |
| 82 | + path: |
| 83 | + - "config" |
| 84 | + - "devices" |
| 85 | + - "$panorama_device" |
| 86 | + - "device-group" |
| 87 | + - "$device_group" |
| 88 | + - profiles |
| 89 | + vars: |
| 90 | + - name: "panorama_device" |
| 91 | + description: "The panorama device." |
| 92 | + default: "localhost.localdomain" |
| 93 | + - name: "device_group" |
| 94 | + description: "The device group." |
| 95 | + required: true |
| 96 | + validators: |
| 97 | + - type: not-values |
| 98 | + spec: |
| 99 | + values: |
| 100 | + - value: "shared" |
| 101 | + error: 'The device group cannot be "shared". Use the "shared" path instead.' |
| 102 | +entries: |
| 103 | + - name: name |
| 104 | + description: Name of the custom category |
| 105 | + validators: |
| 106 | + - type: length |
| 107 | + spec: |
| 108 | + min: 1 |
| 109 | + max: 31 |
| 110 | + - type: regexp |
| 111 | + spec: |
| 112 | + expr: ^[a-zA-Z._-]{1}[ 0-9a-zA-Z._-]*$ |
| 113 | + - type: not-values |
| 114 | + spec: |
| 115 | + values: |
| 116 | + - value: any |
| 117 | + error: "'any' is not allowed" |
| 118 | +version: "10.1.0" |
| 119 | +spec: |
| 120 | + params: |
| 121 | + - name: description |
| 122 | + description: "The description." |
| 123 | + type: string |
| 124 | + validators: |
| 125 | + - type: length |
| 126 | + spec: |
| 127 | + min: 0 |
| 128 | + max: 255 |
| 129 | + profiles: |
| 130 | + - xpath: ["description"] |
| 131 | + - name: list |
| 132 | + type: list |
| 133 | + profiles: |
| 134 | + - type: member |
| 135 | + xpath: ["list"] |
| 136 | + spec: |
| 137 | + items: |
| 138 | + type: string |
| 139 | + - name: type |
| 140 | + type: string |
| 141 | + profiles: |
| 142 | + - xpath: ["type"] |
| 143 | + - name: disable-override |
| 144 | + type: bool |
| 145 | + profiles: |
| 146 | + - xpath: ["disable-override"] |
0 commit comments