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
24 changes: 24 additions & 0 deletions src/Cdn/Cdn.Autorest/Cdn.Autorest.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.5.2.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Cdn", "Az.Cdn.csproj", "{53240475-1E58-B25D-03D1-03EECEBBE6BB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{53240475-1E58-B25D-03D1-03EECEBBE6BB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{53240475-1E58-B25D-03D1-03EECEBBE6BB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{53240475-1E58-B25D-03D1-03EECEBBE6BB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{53240475-1E58-B25D-03D1-03EECEBBE6BB}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {8D209B4E-11F3-41F7-9568-BD8455771A2C}
EndGlobalSection
EndGlobal
4 changes: 2 additions & 2 deletions src/Cdn/Cdn.Autorest/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - Cdn")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("5.0.0")]
[assembly: System.Reflection.AssemblyVersionAttribute("5.0.0")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("5.0.1")]
[assembly: System.Reflection.AssemblyVersionAttribute("5.0.1")]
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
[assembly: System.CLSCompliantAttribute(false)]
1 change: 1 addition & 0 deletions src/Cdn/Cdn.Autorest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ input-file:
# You need to specify your swagger files here.
- $(repo)/specification/cdn/resource-manager/Microsoft.Cdn/stable/2025-04-15/afdx.json
- $(repo)/specification/cdn/resource-manager/Microsoft.Cdn/stable/2025-04-15/cdn.json
- $(repo)/specification/cdn/resource-manager/Microsoft.Cdn/preview/2024-07-22-preview/edgeaction.json
# If the swagger has not been put in the repo, you may uncomment the following line and refer to it locally
# - (this-folder)/relative-path-to-your-swagger

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"resourceType": "edgeActions/executionFilters",
"apiVersion": "2024-07-22-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.cdn"
},
"commands": [
{
"name": "Get-AzCdnEdgeActionExecutionFilter",
"description": "Get EdgeActionExecutionFilter resource",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/executionFilters/{executionFilter}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.cdn/get-azcdnedgeactionexecutionfilter"
},
"parameterSets": [
{
"parameters": [
"-EdgeActionName <String>",
"-ExecutionFilter <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String[]>]"
]
}
]
},
"examples": [
{
"description": "Get EdgeActionExecutionFilter resource",
"parameters": [
{
"name": "-EdgeActionName",
"value": "[Path.edgeActionName]"
},
{
"name": "-ExecutionFilter",
"value": "[Path.executionFilter]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
},
{
"name": "Remove-AzCdnEdgeActionExecutionFilter",
"description": "Delete EdgeActionExecutionFilter resource",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/executionFilters/{executionFilter}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.cdn/remove-azcdnedgeactionexecutionfilter"
},
"parameterSets": [
{
"parameters": [
"-EdgeActionName <String>",
"-ExecutionFilter <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String>]"
]
}
]
},
"examples": [
{
"description": "Delete EdgeActionExecutionFilter resource",
"parameters": [
{
"name": "-EdgeActionName",
"value": "[Path.edgeActionName]"
},
{
"name": "-ExecutionFilter",
"value": "[Path.executionFilter]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
}
]
}
138 changes: 138 additions & 0 deletions src/Cdn/Cdn.Autorest/UX/Microsoft.Cdn/edgeActions-versions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
{
"resourceType": "edgeActions/versions",
"apiVersion": "2024-07-22-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.cdn"
},
"commands": [
{
"name": "Get-AzCdnEdgeActionVersionCode",
"description": "A long-running operation to get versioncode deployed to EdgeActionVersion resource.",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions/{version}/getVersionCode",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.cdn/get-azcdnedgeactionversioncode"
},
"parameterSets": [
{
"parameters": [
"-EdgeActionName <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String[]>]",
"-Version <String>"
]
}
]
},
"examples": [
{
"description": "A long-running operation to get versioncode deployed to EdgeActionVersion resource.",
"parameters": [
{
"name": "-EdgeActionName",
"value": "[Path.edgeActionName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
},
{
"name": "-Version",
"value": "[Path.version]"
}
]
}
]
},
{
"name": "Get-AzCdnEdgeActionVersion",
"description": "Get EdgeActionVersion resource",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions/{version}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.cdn/get-azcdnedgeactionversion"
},
"parameterSets": [
{
"parameters": [
"-EdgeActionName <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String[]>]",
"-Version <String>"
]
}
]
},
"examples": [
{
"description": "Get EdgeActionVersion resource",
"parameters": [
{
"name": "-EdgeActionName",
"value": "[Path.edgeActionName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
},
{
"name": "-Version",
"value": "[Path.version]"
}
]
}
]
},
{
"name": "Remove-AzCdnEdgeActionVersion",
"description": "Delete EdgeActionVersion resource",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions/{version}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.cdn/remove-azcdnedgeactionversion"
},
"parameterSets": [
{
"parameters": [
"-EdgeActionName <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String>]",
"-Version <String>"
]
}
]
},
"examples": [
{
"description": "Delete EdgeActionVersion resource",
"parameters": [
{
"name": "-EdgeActionName",
"value": "[Path.edgeActionName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
},
{
"name": "-Version",
"value": "[Path.version]"
}
]
}
]
}
]
}
85 changes: 85 additions & 0 deletions src/Cdn/Cdn.Autorest/UX/Microsoft.Cdn/edgeActions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"resourceType": "edgeActions",
"apiVersion": "2024-07-22-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.cdn"
},
"commands": [
{
"name": "Get-AzCdnEdgeAction",
"description": "Get EdgeAction resource",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.cdn/get-azcdnedgeaction"
},
"parameterSets": [
{
"parameters": [
"-Name <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String[]>]"
]
}
]
},
"examples": [
{
"description": "Get EdgeAction resource",
"parameters": [
{
"name": "-Name",
"value": "[Path.edgeActionName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
},
{
"name": "Remove-AzCdnEdgeAction",
"description": "Delete EdgeAction resource",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.cdn/remove-azcdnedgeaction"
},
"parameterSets": [
{
"parameters": [
"-Name <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String>]"
]
}
]
},
"examples": [
{
"description": "Delete EdgeAction resource",
"parameters": [
{
"name": "-Name",
"value": "[Path.edgeActionName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
}
]
}
Loading
Loading