Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add table azure_hybrid_compute_machine. Closes #349 #378

Merged
merged 7 commits into from
Oct 5, 2021

Conversation

bigdatasourav
Copy link
Contributor

@bigdatasourav bigdatasourav commented Oct 5, 2021

Example query results

Results
> select
  name,
  id,
  status,
  provisioning_state,
  region
from
  azure_hybrid_compute_machine;
+-------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+--------------------+--------+
| name                          | id                                                                                                                                                          | status    | provisioning_state | region |
+-------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+--------------------+--------+
| ip-172-31-91-173.ec2.internal | /subscriptions/d46d7416-f95f-4771-bbb5-529d4c76659c/resourceGroups/nist-test_group/providers/Microsoft.HybridCompute/machines/ip-172-31-91-173.ec2.internal | Connected | Succeeded          | eastus |
+-------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+--------------------+--------+
> select
  name,
  id,
  type,
  provisioning_state,
  status,
  region
from
  azure_hybrid_compute_machine
where
  status = 'Disconnected';
+------+----+------+--------------------+--------+--------+
| name | id | type | provisioning_state | status | region |
+------+----+------+--------------------+--------+--------+
+------+----+------+--------------------+--------+--------+
> select
  name,
  id,
  type,
  provisioning_state,
  status,
  region
from
  azure_hybrid_compute_machine
where
  status <> 'Disconnected';
+-------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------+------------
| name                          | id                                                                                                                                                          | type                             | provisionin
+-------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------+------------
| ip-172-31-91-173.ec2.internal | /subscriptions/d46d7416-f95f-4771-bbb5-529d4c76659c/resourceGroups/nist-test_group/providers/Microsoft.HybridCompute/machines/ip-172-31-91-173.ec2.internal | Microsoft.HybridCompute/machines | Succeeded  
+-------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------+------------

bigdatasourav added 2 commits October 5, 2021 12:18
@bigdatasourav bigdatasourav self-assigned this Oct 5, 2021
@bigdatasourav bigdatasourav linked an issue Oct 5, 2021 that may be closed by this pull request
Copy link
Contributor

@ParthaI ParthaI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bigdatasourav bigdatasourav merged commit 35d1143 into main Oct 5, 2021
@bigdatasourav bigdatasourav deleted the issue-compute branch October 5, 2021 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add table azure_hybrid_compute_machine
2 participants