From c2d560c59d88bc44faa650c55bf9b2f489cd760c Mon Sep 17 00:00:00 2001 From: Karan Popat Date: Wed, 3 Jan 2024 14:32:14 +0530 Subject: [PATCH] Add column status and disable_local_auth in table azure_servicebus_namespace. Closes #714 (#715) --- azure/table_azure_servicebus_namespace.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/azure/table_azure_servicebus_namespace.go b/azure/table_azure_servicebus_namespace.go index 52b7b22b..9304228d 100644 --- a/azure/table_azure_servicebus_namespace.go +++ b/azure/table_azure_servicebus_namespace.go @@ -62,6 +62,12 @@ func tableAzureServiceBusNamespace(_ context.Context) *plugin.Table { Type: proto.ColumnType_TIMESTAMP, Transform: transform.FromField("SBNamespaceProperties.CreatedAt").Transform(convertDateToTime), }, + { + Name: "disable_local_auth", + Description: "This property disables SAS authentication for the Service Bus namespace.", + Type: proto.ColumnType_BOOL, + Transform: transform.FromField("SBNamespaceProperties.DisableLocalAuth"), + }, { Name: "metric_id", Description: "The identifier for Azure insights metrics.", @@ -92,6 +98,12 @@ func tableAzureServiceBusNamespace(_ context.Context) *plugin.Table { Type: proto.ColumnType_STRING, Transform: transform.FromField("Sku.Tier"), }, + { + Name: "status", + Description: "Status of the namespace.", + Type: proto.ColumnType_STRING, + Transform: transform.FromField("SBNamespaceProperties.Status"), + }, { Name: "updated_at", Description: "The time the namespace was updated.",