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

SearchServiceNameAvailabilityContent Class

Definition

Input of check name availability API.

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

Constructors

Name Description
SearchServiceNameAvailabilityContent(String)

Initializes a new instance of SearchServiceNameAvailabilityContent.

Properties

Name Description
Name

The search service name to validate. Search service names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in length.

ResourceType

The type of the resource whose name is to be validated. This value must always be 'searchServices'.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<SearchServiceNameAvailabilityContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SearchServiceNameAvailabilityContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SearchServiceNameAvailabilityContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SearchServiceNameAvailabilityContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SearchServiceNameAvailabilityContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to