TestConnectionResponse Class

Definition

Test connection response properties

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

Constructors

Name Description
TestConnectionResponse()

Creates an new TestConnectionResponse instance.

Properties

Name Description
StorageConnectorErrorMessage

A string representing the error received from the backing data store. Format will vary depending on the data store type and will be capped at 1 MB in size. The error message will be empty if the connection was successful.

StorageConnectorMethodName

Indicates the method used to validate the connection to the backing data store. Valid values are GetBlob and ListBlobs for failure, and TestExistingConnection for success.

StorageConnectorRequestId

The request Id associated with the request sent to the backing data store for validation.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of TestConnectionResponse.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of TestConnectionResponse.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of TestConnectionResponse into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to