policy-settings
policy-settings
Model object containing policy settings
JSON Example
{
"vcPricingSettings": {
"pricingPolicyStatus": {
"enabled": false
},
"basicCharges": {},
"guestOSRate": {
"rates": [
{}
]
},
"tags": {
"recurringRates": [
{
"chargePeriod": "string",
"rate": "number",
"type": "string",
"key": "string",
"value": "string",
"chargeOnPowerState": "string"
}
],
"oneTimeRates": [
{}
],
"rateFactors": [
{
"key": "string",
"value": "string",
"rate": "number",
"type": "string",
"chargeAppliesType": "string"
}
]
},
"overallCharges": {
"chargePeriod": "string",
"vmSetupCharges": "number",
"recurringCharges": "number"
}
},
"workloadAutomationSettings": {
"workloadOptimization": {
"optimizationType": "string"
},
"clusterHeadroom": {
"minimumHeadroomPercentThreshold": "number"
},
"changeDatastore": {
"allowStorageVMotion": false
},
"targetNetwork": {
"enabled": false
}
},
"capacitySettings": {
"capacity": {
"capacityAllocationSettings": [
{
"policyId": "string",
"inherited": false,
"resourceKindKey": {
"resourceKind": "string",
"adapterKind": "string"
},
"capacityAllocation": {
"cpu": "number",
"memory": "number",
"diskspace": "number",
"poweredOffVmsConsidered": false
}
}
],
"customProfileSettings": [
{
"policyId": "string",
"inherited": false,
"resourceKindKey": {
"resourceKind": "string",
"adapterKind": "string"
},
"capacityCustomProfile": {
"customProfileIds": [
"string"
]
}
}
],
"capacityBufferSettings": [
{
"policyId": "string",
"inherited": false,
"resourceKindKey": {
"resourceKind": "string",
"adapterKind": "string"
},
"capacityBuffer": {
"cpu": {
"demand": "number",
"usage": "number",
"allocation": "number"
},
"memory": {
"demand": "number",
"usage": "number",
"allocation": "number"
},
"diskspace": {
"demand": "number",
"usage": "number",
"allocation": "number"
}
}
}
]
},
"criticalityThresholds": {
"timeRemainingSettings": [
{
"policyId": "string",
"inherited": false,
"resourceKindKey": {
"resourceKind": "string",
"adapterKind": "string"
},
"criticalityThresholdsConfig": {
"critical": "number",
"immediate": "number",
"warning": "number"
}
}
],
"capacityRemainingSettings": [
{
"policyId": "string",
"inherited": false,
"resourceKindKey": {
"resourceKind": "string",
"adapterKind": "string"
},
"criticalityThresholdsConfig": {
"critical": "number",
"immediate": "number",
"warning": "number"
}
}
],
"workloadSettings": [
{
"policyId": "string",
"inherited": false,
"resourceKindKey": {
"resourceKind": "string",
"adapterKind": "string"
},
"criticalityThresholdsConfig": {
"critical": "number",
"immediate": "number",
"warning": "number"
}
}
]
}
}
}
workloadAutomationSettings
Optional
Model representing Workload Automation settings.