Module Values.CreateTrafficPolicyRequestSource

A complex type that contains information about the traffic policy that you want to create.

Sourcetype nonrec t = {
  1. name : TrafficPolicyName.t;
    (*

    The name of the traffic policy.

    *)
  2. document : TrafficPolicyDocument.t;
    (*

    The definition of this traffic policy in JSON format. For more information, see Traffic Policy Document Format.

    *)
  3. comment : TrafficPolicyComment.t option;
    (*

    (Optional) Any comments that you want to include about the traffic policy.

    *)
}
Sourceval context_ : string
Sourceval make : ?comment:??? -> name:TrafficPolicyName.t -> document:TrafficPolicyDocument.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of TrafficPolicyName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t