Skip to content

Commit

Permalink
Add new resources before 11.7 (#209)
Browse files Browse the repository at this point in the history
These shipped this morning

Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 authored Jun 3, 2024
1 parent efc5736 commit 8e54b19
Show file tree
Hide file tree
Showing 7 changed files with 97 additions and 34 deletions.
32 changes: 17 additions & 15 deletions docs/mql/resources/aws-pack/aws.eks.nodegroup.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,20 @@ Amazon EKS managed node group

**Fields**

| ID | TYPE | DESCRIPTION |
| ------------- | ------------------------------- | ------------------------------------------------------ |
| name | string | Name for the EKS node group |
| arn | string | ARN for the EKS node group |
| region | string | Region for the EKS node group |
| createdAt | time | Time when the EKS node group was created |
| status | string | Status for the EKS node group |
| capacityType | string | Capacity type for the EKS node group (ON_DEMAND, SPOT) |
| scalingConfig | dict | Scaling configuration for the EKS node group |
| instanceTypes | &#91;&#93;string | Instance types for the EKS node group |
| amiType | string | AMI type for the EKS node group |
| nodeRole | [aws.iam.role](aws.iam.role.md) | IAM role for the EKS node group |
| diskSize | int | Disk size for the EKS node group |
| labels | map[string]string | Kubernetes labels applied to the EKS node group |
| tags | map[string]string | Tags for the EKS node group |
| ID | TYPE | DESCRIPTION |
| ----------------- | ----------------------------------------------------------- | ------------------------------------------------------ |
| name | string | Name for the EKS node group |
| arn | string | ARN for the EKS node group |
| region | string | Region for the EKS node group |
| createdAt | time | Time when the EKS node group was created |
| modifiedAt | time | Time when the EKS node group was last modified |
| status | string | Status for the EKS node group |
| capacityType | string | Capacity type for the EKS node group (ON_DEMAND, SPOT) |
| scalingConfig | dict | Scaling configuration for the EKS node group |
| instanceTypes | &#91;&#93;string | Instance types for the EKS node group |
| amiType | string | AMI type for the EKS node group |
| nodeRole | [aws.iam.role](aws.iam.role.md) | IAM role for the EKS node group |
| diskSize | int | Disk size for the EKS node group |
| labels | map[string]string | Kubernetes labels applied to the EKS node group |
| tags | map[string]string | Tags for the EKS node group |
| autoscalingGroups | &#91;&#93;[aws.autoscaling.group](aws.autoscaling.group.md) | List of autoscaling groups for the node group |
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ Google Cloud (GCP) SQL instance settings IP configuration

**Fields**

| ID | TYPE | DESCRIPTION |
| ------------------ | -------------- | ---------------------------------------------------------------------------------------------- |
| id | string | Internal ID |
| allocatedIpRange | string | Name of the allocated IP range for the private IP Cloud SQL instance |
| authorizedNetworks | &#91;&#93;dict | List of external networks that are allowed to connect to the instance using the IP |
| ipv4Enabled | bool | Whether the instance is assigned a public IP address |
| privateNetwork | string | Resource link for the VPC network from which the private IPs can access the Cloud SQL instance |
| requireSsl | bool | Whether SSL connections over IP are enforced |
| ID | TYPE | DESCRIPTION |
| --------------------------------------- | -------------- | ---------------------------------------------------------------------------------------------- |
| id | string | Internal ID |
| allocatedIpRange | string | Name of the allocated IP range for the private IP Cloud SQL instance |
| authorizedNetworks | &#91;&#93;dict | List of external networks that are allowed to connect to the instance using the IP |
| ipv4Enabled | bool | Whether the instance is assigned a public IP address |
| privateNetwork | string | Resource link for the VPC network from which the private IPs can access the Cloud SQL instance |
| requireSsl | bool | Whether SSL connections over IP are enforced |
| sslMode | string | Specifies how SSL/TLS is enforced in database connections. |
| enablePrivatePathForGoogleCloudServices | bool | Controls connectivity to private IP instances from Google services, such as BigQuery. |
4 changes: 3 additions & 1 deletion docs/mql/resources/os-pack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,15 @@ Resources included in this pack:
| [windows](windows.md) | Windows-specific resource to get operating system details |
| [windows.bitlocker](windows.bitlocker.md) | Windows BitLocker |
| [windows.bitlocker.volume](windows.bitlocker.volume.md) | Windows BitLocker volume |
| [windows.feature](windows.feature.md) | Windows feature resource |
| [windows.feature](windows.feature.md) | Deprecated: use serverFeature instead |
| [windows.firewall](windows.firewall.md) | Windows Firewall resource |
| [windows.firewall.profile](windows.firewall.profile.md) | Windows Firewall profile entry |
| [windows.firewall.rule](windows.firewall.rule.md) | Windows Firewall rule entry |
| [windows.hotfix](windows.hotfix.md) | Windows hotfix resource |
| [windows.optionalFeature](windows.optionalfeature.md) | Windows optional feature resource |
| [windows.security](windows.security.md) | |
| [windows.security.health](windows.security.health.md) | Health of the Windows security provider |
| [windows.security.product](windows.security.product.md) | Private Windows security product |
| [windows.serverFeature](windows.serverfeature.md) | Windows Server feature resource |
| [yum](yum.md) | Yum package manager resource |
| [yum.repo](yum.repo.md) | Yum repository resource |
8 changes: 4 additions & 4 deletions docs/mql/resources/os-pack/windows.feature.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ title: windows.feature
id: windows.feature
sidebar_label: windows.feature
displayed_sidebar: MQL
description: Windows feature resource
description: Deprecated use serverFeature instead
---

# windows.feature

**Description**

Windows feature resource
Deprecated: use serverFeature instead

**Init**

Expand All @@ -31,12 +31,12 @@ windows.feature(name string)

Check that a Windows features is installed

```coffeescript
```coffee
windows.feature('SNMP-Service').installed
```

Check that a specific feature is not installed

```coffeescript
```coffee
windows.feature('Windows-Defender').installed == false
```
14 changes: 8 additions & 6 deletions docs/mql/resources/os-pack/windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,18 @@ Windows-specific resource to get operating system details

**Fields**

| ID | TYPE | DESCRIPTION |
| ------------ | ----------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| computerInfo | dict | A consolidated object of system and operating system properties, see https://docs.microsoft.com/en-us/dotnet/api/microsoft.powershell.commands.computerinfo?view=powershellsdk-1.1.0 for more information |
| hotfixes | &#91;&#93;[windows.hotfix](windows.hotfix.md) | Hotfixes installed on the computer |
| features | &#91;&#93;[windows.feature](windows.feature.md) | Information about Windows Server roles, role services, and features that are available for installation and installed on a specified server. |
| ID | TYPE | DESCRIPTION |
| ---------------- | --------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| computerInfo | dict | A consolidated object of system and operating system properties, see https://docs.microsoft.com/en-us/dotnet/api/microsoft.powershell.commands.computerinfo?view=powershellsdk-1.1.0 for more information |
| hotfixes | &#91;&#93;[windows.hotfix](windows.hotfix.md) | Hotfixes installed on the computer |
| features | &#91;&#93;[windows.feature](windows.feature.md) | Deprecated: use serverFeatures instead |
| serverFeatures | &#91;&#93;[windows.serverFeature](windows.serverfeature.md) | Information about Windows Server roles, role services, and features that are available for installation and installed on a specified server. |
| optionalFeatures | &#91;&#93;[windows.optionalFeature](windows.optionalfeature.md) | Information about optional features in a Windows image. |

**Examples**

Check the OS Edition

```coffeescript
```coffee
windows.computerInfo['WindowsInstallationType'] == 'Server Core'
```
27 changes: 27 additions & 0 deletions docs/mql/resources/os-pack/windows.optionalfeature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: windows.optionalFeature
id: windows.optionalFeature
sidebar_label: windows.optionalFeature
displayed_sidebar: MQL
description: Windows optional feature resource
---

# windows.optionalFeature

**Description**

Windows optional feature resource

**Init**

windows.optionalFeature(name string)

**Fields**

| ID | TYPE | DESCRIPTION |
| ----------- | ------ | ------------------------------ |
| name | string | Command ID of optional feature |
| displayName | string | Feature name |
| description | string | Feature description |
| enabled | bool | Whether the feature is enabled |
| state | int | Feature installation state |
28 changes: 28 additions & 0 deletions docs/mql/resources/os-pack/windows.serverfeature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
title: windows.serverFeature
id: windows.serverFeature
sidebar_label: windows.serverFeature
displayed_sidebar: MQL
description: Windows Server feature resource
---

# windows.serverFeature

**Description**

Windows Server feature resource

**Init**

windows.serverFeature(name string)

**Fields**

| ID | TYPE | DESCRIPTION |
| ------------ | ------ | --------------------------------------------- |
| path | string | Feature full path |
| name | string | Command IDs of role, role service, or feature |
| displayName | string | Feature name |
| description | string | Feature description |
| installed | bool | Whether the feature is installed |
| installState | int | Feature installation state |

0 comments on commit 8e54b19

Please sign in to comment.