語言

ContextCacheCheckNameAvailabilityResult Class

Definition

The result of the context cache name availability check.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.ContextCacheCheckNameAvailabilityResultTypeConverter))]
public class ContextCacheCheckNameAvailabilityResult : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IContextCacheCheckNameAvailabilityResult
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.ContextCacheCheckNameAvailabilityResultTypeConverter))>]
type ContextCacheCheckNameAvailabilityResult = class
    interface IContextCacheCheckNameAvailabilityResult
    interface IJsonSerializable
Public Class ContextCacheCheckNameAvailabilityResult
Implements IContextCacheCheckNameAvailabilityResult
Inheritance
ContextCacheCheckNameAvailabilityResult
Attributes
Implements

Constructors

Name Description
ContextCacheCheckNameAvailabilityResult()

Creates an new ContextCacheCheckNameAvailabilityResult instance.

Properties

Name Description
Message

The error message providing additional information about the context cache name availability check failure.

NameAvailable

A boolean value that indicates whether the context cache name is available to use. If true, the name is available. If false, the name has already been taken or is invalid and cannot be used.

Reason

The reason why the context cache name is not available. The Reason element is only returned if NameAvailable is false

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ContextCacheCheckNameAvailabilityResult.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ContextCacheCheckNameAvailabilityResult.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IContextCacheCheckNameAvailabilityResult.

FromJsonString(String)

Creates a new instance of ContextCacheCheckNameAvailabilityResult, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ContextCacheCheckNameAvailabilityResult into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to