-
Notifications
You must be signed in to change notification settings - Fork 246
/
azure.mgmt.devtestlabs.models.PolicyFragment.yml
78 lines (73 loc) · 2.49 KB
/
azure.mgmt.devtestlabs.models.PolicyFragment.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
69
70
71
72
73
74
75
76
77
78
### YamlMime:PythonClass
uid: azure.mgmt.devtestlabs.models.PolicyFragment
name: PolicyFragment
fullName: azure.mgmt.devtestlabs.models.PolicyFragment
module: azure.mgmt.devtestlabs.models
inheritances:
- azure.mgmt.devtestlabs.models._models_py3.UpdateResource
summary: A Policy.
constructor:
syntax: 'PolicyFragment(*, tags: Dict[str, str] | None = None, description: str
| None = None, status: str | PolicyStatus | None = None, fact_name: str | PolicyFactName
| None = None, fact_data: str | None = None, threshold: str | None = None, evaluator_type:
str | PolicyEvaluatorType | None = None, **kwargs)'
parameters:
- name: tags
description: A set of tags. The tags of the resource.
isRequired: true
types:
- <xref:dict>[<xref:str>, <xref:str>]
- name: description
description: The description of the policy.
isRequired: true
types:
- <xref:str>
- name: status
description: 'The status of the policy. Possible values include: "Enabled", "Disabled".'
isRequired: true
types:
- <xref:str>
- <xref:azure.mgmt.devtestlabs.models.PolicyStatus>
- name: fact_name
description: 'The fact name of the policy (e.g. LabVmCount, LabVmSize, MaxVmsAllowedPerLab,
etc. Possible values include: "UserOwnedLabVmCount", "UserOwnedLabPremiumVmCount",
"LabVmCount", "LabPremiumVmCount", "LabVmSize", "GalleryImage", "UserOwnedLabVmCountInSubnet",
"LabTargetCost", "EnvironmentTemplate", "ScheduleEditPermission".'
isRequired: true
types:
- <xref:str>
- <xref:azure.mgmt.devtestlabs.models.PolicyFactName>
- name: fact_data
description: The fact data of the policy.
isRequired: true
types:
- <xref:str>
- name: threshold
description: 'The threshold of the policy (i.e. a number for MaxValuePolicy, and
a JSON
array of values for AllowedValuesPolicy).'
isRequired: true
types:
- <xref:str>
- name: evaluator_type
description: 'The evaluator type of the policy (i.e. AllowedValuesPolicy,
MaxValuePolicy). Possible values include: "AllowedValuesPolicy", "MaxValuePolicy".'
isRequired: true
types:
- <xref:str>
- <xref:azure.mgmt.devtestlabs.models.PolicyEvaluatorType>
keywordOnlyParameters:
- name: tags
isRequired: true
- name: description
isRequired: true
- name: status
isRequired: true
- name: fact_name
isRequired: true
- name: fact_data
isRequired: true
- name: threshold
isRequired: true
- name: evaluator_type
isRequired: true