Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,42 @@ require:

> see https://github.com/Azure/autorest/blob/master/docs/powershell/directives.md

The wrapper migration reviews only these shared cmdlet directives for v1.0.
The compatible beta specification is unavailable, so beta is explicitly excluded,
not classified as API absence. Profile-local readmes and `src/readme.graph.md` are
outside this review. Parameter aliases/transforms and schema/response directives
remain deferred; none occur in this shared file.

``` yaml
directive:
# Remove cmdlets.
# Wrapper migration: no groupPolicyMigrationReports operation exists in either
# actual v1.0 source specification. The adjacent wrapper migration ledger records
# this reviewed no-op, and DeviceManagementAdministrationDirectiveMigrationTests
# checks both specifications. Keep the AutoRest directive active.
- where:
verb: New
subject: ^DeviceManagementGroupPolicyMigrationReport$
remove: true
# Wrapper migration: no groupPolicyUploadedDefinitionFiles operation exists in
# either actual v1.0 source specification. The ledger records this reviewed no-op;
# the module regression tests pin the absence without claiming beta API absence.
- where:
verb: Remove
subject: ^DeviceManagementGroupPolicyUploadedDefinitionFile$
remove: true
# Wrapper migration: existing parity-suppressions.v1.0.json already suppresses
# POST/PATCH/DELETE on the auditEvents and cloudPCs collections/items (six exact
# operations). The selected audit-activity/source-image functions are GET-only,
# so New|Remove|Update does not select them. The ledger and module tests pin this
# coverage and preserve neighboring reads/actions; no duplicate overrides.
- where:
verb: New|Remove|Update
subject: ^DeviceManagementVirtualEndpoint(AuditEvent|CloudPC|AuditEventAuditActivityType|DeviceImageSourceImage)$
remove: true
# Wrapper migration: existing derived parity data suppresses the singleton's
# PATCH and DELETE. There is no POST in either v1.0 source. The ledger and module
# tests pin this exact scope while preserving GET and nested resource writes.
- where:
verb: New|Remove|Update
subject: ^DeviceManagementVirtualEndpoint$
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
{
"mappings": [
{
"module": "DeviceManagement.Administration",
"directiveIndex": 1,
"classification": "CmdletSuppression",
"sourceContains": "subject: ^DeviceManagementGroupPolicyMigrationReport$",
"implementation": "NoMatchingOperations",
"notes": "Reviewed New-only GroupPolicyMigrationReport suppression: neither actual openApiDocs/v1.0 nor openApiDocs_KiotaCompat/v1.0 DeviceManagement.Administration.yml contains groupPolicyMigrationReports routes. No v1.0 override or invented operation-ID mapping is needed. DeviceManagementAdministrationDirectiveMigrationTests pins both sources.",
"profiles": {
"v1.0": {
"absenceExpected": true,
"operations": []
},
"beta": {
"excluded": true,
"operations": [],
"notes": "Missing compatible beta spec; legacy beta exists but is outside the approved scope. No API-operation absence assertion."
}
}
},
{
"module": "DeviceManagement.Administration",
"directiveIndex": 2,
"classification": "CmdletSuppression",
"sourceContains": "subject: ^DeviceManagementGroupPolicyUploadedDefinitionFile$",
"implementation": "NoMatchingOperations",
"notes": "Reviewed Remove-only GroupPolicyUploadedDefinitionFile suppression: neither actual openApiDocs/v1.0 nor openApiDocs_KiotaCompat/v1.0 DeviceManagement.Administration.yml contains groupPolicyUploadedDefinitionFiles routes. No v1.0 override or invented operation-ID mapping is needed. DeviceManagementAdministrationDirectiveMigrationTests pins both sources.",
"profiles": {
"v1.0": {
"absenceExpected": true,
"operations": []
},
"beta": {
"excluded": true,
"operations": [],
"notes": "Missing compatible beta spec; legacy beta exists but is outside the approved scope. No API-operation absence assertion."
}
}
},
{
"module": "DeviceManagement.Administration",
"directiveIndex": 3,
"classification": "CmdletSuppression",
"sourceContains": "subject: ^DeviceManagementVirtualEndpoint(AuditEvent|CloudPC|AuditEventAuditActivityType|DeviceImageSourceImage)$",
"implementation": "DerivedCollisionResolutions",
"notes": "All six New/Update/Remove auditEvent and cloudPC operations already have exact v1.0 entries in tools/WrapperGenerator/data/parity-suppressions.v1.0.json. Reuse them without redundant curated suppressions. After #3861/#3863, the compatible operation IDs match the actual same-profile legacy IDs; module tests pin their exact IDs and complete method/path coverage. The auditActivityTypes and sourceImages functions are GET-only in both sources and do not match the verb selector; preserve them and the current Administration-owned actions. No DeviceManagement.Actions directives are imported.",
"profiles": {
"v1.0": {
"absenceExpected": false,
"operations": [
{
"method": "POST",
"path": "/deviceManagement/virtualEndpoint/auditEvents",
"operationId": "deviceManagement.virtualEndpoint_CreateAuditEvent"
},
{
"method": "PATCH",
"path": "/deviceManagement/virtualEndpoint/auditEvents/{cloudPcAuditEvent-id}",
"operationId": "deviceManagement.virtualEndpoint_UpdateAuditEvent"
},
{
"method": "DELETE",
"path": "/deviceManagement/virtualEndpoint/auditEvents/{cloudPcAuditEvent-id}",
"operationId": "deviceManagement.virtualEndpoint_DeleteAuditEvent"
},
{
"method": "POST",
"path": "/deviceManagement/virtualEndpoint/cloudPCs",
"operationId": "deviceManagement.virtualEndpoint_CreateCloudPC"
},
{
"method": "PATCH",
"path": "/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC-id}",
"operationId": "deviceManagement.virtualEndpoint_UpdateCloudPC"
},
{
"method": "DELETE",
"path": "/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC-id}",
"operationId": "deviceManagement.virtualEndpoint_DeleteCloudPC"
}
]
},
"beta": {
"excluded": true,
"operations": [],
"notes": "Missing compatible beta spec; legacy beta exists but is outside the approved scope. No API-operation absence assertion."
}
}
},
{
"module": "DeviceManagement.Administration",
"directiveIndex": 4,
"classification": "CmdletSuppression",
"sourceContains": "subject: ^DeviceManagementVirtualEndpoint$",
"implementation": "DerivedCollisionResolutions",
"notes": "The singleton PATCH and DELETE already have exact v1.0 entries in tools/WrapperGenerator/data/parity-suppressions.v1.0.json. Neither actual legacy nor compatible v1.0 source declares singleton POST. After #3861/#3863, the compatible operation IDs match the actual same-profile legacy IDs; module tests pin both sources, the two exact methods, preserved GET, and writable nested deviceImages. Keep the existing DeviceManagementPartner noun overrides unchanged; do not import profile-local or historical DeviceManagement.Actions directives.",
"profiles": {
"v1.0": {
"absenceExpected": false,
"operations": [
{
"method": "PATCH",
"path": "/deviceManagement/virtualEndpoint",
"operationId": "deviceManagement_UpdateVirtualEndpoint"
},
{
"method": "DELETE",
"path": "/deviceManagement/virtualEndpoint",
"operationId": "deviceManagement_DeleteVirtualEndpoint"
}
]
},
"beta": {
"excluded": true,
"operations": [],
"notes": "Missing compatible beta spec; legacy beta exists but is outside the approved scope. No API-operation absence assertion."
}
}
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,14 @@ public partial class Authentication : global::Microsoft.Graph.PowerShell.DeviceM
#nullable restore
#else
public List<global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.PlatformCredentialAuthenticationMethod> PlatformCredentialMethods { get; set; }
#endif
/// <summary>Represents the resource account key credentials registered to a user for authentication on shared devices.</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public List<global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.ResourceAccountKeyAuthenticationMethod>? ResourceAccountKeyAuthenticationMethods { get; set; }
#nullable restore
#else
public List<global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.ResourceAccountKeyAuthenticationMethod> ResourceAccountKeyAuthenticationMethods { get; set; }
#endif
/// <summary>The software OATH time-based one-time password (TOTP) applications registered to a user for authentication.</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
Expand Down Expand Up @@ -135,6 +143,7 @@ public override IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
{ "passwordMethods", n => { PasswordMethods = n.GetCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.PasswordAuthenticationMethod>(global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.PasswordAuthenticationMethod.CreateFromDiscriminatorValue)?.AsList(); } },
{ "phoneMethods", n => { PhoneMethods = n.GetCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.PhoneAuthenticationMethod>(global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.PhoneAuthenticationMethod.CreateFromDiscriminatorValue)?.AsList(); } },
{ "platformCredentialMethods", n => { PlatformCredentialMethods = n.GetCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.PlatformCredentialAuthenticationMethod>(global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.PlatformCredentialAuthenticationMethod.CreateFromDiscriminatorValue)?.AsList(); } },
{ "resourceAccountKeyAuthenticationMethods", n => { ResourceAccountKeyAuthenticationMethods = n.GetCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.ResourceAccountKeyAuthenticationMethod>(global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.ResourceAccountKeyAuthenticationMethod.CreateFromDiscriminatorValue)?.AsList(); } },
{ "softwareOathMethods", n => { SoftwareOathMethods = n.GetCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.SoftwareOathAuthenticationMethod>(global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.SoftwareOathAuthenticationMethod.CreateFromDiscriminatorValue)?.AsList(); } },
{ "temporaryAccessPassMethods", n => { TemporaryAccessPassMethods = n.GetCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.TemporaryAccessPassAuthenticationMethod>(global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.TemporaryAccessPassAuthenticationMethod.CreateFromDiscriminatorValue)?.AsList(); } },
{ "windowsHelloForBusinessMethods", n => { WindowsHelloForBusinessMethods = n.GetCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.WindowsHelloForBusinessAuthenticationMethod>(global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.WindowsHelloForBusinessAuthenticationMethod.CreateFromDiscriminatorValue)?.AsList(); } },
Expand All @@ -157,6 +166,7 @@ public override void Serialize(ISerializationWriter writer)
writer.WriteCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.PasswordAuthenticationMethod>("passwordMethods", PasswordMethods);
writer.WriteCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.PhoneAuthenticationMethod>("phoneMethods", PhoneMethods);
writer.WriteCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.PlatformCredentialAuthenticationMethod>("platformCredentialMethods", PlatformCredentialMethods);
writer.WriteCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.ResourceAccountKeyAuthenticationMethod>("resourceAccountKeyAuthenticationMethods", ResourceAccountKeyAuthenticationMethods);
writer.WriteCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.SoftwareOathAuthenticationMethod>("softwareOathMethods", SoftwareOathMethods);
writer.WriteCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.TemporaryAccessPassAuthenticationMethod>("temporaryAccessPassMethods", TemporaryAccessPassMethods);
writer.WriteCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.WindowsHelloForBusinessAuthenticationMethod>("windowsHelloForBusinessMethods", WindowsHelloForBusinessMethods);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public partial class AuthenticationMethod : global::Microsoft.Graph.PowerShell.D
"#microsoft.graph.passwordAuthenticationMethod" => new global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.PasswordAuthenticationMethod(),
"#microsoft.graph.phoneAuthenticationMethod" => new global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.PhoneAuthenticationMethod(),
"#microsoft.graph.platformCredentialAuthenticationMethod" => new global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.PlatformCredentialAuthenticationMethod(),
"#microsoft.graph.resourceAccountKeyAuthenticationMethod" => new global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.ResourceAccountKeyAuthenticationMethod(),
"#microsoft.graph.softwareOathAuthenticationMethod" => new global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.SoftwareOathAuthenticationMethod(),
"#microsoft.graph.temporaryAccessPassAuthenticationMethod" => new global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.TemporaryAccessPassAuthenticationMethod(),
"#microsoft.graph.windowsHelloForBusinessAuthenticationMethod" => new global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.WindowsHelloForBusinessAuthenticationMethod(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ public Entity()
"#microsoft.graph.printTaskTrigger" => new global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.PrintTaskTrigger(),
"#microsoft.graph.profilePhoto" => new global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.ProfilePhoto(),
"#microsoft.graph.remoteAssistancePartner" => new global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.RemoteAssistancePartner(),
"#microsoft.graph.resourceAccountKeyAuthenticationMethod" => new global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.ResourceAccountKeyAuthenticationMethod(),
"#microsoft.graph.resourceOperation" => new global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.ResourceOperation(),
"#microsoft.graph.resourceSpecificPermissionGrant" => new global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.ResourceSpecificPermissionGrant(),
"#microsoft.graph.richLongRunningOperation" => new global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.RichLongRunningOperation(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public partial class Group : global::Microsoft.Graph.PowerShell.DeviceManagement
#else
public List<global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.AppRoleAssignment> AppRoleAssignments { get; set; }
#endif
/// <summary>The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group or a cloud security group. Requires a Microsoft Entra ID P1 license. Requires $select to retrieve. This property can be specified during group creation or update. However, for cloud security groups, it&apos;s immutable once set. This property can be updated only in delegated scenarios where the caller requires both the Microsoft Graph permission and a supported administrator role. See Key differences from Microsoft 365 group labeling to learn more about managing this property for Microsoft 365 vs. cloud security groups.</summary>
/// <summary>The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group or a cloud security group. Requires a Microsoft Entra ID P1 license. Requires $select to retrieve. This property can be specified during group creation or update. However, for cloud security groups, it&apos;s immutable once set. This property can be updated only in delegated scenarios where the caller requires both the Microsoft Graph permission and a supported administrator role. To learn more about managing this property for Microsoft 365 vs. cloud security groups, see Key differences from Microsoft 365 group labeling.</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public List<global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.AssignedLabel>? AssignedLabels { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ namespace Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Mode
public partial class Presence : global::Microsoft.Graph.PowerShell.DeviceManagement.Administration.Client.Models.Entity, IParsable
#pragma warning restore CS1591
{
/// <summary>The supplemental information to a user&apos;s availability. Possible values are available, away, beRightBack, busy, doNotDisturb, offline, outOfOffice, presenceUnknown.</summary>
/// <summary>The supplemental information to a user&apos;s availability. Possible values are Available, Away, BeRightBack, Busy, DoNotDisturb, Offline, OutOfOffice, PresenceUnknown.</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? Activity { get; set; }
#nullable restore
#else
public string Activity { get; set; }
#endif
/// <summary>The base presence information for a user. Possible values are available, away, beRightBack, busy, doNotDisturb, focusing, inACall, inAMeeting, offline, presenting, presenceUnknown.</summary>
/// <summary>The base presence information for a user. Possible values are Available, Away, BeRightBack, Busy, DoNotDisturb, Focusing, InACall, InAMeeting, Offline, Presenting, PresenceUnknown.</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? Availability { get; set; }
Expand Down
Loading
Loading