Azure / Azure/azure-powershell

[Feature]: AzMobileNetwork: Inclusion of missing PCCP commands

Open
#20,898 4 comments 0 reactions 0 assignees View on GitHub
feature-request Tracking
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
3d 14h
Merged PRs (30d)
54

Description

### Description of the new feature

The following commands were left out of the first version of AzMobileNetwork since their API implementation were still under development, and now they are ready. The cmdlets are:

- Update-AzMobileNetworkCollectPacketCoreControlPlaneDiagnosticPackage
- Reset-AzMobileNetworkReinstallPacketCoreControlPlane
- Revoke-AzMobileNetworkRollbackPacketCoreControlPlane

The Swagger reference is [here](https://github.com/Azure/azure-rest-api-specs/blob/main/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2022-11-01/packetCoreControlPlane.json)

### Proposed implementation details (optional)

I believe a better verb for this commands are `Invoke`.

- AzMobileNetworkCollectPacketCoreControlPlaneDiagnosticPackage: Extracts logs and uploads into a blob storage, it doesn't update the resource.
- AzMobileNetworkReinstallPacketCoreControlPlane: It triggers a reinstall of the Packet Core application at the Edge location.
- Revoke-AzMobileNetworkRollbackPacketCoreControlPlane: Similar to the reinstall, but it uses a prior version of the Packet Core Applciation.

Contributor guide

Open the contributing guide

Research direction

Start with the linked packetCoreControlPlane.json Swagger reference and compare the three requested commands with the existing AzMobileNetwork cmdlets from the first version. Confirm the API operations and naming, then verify that the three commands are exposed with behavior matching the referenced operations.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp, openapi, powershell
Domain
api, cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.