共用方式為


MachineLearningEndpointScheduleAction Class

Definition

The MachineLearningEndpointScheduleAction.

public class MachineLearningEndpointScheduleAction : Azure.ResourceManager.MachineLearning.Models.MachineLearningScheduleAction, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointScheduleAction>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointScheduleAction>
public class MachineLearningEndpointScheduleAction : Azure.ResourceManager.MachineLearning.Models.MachineLearningScheduleAction
type MachineLearningEndpointScheduleAction = class
    inherit MachineLearningScheduleAction
    interface IJsonModel<MachineLearningEndpointScheduleAction>
    interface IPersistableModel<MachineLearningEndpointScheduleAction>
type MachineLearningEndpointScheduleAction = class
    inherit MachineLearningScheduleAction
Public Class MachineLearningEndpointScheduleAction
Inherits MachineLearningScheduleAction
Implements IJsonModel(Of MachineLearningEndpointScheduleAction), IPersistableModel(Of MachineLearningEndpointScheduleAction)
Public Class MachineLearningEndpointScheduleAction
Inherits MachineLearningScheduleAction
Inheritance
MachineLearningEndpointScheduleAction
Implements

Constructors

MachineLearningEndpointScheduleAction(BinaryData)

Initializes a new instance of MachineLearningEndpointScheduleAction.

Properties

EndpointInvocationDefinition

[Required] Defines Schedule action definition details. <see href="TBD" />

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

Explicit Interface Implementations

IJsonModel<MachineLearningEndpointScheduleAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<MachineLearningEndpointScheduleAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<MachineLearningScheduleAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from MachineLearningScheduleAction)
IJsonModel<MachineLearningScheduleAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from MachineLearningScheduleAction)
IPersistableModel<MachineLearningEndpointScheduleAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MachineLearningEndpointScheduleAction>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<MachineLearningEndpointScheduleAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<MachineLearningScheduleAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from MachineLearningScheduleAction)
IPersistableModel<MachineLearningScheduleAction>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from MachineLearningScheduleAction)
IPersistableModel<MachineLearningScheduleAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from MachineLearningScheduleAction)

Applies to