다음을 통해 공유


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

SearchServiceNameAvailabilityContent(String)

Initializes a new instance of SearchServiceNameAvailabilityContent.

Properties

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'.

Explicit Interface Implementations

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