Skip to content

Commit

Permalink
Add 'lincense_type' field to distinguish licence. (#1411)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fred-sun authored Jan 19, 2024
1 parent 4c824bf commit 6ca6d34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/inventory/azure_rm.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,7 @@ def hostvars(self):
resource_group=parse_resource_id(self._vm_model['id']).get('resource_group').lower(),
default_inventory_hostname=self.default_inventory_hostname,
creation_time=self._vm_model['properties']['timeCreated'],
license_type=self._vm_model['properties'].get('licenseType', 'Unknown')
)

# set nic-related values from the primary NIC first
Expand Down

0 comments on commit 6ca6d34

Please sign in to comment.