Skip to content

Commit

Permalink
[azure_billing] Add resource_manager_audience config option (#11582)
Browse files Browse the repository at this point in the history
  • Loading branch information
zmoog authored Nov 1, 2024
1 parent f1076e1 commit 31a158d
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 3 deletions.
11 changes: 10 additions & 1 deletion packages/azure_billing/_dev/build/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ The settings' main section contains all the options needed to access the Azure A

#### Advanced options

There are two additional advanced options:
There are a few additional advanced options:

`Resource Manager Endpoint` _string_
: Optional. By default, the integration uses the Azure public environment. To override, users can provide a specific resource manager endpoint to use a different Azure environment.
Expand All @@ -178,6 +178,15 @@ Examples:
* `https://login.microsoftonline.com` for Azure PublicCloud
* `https://login.microsoftonline.us` for Azure USGovernmentCloud

`Resource Manager Audience` _string_
: Optional. By default, the integration uses the associated Resource Manager Audience. To override, users can provide a specific resource manager audience to use a different Azure environment.

Examples:

* `https://management.core.chinacloudapi.cn` for Azure ChinaCloud
* `https://management.core.windows.net` for Azure PublicCloud
* `https://management.core.usgovcloudapi.net` for Azure USGovernmentCloud

#### Data stream options

The data stream has some additional options about scope and period. To learn more about the scope, read the [Scope](#scope) section.
Expand Down
5 changes: 5 additions & 0 deletions packages/azure_billing/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
- version: 1.7.1
changes:
- description: Add resource manager audience configuration option.
type: bugfix
link: https://github.com/elastic/integrations/pull/11582
- version: 1.7.0
changes:
- description: Add processor support for billing data stream.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ resource_manager_endpoint: {{resource_manager_endpoint}}
{{#if active_directory_endpoint}}
active_directory_endpoint: {{active_directory_endpoint}}
{{/if}}
{{#if resource_manager_audience}}
resource_manager_audience: {{resource_manager_audience}}
{{/if}}
{{#if billing_scope_department}}
billing_scope_department: {{billing_scope_department}}
{{/if}}
Expand Down
11 changes: 10 additions & 1 deletion packages/azure_billing/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ The settings' main section contains all the options needed to access the Azure A

#### Advanced options

There are two additional advanced options:
There are a few additional advanced options:

`Resource Manager Endpoint` _string_
: Optional. By default, the integration uses the Azure public environment. To override, users can provide a specific resource manager endpoint to use a different Azure environment.
Expand All @@ -178,6 +178,15 @@ Examples:
* `https://login.microsoftonline.com` for Azure PublicCloud
* `https://login.microsoftonline.us` for Azure USGovernmentCloud

`Resource Manager Audience` _string_
: Optional. By default, the integration uses the associated Resource Manager Audience. To override, users can provide a specific resource manager audience to use a different Azure environment.

Examples:

* `https://management.core.chinacloudapi.cn` for Azure ChinaCloud
* `https://management.core.windows.net` for Azure PublicCloud
* `https://management.core.usgovcloudapi.net` for Azure USGovernmentCloud

#### Data stream options

The data stream has some additional options about scope and period. To learn more about the scope, read the [Scope](#scope) section.
Expand Down
9 changes: 8 additions & 1 deletion packages/azure_billing/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: azure_billing
title: Azure Billing Metrics
version: "1.7.0"
version: "1.7.1"
description: Collect billing metrics with Elastic Agent.
type: integration
icons:
Expand Down Expand Up @@ -66,6 +66,13 @@ vars:
multi: false
required: false
show_user: false
- name: resource_manager_audience
type: text
title: Resource Manager Audience
description: By default, the integration uses the associated Resource Manager Audience. To override, users can provide a specific resource manager audience to use a different Azure environment.
multi: false
required: false
show_user: false
policy_templates:
- name: billing
title: Azure Billing Metrics
Expand Down

0 comments on commit 31a158d

Please sign in to comment.