ScraperTargetRequest

public struct ScraperTargetRequest : Codable
  • Declaration

    Swift

    public enum ModelType : String, Codable, CaseIterable
  • The name of the scraper target.

    Declaration

    Swift

    public var name: String?
  • The type of the metrics to be parsed.

    Declaration

    Swift

    public var type: ModelType?
  • url

    The URL of the metrics endpoint.

    Declaration

    Swift

    public var url: String?
  • The organization ID.

    Declaration

    Swift

    public var orgID: String?
  • The ID of the bucket to write to.

    Declaration

    Swift

    public var bucketID: String?
  • Skip TLS verification on endpoint.

    Declaration

    Swift

    public var allowInsecure: Bool?
  • Declaration

    Swift

    public init(name: String? = nil, type: ModelType? = nil, url: String? = nil, orgID: String? = nil, bucketID: String? = nil, allowInsecure: Bool? = false)