diff --git a/azure-test/tests/azure_public_ip/variables.tf b/azure-test/tests/azure_public_ip/variables.tf index 82e7e585..ea690054 100644 --- a/azure-test/tests/azure_public_ip/variables.tf +++ b/azure-test/tests/azure_public_ip/variables.tf @@ -42,7 +42,7 @@ resource "azurerm_public_ip" "named_test_resource" { resource_group_name = azurerm_resource_group.named_test_resource.name location = azurerm_resource_group.named_test_resource.location allocation_method = "Static" - + sku = "Basic" tags = { name = var.resource_name } diff --git a/azure/table_azure_public_ip.go b/azure/table_azure_public_ip.go index e26dde58..bd2b7357 100644 --- a/azure/table_azure_public_ip.go +++ b/azure/table_azure_public_ip.go @@ -146,6 +146,30 @@ func tableAzurePublicIP(_ context.Context) *plugin.Table { Type: proto.ColumnType_JSON, Transform: transform.FromField("PublicIPAddressPropertiesFormat.IPTags"), }, + { + Name: "nat_gateway", + Description: "The NatGateway for the Public IP address.", + Type: proto.ColumnType_JSON, + Transform: transform.FromField("PublicIPAddressPropertiesFormat.NatGateway"), + }, + { + Name: "service_public_ip_address", + Description: "The service public IP address of the public IP address resource.", + Type: proto.ColumnType_JSON, + Transform: transform.FromField("PublicIPAddressPropertiesFormat.ServicePublicIPAddress"), + }, + { + Name: "ip_configuration", + Description: "The IP configuration associated with the public IP address.", + Type: proto.ColumnType_JSON, + Transform: transform.FromField("PublicIPAddressPropertiesFormat.IPConfiguration"), + }, + { + Name: "linked_public_ip_address", + Description: "The linked public IP address of the public IP address resource.", + Type: proto.ColumnType_JSON, + Transform: transform.FromField("PublicIPAddressPropertiesFormat.LinkedPublicIPAddress"), + }, { Name: "zones", Description: "A collection of availability zones denoting the IP allocated for the resource needs to come from",