Condividi tramite


RedisNameAvailabilityContent Class

Definition

Parameters body to pass for resource name availability check.

public class RedisNameAvailabilityContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Redis.Models.RedisNameAvailabilityContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Redis.Models.RedisNameAvailabilityContent>
public class RedisNameAvailabilityContent
type RedisNameAvailabilityContent = class
    interface IJsonModel<RedisNameAvailabilityContent>
    interface IPersistableModel<RedisNameAvailabilityContent>
type RedisNameAvailabilityContent = class
Public Class RedisNameAvailabilityContent
Implements IJsonModel(Of RedisNameAvailabilityContent), IPersistableModel(Of RedisNameAvailabilityContent)
Public Class RedisNameAvailabilityContent
Inheritance
RedisNameAvailabilityContent
Implements

Constructors

RedisNameAvailabilityContent(String, ResourceType)

Initializes a new instance of RedisNameAvailabilityContent.

Properties

Name

Resource name.

ResourceType

Resource type. The only legal value of this property for checking redis cache name availability is 'Microsoft.Cache/redis'.

Explicit Interface Implementations

IJsonModel<RedisNameAvailabilityContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RedisNameAvailabilityContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RedisNameAvailabilityContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RedisNameAvailabilityContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RedisNameAvailabilityContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to