1""" 2Asset defines an archive, an agent will install as a dependency for a check. 3""" 4type Asset implements Node, Namespaced, Resource { 5 "The globally unique identifier of the record" 6 id: ID! 7 8 "Namespace in which this record resides" 9 namespace: String! 10 11 "Name is the unique identifier for an asset" 12 name: String 13 14 "metadata contains name, namespace, labels and annotations of the record" 15 metadata: ObjectMeta! 16 17 "URL is the location of the asset" 18 url: String 19 20 "Sha512 is the SHA-512 checksum of the asset" 21 sha512: String 22 23 """ 24 Filters are a collection of sensu queries, used by the system to determine 25 if the asset should be installed. If more than one filter is present the 26 queries are joined by the "AND" operator. 27 """ 28 filters: [String] 29 30 """ 31 toJSON returns a REST API compatible representation of the resource. Handy for 32 sharing snippets that can then be imported with `sensuctl create`. 33 """ 34 toJSON: JSON! 35} 36