Skip to main content
Glama

Azure MCP Server

Official
MIT License
1,161
  • Linux
  • Apple
SqlFirewallRuleData.cs1.28 kB
// 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 SqlFirewallRule data model. /// A server firewall rule. /// </summary> internal sealed class SqlFirewallRuleData { /// <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> The properties of the firewall rule. </summary> public SqlFirewallRuleProperties? Properties { get; set; } // Read the JSON response content and create a model instance from it. public static SqlFirewallRuleData? FromJson(JsonElement source) { return JsonSerializer.Deserialize<SqlFirewallRuleData>(source, SqlJsonContext.Default.SqlFirewallRuleData); } } }

MCP directory API

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