Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
004fe9c
Migrate shared Devices.ServiceAnnouncement directives
ramsessanchez Oct 22, 2026
61acd7d
Regenerate Devices.ServiceAnnouncement v1.0 client and cmdlets
ramsessanchez Oct 22, 2026
b840d8a
Regenerate Devices.ServiceAnnouncement beta client and cmdlets
ramsessanchez Oct 22, 2026
8f6ee2a
Merge remote-tracking branch 'origin/powershell-v3' into ramsessanche…
ramsessanchez Oct 27, 2026
04857b0
Refresh service announcement migration against aligned operation IDs
ramsessanchez Oct 27, 2026
eaa3d54
Regenerate service announcement v1.0 from current compatible spec
ramsessanchez Oct 27, 2026
132fe64
Regenerate service announcement beta from current compatible spec
ramsessanchez Oct 27, 2026
afb90a2
Merge current powershell-v3 after directive grouping framework
ramsessanchez Oct 30, 2026
1f63f47
Keep service announcement oracle profiles separate from run config
ramsessanchez Oct 30, 2026
755d93d
Merge published Authentication target for service announcement revali…
ramsessanchez Nov 3, 2026
356f8d6
Regenerate service announcement v1.0 for published Authentication
ramsessanchez Nov 3, 2026
5ed0976
Regenerate service announcement beta for published Authentication
ramsessanchez Nov 3, 2026
6e0226b
Merge final no-readback target for service announcement revalidation
ramsessanchez Nov 6, 2026
bd5c7ce
Regenerate service announcement v1.0 on final no-readback target
ramsessanchez Nov 6, 2026
966b13b
Regenerate service announcement beta on final no-readback target
ramsessanchez Nov 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,25 @@ require:
``` yaml
directive:
# Remove invalid paths.
# Wrapper migration: directive 1 is reviewed against each profile's legacy
# operation IDs and current compatible IDs; their complete selected route sets
# agree after the nine beta final action/function qualifiers are removed.
# The adjacent wrapper/Devices.ServiceAnnouncement_directiveMigrationMap.json
# records 22 suppressions in v1.0 and 31 in beta (including administrativeUnits).
# Shared curated entries extend existing v1.0 derived coverage to beta.
# DevicesServiceAnnouncementDirectiveTests pins the selector and neighboring reads.
# Keep the original AutoRest directive active as the reviewed migration source.
- remove-path-by-operation: ^admin(?!\.serviceAnnouncement).*$|^admin.serviceAnnouncement_CreateHealthOverview$|^admin.serviceAnnouncement.healthOverview_CreateIssue$|^admin.serviceAnnouncement_CreateIssue$|^admin.serviceAnnouncement_CreateMessage$|^admin.serviceAnnouncement.message_CreateAttachment$|^admin.serviceAnnouncement_DeleteHealthOverview$|^admin.serviceAnnouncement.healthOverview_DeleteIssue$|^admin.serviceAnnouncement_DeleteIssue$|^admin.serviceAnnouncement_DeleteMessage$|^admin.serviceAnnouncement.message_DeleteAttachment$|^admin.serviceAnnouncement_DeleteMessagesAttachmentsArchive$|^admin.serviceAnnouncement.message_DeleteAttachmentsContent$|^admin.serviceAnnouncement_UpdateHealthOverview$|^admin.serviceAnnouncement.healthOverview_UpdateIssue$|^admin.serviceAnnouncement_UpdateIssue$|^admin.serviceAnnouncement_UpdateMessage$|^admin.serviceAnnouncement.message_UpdateAttachment$|^admin.serviceAnnouncement_SetMessagesAttachmentsArchive$|^admin.serviceAnnouncement.message_SetAttachmentsContent$

# Drop admin from command names.
# Wrapper migration: directive 2 strips Admin only within /admin/serviceAnnouncement/.
# Existing v1.0 derived names take precedence; the shared prefix rule covers beta
# and structural naming without duplicating the published per-operation renames.
# The adjacent ledger records the 25 surviving routes in each compatible profile.
# Profile-local readmes and src/readme.graph.md are intentionally not migrated.
# Parameter aliases/transforms and schema/response directives remain deferred;
# neither deferred class occurs in this shared module file.
# Keep the original AutoRest rename active as the reviewed migration source.
- where:
subject: (.*)AdminServiceAnnouncement(.*)
set:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"descriptionHash": "E82E893BB1BFA21751C38E97FFB33D56490543DA15401AA2B986D4FD4CC5B63DA123B33173097F94A305E2FA33FBC79E9320FCE21D18F49AAC9060450B145285",
"descriptionLocation": "../../../../../openApiDocs_KiotaCompat/Beta/Devices.ServiceAnnouncement.yml",
"descriptionHash": "AAF58C49D0B85DC1B2DA9DD1F982BEF754A3CB41ABA57B27F40C2B93CE1882B4FBEFCEB1843BCBA94F2291F0AD299D8E652062A45E329A62FC4EF3A0DC31FD3C",
"descriptionLocation": "../../../../../openApiDocs_KiotaCompat/beta/Devices.ServiceAnnouncement.yml",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.34.1",
"kiotaVersion": "1.36.1",
"clientClassName": "ApiClient",
"typeAccessModifier": "Public",
"clientNamespaceName": "Microsoft.Graph.PowerShell.Devices.ServiceAnnouncement.Client",
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,17 @@
namespace Microsoft.Graph.PowerShell.Devices.ServiceAnnouncement
{
[GraphRoute("GET", "/admin/serviceAnnouncement/healthOverviews")]
[Cmdlet(VerbsCommon.Get, "MgAdminServiceAnnouncementHealthOverview", DefaultParameterSetName = "List")]
[Cmdlet(VerbsCommon.Get, "MgServiceAnnouncementHealthOverview", DefaultParameterSetName = "List")]
[OutputType(typeof(Microsoft.Graph.PowerShell.Devices.ServiceAnnouncement.Client.Models.ServiceHealthCollectionResponse), ParameterSetName = new[] { "List" })]
[OutputType(typeof(Microsoft.Graph.PowerShell.Devices.ServiceAnnouncement.Client.Models.ServiceHealth), ParameterSetName = new[] { "Get" })]
public class GetMgAdminServiceAnnouncementHealthOverviewCommand : GraphClientCmdlet
public class GetMgServiceAnnouncementHealthOverviewCommand : GraphClientCmdlet
{
[Parameter(Mandatory = true, ParameterSetName = "Get", Position = 0)]
public string ServiceHealthId { get; set; } = string.Empty;




[Parameter(Mandatory = false)]
[Alias("Select")]
public string[]? Property { get; set; }
Expand Down Expand Up @@ -56,11 +57,11 @@ public class GetMgAdminServiceAnnouncementHealthOverviewCommand : GraphClientCmd



// Delegates to Get-MgAdminServiceAnnouncementHealthOverview_Get or Get-MgAdminServiceAnnouncementHealthOverview_List, the two cmdlets
// Delegates to Get-MgServiceAnnouncementHealthOverview_Get or Get-MgServiceAnnouncementHealthOverview_List, the two cmdlets
// that actually call Graph.
protected override void ProcessRecord()
{
var internalCmdletName = ParameterSetName == "Get" ? "Get-MgAdminServiceAnnouncementHealthOverview_Get" : "Get-MgAdminServiceAnnouncementHealthOverview_List";
var internalCmdletName = ParameterSetName == "Get" ? "Get-MgServiceAnnouncementHealthOverview_Get" : "Get-MgServiceAnnouncementHealthOverview_List";
try
{
InvokeCommand.InvokeScript(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
namespace Microsoft.Graph.PowerShell.Devices.ServiceAnnouncement
{
[GraphRoute("GET", "/admin/serviceAnnouncement/healthOverviews/$count")]
[Cmdlet(VerbsCommon.Get, "MgAdminServiceAnnouncementHealthOverviewCount")]
[Cmdlet(VerbsCommon.Get, "MgServiceAnnouncementHealthOverviewCount")]
[OutputType(typeof(int))]
public class GetMgAdminServiceAnnouncementHealthOverviewCountCommand : GraphClientCmdlet
public class GetMgServiceAnnouncementHealthOverviewCountCommand : GraphClientCmdlet
{


Expand All @@ -31,7 +31,7 @@ public class GetMgAdminServiceAnnouncementHealthOverviewCountCommand : GraphClie
protected override void ProcessRecord()
{

var requestAdapter = GetRequestAdapter();
var requestAdapter = GetRequestAdapter("beta");
var client = new ApiClient(requestAdapter);

int? result;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
namespace Microsoft.Graph.PowerShell.Devices.ServiceAnnouncement
{
[GraphRoute("GET", "/admin/serviceAnnouncement/healthOverviews/{serviceHealth-id}/issues")]
[Cmdlet(VerbsCommon.Get, "MgAdminServiceAnnouncementHealthOverviewIssue", DefaultParameterSetName = "List")]
[Cmdlet(VerbsCommon.Get, "MgServiceAnnouncementHealthOverviewIssue", DefaultParameterSetName = "List")]
[OutputType(typeof(Microsoft.Graph.PowerShell.Devices.ServiceAnnouncement.Client.Models.ServiceHealthIssueCollectionResponse), ParameterSetName = new[] { "List" })]
[OutputType(typeof(Microsoft.Graph.PowerShell.Devices.ServiceAnnouncement.Client.Models.ServiceHealthIssue), ParameterSetName = new[] { "Get" })]
public class GetMgAdminServiceAnnouncementHealthOverviewIssueCommand : GraphClientCmdlet
public class GetMgServiceAnnouncementHealthOverviewIssueCommand : GraphClientCmdlet
{
[Parameter(Mandatory = true, Position = 0)]
public string ServiceHealthId { get; set; } = string.Empty;
Expand All @@ -21,6 +21,7 @@ public class GetMgAdminServiceAnnouncementHealthOverviewIssueCommand : GraphClie




[Parameter(Mandatory = false)]
[Alias("Select")]
public string[]? Property { get; set; }
Expand Down Expand Up @@ -58,11 +59,11 @@ public class GetMgAdminServiceAnnouncementHealthOverviewIssueCommand : GraphClie



// Delegates to Get-MgAdminServiceAnnouncementHealthOverviewIssue_Get or Get-MgAdminServiceAnnouncementHealthOverviewIssue_List, the two cmdlets
// Delegates to Get-MgServiceAnnouncementHealthOverviewIssue_Get or Get-MgServiceAnnouncementHealthOverviewIssue_List, the two cmdlets
// that actually call Graph.
protected override void ProcessRecord()
{
var internalCmdletName = ParameterSetName == "Get" ? "Get-MgAdminServiceAnnouncementHealthOverviewIssue_Get" : "Get-MgAdminServiceAnnouncementHealthOverviewIssue_List";
var internalCmdletName = ParameterSetName == "Get" ? "Get-MgServiceAnnouncementHealthOverviewIssue_Get" : "Get-MgServiceAnnouncementHealthOverviewIssue_List";
try
{
InvokeCommand.InvokeScript(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
namespace Microsoft.Graph.PowerShell.Devices.ServiceAnnouncement
{
[GraphRoute("GET", "/admin/serviceAnnouncement/healthOverviews/{serviceHealth-id}/issues/$count")]
[Cmdlet(VerbsCommon.Get, "MgAdminServiceAnnouncementHealthOverviewIssueCount")]
[Cmdlet(VerbsCommon.Get, "MgServiceAnnouncementHealthOverviewIssueCount")]
[OutputType(typeof(int))]
public class GetMgAdminServiceAnnouncementHealthOverviewIssueCountCommand : GraphClientCmdlet
public class GetMgServiceAnnouncementHealthOverviewIssueCountCommand : GraphClientCmdlet
{
[Parameter(Mandatory = true, Position = 0)]
public string ServiceHealthId { get; set; } = string.Empty;
Expand All @@ -32,7 +32,7 @@ public class GetMgAdminServiceAnnouncementHealthOverviewIssueCountCommand : Grap
protected override void ProcessRecord()
{

var requestAdapter = GetRequestAdapter();
var requestAdapter = GetRequestAdapter("beta");
var client = new ApiClient(requestAdapter);

int? result;
Expand Down
Loading
Loading