1""" 2Silenced is the representation of a silence entry. 3""" 4type Silenced implements Node, Namespaced, Resource { 5 "The globally unique identifier for the record." 6 id: ID! 7 8 "The namespace the object belongs to." 9 namespace: String! 10 11 "Name is the combination of subscription and check name (subscription:checkname)" 12 name: String! 13 14 "metadata contains name, namespace, labels and annotations of the record" 15 metadata: ObjectMeta! 16 17 "Expire is the number of seconds the entry will live" 18 expire: Int! 19 20 "Exact time at which the silenced entry will expire" 21 expires: DateTime 22 23 """ 24 ExpireOnResolve defaults to false, clears the entry on resolution when set 25 to true 26 """ 27 expireOnResolve: Boolean! 28 29 "Creator is the author of the silenced entry" 30 creator: String! 31 32 "Check is the name of the check event to be silenced." 33 check: CheckConfig 34 35 "Reason is used to provide context to the entry" 36 reason: String 37 38 "Subscription is the name of the subscription to which the entry applies." 39 subscription: String 40 41 "Begin is a timestamp at which the silenced entry takes effect." 42 begin: DateTime 43 44 """ 45 toJSON returns a REST API compatible representation of the resource. Handy for 46 sharing snippets that can then be imported with `sensuctl create`. 47 """ 48 toJSON: JSON! 49} 50 51"Silenceable describes resources that can be silenced" 52interface Silenceable { 53 isSilenced: Boolean! 54 silences: [Silenced!]! 55} 56 57"A connection to a sequence of records." 58type SilencedConnection { 59 nodes: [Silenced!]! 60 pageInfo: OffsetPageInfo! 61} 62 63"Describes ways in which a list of silences can be ordered." 64enum SilencesListOrder { 65 ID 66 ID_DESC 67 BEGIN 68 BEGIN_DESC 69} 70