-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[src] Add insights integration for Stateful Node
[src] Add integrations for Azure Elastigroup (both insights and azureDns)
- Loading branch information
Showing
7 changed files
with
186 additions
and
2 deletions.
There are no files selected for viewing
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
64 changes: 63 additions & 1 deletion
64
api/services/elastigroup/azure/spotVms/schemas/elastigroupVm-integrations.yaml
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 |
---|---|---|
@@ -1,2 +1,64 @@ | ||
type: object | ||
title: Elastigroup Integrations | ||
title: Elastigroup Integrations | ||
description: | | ||
Set integrations for the VMs in the Elastigroup. | ||
properties: | ||
azureDns: | ||
description: | | ||
Set DNS zones for the VMs in the Elastigroup. | ||
[Read more](https://docs.spot.io/elastigroup/features-azure/dns) | ||
type: object | ||
properties: | ||
dnsZones: | ||
type: array | ||
items: | ||
type: object | ||
title: Azure DNS | ||
properties: | ||
type: | ||
type: string | ||
description: | | ||
The type of the DNS zone. Currently we only support public DNS zones. | ||
enum: | ||
- "public" | ||
example: "public" | ||
resourceGroup: | ||
type: string | ||
description: | | ||
The resource group name of the DNS zone. | ||
example: "myResourceGroup" | ||
name: | ||
type: string | ||
description: | | ||
The name of the DNS zone. | ||
example: "myDnsName" | ||
recordSets: | ||
type: array | ||
description: | ||
List of record sets to be add the Virtual Machine IPs to the DNS. | ||
items: | ||
type: object | ||
title: Record Sets | ||
properties: | ||
name: | ||
type: string | ||
example: "myRecordSet" | ||
spotAccountId: | ||
type: string | ||
description: | | ||
The Spot account ID that connected to the Azure subscription to which the DNS zone belongs. | ||
Relevant only in case of cross-subscription shared DNS zones. | ||
insights: | ||
type: object | ||
description: | | ||
Set insights for the VMs in the Elastigroup. | ||
properties: | ||
isEnabled: | ||
type: boolean | ||
description: | | ||
Enable insights for the VMs in the Elastigroup. | ||
dataCollectionRuleId: | ||
type: string | ||
description: | ||
The ID of the data collection rule to be associated with the VMs in the Elastigroup. | ||
example: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Insights/dataCollectionRules/myDataCollectionRule" |
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
22 changes: 22 additions & 0 deletions
22
...rvices/elastigroup/azure/stateful/node/schemas/create/createStatefulNodeIntegrations.yaml
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,22 @@ | ||
type: object | ||
title: Stateful Node Integrations | ||
description: | | ||
Set integrations for the VMs in the Stateful Node. | ||
properties: | ||
insights: | ||
type: object | ||
description: | | ||
Set insights for the the Stateful Node. | ||
required: | ||
- isEnabled | ||
- dataCollectionRuleId | ||
properties: | ||
isEnabled: | ||
type: boolean | ||
description: | | ||
Enable insights for the Stateful Node. | ||
dataCollectionRuleId: | ||
type: string | ||
description: | ||
The ID of the data collection rule to be associated with the Stateful Node. | ||
example: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Insights/dataCollectionRules/myDataCollectionRule" |
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
19 changes: 19 additions & 0 deletions
19
...rvices/elastigroup/azure/stateful/node/schemas/update/updateStatefulNodeIntegrations.yaml
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,19 @@ | ||
type: object | ||
title: Stateful Node Integrations | ||
description: | | ||
Set integrations for the VMs in the Stateful Node. | ||
properties: | ||
insights: | ||
type: object | ||
description: | | ||
Set insights for the the Stateful Node. | ||
properties: | ||
isEnabled: | ||
type: boolean | ||
description: | | ||
Enable insights for the Stateful Node. | ||
dataCollectionRuleId: | ||
type: string | ||
description: | ||
The ID of the data collection rule to be associated with the Stateful Node. | ||
example: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Insights/dataCollectionRules/myDataCollectionRule" |