语言

你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

ManagedDiskResource.IPersistableModel<ManagedDiskData>.Create Method

Definition

Converts the provided BinaryData into a model.

Azure.ResourceManager.Compute.ManagedDiskData IPersistableModel<ManagedDiskData>.Create(BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options);
abstract member System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.ManagedDiskData>.Create : BinaryData * System.ClientModel.Primitives.ModelReaderWriterOptions -> Azure.ResourceManager.Compute.ManagedDiskData
override this.System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.ManagedDiskData>.Create : BinaryData * System.ClientModel.Primitives.ModelReaderWriterOptions -> Azure.ResourceManager.Compute.ManagedDiskData
Function Create (data As BinaryData, options As ModelReaderWriterOptions) As ManagedDiskData Implements IPersistableModel(Of ManagedDiskData).Create

Parameters

data
BinaryData

The binary data to be processed.

options
ModelReaderWriterOptions

The client options for reading and writing models.

Returns

A T representation of the data.

Implements

Exceptions

If the model does not support the requested Format.

Applies to