Skip to content
Open
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
4b57ea9
[EdgeAction] Add EdgeAction PowerShell module for 2025-09-01-preview
Nov 18, 2025
6c5382e
[EdgeAction] Update help documentation and build artifacts
Nov 18, 2025
87f590a
[EdgeAction] Fix AutoRest config path and add real examples for key c…
Nov 19, 2025
be7dea7
[EdgeAction] Fix module manifest - remove non-existent format file
Nov 19, 2025
9401641
[EdgeAction] Implement minimum viable tests for all core operations
Nov 19, 2025
8c172b5
[EdgeAction] Deploy code to both versions in Switch default test
Nov 19, 2025
bdb03d7
[EdgeAction] Update tests to use powershelltests resource group
Nov 19, 2025
50aa86c
Add Az.EdgeAction PowerShell module for 2025-09-01-preview API
Nov 22, 2025
99754c7
Fix build: Restore generate-info.json to src directory
Nov 26, 2025
61eb7e7
Fix getVersionCode and swapDefault API calls to include required empt…
Nov 26, 2025
56158cd
Add OutputPath parameter to Get-AzEdgeActionVersionCode, fix tests wi…
Dec 1, 2025
62869ac
Fix EdgeAction README.md to pin swagger commit
Dec 1, 2025
01af238
Fix DeployFromZipFile test to use cross-platform temp path
Dec 2, 2025
e74542a
Fix static analysis errors: add Update-AzEdgeActionVersion examples a…
Dec 2, 2025
2af841a
Remove implementation summary and quick reference files
Dec 2, 2025
8696b10
Replace placeholder examples with actual cmdlet examples
Dec 2, 2025
0d9b587
Fix static analysis errors in EdgeAction documentation
Dec 2, 2025
6ef9aba
Simplify ChangeLog.md to match Azure PowerShell conventions
Dec 8, 2025
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
@@ -0,0 +1,43 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the ""License"");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an ""AS IS"" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
// is regenerated.

using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")]
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - EdgeAction")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0")]
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
[assembly: System.CLSCompliantAttribute(false)]

















3 changes: 3 additions & 0 deletions generated/EdgeAction/EdgeAction.Autorest/generate-info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"generate_Id": "b3b4d4f3-dc8d-4ec0-8a1a-42ff3c6a3c27"
}
1 change: 1 addition & 0 deletions src/EdgeAction/EdgeAction.Autorest/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
16 changes: 16 additions & 0 deletions src/EdgeAction/EdgeAction.Autorest/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
bin
obj
.vs
generated
internal
exports
tools
test/*-TestResults.xml
license.txt
/*.ps1
/*.psd1
/*.ps1xml
/*.psm1
/*.snk
/*.csproj
/*.nuspec
32 changes: 32 additions & 0 deletions src/EdgeAction/EdgeAction.Autorest/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the ""License"");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an ""AS IS"" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
// is regenerated.

using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")]
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - EdgeAction")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0")]
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
[assembly: System.CLSCompliantAttribute(false)]






95 changes: 95 additions & 0 deletions src/EdgeAction/EdgeAction.Autorest/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
<!-- region Generated -->
# Az.EdgeAction
This directory contains the PowerShell module for the EdgeAction service.

---
## Info
- Modifiable: yes
- Generated: all
- Committed: yes
- Packaged: yes

---
## Detail
This module was primarily generated via [AutoRest](https://github.com/Azure/autorest) using the [PowerShell](https://github.com/Azure/autorest.powershell) extension.

## Module Requirements
- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 2.7.5 or greater

## Authentication
AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent.

## Development
For information on how to develop for `Az.EdgeAction`, see [how-to.md](how-to.md).
<!-- endregion -->

### AutoRest Configuration

> see https://aka.ms/autorest

``` yaml
# pin the swagger version by using the commit id instead of branch name
commit: 0eb1d5347c69e4138cde6d74e58a98eedcd889b0
require:
# readme.azure.noprofile.md is the common configuration file
- $(this-folder)/../../readme.azure.noprofile.md
input-file:
# You need to specify your swagger files here.
- $(repo)/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/openapi.json

# For new RP, the version is 0.1.0
module-version: 0.1.0
# Normally, title is the service name
title: EdgeAction
subject-prefix: $(service-name)

# If there are post APIs for some kinds of actions in the RP, you may need to
# uncomment following line to support viaIdentity for these post APIs
identity-correction-for-post: true

resourcegroup-append: true
nested-object-to-string: true

directive:
# Remove the unexpanded parameter set
# For New-* cmdlets, ViaIdentity is not required
- where:
variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$|^Patch$|^PatchViaIdentity$
remove: true

# Remove the set-* cmdlet
- where:
verb: Set
remove: true

# Fix SubscriptionId parameter type conflict - keep only single string variant
- where:
parameter-name: SubscriptionId
set:
parameter-name: SubscriptionId

# Format table to exclude system metadata
- where:
model-name: .*
set:
format-table:
exclude-properties:
- SystemData
- SystemDataCreatedAt
- SystemDataCreatedBy
- SystemDataCreatedByType
- SystemDataLastModifiedAt
- SystemDataLastModifiedBy
- SystemDataLastModifiedByType

# Hide DeployVersionCode to customize with file deployment
- where:
verb: Deploy
subject: EdgeActionVersionCode
hide: true

# Remove array variant of SubscriptionId to fix parameter type conflict
- where:
parameter-name: SubscriptionId
clear-alias: true
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"resourceType": "edgeActions/executionFilters",
"apiVersion": "2025-09-01-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.edgeaction"
},
"commands": [
{
"name": "Get-AzEdgeActionExecutionFilter",
"description": "Get a EdgeActionExecutionFilter",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/executionFilters/{executionFilter}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.edgeaction/get-azedgeactionexecutionfilter"
},
"parameterSets": [
{
"parameters": [
"-EdgeActionName <String>",
"-ExecutionFilter <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String[]>]"
]
}
]
},
"examples": [
{
"description": "Get a EdgeActionExecutionFilter",
"parameters": [
{
"name": "-EdgeActionName",
"value": "[Path.edgeActionName]"
},
{
"name": "-ExecutionFilter",
"value": "[Path.executionFilter]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
},
{
"name": "Remove-AzEdgeActionExecutionFilter",
"description": "Delete a EdgeActionExecutionFilter",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/executionFilters/{executionFilter}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.edgeaction/remove-azedgeactionexecutionfilter"
},
"parameterSets": [
{
"parameters": [
"-EdgeActionName <String>",
"-ExecutionFilter <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String>]"
]
}
]
},
"examples": [
{
"description": "Delete a EdgeActionExecutionFilter",
"parameters": [
{
"name": "-EdgeActionName",
"value": "[Path.edgeActionName]"
},
{
"name": "-ExecutionFilter",
"value": "[Path.executionFilter]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
}
]
}
Loading
Loading