Share via


AppCustomPersistentDiskProperties.IJsonModel<AppCustomPersistentDiskProperties>.Create Method

Definition

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

Azure.ResourceManager.AppPlatform.Models.AppCustomPersistentDiskProperties IJsonModel<AppCustomPersistentDiskProperties>.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options);
abstract member System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppPlatform.Models.AppCustomPersistentDiskProperties>.Create : Utf8JsonReader * System.ClientModel.Primitives.ModelReaderWriterOptions -> Azure.ResourceManager.AppPlatform.Models.AppCustomPersistentDiskProperties
override this.System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppPlatform.Models.AppCustomPersistentDiskProperties>.Create : Utf8JsonReader * System.ClientModel.Primitives.ModelReaderWriterOptions -> Azure.ResourceManager.AppPlatform.Models.AppCustomPersistentDiskProperties
Function Create (ByRef reader As Utf8JsonReader, options As ModelReaderWriterOptions) As AppCustomPersistentDiskProperties Implements IJsonModel(Of AppCustomPersistentDiskProperties).Create

Parameters

reader
System.Text.Json.Utf8JsonReader

The System.Text.Json.Utf8JsonReader to read.

options
System.ClientModel.Primitives.ModelReaderWriterOptions

The System.ClientModel.Primitives.ModelReaderWriterOptions to use.

Returns

A T representation of the JSON value.

Implements

System.ClientModel.Primitives.IJsonModel`1.Create(System.Text.Json.Utf8JsonReader@,System.ClientModel.Primitives.ModelReaderWriterOptions)

Exceptions

System.FormatException

If the model does not support the requested System.ClientModel.Primitives.ModelReaderWriterOptions.Format.

Applies to