-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcategory_pc.yml
68 lines (59 loc) · 1.55 KB
/
category_pc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
pc_ip: valid-pc-ip
# Specify a user with permission to make API calls.
pc_credential: pc_user # credential reference from "vaults" in global.yml file
#Create
categories:
# Scenario 1, add values to an existing category
- name: AppType # name of existing category
description: "AppType CalmAppliance"
values: [ "CalmAppliance" ]
# Scenario 2, create a new category with values
- name: AZ01-DR-01
description: "AZ01-DR-01 RPO1h"
values: [ "RPO1h" ]
#Delete
categories:
- name: AppType # name of existing category
delete_only_values: True #Optional
- name: AZ01-DR-01
######################################## SCHEMA DOCUMENTATION ########################################
### ---CREATE SCHEMA --- ###
# categories:
# type: list
# required: false
# schema:
# type: dict
# schema:
# name:
# type: string
# required: true
# description:
# type: string
# values:
# type: list
# required: true
# schema:
# type: string
#
### ---DELETE SCHEMA --- ###
# categories:
# type: list
# required: false
# schema:
# type: dict
# schema:
# name:
# type: string
# required: true
# values:
# type: list
# schema:
# type: string
# required: true
# delete_only_values:
# type: boolean
# required: false
# dependencies: values
# default: false
#
####################################################################################################