Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 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
5 changes: 2 additions & 3 deletions src/Elastic/Elastic.Autorest/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - Elastic")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.2.1")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.2.1")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.3.0")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.3.0")]
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
[assembly: System.CLSCompliantAttribute(false)]

12 changes: 10 additions & 2 deletions src/Elastic/Elastic.Autorest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ For information on how to develop for `Az.Elastic`, see [how-to.md](how-to.md).

``` yaml
# lock the commit
commit: d38a2c3ce2e2dfc38053af2f6b5fc10cb6221961
tag: package-2024-03-01
commit: 3c1ce8207350922f820d20e04547cc4785c758d3
tag: package-2025-06-01
require:
- $(this-folder)/../../readme.azure.noprofile.md
- $(repo)/specification/elastic/resource-manager/readme.md
Expand Down Expand Up @@ -61,6 +61,14 @@ directive:
"readOnly": true,
"$ref": "#/definitions/ProvisioningState"
}
# This is necessary because the Get-AzElasticResubscribeOrganization cmdlet has both:
# 1. A path parameter "SubscriptionId" (from the Azure subscription context)
# 2. A body parameter "subscriptionId" (the target subscription for resubscription)
# PowerShell cannot have the same parameter name with different types [String[], String]
# Renaming the body parameter to "TargetSubscriptionId" resolves this conflict while maintaining clarity
- from: swagger-document
where: $.definitions.ResubscribeProperties.properties.subscriptionId
transform: $["x-ms-client-name"] = "TargetSubscriptionId"

- where:
verb: Set
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"resourceType": "monitors/monitoredSubscriptions",
"apiVersion": "2025-06-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.elastic"
},
"commands": [
{
"name": "Get-AzElasticMonitoredSubscription",
"description": "Get detailed information about all subscriptions currently being monitored by the Elastic monitor resource.",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/monitoredSubscriptions/{configurationName}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.elastic/get-azelasticmonitoredsubscription"
},
"parameterSets": [
{
"parameters": [
"-ConfigurationName <String>",
"-MonitorName <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String[]>]"
]
}
]
},
"examples": [
{
"description": "Get detailed information about all subscriptions currently being monitored by the Elastic monitor resource.",
"parameters": [
{
"name": "-ConfigurationName",
"value": "[Path.configurationName]"
},
{
"name": "-MonitorName",
"value": "[Path.monitorName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
},
{
"name": "Remove-AzElasticMonitoredSubscription",
"description": "Delete subscriptions being monitored by the Elastic monitor resource, removing their observability and monitoring capabilities.",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/monitoredSubscriptions/{configurationName}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.elastic/remove-azelasticmonitoredsubscription"
},
"parameterSets": [
{
"parameters": [
"-ConfigurationName <String>",
"-MonitorName <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String>]"
]
}
]
},
"examples": [
{
"description": "Delete subscriptions being monitored by the Elastic monitor resource, removing their observability and monitoring capabilities.",
"parameters": [
{
"name": "-ConfigurationName",
"value": "[Path.configurationName]"
},
{
"name": "-MonitorName",
"value": "[Path.monitorName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"resourceType": "monitors/openAIIntegrations",
"apiVersion": "2024-03-01",
"apiVersion": "2025-06-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.elastic"
},
"commands": [
{
"name": "Get-AzElasticOpenAiStatus",
"description": "Get OpenAI integration status for a given integration.",
"description": "Get the status of OpenAI integration for a given Elastic monitor resource, ensuring optimal observability and performance.",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/openAIIntegrations/{integrationName}/getStatus",
"help": {
"learnMore": {
Expand All @@ -26,7 +26,7 @@
},
"examples": [
{
"description": "Get OpenAI integration status for a given integration.",
"description": "Get the status of OpenAI integration for a given Elastic monitor resource, ensuring optimal observability and performance.",
"parameters": [
{
"name": "-IntegrationName",
Expand All @@ -50,7 +50,7 @@
},
{
"name": "Get-AzElasticOpenAi",
"description": "Get OpenAI integration rule for a given monitor resource.",
"description": "Get detailed information about OpenAI integration rules for a given Elastic monitor resource.",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/openAIIntegrations/{integrationName}",
"help": {
"learnMore": {
Expand All @@ -69,7 +69,7 @@
},
"examples": [
{
"description": "Get OpenAI integration rule for a given monitor resource.",
"description": "Get detailed information about OpenAI integration rules for a given Elastic monitor resource.",
"parameters": [
{
"name": "-IntegrationName",
Expand All @@ -93,7 +93,7 @@
},
{
"name": "Remove-AzElasticOpenAi",
"description": "Delete OpenAI integration rule for a given monitor resource.",
"description": "Delete an OpenAI integration rule for a given Elastic monitor resource, removing AI-driven observability and monitoring capabilities.",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/openAIIntegrations/{integrationName}",
"help": {
"learnMore": {
Expand All @@ -112,7 +112,7 @@
},
"examples": [
{
"description": "Delete OpenAI integration rule for a given monitor resource.",
"description": "Delete an OpenAI integration rule for a given Elastic monitor resource, removing AI-driven observability and monitoring capabilities.",
"parameters": [
{
"name": "-IntegrationName",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"resourceType": "monitors/tagRules",
"apiVersion": "2024-03-01",
"apiVersion": "2025-06-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.elastic"
},
"commands": [
{
"name": "Get-AzElasticTagRule",
"description": "Get a tag rule set for a given monitor resource.",
"description": "Get detailed information about a tag rule set for a given Elastic monitor resource.",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/tagRules/{ruleSetName}",
"help": {
"learnMore": {
Expand All @@ -25,7 +25,7 @@
},
"examples": [
{
"description": "Get a tag rule set for a given monitor resource.",
"description": "Get detailed information about a tag rule set for a given Elastic monitor resource.",
"parameters": [
{
"name": "-MonitorName",
Expand Down
22 changes: 11 additions & 11 deletions src/Elastic/Elastic.Autorest/UX/Microsoft.Elastic/monitors.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"resourceType": "monitors",
"apiVersion": "2024-03-01",
"apiVersion": "2025-06-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.elastic"
},
"commands": [
{
"name": "Get-AzElasticBillingInfo",
"description": "Get marketplace and organization info mapped to the given monitor.",
"description": "Retrieve marketplace and organization billing information mapped to the given Elastic monitor resource.",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/getBillingInfo",
"help": {
"learnMore": {
Expand All @@ -25,7 +25,7 @@
},
"examples": [
{
"description": "Get marketplace and organization info mapped to the given monitor.",
"description": "Retrieve marketplace and organization billing information mapped to the given Elastic monitor resource.",
"parameters": [
{
"name": "-MonitorName",
Expand All @@ -45,7 +45,7 @@
},
{
"name": "Get-AzElasticDetailUpgradableVersion",
"description": "List of upgradable versions for a given monitor resource.",
"description": "List all upgradable versions for your Elastic monitor resource, helping you plan and execute upgrades.",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/listUpgradableVersions",
"help": {
"learnMore": {
Expand All @@ -63,7 +63,7 @@
},
"examples": [
{
"description": "List of upgradable versions for a given monitor resource.",
"description": "List all upgradable versions for your Elastic monitor resource, helping you plan and execute upgrades.",
"parameters": [
{
"name": "-MonitorName",
Expand All @@ -83,7 +83,7 @@
},
{
"name": "Get-AzElasticDetailVMIngestion",
"description": "List the vm ingestion details that will be monitored by the Elastic monitor resource.",
"description": "List detailed information about VM ingestion that will be monitored by the Elastic monitor resource, ensuring optimal observability and performance.",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/vmIngestionDetails",
"help": {
"learnMore": {
Expand All @@ -101,7 +101,7 @@
},
"examples": [
{
"description": "List the vm ingestion details that will be monitored by the Elastic monitor resource.",
"description": "List detailed information about VM ingestion that will be monitored by the Elastic monitor resource, ensuring optimal observability and performance.",
"parameters": [
{
"name": "-Name",
Expand All @@ -121,7 +121,7 @@
},
{
"name": "Get-AzElasticMonitor",
"description": "Get the properties of a specific monitor resource.",
"description": "Get detailed properties of a specific Elastic monitor resource, helping you manage observability and performance.",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}",
"help": {
"learnMore": {
Expand All @@ -139,7 +139,7 @@
},
"examples": [
{
"description": "Get the properties of a specific monitor resource.",
"description": "Get detailed properties of a specific Elastic monitor resource, helping you manage observability and performance.",
"parameters": [
{
"name": "-Name",
Expand All @@ -159,7 +159,7 @@
},
{
"name": "Remove-AzElasticMonitor",
"description": "Delete a monitor resource.",
"description": "Delete an existing Elastic monitor resource from your Azure subscription, removing its observability and monitoring capabilities.",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}",
"help": {
"learnMore": {
Expand All @@ -177,7 +177,7 @@
},
"examples": [
{
"description": "Delete a monitor resource.",
"description": "Delete an existing Elastic monitor resource from your Azure subscription, removing its observability and monitoring capabilities.",
"parameters": [
{
"name": "-Name",
Expand Down
Loading