Skip to main content

getPolicy

Function getPolicy in pulumi-better-uptime.
3 min read

Function getPolicy in pulumi-better-uptime.

Invoke token: better-uptime:index/getPolicy:getPolicy.

Example#

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

getPolicyOutput accepts Input values and returns Output of the same result.

Arguments#

PropertyTypeRequiredDescription
namestringyes

Result#

PropertyTypeAlways presentDescription
fallbackPolicyIdnumberyes
idstringyes
incidentTokenstringyes
namestringyes
policyGroupIdnumberyes
repeatCountnumberyes
repeatDelaynumberyes
stepsGetPolicyStep[]yes

GetPolicyStep#

Output object GetPolicyStep. Fields below belong to this object.

PropertyTypeAlways presentDescription
actionTypestringno
commentstringno
daysstring[]no
metadataKeystringno
metadataValueGetPolicyStepMetadataValue[]no
metadataValuesstring[]no
policyIdnumberno
policyMetadataKeystringno
reminderEnabledbooleanno
reminderIntervalHoursnumberno
stepMembersGetPolicyStepStepMember[]no
timeFromstringno
timeTostringno
timezonestringno
typestringno
urgencyIdnumberno
waitBeforenumberno
waitUntilTimestringno
waitUntilTimezonestringno

GetPolicyStepMetadataValue#

Output object GetPolicyStepMetadataValue. Fields below belong to this object.

PropertyTypeAlways presentDescription
emailstringno
itemIdstringno
namestringno
typestringno
valuestringno

GetPolicyStepStepMember#

Output object GetPolicyStepStepMember. Fields below belong to this object.

PropertyTypeAlways presentDescription
emailstringno
idnumberno
metadataKeystringno
teamIdnumberno
typestringno