forked from Azure/azure-powershell
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: azure-powershell-bot <[email protected]>
- Loading branch information
1 parent
c27c11b
commit b0d8d60
Showing
485 changed files
with
67,235 additions
and
3,990 deletions.
There are no files selected for viewing
944 changes: 806 additions & 138 deletions
944
src/Elastic/Elastic.Autorest/Az.Elastic.format.ps1xml
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
138 changes: 138 additions & 0 deletions
138
src/Elastic/Elastic.Autorest/UX/Microsoft.Elastic/monitors-openAIIntegrations.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,138 @@ | ||
{ | ||
"resourceType": "monitors/openAIIntegrations", | ||
"apiVersion": "2024-03-01", | ||
"learnMore": { | ||
"url": "https://learn.microsoft.com/powershell/module/az.elastic" | ||
}, | ||
"commands": [ | ||
{ | ||
"name": "Get-AzElasticOpenAiStatus", | ||
"description": "Get OpenAI integration status for a given integration.", | ||
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/openAIIntegrations/{integrationName}/getStatus", | ||
"help": { | ||
"learnMore": { | ||
"url": "https://learn.microsoft.com/powershell/module/az.elastic/get-azelasticopenaistatus" | ||
}, | ||
"parameterSets": [ | ||
{ | ||
"parameters": [ | ||
"-IntegrationName <String>", | ||
"-MonitorName <String>", | ||
"-ResourceGroupName <String>", | ||
"[-SubscriptionId <String[]>]" | ||
] | ||
} | ||
] | ||
}, | ||
"examples": [ | ||
{ | ||
"description": "Get OpenAI integration status for a given integration.", | ||
"parameters": [ | ||
{ | ||
"name": "-IntegrationName", | ||
"value": "[Path.integrationName]" | ||
}, | ||
{ | ||
"name": "-MonitorName", | ||
"value": "[Path.monitorName]" | ||
}, | ||
{ | ||
"name": "-ResourceGroupName", | ||
"value": "[Path.resourceGroupName]" | ||
}, | ||
{ | ||
"name": "-SubscriptionId", | ||
"value": "[Path.subscriptionId]" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "Get-AzElasticOpenAi", | ||
"description": "Get OpenAI integration rule for a given monitor resource.", | ||
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/openAIIntegrations/{integrationName}", | ||
"help": { | ||
"learnMore": { | ||
"url": "https://learn.microsoft.com/powershell/module/az.elastic/get-azelasticopenai" | ||
}, | ||
"parameterSets": [ | ||
{ | ||
"parameters": [ | ||
"-IntegrationName <String>", | ||
"-MonitorName <String>", | ||
"-ResourceGroupName <String>", | ||
"[-SubscriptionId <String[]>]" | ||
] | ||
} | ||
] | ||
}, | ||
"examples": [ | ||
{ | ||
"description": "Get OpenAI integration rule for a given monitor resource.", | ||
"parameters": [ | ||
{ | ||
"name": "-IntegrationName", | ||
"value": "[Path.integrationName]" | ||
}, | ||
{ | ||
"name": "-MonitorName", | ||
"value": "[Path.monitorName]" | ||
}, | ||
{ | ||
"name": "-ResourceGroupName", | ||
"value": "[Path.resourceGroupName]" | ||
}, | ||
{ | ||
"name": "-SubscriptionId", | ||
"value": "[Path.subscriptionId]" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "Remove-AzElasticOpenAi", | ||
"description": "Delete OpenAI integration rule for a given monitor resource.", | ||
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/openAIIntegrations/{integrationName}", | ||
"help": { | ||
"learnMore": { | ||
"url": "https://learn.microsoft.com/powershell/module/az.elastic/remove-azelasticopenai" | ||
}, | ||
"parameterSets": [ | ||
{ | ||
"parameters": [ | ||
"-IntegrationName <String>", | ||
"-MonitorName <String>", | ||
"-ResourceGroupName <String>", | ||
"[-SubscriptionId <String>]" | ||
] | ||
} | ||
] | ||
}, | ||
"examples": [ | ||
{ | ||
"description": "Delete OpenAI integration rule for a given monitor resource.", | ||
"parameters": [ | ||
{ | ||
"name": "-IntegrationName", | ||
"value": "[Path.integrationName]" | ||
}, | ||
{ | ||
"name": "-MonitorName", | ||
"value": "[Path.monitorName]" | ||
}, | ||
{ | ||
"name": "-ResourceGroupName", | ||
"value": "[Path.resourceGroupName]" | ||
}, | ||
{ | ||
"name": "-SubscriptionId", | ||
"value": "[Path.subscriptionId]" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
2 changes: 1 addition & 1 deletion
2
src/Elastic/Elastic.Autorest/UX/Microsoft.Elastic/monitors-tagRules.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
78 changes: 77 additions & 1 deletion
78
src/Elastic/Elastic.Autorest/UX/Microsoft.Elastic/monitors.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
src/Elastic/Elastic.Autorest/examples/Get-AzElasticAllTrafficFilter.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
### Example 1: Get the list of all traffic filters for the account. | ||
```powershell | ||
Get-AzElasticAllTrafficFilter -ResourceGroupName elastic-rg-3eytki -MonitorName elastic-rhqz1v | ||
``` | ||
|
||
This command will Get the list of all traffic filters for the account. |
17 changes: 17 additions & 0 deletions
17
src/Elastic/Elastic.Autorest/examples/Get-AzElasticBillingInfo.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
### Example 1: Get marketplace info mapped to the given monitor. | ||
```powershell | ||
Get-AzElasticBillingInfo -ResourceGroupName elastic-rg-3eytki -MonitorName elastic-rhqz1v | ||
``` | ||
|
||
```output | ||
MarketplaceSaaInfoBilledAzureSubscriptionId : 11111111-2222-3333-4444-123456789101 | ||
MarketplaceSaaInfoMarketplaceResourceId : /subscriptions/11111111-2222-3333-4444-123456789101/resourceGroups/elastic-rg-3eytki/providers/Microsoft.SaaS/resources/AzElastic_11111111-2222-3333-4444-123456789102_elastic-rhqz1v | ||
MarketplaceSaaInfoMarketplaceStatus : Subscribed | ||
MarketplaceSaaInfoMarketplaceSubscriptionId : 00000000-0000-0000-0000-000000000000 | ||
MarketplaceSaaInfoMarketplaceSubscriptionName : AzElastic_11111111-2222-3333-4444-123456789102_elastic-rhqz1v | ||
PartnerBillingEntityOrganizationId : 11111111-2222-3333-4444-123456789103 | ||
PartnerBillingEntityOrganizationName : 11111111-2222-3333-4444-123456789103 | ||
``` | ||
|
||
This command gets marketplace info mapped to the given monitor. | ||
|
13 changes: 13 additions & 0 deletions
13
src/Elastic/Elastic.Autorest/examples/Get-AzElasticConnectedPartnerResource.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
### Example 1: List of all active deployments linked to the given monitor | ||
```powershell | ||
Get-AzElasticConnectedPartnerResource -ResourceGroupName elastic-rg-3eytki -MonitorName elastic-rhqz1v | ||
``` | ||
|
||
```output | ||
AccountId AccountName AzureResourceId Location | ||
--------- ----------- --------------- -------- | ||
4404219 Account 4404219 /SUBSCRIPTIONS/11111111-2222-3333-4444-123456789101/RESOURCEGROUPS/elastic-rg-3eytki/PROVIDERS/MICROSOFT.ELASTIC/MONITORS/elastic-rhqz1v eastus | ||
``` | ||
|
||
This command list of all active deployments that are associated with the marketplace subscription linked to the given monitor. | ||
|
Oops, something went wrong.