OccurrenceCancelContent Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The request to cancel an occurrence.
public class OccurrenceCancelContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ComputeSchedule.Models.OccurrenceCancelContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ComputeSchedule.Models.OccurrenceCancelContent>
type OccurrenceCancelContent = class
interface IJsonModel<OccurrenceCancelContent>
interface IPersistableModel<OccurrenceCancelContent>
Public Class OccurrenceCancelContent
Implements IJsonModel(Of OccurrenceCancelContent), IPersistableModel(Of OccurrenceCancelContent)
- Inheritance
-
OccurrenceCancelContent
- Implements
Constructors
OccurrenceCancelContent(IEnumerable<ResourceIdentifier>) |
Initializes a new instance of OccurrenceCancelContent. |
Properties
ResourceIds |
The resources the cancellation should act on. If no resource is passed in the list, Scheduled Action will cancel the occurrence for all resources. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<OccurrenceCancelContent>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<OccurrenceCancelContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<OccurrenceCancelContent>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<OccurrenceCancelContent>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<OccurrenceCancelContent>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |