mirror of
https://github.com/dotnet/skills.git
synced 2026-09-20 09:49:54 +08:00
042a9d2b2c
* Reorganize plugins per agreed structure (#271) Split the dotnet plugin into domain-specific plugins per discussion in #271: - dotnet: narrowed to common everyday C#/.NET coding tasks - dotnet-diag: perf investigations, debugging, incident analysis - dotnet-data: data access and Entity Framework - dotnet-aspnet, dotnet-wpf, dotnet-winforms, dotnet-maui: scaffolded empty to convey intent for future framework-specific skills Moved skills, tests, and CODEOWNERS entries accordingly. No file content was changed; all skill/test moves are pure renames. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Improve dotnet-diag and dotnet-winforms descriptions - dotnet-diag: add '.NET' qualifier to clarify scope - dotnet-winforms: use official 'Windows Forms (WinForms)' name Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Add .NET qualifier to dotnet-data description Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Remove empty plugins; list them in CONTRIBUTING.md as future options Remove the four empty placeholder plugins (dotnet-aspnet, dotnet-wpf, dotnet-winforms, dotnet-maui) that had only plugin.json and no skills. Add a 'Plugin organization' section to CONTRIBUTING.md that describes the domain-specific plugin groupings introduced in this PR and lists the four removed plugin names as reserved candidates for future contributions. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Create dotnet-upgrade plugin with migration/upgrade skills Move migrate-nullable-references, thread-abort-migration, and dotnet-aot-compat from dotnet to the new dotnet-upgrade plugin. Update CODEOWNERS paths (same owners), CONTRIBUTING.md plugin table, and fix the thread-abort-migration SKILL.md link in CONTRIBUTING.md. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
93 lines
4.2 KiB
C#
93 lines
4.2 KiB
C#
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// Licensed under the MIT License.
|
|
|
|
// <auto-generated/>
|
|
|
|
#nullable disable
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using Azure.Core;
|
|
using Azure.ResourceManager.ManagementGroups.Models;
|
|
using Azure.ResourceManager.Models;
|
|
|
|
namespace Azure.ResourceManager.ManagementGroups
|
|
{
|
|
/// <summary>
|
|
/// A class representing the ManagementGroup data model.
|
|
/// The management group details.
|
|
/// </summary>
|
|
public partial class ManagementGroupData : ResourceData
|
|
{
|
|
/// <summary>
|
|
/// Keeps track of any properties unknown to the library.
|
|
/// <para>
|
|
/// To assign an object to the value of this property use <see cref="BinaryData.FromObjectAsJson{T}(T, System.Text.Json.JsonSerializerOptions?)"/>.
|
|
/// </para>
|
|
/// <para>
|
|
/// To assign an already formatted json string to this property use <see cref="BinaryData.FromString(string)"/>.
|
|
/// </para>
|
|
/// <para>
|
|
/// Examples:
|
|
/// <list type="bullet">
|
|
/// <item>
|
|
/// <term>BinaryData.FromObjectAsJson("foo")</term>
|
|
/// <description>Creates a payload of "foo".</description>
|
|
/// </item>
|
|
/// <item>
|
|
/// <term>BinaryData.FromString("\"foo\"")</term>
|
|
/// <description>Creates a payload of "foo".</description>
|
|
/// </item>
|
|
/// <item>
|
|
/// <term>BinaryData.FromObjectAsJson(new { key = "value" })</term>
|
|
/// <description>Creates a payload of { "key": "value" }.</description>
|
|
/// </item>
|
|
/// <item>
|
|
/// <term>BinaryData.FromString("{\"key\": \"value\"}")</term>
|
|
/// <description>Creates a payload of { "key": "value" }.</description>
|
|
/// </item>
|
|
/// </list>
|
|
/// </para>
|
|
/// </summary>
|
|
private IDictionary<string, BinaryData> _serializedAdditionalRawData;
|
|
|
|
/// <summary> Initializes a new instance of <see cref="ManagementGroupData"/>. </summary>
|
|
internal ManagementGroupData()
|
|
{
|
|
Children = new ChangeTrackingList<ManagementGroupChildInfo>();
|
|
}
|
|
|
|
/// <summary> Initializes a new instance of <see cref="ManagementGroupData"/>. </summary>
|
|
/// <param name="id"> The id. </param>
|
|
/// <param name="name"> The name. </param>
|
|
/// <param name="resourceType"> The resourceType. </param>
|
|
/// <param name="systemData"> The systemData. </param>
|
|
/// <param name="tenantId"> The AAD Tenant ID associated with the management group. For example, 00000000-0000-0000-0000-000000000000. </param>
|
|
/// <param name="displayName"> The friendly name of the management group. </param>
|
|
/// <param name="details"> The details of a management group. </param>
|
|
/// <param name="children"> The list of children. </param>
|
|
/// <param name="serializedAdditionalRawData"> Keeps track of any properties unknown to the library. </param>
|
|
internal ManagementGroupData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, Guid? tenantId, string displayName, ManagementGroupInfo details, IReadOnlyList<ManagementGroupChildInfo> children, IDictionary<string, BinaryData> serializedAdditionalRawData) : base(id, name, resourceType, systemData)
|
|
{
|
|
TenantId = tenantId;
|
|
DisplayName = displayName;
|
|
Details = details;
|
|
Children = children;
|
|
_serializedAdditionalRawData = serializedAdditionalRawData;
|
|
}
|
|
|
|
/// <summary> The AAD Tenant ID associated with the management group. For example, 00000000-0000-0000-0000-000000000000. </summary>
|
|
[WirePath("properties.tenantId")]
|
|
public Guid? TenantId { get; }
|
|
/// <summary> The friendly name of the management group. </summary>
|
|
[WirePath("properties.displayName")]
|
|
public string DisplayName { get; }
|
|
/// <summary> The details of a management group. </summary>
|
|
[WirePath("properties.details")]
|
|
public ManagementGroupInfo Details { get; }
|
|
/// <summary> The list of children. </summary>
|
|
[WirePath("properties.children")]
|
|
public IReadOnlyList<ManagementGroupChildInfo> Children { get; }
|
|
}
|
|
}
|