Module Values_2.DesiredWeightAndCapacitySource

Specifies weight and capacity values for a production variant.

Sourcetype nonrec t = {
  1. variantName : Values_0.VariantName.t;
    (*

    The name of the variant to update.

    *)
  2. desiredWeight : Values_0.VariantWeight.t option;
    (*

    The variant's weight.

    *)
  3. desiredInstanceCount : Values_1.TaskCount.t option;
    (*

    The variant's capacity.

    *)
  4. serverlessUpdateConfig : ProductionVariantServerlessUpdateConfig.t option;
    (*

    Specifies the serverless update concurrency configuration for an endpoint variant.

    *)
}
Sourceval context_ : string
Sourceval make : ?desiredWeight:??? -> ?desiredInstanceCount:??? -> ?serverlessUpdateConfig:??? -> variantName:Values_0.VariantName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Float of Values_0.VariantWeight.t | `Integer of Values_1.TaskCount.t | `String of Values_0.VariantName.t | `Structure of (string * [> `Integer of Values_0.ServerlessMaxConcurrency.t ]) list ]) 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