We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Azure/azure-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
SqlServerAadAdministratorData.cs•1.35 KiB
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Text.Json;
using System.Text.Json.Serialization;
using AzureMcp.Sql.Commands;
namespace AzureMcp.Sql.Services.Models
{
/// <summary>
/// A class representing the SqlServerAadAdministrator data model.
/// Azure Active Directory administrator.
/// </summary>
internal sealed class SqlServerAadAdministratorData
{
/// <summary> The resource ID for the resource. </summary>
[JsonPropertyName("id")]
public string? ResourceId { get; set; }
/// <summary> The type of the resource. </summary>
[JsonPropertyName("type")]
public string? ResourceType { get; set; }
/// <summary> The name of the resource. </summary>
[JsonPropertyName("name")]
public string? ResourceName { get; set; }
/// <summary> Properties of the Azure Active Directory administrator. </summary>
public SqlServerAadAdministratorProperties? Properties { get; set; }
// Read the JSON response content and create a model instance from it.
public static SqlServerAadAdministratorData? FromJson(JsonElement source)
{
return JsonSerializer.Deserialize<SqlServerAadAdministratorData>(source, SqlJsonContext.Default.SqlServerAadAdministratorData);
}
}
}