Module Values_0.PropertySource

An object that defines a connection type for a compute environment.

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

    The name of the property.

    *)
  2. description : PropertyDescriptionString.t option;
    (*

    A description of the property.

    *)
  3. required : Bool_.t option;
    (*

    Indicates whether the property is required.

    *)
  4. defaultValue : String_.t option;
    (*

    The default value for the property.

    *)
  5. propertyTypes : PropertyTypes.t option;
    (*

    Describes the type of property.

    *)
  6. allowedValues : AllowedValues.t option;
    (*

    A list of AllowedValue objects representing the values allowed for the property.

    *)
  7. dataOperationScopes : DataOperations.t option;
    (*

    Indicates which data operations are applicable to the property.

    *)
  8. keyOverride : String_.t option;
    (*

    A key name to use when sending this property in API requests, if different from the display name.

    *)
  9. propertyLocation : PropertyLocation.t option;
    (*

    Specifies where this property should be included in REST requests, such as in headers, query parameters, or request body.

    *)
}
Sourceval make : ?name:??? -> ?description:??? -> ?required:??? -> ?defaultValue:??? -> ?propertyTypes:??? -> ?allowedValues:??? -> ?dataOperationScopes:??? -> ?keyOverride:??? -> ?propertyLocation:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Bool_.t | `Enum of string | `List of [> `Enum of string | `Structure of (string * [> `String of AllowedValueDescriptionString.t ]) list ] list | `String of PropertyName.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