Skip to content

Commit

Permalink
Add column status and disable_local_auth in table azure_servicebus_na…
Browse files Browse the repository at this point in the history
…mespace. Closes #714 (#715)
  • Loading branch information
karanpopat authored Jan 3, 2024
1 parent a1287da commit c2d560c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions azure/table_azure_servicebus_namespace.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down Expand Up @@ -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.",
Expand Down

0 comments on commit c2d560c

Please sign in to comment.